This is fun.
# fix this darn SDL stuff....
with_sdl_config=/opt/local/bin/sdl-config
Except that this doesn't exist in the official SDL release :-).
Later,
if test $TARGET_OS != "darwin"
then
PKG_CHECK_MODULES(SDL, sdl, HAVE_SDL="yes", HAVE_SDL="no")
else
HAVE_SDL=no
fi
if test "x$HAVE_SDL" = "xno" ; then
sdl_config=$with_sdl_config
AC_CHECK_PROG(HAVE_SDL_CONFIG,$sdl_config,yes)
So if we're "darwin", then we assume we don't have SDL (without checking /Library/Frameworks), and then look for the macports version.
<Sigh>.
I don't see how to "fix" it properly, but I think I can see how to hard-code what will work.