Re: [PHP-DEV] MySQL client library upgrade: 3.3.31 From: chrisv <email protected>
Date: 01/17/01

> That's what the mysql_config script is for:
>
> tim <email protected>:~$ mysql_config
> Usage: /usr/local/mysql/bin/mysql_config [OPTIONS]
> Options:
> --cflags [-I'/usr/local/mysql/include/mysql']
> --libs [ -L'/usr/local/mysql/lib/mysql' -lmysqlclient -lz -lcrypt -lm ]
> --socket [/tmp/mysql.sock]
> --port [3306]
> --version [3.23.30-gamma]
> tim <email protected>:~$ mysql_config --libs
> -L'/usr/local/mysql/lib/mysql' -lmysqlclient -lz -lcrypt -lm
>
> I'm not sure what the best way to use it in PHP is, but hopefully
> someone familiar with ext/mysql/config.m4 could fix that. If not,
> let me know and I'll try to look at it some time.

I'm not sure how effective this patch is, but it seems to generate a
working configure script for myself. I don't have 3.23.30-gamma installed
yet, though I intend on doing so soon (am downloading at the moment), so I
will get the chance to test the script myself.

For the time being, if anyone wants to look at it, the patch to
ext/mysql/config.m4 is included.

Chris

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>