diff options
author | tron <tron@openttd.org> | 2004-11-17 09:07:29 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-11-17 09:07:29 +0000 |
commit | 87adce3ca0bfd9018161a97c9e4f36eaf74d9b10 (patch) | |
tree | 5a3378a748ffa56073828573db89ccf305848977 /makefiledir/Makefile.libdetection | |
parent | 13f0b6c0cf754184cfef8645e709f10240da5f98 (diff) | |
download | openttd-87adce3ca0bfd9018161a97c9e4f36eaf74d9b10.tar.xz |
(svn r655) Add the necessary bits to make building on SunOS/Solaris work
Diffstat (limited to 'makefiledir/Makefile.libdetection')
-rw-r--r-- | makefiledir/Makefile.libdetection | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/makefiledir/Makefile.libdetection b/makefiledir/Makefile.libdetection index 084d13707..31478d3bb 100644 --- a/makefiledir/Makefile.libdetection +++ b/makefiledir/Makefile.libdetection @@ -39,6 +39,13 @@ BEOS_NET_SERVER:=1 endif endif +# Automatically recognize if building on SunOS/Solaris +ifeq ($(shell uname), SunOS) +SUNOS:=1 +# SunOS uses UNIX setup too +UNIX:=1 +endif + # FreeBSD uses sdl11 instead of sdl ifdef FREEBSD SDL-CONFIG:=sdl11-config |