From 1736896924b2eaf2dd187f689362b4e62db190bd Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 4 Sep 2001 23:22:23 +0000 Subject: [PATCH] *** empty log message *** --- test/acinclude.m4 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/test/acinclude.m4 b/test/acinclude.m4 index 36fb04afb..d2a478594 100644 --- a/test/acinclude.m4 +++ b/test/acinclude.m4 @@ -58,6 +58,17 @@ dnl Now check if the installed SDL is sufficiently new. (Also sanity dnl checks the results of sdl-config to some extent dnl rm -f conf.sdltest + case "$target" in + *-*-darwin*) + cp -r `$SDL_CONFIG --nib` . + dnl create an Info.plist file, unless one exists + if test -f Info.plist ; then + : + else + cp `$SDL_CONFIG --plist` . + fi + ;; + esac AC_TRY_RUN([ #include #include @@ -169,5 +180,11 @@ int main(int argc, char *argv[]) fi AC_SUBST(SDL_CFLAGS) AC_SUBST(SDL_LIBS) + case "$target" in + *-*-darwin*) + SDL_APPLE_CREATOR="????" + AC_SUBST(SDL_APPLE_CREATOR) + ;; + esac rm -f conf.sdltest ])