sdl2.m4
changeset 12647 fa75f0fb9e96
parent 10382 9befd0acb9ef
equal deleted inserted replaced
12644:7c643f1c1887 12647:fa75f0fb9e96
    72             sdl_framework="$dLibrary/Frameworks/SDL2.framework"
    72             sdl_framework="$dLibrary/Frameworks/SDL2.framework"
    73           fi
    73           fi
    74         done
    74         done
    75       fi
    75       fi
    76 
    76 
    77       if test -d $sdl_framework; then
    77       if test x"$sdl_framework" != x && test -d "$sdl_framework"; then
    78         AC_MSG_RESULT($sdl_framework)
    78         AC_MSG_RESULT($sdl_framework)
    79         sdl_framework_dir=`dirname $sdl_framework`
    79         sdl_framework_dir=`dirname $sdl_framework`
    80         SDL_CFLAGS="-F$sdl_framework_dir -Wl,-framework,SDL2 -I$sdl_framework/include"
    80         SDL_CFLAGS="-F$sdl_framework_dir -Wl,-framework,SDL2 -I$sdl_framework/include"
    81         SDL_LIBS="-F$sdl_framework_dir -Wl,-framework,SDL2"
    81         SDL_LIBS="-F$sdl_framework_dir -Wl,-framework,SDL2"
    82       else
    82       else