changeset 3083:1c099a345438 draft

(svn r3672) -Fix: [makefile] fixed bug where some settings where overwritten with the default ones when MAKEFILE_VERSION was changed
author bjarni <bjarni@openttd.org>
date Sat, 25 Feb 2006 16:57:17 +0000
parents 6777f4f231be
children 373267f4bfce
files makefiledir/Makefile.libdetection
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/makefiledir/Makefile.libdetection
+++ b/makefiledir/Makefile.libdetection
@@ -1,5 +1,11 @@
 # this file detects what OS and libs the computer have/are running
 
+ifndef CONFIG_VERSION
+CONFIG_VERSION:=0
+endif
+
+ifeq ($(shell expr $(CONFIG_VERSION) \< 9), 1)
+
 # Automatically recognize if building on Win32
 ifdef WINDIR
 ifndef UNIX
@@ -106,3 +112,5 @@
 ifdef CYGWIN
 WITH_PNG:=
 endif
+
+endif