projects
/
m6w6
/
ext-pq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
368624c
)
try to fix debian case
author
Remi Collet
<fedora@famillecollet.com>
Thu, 11 Jun 2015 07:13:01 +0000
(09:13 +0200)
committer
Remi Collet
<fedora@famillecollet.com>
Thu, 11 Jun 2015 07:13:01 +0000
(09:13 +0200)
config9.m4
patch
|
blob
|
history
diff --git
a/config9.m4
b/config9.m4
index 4c7987bee2d9672f7b83f5e3ab8a2aee8b582a7d..0f86f4c43a3a7531e25022a789e00b49c1374e14 100644
(file)
--- a/
config9.m4
+++ b/
config9.m4
@@
-7,6
+7,7
@@
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
@@
-35,6
+36,12
@@
if test "$PHP_PQ" != "no"; then
AC_MSG_RESULT(yep)
break
fi
+ dnl for Debian
+ 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