iliaa Sat Feb 15 15:09:49 2003 EDT
Modified files:
/php4/ext/mysqli config.m4
Log:
Proper lib detection.
Index: php4/ext/mysqli/config.m4
diff -u php4/ext/mysqli/config.m4:1.1 php4/ext/mysqli/config.m4:1.2
--- php4/ext/mysqli/config.m4:1.1 Wed Feb 12 11:24:41 2003
+++ php4/ext/mysqli/config.m4 Sat Feb 15 15:09:49 2003
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.1 2003/02/12 16:24:41 derick Exp $
+dnl $Id: config.m4,v 1.2 2003/02/15 20:09:49 iliaa Exp $
dnl config.m4 for extension mysqli
dnl Comments in this file start with the string 'dnl'.
@@ -50,7 +50,7 @@
],[
AC_MSG_ERROR([wrong mysql library version or lib not found])
],[
- -L$MYSQLI_DIR -lm -ldl
+ `$PHP_MYSQLI/bin/mysql_config --libs | sed -e "s/'//g"`
])
PHP_SUBST(MYSQLI_SHARED_LIBADD)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php