summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-06-13 18:52:06 +0000
committertruelight <truelight@openttd.org>2007-06-13 18:52:06 +0000
commit063c4f7862693c6ea3c0698e049a88c3196e2d80 (patch)
treec999a44c328fb8a50db6f8f75b7e974b2fe332de /configure
parenta84e6b015d2715daa872f11f1f3893ce06e9f458 (diff)
downloadopenttd-063c4f7862693c6ea3c0698e049a88c3196e2d80.tar.xz
(svn r10148) -Fix r10143: make --without-png to compile again
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index f64bb36c8..48213ba72 100755
--- a/configure
+++ b/configure
@@ -83,6 +83,7 @@ SRCS="`< $ROOT_DIR/source.list tr '\r' '\n' | $awk '
deep += 1;
if ($0 == "SDL" && "'$sdl_config'" == "") { next; }
+ if ($0 == "PNG" && "'$png_config'" == "") { next; }
if ($0 == "OSX" && "'$os'" != "OSX") { next; }
if ($0 == "OS2" && "'$os'" != "OS2") { next; }
if ($0 == "PSP" && "'$os'" != "PSP") { next; }