X-Git-Url: http://git.datanom.net/vcard-parser.git/blobdiff_plain/4a29ae6b03575f6433f39e91e4162c787be7f6e1..HEAD:/configure.ac diff --git a/configure.ac b/configure.ac index d811bcf..9b9f85c 100644 --- a/configure.ac +++ b/configure.ac @@ -33,7 +33,7 @@ if test x$PKG_CONFIG = xno ; then AC_MSG_ERROR([*** pkg-config not found. See http://www.freedesktop.org/software/pkgconfig/]) fi -PKG_CHECK_MODULES(GLIB, [glib-2.0]) +PKG_CHECK_MODULES(GLIB, [[glib-2.0 >= 2.30 gmodule-2.0 >= 2.30 gobject-2.0 >= 2.30 gthread-2.0 >= 2.30]]) AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) @@ -69,10 +69,12 @@ else fi AM_CONDITIONAL(BUILD_EXAMPLE, test x"$ac_enable_example" = "xyes") +AC_DEFINE_UNQUOTED(TEST_SRC_DIR, "$srcdir", [location of source code]) + AC_CONFIG_COMMANDS( [summary], [[echo "" - echo -e "libvcard will be compiled with these settings:" + echo -e "libvCard will be compiled with these settings:" echo -e "\tCFLAGS:\t\t${CFLAGS}" echo -e "\tLIBS:\t\t${LIBS}" echo -e "\tExample:\t${EXAMPLE}" @@ -91,5 +93,6 @@ AC_CONFIG_COMMANDS( AC_OUTPUT([ Makefile + example/Makefile src/Makefile ])