mldonkey-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD


From: savannah-bounces
Subject: [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD
Date: Fri, 24 Jun 2005 13:08:04 +0000
User-agent: Opera/8.01 (Windows NT 5.1; U; en)

Follow-up Comment #16, bug #13480 (project mldonkey):

Might another check in configure.in be the source? If you look at:
---
# testing for gd support
LIBPNG=no
AC_CHECK_LIB(png, png_create_read_struct , [LIBPNG=yes])

LIBJPEG=no
AC_CHECK_LIB(jpeg, jpeg_CreateCompress, [LIBJPEG=yes])

LIBGD_GIF=no
AC_CHECK_LIB(gd, gdImageGif,[LIBGD_GIF=yes])

LIBGD_PNG=no
AC_CHECK_LIB(gd, gdImagePng, [LIBGD_PNG=yes])

LIBGD_JPG=no
AC_CHECK_LIB(gd, gdImageJpeg, [LIBGD_JPG=yes])
---
The first check for PNG check PNG read ability it seems
(png_create_read_struct), and it sets the variable LIBPNG. Is that variable
actually used anywhere? And if it is, without the GD PNG libraries, PNG
reading will still succeed. So it probably will try to read a file it cannot
write. Hence an error...
So LIBPNG can only be true when LIBGD_PNG is true, and LIBJPEG can only be
true when LIBGD_JPG is true.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13480>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]