diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-12-16 03:28:42 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-12-16 03:28:42 +0000 |
commit | cd3971ca7d4b8d383ea80d2354c71802e9078512 (patch) | |
tree | 8160ad3c91d1108fe31af0948a547521e923bfe0 /buildtools | |
parent | 041c0bd7451c3383b930f75555cc4ba42e2709d6 (diff) | |
download | netpbm-mirror-cd3971ca7d4b8d383ea80d2354c71802e9078512.tar.gz netpbm-mirror-cd3971ca7d4b8d383ea80d2354c71802e9078512.tar.xz netpbm-mirror-cd3971ca7d4b8d383ea80d2354c71802e9078512.zip |
Set dummy names for PNGLIB, PNGHDR_DIR when libpng-config exists
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2849 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'buildtools')
-rwxr-xr-x | buildtools/configure.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/buildtools/configure.pl b/buildtools/configure.pl index 6bedf189..332113d5 100755 --- a/buildtools/configure.pl +++ b/buildtools/configure.pl @@ -1168,6 +1168,12 @@ sub getPngLibrary($@) { # We don't need to ask where Libpng is; there's a 'libpng-config' # That tells exactly how to access it, and the make files will use # that. + # + # To limit the confusion when someone tries to use our result in + # spite of the fact that 'libpng-config' exists, we assign suggestive + # dummy values. + $pnglib = 'USE_LIBPNG-CONFIG.a'; + $pnghdr_dir = 'USE_LIBPNG-CONFIG.a'; } else { { my $default = "libpng" . libSuffix($platform); |