summaryrefslogtreecommitdiff
path: root/makefiledir/Makefile.libdetection
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-03-14 19:10:33 +0000
committertruelight <truelight@openttd.org>2006-03-14 19:10:33 +0000
commitbe15d8ec2e48fc72366f98810eefc6e551f6ec2e (patch)
tree0032683ff04cce8e5106f8b9e7afae7baa6324b2 /makefiledir/Makefile.libdetection
parent273533d4c705f98a15e1376a77f34a5978ec55f6 (diff)
downloadopenttd-be15d8ec2e48fc72366f98810eefc6e551f6ec2e.tar.xz
(svn r3864) -Fix: small problems with make-system, making room for a wrapper-configure
Diffstat (limited to 'makefiledir/Makefile.libdetection')
-rw-r--r--makefiledir/Makefile.libdetection5
1 files changed, 5 insertions, 0 deletions
diff --git a/makefiledir/Makefile.libdetection b/makefiledir/Makefile.libdetection
index 93ae9172f..213c62b76 100644
--- a/makefiledir/Makefile.libdetection
+++ b/makefiledir/Makefile.libdetection
@@ -6,6 +6,8 @@ endif
ifeq ($(shell expr $(CONFIG_VERSION) \< 9), 1)
+ifndef BYPASS_OS_DETECT
+
# Automatically recognize if building on Win32
ifdef WINDIR
ifndef UNIX
@@ -56,6 +58,9 @@ SUNOS:=1
UNIX:=1
endif
+# END BYPASS_OS_DETECT
+endif
+
# FreeBSD uses sdl11 instead of sdl
ifdef FREEBSD
SDL-CONFIG:=sdl11-config