summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJoe Orton <jorton@php.net>2005-04-01 11:12:45 (GMT)
committerJoe Orton <jorton@php.net>2005-04-01 11:12:45 (GMT)
commitd17ccbdeee134419bdcb6a5ac7acbc329655be6d (patch)
tree8199fdbb4b5d9458159074ad18e51255900ab5da /ext
parent1d5691e2cc519b1c890513a2fa5e5314dccef884 (diff)
downloadphp-d17ccbdeee134419bdcb6a5ac7acbc329655be6d.tar.gz
Use PHP_LIBDIR.
Diffstat (limited to 'ext')
-rw-r--r--ext/mssql/config.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mssql/config.m4 b/ext/mssql/config.m4
index ead7935..e712f9f 100644
--- a/ext/mssql/config.m4
+++ b/ext/mssql/config.m4
@@ -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)