diff options
author | Felipe Pena <felipe@php.net> | 2008-10-04 12:52:58 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2008-10-04 12:52:58 +0000 |
commit | 892fb867c8cd0ee0ea9e42d611a9430c06c757e6 (patch) | |
tree | 03b446ebc61762a0743bc8f9cd094ba1d6230ffb /ext/pdo_dblib | |
parent | a547b2589bc13abec0d9512d8da9ab2adb9f2e04 (diff) | |
download | php-git-892fb867c8cd0ee0ea9e42d611a9430c06c757e6.tar.gz |
- MFH: Fixed bug #44991 (Compile Failure With freetds0.82) (patch by matthias at dsx dot at)
Diffstat (limited to 'ext/pdo_dblib')
-rw-r--r-- | ext/pdo_dblib/config.m4 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/pdo_dblib/config.m4 b/ext/pdo_dblib/config.m4 index 5aa8968484..3410ba9c6b 100644 --- a/ext/pdo_dblib/config.m4 +++ b/ext/pdo_dblib/config.m4 @@ -14,11 +14,11 @@ if test "$PHP_PDO_DBLIB" != "no"; then if test "$PHP_PDO_DBLIB" = "yes"; then for i in /usr/local /usr; do - if test -f $i/include/tds.h; then + if test -f $i/include/sybdb.h; then PDO_FREETDS_INSTALLATION_DIR=$i PDO_FREETDS_INCLUDE_DIR=$i/include break - elif test -f $i/include/freetds/tds.h; then + elif test -f $i/include/freetds/sybdb.h; then PDO_FREETDS_INSTALLATION_DIR=$i PDO_FREETDS_INCLUDE_DIR=$i/include/freetds break; @@ -31,10 +31,10 @@ if test "$PHP_PDO_DBLIB" != "no"; then elif test "$PHP_PDO_DBLIB" != "no"; then - if test -f $PHP_PDO_DBLIB/include/tds.h; then + if test -f $PHP_PDO_DBLIB/include/sybdb.h; then PDO_FREETDS_INSTALLATION_DIR=$PHP_PDO_DBLIB PDO_FREETDS_INCLUDE_DIR=$PHP_PDO_DBLIB/include - elif test -f $PHP_PDO_DBLIB/include/freetds/tds.h; then + elif test -f $PHP_PDO_DBLIB/include/freetds/sybdb.h; then PDO_FREETDS_INSTALLATION_DIR=$PHP_PDO_DBLIB PDO_FREETDS_INCLUDE_DIR=$PHP_PDO_DBLIB/include/freetds else @@ -46,8 +46,8 @@ if test "$PHP_PDO_DBLIB" != "no"; then PHP_LIBDIR=lib fi - if test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.a" && test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.so"; then - AC_MSG_ERROR(Could not find $PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.[a|so]) + if test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.a" && test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.so"; then + AC_MSG_ERROR(Could not find $PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.[a|so]) fi PHP_ADD_INCLUDE($PDO_FREETDS_INCLUDE_DIR) |