diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-06-27 19:43:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-06-27 19:43:59 +0000 |
commit | 42d58526dad45bf91a77188433eb51c3c1b28f33 (patch) | |
tree | 03758b06839dbfd364c8d6f832f2d4f3abb33638 /configure.ac | |
parent | 3773c3902311de95b299a65885f3e3b2da3f7749 (diff) | |
download | gnunet-42d58526dad45bf91a77188433eb51c3c1b28f33.tar.gz gnunet-42d58526dad45bf91a77188433eb51c3c1b28f33.zip |
also check for existence of libpq-fe header
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
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) | |||
777 | postgres=false | 777 | postgres=false |
778 | AX_LIB_POSTGRESQL([]) | 778 | AX_LIB_POSTGRESQL([]) |
779 | if test "$found_postgresql" = "yes"; then | 779 | if test "$found_postgresql" = "yes"; then |
780 | postgres=true | 780 | AC_CHECK_HEADERS([libpq-fe.h], |
781 | postgres=true) | ||
781 | fi | 782 | fi |
783 | |||
782 | AM_CONDITIONAL(HAVE_POSTGRESQL, test x$postgres = xtrue) | 784 | AM_CONDITIONAL(HAVE_POSTGRESQL, test x$postgres = xtrue) |
783 | 785 | ||
786 | |||
784 | LDFLAGS=$SAVE_LDFLAGS | 787 | LDFLAGS=$SAVE_LDFLAGS |
785 | CPPFLAGS=$SAVE_CPPFLAGS | 788 | CPPFLAGS=$SAVE_CPPFLAGS |
786 | 789 | ||