summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2004-11-22 19:45:17 +0000
committerFrank M. Kromann <fmk@php.net>2004-11-22 19:45:17 +0000
commit7064084418c87243805d01b4a6051ff9d3223303 (patch)
treeae312ad6d2d1635da1fe57743d2a79bac0386372
parentd605aa78463cd5ceed2a92572c9dee513cb21d36 (diff)
downloadphp-git-7064084418c87243805d01b4a6051ff9d3223303.tar.gz
MFH: Fix #30860 configure fails when tds is compiled as shared
-rw-r--r--ext/mssql/config.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mssql/config.m4 b/ext/mssql/config.m4
index 7007b1b94c..861cd0300b 100644
--- a/ext/mssql/config.m4
+++ b/ext/mssql/config.m4
@@ -32,8 +32,8 @@ if test "$PHP_MSSQL" != "no"; then
fi
fi
- if test ! -r "$FREETDS_INSTALLATION_DIR/lib/libtds.a"; then
- AC_MSG_ERROR(Could not find $FREETDS_INSTALLATION_DIR/lib/libtds.a)
+ if test ! -r "$FREETDS_INSTALLATION_DIR/lib/libtds.a" || test ! -r "$FREETDS_INSTALLATION_DIR/lib/libtds.so"; then
+ AC_MSG_ERROR(Could not find $FREETDS_INSTALLATION_DIR/lib/libtds.[a|so])
fi
MSSQL_INCDIR=$FREETDS_INSTALLATION_DIR/include