From 9eab0ea201a02777c1882b5151115c57937bd0a4 Mon Sep 17 00:00:00 2001 From: Sam Lantinga <slouken@libsdl.org> Date: Tue, 4 Sep 2001 23:22:23 +0000 Subject: [PATCH] *** empty log message *** --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40171 --- test/acinclude.m4 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/test/acinclude.m4 b/test/acinclude.m4 index 36fb04af..d2a47859 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 <stdio.h> #include <stdlib.h> @@ -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 ]) -- 2.18.1