diff options
author | bjarni <bjarni@openttd.org> | 2006-02-25 16:57:17 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-02-25 16:57:17 +0000 |
commit | fb301cced7d4773576416c78ef3e65950cf1f0a8 (patch) | |
tree | f01590a6d49cba6874a5f3fb1e6f2d6d4f15829e /makefiledir | |
parent | 6400e079187459b7b3f1ff2b557fa1dcb4966574 (diff) | |
download | openttd-fb301cced7d4773576416c78ef3e65950cf1f0a8.tar.xz |
(svn r3672) -Fix: [makefile] fixed bug where some settings where overwritten with the default ones when MAKEFILE_VERSION was changed
Diffstat (limited to 'makefiledir')
-rw-r--r-- | makefiledir/Makefile.libdetection | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/makefiledir/Makefile.libdetection b/makefiledir/Makefile.libdetection index f648c22bd..93ae9172f 100644 --- 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 @@ endif ifdef CYGWIN WITH_PNG:= endif + +endif |