CVS update: php4/ext/mysql
| From: | sas | Date: | Sun, 20 Jun 1999 18:52:45 +0000 |
| Subject: | CVS update: php4/ext/mysql | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1615@lists.php.net to get a copy of this message | ||
Date: Sunday June 20, 1999 @ 14:52
Author: sas
Update of /repository/php4/ext/mysql
In directory php:/tmp/cvs-serv17490/ext/mysql
Modified Files:
config.m4
Log Message:
Introduce AC_ADD_* macros
The use of AC_EXPAND_PATH makes it possible to continue
to use relative paths when configuring PHP.
(e.g. --with-apache=../apache-1.3.x works again)
Index: php4/ext/mysql/config.m4
diff -u php4/ext/mysql/config.m4:1.6 php4/ext/mysql/config.m4:1.7
--- php4/ext/mysql/config.m4:1.6 Fri May 21 03:52:12 1999
+++ php4/ext/mysql/config.m4 Sun Jun 20 14:52:45 1999
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.6 1999/05/21 07:52:12 sas Exp $
+dnl $Id: config.m4,v 1.7 1999/06/20 18:52:45 sas Exp $
AC_MSG_CHECKING(for MySQL support)
AC_ARG_WITH(mysql,
@@ -50,8 +50,8 @@
AC_DEFINE(HAVE_MYSQL)
AC_MSG_RESULT(yes)
- EXTRA_LIBS="$EXTRA_LIBS $MYSQL_LFLAGS $MYSQL_LIBS"
- INCLUDES="$INCLUDES $MYSQL_INCLUDE"
+ AC_ADD_LIBRARY_WITH_PATH(mysqlclient, $MYSQL_LIBDIR)
+ AC_ADD_INCLUDE($MYSQL_INCDIR)
PHP_EXTENSION(mysql)
dnl check for errmsg.h, which isn't installed by some versions of 3.21