cleanup configure output
[m6w6/ext-pq] / config9.m4
index 0f86f4c43a3a7531e25022a789e00b49c1374e14..3847c544fb89833058a775aecf5baf37498ceb4d 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
@@ -36,7 +36,10 @@ if test "$PHP_PQ" != "no"; then
                        AC_MSG_RESULT(yep)
                        break
                fi
+               AC_MSG_RESULT(nope)
+
                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)