[Image-SIG] libImaging/configure bug and patch
Michael Jochimsen
mikejoch@exmsft.com
Tue, 4 Jun 2002 21:34:36 -0700
--------------Boundary-00=_O1U7WDJ9LT8AESK2BV8Q
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
There is a small bug in libImaging/configure. If --with-jpeg is specified
then configure correctly tests for -ljpeg in the specified directory, but
does not add the given library path to the LDFLAGS used in the Makefile. This
causes a compile failure for coretest, which needs to be linked against
-ljpeg but doesn't know where to look for it.
I've fixed this by adding a "-L$withval" to LIBS in libImaging/configure,
though it should really be fixed in the source configure.in. That file isn't
included in the 1.1.3 source tarball, though.
The same problem likely exists for --with-zlib, but I haven't investigated
that.
Michael
--------------Boundary-00=_O1U7WDJ9LT8AESK2BV8Q
Content-Type: text/x-diff;
charset="iso-8859-1";
name="patch-configure"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="patch-configure"
LS0tIGxpYkltYWdpbmcvY29uZmlndXJlLm9sZAlUaHUgTWF5ICAzIDAzOjU3OjM4IDIwMDEKKysr
IGxpYkltYWdpbmcvY29uZmlndXJlCVR1ZSBKdW4gIDQgMTg6MTY6MjUgMjAwMgpAQCAtODkzLDcg
Kzg5Myw3IEBACiAjZGVmaW5lICRhY190cl9saWIgMQogRU9GCiAKLSAgTElCUz0iLWxqcGVnICRM
SUJTIgorICBMSUJTPSItTCR3aXRodmFsIC1sanBlZyAkTElCUyIKIAogZWxzZQogICBlY2hvICIk
YWNfdCIibm8iIDE+JjYK
--------------Boundary-00=_O1U7WDJ9LT8AESK2BV8Q--