AC_INIT(configure.in) AC_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE(kaffeine_mozilla, 0.2) AC_LANG_C AC_PROG_CC AM_PROG_LIBTOOL dnl --------------------------------------------- dnl Checks for X11 dnl --------------------------------------------- AC_PATH_XTRA dnl --------------------------------------------- dnl Check for Xaw headers dnl --------------------------------------------- AC_CHECK_HEADER(X11/Xaw/Form.h,, [AC_MSG_ERROR([you need to install libxaw header files (-dev package)])]) dnl --------------------------------------------- dnl Check for NSPR include directory dnl --------------------------------------------- AC_CHECK_PROG(PKGCONFIGFOUND, pkg-config,[yes]) PKG_CHECK_MODULES(NSPR, nspr, have_nspr=yes, [ AC_MSG_ERROR([nspr library not found on your system]) ]) AC_OUTPUT(Makefile src/Makefile)