changeset 170:9427fb48592a

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Tue, 04 Sep 2001 23:22:23 +0000
parents 8039a5b760b9
children 02e27b705645
files test/acinclude.m4
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/acinclude.m4	Tue Sep 04 23:21:20 2001 +0000
+++ b/test/acinclude.m4	Tue Sep 04 23:22:23 2001 +0000
@@ -58,6 +58,17 @@
 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 @@
   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
 ])