From: Frank M. Kromann Date: Mon, 22 Nov 2004 19:41:43 +0000 (+0000) Subject: Fix #30860 configure fails when tds is compiled as shared X-Git-Tag: RELEASE_0_2~639 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82cd4789a728e857765a0da85cdb227c988d7690;p=php Fix #30860 configure fails when tds is compiled as shared --- 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