sdl.m4
changeset 452 4c5c10383201
parent 224 e7f75aaf542f
child 489 d90349051cab
equal deleted inserted replaced
451:24edec3cafe4 452:4c5c10383201
    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_REQUIRE([AC_CANONICAL_TARGET])
    36   AC_PATH_PROG(SDL_CONFIG, sdl-config, no)
    36   AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$prefix/bin:$prefix/usr/bin:$PATH])
    37   min_sdl_version=ifelse([$1], ,0.11.0,$1)
    37   min_sdl_version=ifelse([$1], ,0.11.0,$1)
    38   AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
    38   AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
    39   no_sdl=""
    39   no_sdl=""
    40   if test "$SDL_CONFIG" = "no" ; then
    40   if test "$SDL_CONFIG" = "no" ; then
    41     no_sdl=yes
    41     no_sdl=yes