Well, I figured I'd go another round with a "newbie compile" of virtual jaguar on OS X (only following the instructions, not tweaking the script, etc.) and see what I got:
Here's the result:
./compile
*** Compiling Virtual Jaguar for Mac OS X./compile: line 35: -D_OSX_: command not found
...
gcc -Wall -Wno-switch -Wno-non-virtual-dtor -O2 -D -fomit-frame-pointer `sdl-config --cflags` -I. -Isrc -Isrc/include -I/usr/local/include -I/usr/include -c src/anajoy.cpp -o obj/anajoy.o
/bin/sh: line 1: sdl-config: command not found
<command line>:6:1: macro names must be identifiers
make: *** [obj/anajoy.o] Error 1
--as you can see, I did a few no-no's like not compiling the latest sdl first, just to see how it would handle things. Maybe we should have it trap those errors and return an informational message "Please install the SDL Library version xxx or later, found at
www.xxx.com before running this script"?