sdl.m4
changeset 221 50620ec9c86a
parent 172 37e3ca9254c7
child 224 e7f75aaf542f
equal deleted inserted replaced
220:7861d904fb77 221:50620ec9c86a
    57 dnl
    57 dnl
    58 dnl Now check if the installed SDL is sufficiently new. (Also sanity
    58 dnl Now check if the installed SDL is sufficiently new. (Also sanity
    59 dnl checks the results of sdl-config to some extent
    59 dnl checks the results of sdl-config to some extent
    60 dnl
    60 dnl
    61       rm -f conf.sdltest
    61       rm -f conf.sdltest
    62       case "$target" in
       
    63           *-*-darwin*)
       
    64             cp -r `$SDL_CONFIG --nib` .
       
    65             dnl create an Info.plist file, unless one exists
       
    66             if test -f Info.plist ; then
       
    67              :
       
    68             else
       
    69              cp `$SDL_CONFIG --plist` .
       
    70             fi
       
    71               ;;
       
    72       esac
       
    73       AC_TRY_RUN([
    62       AC_TRY_RUN([
    74 #include <stdio.h>
    63 #include <stdio.h>
    75 #include <stdlib.h>
    64 #include <stdlib.h>
    76 #include <string.h>
    65 #include <string.h>
    77 #include "SDL.h"
    66 #include "SDL.h"