From 51ece8d99ae9745d652f60e91b1df920e375675a Mon Sep 17 00:00:00 2001 From: bjarni Date: Sat, 25 Feb 2006 16:57:17 +0000 Subject: (svn r3672) -Fix: [makefile] fixed bug where some settings where overwritten with the default ones when MAKEFILE_VERSION was changed --- makefiledir/Makefile.libdetection | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.2.3-54-g00ecf