]> Shamusworld >> Repos - virtualjaguar/commitdiff
Added SDL detection
authorShamus Hammons <jlhamm@acm.org>
Tue, 1 Jun 2004 19:10:02 +0000 (19:10 +0000)
committerShamus Hammons <jlhamm@acm.org>
Tue, 1 Jun 2004 19:10:02 +0000 (19:10 +0000)
compile

diff --git a/compile b/compile
index 50f1cf6eb9e385f70dc936abea3e604cdaba7507..0b6c2abcaea83d52def05db87ea70381b9ba6236 100644 (file)
--- a/compile
+++ b/compile
 # simply add them to the 'compile' command line as if 'compile' were make.
 #
 
+echo
+echo -n "*** Checking compilation environment... "
+
+# Check for SDL
+
+if [ "`which sdl-config`" = "" ]; then
+
+       echo
+       echo
+       echo "It seems that you don't have the SDL development libraries installed. If you"
+       echo "have installed them, make sure that the sdl-config file is somewhere in your"
+       echo "path and is executable."
+
+       exit 1
+
+fi
+
+echo -n "OK"
+
 echo
 echo -n "*** Compiling Virtual Jaguar for "