[poppler] [PATCH] configure: do not override user supplied LIBJPEG_LIBS

Michael Stahl mstahl at redhat.com
Tue Dec 6 12:54:04 UTC 2016

re-sending this, apparently it got lost in the other thread since Albert
requested review from somebody with autoconf knowledge.

> due to the various autoconf macros it was a bit non-obvious to figure
> out that, unlike LIBJPEG_CFLAGS, LIBJPEG_LIBS is a variable that is
> always overwritten by configure and effectively cannot be set from the
> outside; i could set LIBJPEG_CFLAGS to include the link parameters but i
> can't prevent configure from checking for a libjpeg6b.so so if such
> exists on a system (it doesn't on Fedora) then it's possible that we get
> funny DT_NEEDEDs from "-ljpeg -ljpeg6b".
> so i wrote the attached patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure-do-not-override-user-supplied-LIBJPEG_LIBS.patch
Type: text/x-patch
Size: 995 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20161206/36d87357/attachment.bin>

More information about the poppler mailing list