Revision b4f93564

View differences:

configure
2356 2356
SDL_CONFIG="${cross_prefix}sdl-config"
2357 2357
if "${SDL_CONFIG}" --version > /dev/null 2>&1; then
2358 2358
    sdl_cflags=$("${SDL_CONFIG}" --cflags)
2359
    sdl_libs=$("${SDL_CONFIG}" --libs)
2359 2360
    temp_cflags $sdl_cflags
2360
    temp_extralibs $("${SDL_CONFIG}" --libs)
2361
    temp_extralibs $sdl_libs
2361 2362
    if check_lib2 SDL.h SDL_Init; then
2362 2363
        _sdlversion=$("${SDL_CONFIG}" --version | sed 's/[^0-9]//g')
2363 2364
        if test "$_sdlversion" -lt 121 ; then
......
2707 2708
echo "HOSTLIBS=$host_libs" >> config.mak
2708 2709
echo "TARGET_EXEC=$target_exec" >> config.mak
2709 2710
echo "TARGET_PATH=$target_path" >> config.mak
2710

  
2711
if enabled sdl; then
2712
    echo "SDL_LIBS=$("${SDL_CONFIG}" --libs)" >> config.mak
2713
    echo "SDL_CFLAGS=$("${SDL_CONFIG}" --cflags)" >> config.mak
2714
fi
2711
echo "SDL_LIBS=$sdl_libs" >> config.mak
2712
echo "SDL_CFLAGS=$sdl_cflags" >> config.mak
2715 2713

  
2716 2714
get_version(){
2717 2715
    name=$1

Also available in: Unified diff