From: Merlijn Hofstra Date: Sun, 6 Jun 2010 14:33:31 +0000 (+0200) Subject: default to SDL if it is available X-Git-Tag: xonotic-v0.1.0preview~434 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=af1227666ff34c7bc2ade4af62ae3fdf50106b92 default to SDL if it is available --- diff --git a/all b/all index ab90d98e..0f951ac4 100755 --- 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