From 83e523e9d31c2b82acd8db7859d9e2edd9c047b5 Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Tue, 1 Jun 2004 19:10:02 +0000 Subject: [PATCH] Added SDL detection --- compile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 " -- 2.37.2