Re: cvs: php-src(PHP_5_1) /ext/pdo_mysql config.m4
| From: | Michael Wallner | Date: | Fri, 05 May 2006 17:58:51 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_1) /ext/pdo_mysql config.m4 | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-38034@lists.php.net to get a copy of this message | ||
Wez Furlong wrote:
wez Tue May 2 00:59:22 2006 UTC
Modified files: (Branch: PHP_5_1)
/php-src/ext/pdo_mysql config.m4 Log:
tweak for better compatibility when building as SCE.
(library order is important)
http://cvs.php.net/viewcvs.cgi/php-src/ext/pdo_mysql/config.m4?r1=1.25.2.6&r2=1.25.2.7&diff_format=u
Index: php-src/ext/pdo_mysql/config.m4
diff -u php-src/ext/pdo_mysql/config.m4:1.25.2.6 php-src/ext/pdo_mysql/config.m4:1.25.2.7
--- php-src/ext/pdo_mysql/config.m4:1.25.2.6 Sun Dec 4 18:33:26 2005
+++ php-src/ext/pdo_mysql/config.m4 Tue May 2 00:59:22 2006
This oddly breaks my debug build.
mike@honeybadger:~/cvs/php-5.1$ cvs up -C ext/pdo_mysql/config.m4
(Locally modified config.m4 moved to .#config.m4.1.25.2.7)
U ext/pdo_mysql/config.m4
mike@honeybadger:~/cvs/php-5.1$ ./buildconf
using default Zend directory
rebuilding configure
rebuilding main/php_config.h.in
mike@honeybadger:~/build/php-5.1-debug$ rm -f config.cache
mike@honeybadger:~/build/php-5.1-debug$ ./config.nice | grep -i mysql
checking for MySQL support... no
checking for specified location of the MySQL UNIX socket... no
checking for MySQLi support... no
checking whether to enable embedded MySQLi support... no
checking for MySQL support for PDO... yes
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_query in -lmysqlclient... yes
checking for mysql_commit... yes
checking for mysql_stmt_prepare... yes
checking for mysql_next_result... yes
checking for mysql_sqlstate... yes
configure: warning: lemon versions supported for regeneration of libsqlite parsers: 1.0 (found: none).
mike@honeybadger:~/build/php-5.1-debug$ clean ext/pdo_mysql
find ext/pdo_mysql/ -name \*.o
ext/pdo_mysql/.libs/pdo_mysql.o
ext/pdo_mysql/.libs/mysql_driver.o
ext/pdo_mysql/.libs/mysql_statement.o
ext/pdo_mysql/pdo_mysql.o
ext/pdo_mysql/mysql_driver.o
ext/pdo_mysql/mysql_statement.o
find ext/pdo_mysql/ -name \*.lo
ext/pdo_mysql/pdo_mysql.lo
ext/pdo_mysql/mysql_driver.lo
ext/pdo_mysql/mysql_statement.lo
mike@honeybadger:~/build/php-5.1-debug$ make
[... lots of undefined refs because of missing -lmysqlclient ...]
After reverting last commit:
mike@honeybadger:~/cvs/php-5.1$ cvs diff -r 1.25.2.7 -r 1.25.2.6 ext/pdo_mysql/config.m4 | patch -p0
patching file ext/pdo_mysql/config.m4
mike@honeybadger:~/cvs/php-5.1$ ./buildconf
using default Zend directory
rebuilding configure
rebuilding main/php_config.h.in
mike@honeybadger:~/build/php-5.1-debug$ clean ext/pdo_mysql
find ext/pdo_mysql/ -name \*.o
ext/pdo_mysql/.libs/pdo_mysql.o
ext/pdo_mysql/.libs/mysql_driver.o
ext/pdo_mysql/.libs/mysql_statement.o
ext/pdo_mysql/pdo_mysql.o
ext/pdo_mysql/mysql_driver.o
ext/pdo_mysql/mysql_statement.o
find ext/pdo_mysql/ -name \*.lo
ext/pdo_mysql/pdo_mysql.lo
ext/pdo_mysql/mysql_driver.lo
ext/pdo_mysql/mysql_statement.lo
mike@honeybadger:~/build/php-5.1-debug$ rm -f config.cache && ./config.nice | grep -i mysql
checking for MySQL support... no
checking for specified location of the MySQL UNIX socket... no
checking for MySQLi support... no
checking whether to enable embedded MySQLi support... no
checking for MySQL support for PDO... yes
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_query in -lmysqlclient... yes
checking for mysql_commit... yes
checking for mysql_stmt_prepare... yes
checking for mysql_next_result... yes
checking for mysql_sqlstate... yes
configure: warning: lemon versions supported for regeneration of libsqlite parsers: 1.0 (found: none).
mike@honeybadger:~/build/php-5.1-debug$ make [... build completes ...]
Regards,
--
Michael - <mike(@)php.net> http://dev.iworks.at/ext-http/http-functions.html.gz