Check in the right place for libpq-fe.h
authorDavid Barksdale <amatus.amongus@gmail.com>
Mon, 29 Jun 2015 16:07:15 +0000 (16:07 +0000)
committerDavid Barksdale <amatus.amongus@gmail.com>
Mon, 29 Jun 2015 16:07:15 +0000 (16:07 +0000)
configure.ac

index c110b97a0c827ba0127af10728583e61771dee66..7685bd9d3abad912f52e3860b3a66e37f99f60af 100644 (file)
@@ -778,6 +778,7 @@ AC_SUBST(SQLITE_LDFLAGS)
 postgres=false
 AX_LIB_POSTGRESQL([])
 if test "$found_postgresql" = "yes"; then
+  CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS"
   AC_CHECK_HEADERS([libpq-fe.h], 
     postgres=true)
 fi