diff options
author | Wez Furlong <wez@php.net> | 2005-02-17 04:23:15 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2005-02-17 04:23:15 +0000 |
commit | 55f53a5a963da2788840995bc33752c10d4c166a (patch) | |
tree | cbae417e3efbd324679051a467398c9b5939e749 /ext/pdo_odbc/config.m4 | |
parent | 4585c15cb04ac0f7da95ed04ecc808bfd1681417 (diff) | |
download | php-git-55f53a5a963da2788840995bc33752c10d4c166a.tar.gz |
symlinked pdo drivers under ext.
Enabled PDO and PDO_SQLITE by default.
Fixup PDO header detection so that it searches in the correct order, and
correctly picks up the headers when building from outside of the source
tree.
TODO: make pdo_XXX auto-enable when XXX is enabled. Volunteers welcome.
Diffstat (limited to 'ext/pdo_odbc/config.m4')
-rwxr-xr-x | ext/pdo_odbc/config.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pdo_odbc/config.m4 b/ext/pdo_odbc/config.m4 index f7113a9207..bddd7dcd6e 100755 --- a/ext/pdo_odbc/config.m4 +++ b/ext/pdo_odbc/config.m4 @@ -134,8 +134,8 @@ functions required for PDO support. AC_MSG_CHECKING([for PDO includes]) if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then pdo_inc_path=$abs_srcdir/ext - elif test -f ext/pdo/php_pdo_driver.h; then - pdo_inc_path=ext + elif test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then + pdo_inc_path=$abs_srcdir/ext elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then pdo_inc_path=$prefix/include/php/ext else @@ -144,6 +144,6 @@ functions required for PDO support. AC_MSG_RESULT($pdo_inc_path) PHP_NEW_EXTENSION(pdo_odbc, pdo_odbc.c odbc_driver.c odbc_stmt.c, $ext_shared,,-I$pdo_inc_path $PDO_ODBC_INCLUDE) -dnl PHP_ADD_EXTENSION_DEP(pdo_odbc, pdo) + PHP_ADD_EXTENSION_DEP(pdo_odbc, pdo) fi |