AC_INIT(configure.in) AC_CANONICAL_BUILD AC_CANONICAL_HOST AM_INIT_AUTOMAKE(efreet, 0.0.3.005) AM_CONFIG_HEADER(config.h) AC_ISC_POSIX AC_PROG_CC AM_PROG_CC_STDC AC_HEADER_STDC AC_C_CONST AM_ENABLE_SHARED AM_PROG_LIBTOOL AC_C___ATTRIBUTE__ dnl Set PACKAGE_DATA_DIR in config.h. AC_DEFINE_DIR([PACKAGE_DATA_DIR], [datadir], [Shared Data Directory.]) PCFLAGS=$CFLAGS PKG_CHECK_MODULES(ECORE, [ecore >= 0.9.9 ecore-file >= 0.9.9]) CFLAGS=$ECORE_CFLAGS" "$CFLAGS requirements="ecore ecore-file" AC_ARG_ENABLE(strict-spec, [AC_HELP_STRING([--enable-strict-spec],[Enable strict spec compliance])], [enable_strict_spec=$enableval], [enable_strict_spec="auto"]) if test "x$enable_strict_spec" = "xyes" ; then AC_DEFINE(STRICT_SPEC, 1, [Strict Spec Compliance]) fi AC_ARG_ENABLE(sloppy-spec, [AC_HELP_STRING([--disable-sloppy-spec],[Enable sloppy spec compliance])], [enable_sloppy_spec=$enableval], [enable_sloppy_spec="yes"]) if test "x$enable_sloppy_spec" = "xyes" ; then AC_DEFINE(SLOPPY_SPEC, 1, [Sloppy Spec Compliance]) fi CFLAGS=$PCFLAGS AC_SUBST(requirements) AC_OUTPUT([ efreet.pc efreet-mime.pc Makefile src/Makefile src/lib/Makefile src/bin/Makefile src/bin/data/Makefile src/bin/data/sub/Makefile src/bin/compare/Makefile debian/changelog ], [] )