(svn r2328) There's no need for extra magic to detect libpng on FreeBSD

This commit is contained in:
tron
2005-05-16 08:30:32 +00:00
parent 2bc9764fcf
commit ff52fc8267
2 changed files with 0 additions and 15 deletions

View File

@@ -457,10 +457,6 @@ endif
# libpng config
ifdef WITH_PNG
CDEFS += -DWITH_PNG
# FreeBSD doesn't use libpng-config
ifdef FREEBSD
LIBS += -lpng
else
CFLAGS += $(shell libpng-config --cflags)
# seems like older libpng versions are broken and need this
@@ -476,7 +472,6 @@ else
LIBS += $(shell libpng-config --L_opts $(PNGCONFIG_FLAGS))
endif
endif
endif
# enables/disables assert()
ifdef DISABLE_ASSERTS