From: Shamus Hammons Date: Tue, 1 Jun 2004 19:10:02 +0000 (+0000) Subject: Added SDL detection X-Git-Tag: 1.0.7~33 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83e523e9d31c2b82acd8db7859d9e2edd9c047b5;p=virtualjaguar Added SDL detection --- diff --git a/compile b/compile index 50f1cf6..0b6c2ab 100644 --- a/compile +++ b/compile @@ -11,6 +11,25 @@ # 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 "