mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
MFH
This commit is contained in:
parent
7c6f0bd42b
commit
fb8aedb046
@ -19,8 +19,7 @@ define([PDO_ODBC_HELP_TEXT],[[
|
||||
|
||||
--with-pdo-odbc=generic,dir,libname,ldflags,cflags
|
||||
|
||||
This extension will always be created as a shared extension
|
||||
named pdo_odbc.so]])
|
||||
When build as shared the extension filename is always pdo_odbc.so]])
|
||||
|
||||
PHP_ARG_WITH(pdo-odbc, for ODBC v3 support for PDO,
|
||||
[ --with-pdo-odbc=flavour,dir
|
||||
|
@ -16,7 +16,7 @@ if test "$PHP_PDO_PGSQL" != "no"; then
|
||||
|
||||
AC_MSG_CHECKING(for pg_config)
|
||||
for i in $PHP_PDO_PGSQL $PHP_PDO_PGSQL/bin /usr/local/pgsql/bin /usr/local/bin /usr/bin ""; do
|
||||
if test -x $i/pg_config; then
|
||||
if test -x $i/pg_config; then
|
||||
PG_CONFIG="$i/pg_config"
|
||||
break;
|
||||
fi
|
||||
@ -70,12 +70,12 @@ if test "$PHP_PDO_PGSQL" != "no"; then
|
||||
|
||||
AC_MSG_CHECKING([for openssl dependencies])
|
||||
if grep -q openssl $PGSQL_INCLUDE/libpq-fe.h ; then
|
||||
AC_MSG_RESULT([yes])
|
||||
if pkg-config openssl ; then
|
||||
AC_MSG_RESULT([yes])
|
||||
if pkg-config openssl ; then
|
||||
PDO_PGSQL_CFLAGS="`pkg-config openssl --cflags`"
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
|
||||
old_LIBS=$LIBS
|
||||
@ -108,7 +108,7 @@ if test "$PHP_PDO_PGSQL" != "no"; then
|
||||
|
||||
ifdef([PHP_CHECK_PDO_INCLUDES],
|
||||
[
|
||||
PHP_CHECK_PDO_INCLUDES
|
||||
PHP_CHECK_PDO_INCLUDES
|
||||
],[
|
||||
AC_MSG_CHECKING([for PDO includes])
|
||||
if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then
|
||||
|
Loading…
Reference in New Issue
Block a user