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 0f86f4c43a3a7531e25022a789e00b49c1374e14..5ff470500ff24226bbd32f3a981eaf555c27bee1 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)