X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=compile;h=0b6c2abcaea83d52def05db87ea70381b9ba6236;hb=e923b820a95d2f9b038cb2895c3d2174b6e7b393;hp=23ec08c5c0d6639efa47f9591bc2288301f01f94;hpb=adf8aa21a9b6b87cf16c534886eca4e8ac910660;p=virtualjaguar diff --git a/compile b/compile index 23ec08c..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 " @@ -28,7 +47,7 @@ if [ "$OSTYPE" = "msys" ]; then #This doesn't seem to make a difference on Win32... # SDLLIBTYPE=--static-libs -elif [ "$OSTYPE" = "darwin7.0" ]; then +elif [ "$OSTYPE" = "darwin7.0" ] || [ "$OSTYPE" = "darwin" ]; then echo -n Mac OS X