diff options
author | David Barksdale <amatus@amat.us> | 2017-02-20 17:50:55 -0600 |
---|---|---|
committer | David Barksdale <amatus@amat.us> | 2017-02-20 17:50:55 -0600 |
commit | 24b8e62f2ed410ad5320f7cd1cace020fbaeb179 (patch) | |
tree | db92fbd43b96f84e455a6374b301f5628d27a046 /configure.ac | |
parent | 39e6893e4b3bc527b00b684ef804661c4b6588f2 (diff) | |
download | gnunet-24b8e62f2ed410ad5320f7cd1cace020fbaeb179.tar.gz gnunet-24b8e62f2ed410ad5320f7cd1cace020fbaeb179.zip |
Don't put POSTGRESQL_CPPFLAGS in CFLAGS
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
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) | |||
811 | AC_SUBST(SQLITE_CPPFLAGS) | 811 | AC_SUBST(SQLITE_CPPFLAGS) |
812 | AC_SUBST(SQLITE_LDFLAGS) | 812 | AC_SUBST(SQLITE_LDFLAGS) |
813 | 813 | ||
814 | LDFLAGS=$SAVE_LDFLAGS | ||
815 | CPPFLAGS=$SAVE_CPPFLAGS | ||
816 | |||
814 | # test for postgres | 817 | # test for postgres |
815 | postgres=false | 818 | postgres=false |
816 | # even running the check for postgres breaks emscripten ... | 819 | # even running the check for postgres breaks emscripten ... |
817 | if test "$taler_only" != yes; then | 820 | if 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) |