mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +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
|
--with-pdo-odbc=generic,dir,libname,ldflags,cflags
|
||||||
|
|
||||||
This extension will always be created as a shared extension
|
When build as shared the extension filename is always pdo_odbc.so]])
|
||||||
named pdo_odbc.so]])
|
|
||||||
|
|
||||||
PHP_ARG_WITH(pdo-odbc, for ODBC v3 support for PDO,
|
PHP_ARG_WITH(pdo-odbc, for ODBC v3 support for PDO,
|
||||||
[ --with-pdo-odbc=flavour,dir
|
[ --with-pdo-odbc=flavour,dir
|
||||||
|
@ -16,7 +16,7 @@ if test "$PHP_PDO_PGSQL" != "no"; then
|
|||||||
|
|
||||||
AC_MSG_CHECKING(for pg_config)
|
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
|
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"
|
PG_CONFIG="$i/pg_config"
|
||||||
break;
|
break;
|
||||||
fi
|
fi
|
||||||
@ -70,12 +70,12 @@ if test "$PHP_PDO_PGSQL" != "no"; then
|
|||||||
|
|
||||||
AC_MSG_CHECKING([for openssl dependencies])
|
AC_MSG_CHECKING([for openssl dependencies])
|
||||||
if grep -q openssl $PGSQL_INCLUDE/libpq-fe.h ; then
|
if grep -q openssl $PGSQL_INCLUDE/libpq-fe.h ; then
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
if pkg-config openssl ; then
|
if pkg-config openssl ; then
|
||||||
PDO_PGSQL_CFLAGS="`pkg-config openssl --cflags`"
|
PDO_PGSQL_CFLAGS="`pkg-config openssl --cflags`"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
old_LIBS=$LIBS
|
old_LIBS=$LIBS
|
||||||
@ -108,7 +108,7 @@ if test "$PHP_PDO_PGSQL" != "no"; then
|
|||||||
|
|
||||||
ifdef([PHP_CHECK_PDO_INCLUDES],
|
ifdef([PHP_CHECK_PDO_INCLUDES],
|
||||||
[
|
[
|
||||||
PHP_CHECK_PDO_INCLUDES
|
PHP_CHECK_PDO_INCLUDES
|
||||||
],[
|
],[
|
||||||
AC_MSG_CHECKING([for PDO includes])
|
AC_MSG_CHECKING([for PDO includes])
|
||||||
if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then
|
if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then
|
||||||
|
Loading…
Reference in New Issue
Block a user