1
0
mirror of https://github.com/danog/ext-pq.git synced 2025-01-22 22:01:33 +01:00

try to fix debian case... again

This commit is contained in:
Remi Collet 2015-06-11 09:20:16 +02:00
parent 4178384df6
commit ea5b7d3016

View 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)