sdl.m4
branchSDL-1.2
changeset 11962 6d7d78d2d864
parent 4440 7bb8f748a14d
equal deleted inserted replaced
11936:2b3d476e2ed9 11962:6d7d78d2d864
    33       SDL_CONFIG=$sdl_prefix/bin/sdl-config
    33       SDL_CONFIG=$sdl_prefix/bin/sdl-config
    34     fi
    34     fi
    35   fi
    35   fi
    36 
    36 
    37   as_save_PATH="$PATH"
    37   as_save_PATH="$PATH"
    38   if test "x$prefix" != xNONE; then
    38   if test "x$prefix" != xNONE && test "$cross_compiling" != yes; then
    39     PATH="$prefix/bin:$prefix/usr/bin:$PATH"
    39     PATH="$prefix/bin:$prefix/usr/bin:$PATH"
    40   fi
    40   fi
    41   AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
    41   AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
    42   PATH="$as_save_PATH"
    42   PATH="$as_save_PATH"
    43   min_sdl_version=ifelse([$1], ,0.11.0,$1)
    43   min_sdl_version=ifelse([$1], ,0.11.0,$1)