mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
Use PHP_LIBDIR.
This commit is contained in:
parent
1d5691e2cc
commit
d17ccbdeee
@ -32,12 +32,12 @@ if test "$PHP_MSSQL" != "no"; then
|
||||
fi
|
||||
fi
|
||||
|
||||
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])
|
||||
if test ! -r "$FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.a" && test ! -r "$FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.so"; then
|
||||
AC_MSG_ERROR(Could not find $FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.[a|so])
|
||||
fi
|
||||
|
||||
MSSQL_INCDIR=$FREETDS_INSTALLATION_DIR/include
|
||||
MSSQL_LIBDIR=$FREETDS_INSTALLATION_DIR/lib
|
||||
MSSQL_LIBDIR=$FREETDS_INSTALLATION_DIR/$PHP_LIBDIR
|
||||
|
||||
PHP_ADD_INCLUDE($MSSQL_INCDIR)
|
||||
PHP_ADD_LIBRARY_WITH_PATH(sybdb, $MSSQL_LIBDIR, MSSQL_SHARED_LIBADD)
|
||||
|
Loading…
Reference in New Issue
Block a user