]> git.datanom.net - vcard-parser.git/blobdiff - configure.ac
New function
[vcard-parser.git] / configure.ac
index d811bcf94d117ab0967bbb88a701fb95c311d667..9b9f85c4f8e780359c2e5f1879c3ceb774876f79 100644 (file)
@@ -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
 ])
This page took 0.028627 seconds and 5 git commands to generate.