(svn r2461) -Feature [Makefile] libpng-config can now be called something else in Makefile.config

useful if you for some reason got a libpng-config, which is called something else
This commit is contained in:
bjarni
2005-06-19 17:05:24 +00:00
parent 4754dad0d6
commit 1a96770d81
3 changed files with 10 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ WITH_NETWORK:=1
WITH_SDL:=$(shell $(SDL-CONFIG) --version 2>/dev/null)
# libpng detection
WITH_PNG:=$(shell libpng-config --version 2>/dev/null)
WITH_PNG:=$(shell $(LIBPNG-CONFIG) --version 2>/dev/null)
ifdef WITH_PNG
# LibPNG depends on Zlib