Re: [PHP-DEV] unspecified symbol: uncompress From: Sascha Schumann (sascha <email protected>)
Date: 12/15/00

> Also, I have a better patch. Take a look at this one instead; ignore the
> previous. The point is not to add anything unconditionally, just to link with
> -lz if required.

> + if test -z "$ZLIB_DIR"; then
> + AC_MSG_ERROR(Cannot find libz)
> + fi

    Hu? You are breaking out of the configure script now, if it
    cannot find libz, regardless of whether libmysqlclient needs
    libz or not.

    You could rewrite the above check as

        if test -n "$ZLIB_DIR"; then
            AC_ADD_LIB..
        fi

    That would actually make more sense.

    - Sascha

-- 
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>