aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-27 19:43:59 +0000
committerChristian Grothoff <christian@grothoff.org>2015-06-27 19:43:59 +0000
commit42d58526dad45bf91a77188433eb51c3c1b28f33 (patch)
tree03758b06839dbfd364c8d6f832f2d4f3abb33638 /configure.ac
parent3773c3902311de95b299a65885f3e3b2da3f7749 (diff)
downloadgnunet-42d58526dad45bf91a77188433eb51c3c1b28f33.tar.gz
gnunet-42d58526dad45bf91a77188433eb51c3c1b28f33.zip
also check for existence of libpq-fe header
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 443e27321..358b06634 100644
--- a/configure.ac
+++ b/configure.ac
@@ -777,10 +777,13 @@ AC_SUBST(SQLITE_LDFLAGS)
777postgres=false 777postgres=false
778AX_LIB_POSTGRESQL([]) 778AX_LIB_POSTGRESQL([])
779if test "$found_postgresql" = "yes"; then 779if test "$found_postgresql" = "yes"; then
780 postgres=true 780 AC_CHECK_HEADERS([libpq-fe.h],
781 postgres=true)
781fi 782fi
783
782AM_CONDITIONAL(HAVE_POSTGRESQL, test x$postgres = xtrue) 784AM_CONDITIONAL(HAVE_POSTGRESQL, test x$postgres = xtrue)
783 785
786
784LDFLAGS=$SAVE_LDFLAGS 787LDFLAGS=$SAVE_LDFLAGS
785CPPFLAGS=$SAVE_CPPFLAGS 788CPPFLAGS=$SAVE_CPPFLAGS
786 789