*** empty log message ***
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40171
This commit is contained in:
parent
fce24d4fb3
commit
9eab0ea201
1 changed files with 17 additions and 0 deletions
|
@ -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 checks the results of sdl-config to some extent
|
||||||
dnl
|
dnl
|
||||||
rm -f conf.sdltest
|
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([
|
AC_TRY_RUN([
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -169,5 +180,11 @@ int main(int argc, char *argv[])
|
||||||
fi
|
fi
|
||||||
AC_SUBST(SDL_CFLAGS)
|
AC_SUBST(SDL_CFLAGS)
|
||||||
AC_SUBST(SDL_LIBS)
|
AC_SUBST(SDL_LIBS)
|
||||||
|
case "$target" in
|
||||||
|
*-*-darwin*)
|
||||||
|
SDL_APPLE_CREATOR="????"
|
||||||
|
AC_SUBST(SDL_APPLE_CREATOR)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
rm -f conf.sdltest
|
rm -f conf.sdltest
|
||||||
])
|
])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue