summaryrefslogtreecommitdiff
path: root/makefiledir/Makefile.libdetection
diff options
context:
space:
mode:
Diffstat (limited to 'makefiledir/Makefile.libdetection')
-rw-r--r--makefiledir/Makefile.libdetection8
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