try to fix debian case... again
authorRemi Collet <fedora@famillecollet.com>
Thu, 11 Jun 2015 07:20:16 +0000 (09:20 +0200)
committerRemi Collet <fedora@famillecollet.com>
Thu, 11 Jun 2015 07:20:16 +0000 (09:20 +0200)
config9.m4

index 0f86f4c..5ff4705 100644 (file)
@@ -10,7 +10,7 @@ if test "$PHP_PQ" != "no"; then
                dnl for Debian
                AC_MSG_CHECKING(for $i/include/postgresql/libpq-events.h)
                if test -f "$i/include/postgresql/libpq-events.h"; then
-                       PQ_INCDIR=$i
+                       PQ_INCDIR=$i/include/postgresql
                        AC_MSG_RESULT(yep)
                        break
                fi
@@ -37,6 +37,7 @@ if test "$PHP_PQ" != "no"; then
                        break
                fi
                dnl for Debian
+               AC_MSG_CHECKING(for $i/$PHP_LIBDIR/x86_64-linux-gnu/libpq.$SHLIB_SUFFIX_NAME)
                if test -f "$i/$PHP_LIBDIR/x86_64-linux-gnu/libpq.$SHLIB_SUFFIX_NAME"; then
                        PQ_LIBDIR=$i/$PHP_LIBDIR/x86_64-linux-gnu
                        AC_MSG_RESULT(yep)