sdl.m4
changeset 172 37e3ca9254c7
parent 168 e92aa316c517
child 221 50620ec9c86a
equal deleted inserted replaced
171:02e27b705645 172:37e3ca9254c7
    30      if test x${SDL_CONFIG+set} != xset ; then
    30      if test x${SDL_CONFIG+set} != xset ; then
    31         SDL_CONFIG=$sdl_prefix/bin/sdl-config
    31         SDL_CONFIG=$sdl_prefix/bin/sdl-config
    32      fi
    32      fi
    33   fi
    33   fi
    34 
    34 
       
    35   AC_REQUIRE([AC_CANONICAL_TARGET])
    35   AC_PATH_PROG(SDL_CONFIG, sdl-config, no)
    36   AC_PATH_PROG(SDL_CONFIG, sdl-config, no)
    36   min_sdl_version=ifelse([$1], ,0.11.0,$1)
    37   min_sdl_version=ifelse([$1], ,0.11.0,$1)
    37   AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
    38   AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
    38   no_sdl=""
    39   no_sdl=""
    39   if test "$SDL_CONFIG" = "no" ; then
    40   if test "$SDL_CONFIG" = "no" ; then