Date: 12/15/00
- Next message: dbellizzi <email protected>: "[PHP-DEV] PHP 4.0 Bug #8287: Parse error around empty() when parameter is a object member function"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] unspecified symbol: uncompress"
- In reply to: Sascha Schumann: "Re: [PHP-DEV] unspecified symbol: uncompress"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
nOn Fri, 15 Dec 2000, Sascha Schumann wrote:
>> But I guess this could be checked like this:
>
> Chicken and egg problem. You cannot link against
> libmysqlclient before adding libz, if it contains
> my_compress. If you try, you probably will get unresolved
> symbols which are defined in libz. :)
Assuming the path to zlib is known:
AC_CHECK_LIB(mysqlclient, mysql_init, [
dnl if it works, no need for adding zlib
dnl as it is already added, or not needed.
],[
LIBS="$LIBS -L$zlib_path -lz"
AC_CHECK_LIB(mysqlclient, mysql_init, [
dnl if this works, add zlib
])
])
Does this make any sense?
--Jani
-- 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>
- Next message: dbellizzi <email protected>: "[PHP-DEV] PHP 4.0 Bug #8287: Parse error around empty() when parameter is a object member function"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] unspecified symbol: uncompress"
- In reply to: Sascha Schumann: "Re: [PHP-DEV] unspecified symbol: uncompress"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

