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