X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=config9.m4;h=3847c544fb89833058a775aecf5baf37498ceb4d;hp=4c7987bee2d9672f7b83f5e3ab8a2aee8b582a7d;hb=1d6985aa62b36962f7780a51cc6fa1d941ad7999;hpb=5da973c3eeba57241c6cee8c550d497519301673 diff --git a/config9.m4 b/config9.m4 index 4c7987b..3847c54 100644 --- a/config9.m4 +++ b/config9.m4 @@ -7,9 +7,10 @@ if test "$PHP_PQ" != "no"; then SEARCH_PATH="$PHP_PQ $SEARCH_PATH" fi for i in $SEARCH_PATH; do + 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,6 +37,15 @@ if test "$PHP_PQ" != "no"; then 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) + break + fi + AC_MSG_RESULT(nope) done if test -z "$PQ_LIBDIR"; then