version 1.1.1.1, 2012/02/21 23:47:59
|
version 1.1.1.2, 2012/05/29 12:34:41
|
Line 47 if test "$PHP_PDO_ODBC" != "no"; then
|
Line 47 if test "$PHP_PDO_ODBC" != "no"; then
|
],[ |
],[ |
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 |
pdo_inc_path=$abs_srcdir/ext | pdo_cv_inc_path=$abs_srcdir/ext |
elif test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then |
elif test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then |
pdo_inc_path=$abs_srcdir/ext | pdo_cv_inc_path=$abs_srcdir/ext |
elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then |
elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then |
pdo_inc_path=$prefix/include/php/ext | pdo_cv_inc_path=$prefix/include/php/ext |
else |
else |
AC_MSG_ERROR([Cannot find php_pdo_driver.h.]) |
AC_MSG_ERROR([Cannot find php_pdo_driver.h.]) |
fi |
fi |
AC_MSG_RESULT($pdo_inc_path) | AC_MSG_RESULT($pdo_cv_inc_path) |
]) |
]) |
|
|
AC_MSG_CHECKING([for selected PDO ODBC flavour]) |
AC_MSG_CHECKING([for selected PDO ODBC flavour]) |
Line 165 functions required for PDO support.
|
Line 165 functions required for PDO support.
|
AC_MSG_ERROR([Your ODBC library does not exist or there was an error. Check config.log for more information]) |
AC_MSG_ERROR([Your ODBC library does not exist or there was an error. Check config.log for more information]) |
], $PDO_ODBC_LDFLAGS) |
], $PDO_ODBC_LDFLAGS) |
|
|
PHP_NEW_EXTENSION(pdo_odbc, pdo_odbc.c odbc_driver.c odbc_stmt.c, $ext_shared,,-I$pdo_inc_path $PDO_ODBC_INCLUDE) | PHP_NEW_EXTENSION(pdo_odbc, pdo_odbc.c odbc_driver.c odbc_stmt.c, $ext_shared,,-I$pdo_cv_inc_path $PDO_ODBC_INCLUDE) |
PHP_SUBST(PDO_ODBC_SHARED_LIBADD) |
PHP_SUBST(PDO_ODBC_SHARED_LIBADD) |
ifdef([PHP_ADD_EXTENSION_DEP], |
ifdef([PHP_ADD_EXTENSION_DEP], |
[ |
[ |