[gs-devel] Patch: Add configure options to force using system libraries

Lars Uebernickel larsuebernickel at gmx.de
Mon Sep 28 06:29:13 PDT 2009


Hi,

attached is a patch which adds configure options to force using system
libraries for some of Ghostscript's dependencies. This is done to make
it easier for package maintainers of Linux distributions to use the
system's shipped libraries.

The new options are:

  --with-system-zlib
  --with-system-libjpeg
  --with-system-libpng

The corresponding --without-* options are also available, in which case
the use of the local (in-source) versions of the libs are used.

There is also a new default behavior when the options are not given:
Whichever library (system or local) is newer will be used, according to
the version numbers in the respective header files. Except for libjpeg,
which still defaults to using the local version because of the
MAX_BLOCKS_IN_MCU patch.

Hope you like it ;)

    Lars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: system-libs.patch
Type: text/x-patch
Size: 7897 bytes
Desc: not available
Url : http://ghostscript.com/pipermail/gs-devel/attachments/20090928/99dcadff/system-libs.bin


More information about the gs-devel mailing list