about summary refs log tree commit diff
path: root/config.mk.in
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-08-16 02:27:22 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-08-16 02:27:22 +0000
commitcb3ac30725f33332081d2c3f3fe979cf59212472 (patch)
tree553c39a509dc322429e96937436731005f4322f5 /config.mk.in
parent91c88b3af19807c5b07d02ced672579556784fa6 (diff)
downloadnetpbm-mirror-cb3ac30725f33332081d2c3f3fe979cf59212472.tar.gz
netpbm-mirror-cb3ac30725f33332081d2c3f3fe979cf59212472.tar.xz
netpbm-mirror-cb3ac30725f33332081d2c3f3fe979cf59212472.zip
Use pkgconfig to find libpng
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1545 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'config.mk.in')
-rw-r--r--config.mk.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.mk.in b/config.mk.in
index fde9b80d..490363aa 100644
--- a/config.mk.in
+++ b/config.mk.in
@@ -424,6 +424,14 @@ JPEGHDR_DIR =
 # files will use that program if it exists (must be in the PATH).  In that
 # case, PNGLIB and PNGHDR_DIR are irrelevant, but PNGVER is still meaningful,
 # because the make file runs 'libpng$(PNGVER)-config'.
+#
+# Even more recent versions have the more modern Pkgconfig database entry
+# to tell how to link it.  The make files will try to use that first.
+#
+# The normal way to choose the libpng the Netpbm build uses from among multiple
+# versions on your system is not to mess with the variables below, but rather
+# to mess with PKG_CONFIG_PATH or PATH environment variable so that the version
+# you want to use appears first in the search path.
 
 PNGLIB = NONE
 PNGHDR_DIR =