projects
/
xonotic
/
xonotic.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec1cee8
)
default to SDL if it is available
author
Merlijn Hofstra <merlijnhofstra@mh.local>
Sun, 6 Jun 2010 14:33:31 +0000
(16:33 +0200)
committer
Merlijn Hofstra <merlijnhofstra@mh.local>
Sun, 6 Jun 2010 14:33:31 +0000
(16:33 +0200)
all
patch
|
blob
|
history
diff --git
a/all
b/all
index ab90d98ef394569ffa6d50fe07b4d397db8e3cca..0f951ac440396c58b78417ce24f060a9dcf92706 100755
(executable)
--- a/
all
+++ b/
all
@@
-438,6
+438,9
@@
case "$cmd" in
if [ -z "$CC" ]; then
export CC=gcc
fi
+ elif [ x"`uname`" = x"Darwin" ] && ( [ -d /Library/Frameworks/SDL.framework ] || [ -d $(HOME)/Library/Frameworks/SDL.framework ] ); then
+ # AGL is broken in Snow Leopard, so let's default to SDL if it is available.
+ TARGETS="sv-debug sdl-debug"
else
TARGETS="sv-debug cl-debug sdl-debug"
fi