diff options
author | tron <tron@openttd.org> | 2005-05-16 08:30:32 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-05-16 08:30:32 +0000 |
commit | 14f482aeb5ba12fdce7d1ac318c0ffd302c049e7 (patch) | |
tree | c826f6608e38d2bdae59f70ca452d85a7ed083ce /makefiledir | |
parent | fd9d6e2fc65281affa6ab6e635a247b56cfdf954 (diff) | |
download | openttd-14f482aeb5ba12fdce7d1ac318c0ffd302c049e7.tar.xz |
(svn r2328) There's no need for extra magic to detect libpng on FreeBSD
Diffstat (limited to 'makefiledir')
-rw-r--r-- | makefiledir/Makefile.libdetection | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/makefiledir/Makefile.libdetection b/makefiledir/Makefile.libdetection index 97dc4eaa0..18bd2e490 100644 --- a/makefiledir/Makefile.libdetection +++ b/makefiledir/Makefile.libdetection @@ -66,17 +66,7 @@ WITH_NETWORK:=1 WITH_SDL:=$(shell $(SDL-CONFIG) --version 2>/dev/null) # libpng detection -ifdef FREEBSD -# a little hack was needed for FreeBSD because it misses libpng-config -WITH_PNG:=$(shell ls /usr/lib | grep "libpng" 2>/dev/null) $(shell \ -ls /usr/local/lib | grep "libpng" 2>/dev/null) -ifdef WITH_PNG -# makes the flag look nicer in makefile.config -WITH_PNG:=1 -endif -else WITH_PNG:=$(shell libpng-config --version 2>/dev/null) -endif ifdef WITH_PNG # LibPNG depends on Zlib |