aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amat.us>2017-02-20 17:50:55 -0600
committerDavid Barksdale <amatus@amat.us>2017-02-20 17:50:55 -0600
commit24b8e62f2ed410ad5320f7cd1cace020fbaeb179 (patch)
treedb92fbd43b96f84e455a6374b301f5628d27a046 /configure.ac
parent39e6893e4b3bc527b00b684ef804661c4b6588f2 (diff)
downloadgnunet-24b8e62f2ed410ad5320f7cd1cace020fbaeb179.tar.gz
gnunet-24b8e62f2ed410ad5320f7cd1cace020fbaeb179.zip
Don't put POSTGRESQL_CPPFLAGS in CFLAGS
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index dc9eabbc4..b31d0a6c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -811,13 +811,15 @@ AM_CONDITIONAL(HAVE_SQLITE, test x$sqlite = xtrue)
811AC_SUBST(SQLITE_CPPFLAGS) 811AC_SUBST(SQLITE_CPPFLAGS)
812AC_SUBST(SQLITE_LDFLAGS) 812AC_SUBST(SQLITE_LDFLAGS)
813 813
814LDFLAGS=$SAVE_LDFLAGS
815CPPFLAGS=$SAVE_CPPFLAGS
816
814# test for postgres 817# test for postgres
815postgres=false 818postgres=false
816# even running the check for postgres breaks emscripten ... 819# even running the check for postgres breaks emscripten ...
817if test "$taler_only" != yes; then 820if test "$taler_only" != yes; then
818 AX_LIB_POSTGRESQL([]) 821 AX_LIB_POSTGRESQL([])
819 if test "$found_postgresql" = "yes"; then 822 if test "$found_postgresql" = "yes"; then
820 CFLAGS="$CFLAGS $POSTGRESQL_CPPFLAGS"
821 CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS" 823 CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS"
822 AC_CHECK_HEADERS([libpq-fe.h], 824 AC_CHECK_HEADERS([libpq-fe.h],
823 postgres=true) 825 postgres=true)