(svn r3672) -Fix: [makefile] fixed bug where some settings where overwritten with the default ones when MAKEFILE_VERSION was changed
authorbjarni
Sat, 25 Feb 2006 16:57:17 +0000
changeset 3083 80fd38645e84
parent 3082 13f809405e3d
child 3084 18abee1dd88d
(svn r3672) -Fix: [makefile] fixed bug where some settings where overwritten with the default ones when MAKEFILE_VERSION was changed
makefiledir/Makefile.libdetection
--- a/makefiledir/Makefile.libdetection	Fri Feb 24 22:12:11 2006 +0000
+++ b/makefiledir/Makefile.libdetection	Sat Feb 25 16:57:17 2006 +0000
@@ -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