diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2010-08-28 18:01:59 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2010-08-28 18:01:59 +0000 |
commit | 46641785764d952eae9a9393aa7bcf6d128cb486 (patch) | |
tree | e7961d4cad41e7cee1c842e4b9058ce2e10359d0 /converter/other | |
parent | 17830f0c122c8914b2b569ee5dc6a3091017be88 (diff) | |
download | netpbm-mirror-46641785764d952eae9a9393aa7bcf6d128cb486.tar.gz netpbm-mirror-46641785764d952eae9a9393aa7bcf6d128cb486.tar.xz netpbm-mirror-46641785764d952eae9a9393aa7bcf6d128cb486.zip |
fix PNGVER
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1278 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other')
-rw-r--r-- | converter/other/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/converter/other/Makefile b/converter/other/Makefile index 1417cd3a..954f96d2 100644 --- a/converter/other/Makefile +++ b/converter/other/Makefile @@ -26,7 +26,7 @@ ifneq ($(TIFFLIB),NONE) endif endif -ifeq ($(shell libpng-config --version),) +ifeq ($(shell libpng$(PNGVER)-config --version),) ifneq ($(PNGLIB),NONE) HAVE_PNGLIB = Y ifneq ($(PNGHDR_DIR)x,x) @@ -38,7 +38,7 @@ ifeq ($(shell libpng-config --version),) endif else HAVE_PNGLIB = Y - EXTERN_INCLUDES += $(shell libpng-config --cflags) + EXTERN_INCLUDES += $(shell libpng$(PNGVER)-config --cflags) endif ifneq ($(JPEGLIB),NONE) @@ -153,10 +153,10 @@ tifftopnm pamtotiff pnmtotiffcmyk: %: %.o tiff.o $(NETPBMLIB) $(LIBOPT) $(LD) -o $@ $@.o tiff.o \ $(LIBOPTS_TIFF) $(MATHLIB) $(LDFLAGS) $(LDLIBS) $(RPATH) $(LADD) -ifeq ($(shell libpng-config --version),) +ifeq ($(shell libpng$(PNGVER)-config --version),) PNGLIB_LIBOPTS = $(shell $(LIBOPT) $(LIBOPTR) $(PNGLIB) $(ZLIB)) else - PNGLIB_LIBOPTS = $(shell libpng-config --ldflags) + PNGLIB_LIBOPTS = $(shell libpng$(PNGVER)-config --ldflags) endif pngtopam: %: %.o pngx.o $(NETPBMLIB) $(LIBOPT) |