Re: [PHP4BETA] Autoconf or me? Looking for gif support
| From: | Sascha Schumann | Date: | Mon, 03 Jan 2000 23:03:54 +0000 |
| Subject: | Re: [PHP4BETA] Autoconf or me? Looking for gif support | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8874@lists.php.net to get a copy of this message | ||
Look at config.log, search for the message (checking for..)
and post the error message from the link editor. I'd guess
that libgd.a isn't in the link path.
On Mon, Jan 03, 2000 at 11:35:02PM +0100, Johan Ekenberg wrote:
> Trying to get the latest CVS (2000-01-03) to work with GD,
> I don't understand why autoconf won't define HAVE_GD_GIF, when GD is
> perfectly present and useable on the machine. I can build other programs
> with GD and gif support.
>
> We have these kind of lines in ext/gd/config.m4:
> AC_CHECK_LIB(gd, gdImageCreateFromGif,
> [AC_DEFINE(HAVE_GD_GIF, 1, [ ])])
>
> The info on autoconf says that AC_CHECK_LIB just checks if a certain library
> provides a certain function. I'm sure that libgd.a provides
> gdImageCreateFromGif, but why isn't that detected by autoconf?
> I can see the function with 'nm libgd.a', and I can build testapps using
> this function without any problem.
>
> But, configure --with-gd renders:
> checking for gdImageCreateFromGif in -lgd... no
>
> Please, dear Autoconf/PHP gurus, I'm sure this is obvious to you. Can
> anybody enlighten me?
>
> Humbly
> /Johan Ekenberg
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
--
Regards,
Sascha Schumann
Consultant