Skip to content
Permalink
Browse files

Added Max's patches for building MacOS X apps on command line

  • Loading branch information
slouken committed Sep 4, 2001
1 parent fa07c50 commit c80db4d21140fd7f6150f7ef5fbe38753ef65d0e

File 5 of 18 in c80db4d

17 sdl.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
])

0 comments on commit c80db4d

Please sign in to comment.