I've recently been unable to compile the code in SVN. I've traced it to revision r890. This apparently adds a check for something related to Postgres, even when --without-sql is passed to configure, and breaks the settings in CPPFLAGS.
This patch works for me, but I have not tested it on a system that actually runs Postgres. YMMV. <----snip----> Index: configure.ac =================================================================== --- configure.ac (revision 896) +++ configure.ac (working copy) @@ -59,9 +59,6 @@ CPPFLAGS="$PTHREAD_CPPFLAGS $CPPFLAGS" LDFLAGS="$PTHREAD_LDFLAGS $LDFLAGS" -case "$target_os" in - linux*) CPPFLAGS=-I`pg_config --includedir` -esac dnl ###################################################################### dnl Checks for programs. @@ -113,6 +110,12 @@ fi if test $WITH_SQL = 1; then + case "$target_os" in + linux*) + if [ `which pg_config` ]; then + CPPFLAGS=-I`pg_config --includedir` + fi + esac AC_CHECK_LIB(mysqlclient,main) AC_CHECK_LIB(pq,main) AC_CHECK_HEADERS(mysql/mysql.h) <----snip----> -- Jesse Becker NHGRI Linux support (Digicon Contractor) _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine