cvs: php4(PHP_4_3) /ext/mssql config.m4
| From: | Frank M. Kromann | Date: | Sun, 09 Feb 2003 07:48:41 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/mssql config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18511@lists.php.net to get a copy of this message | ||
fmk Sun Feb 9 02:48:41 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/mssql config.m4
Log:
Fixing autodetect of FreeTDS
Index: php4/ext/mssql/config.m4
diff -u php4/ext/mssql/config.m4:1.1.2.3 php4/ext/mssql/config.m4:1.1.2.4
--- php4/ext/mssql/config.m4:1.1.2.3 Thu Jan 9 17:36:02 2003
+++ php4/ext/mssql/config.m4 Sun Feb 9 02:48:40 2003
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.1.2.3 2003/01/09 22:36:02 fmk Exp $
+dnl $Id: config.m4,v 1.1.2.4 2003/02/09 07:48:40 fmk Exp $
dnl
PHP_ARG_WITH(mssql,for MSSQL support via FreeTDS,
@@ -13,8 +13,8 @@
if test "$PHP_MSSQL" = "yes"; then
for i in /usr/local /usr; do
- if test -f $i/freetds/include/tds.h; then
- FREETDS_INSTALLATION_DIR=$i/freetds
+ if test -f $i/include/tds.h; then
+ FREETDS_INSTALLATION_DIR=$i
break
fi
done
@@ -27,8 +27,6 @@
if test -f $PHP_MSSQL/include/tds.h; then
FREETDS_INSTALLATION_DIR=$PHP_MSSQL
- elif test -f $PHP_MSSQL/freetds/include/tds.h; then
- FREETDS_INSTALLATION_DIR=$PHP_MSSQL/freetds
else
AC_MSG_ERROR(Directory $PHP_MSSQL is not a FreeTDS installation directory)
fi