From af1227666ff34c7bc2ade4af62ae3fdf50106b92 Mon Sep 17 00:00:00 2001 From: Merlijn Hofstra Date: Sun, 6 Jun 2010 16:33:31 +0200 Subject: [PATCH] default to SDL if it is available --- all | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.2