test/acinclude.m4
changeset 489 d90349051cab
parent 224 e7f75aaf542f
child 794 a5defa3b93e1
equal deleted inserted replaced
488:0a111805b53a 489:d90349051cab
    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   PATH="$prefix/bin:$prefix/usr/bin:$PATH"
       
    37   AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
    37   min_sdl_version=ifelse([$1], ,0.11.0,$1)
    38   min_sdl_version=ifelse([$1], ,0.11.0,$1)
    38   AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
    39   AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
    39   no_sdl=""
    40   no_sdl=""
    40   if test "$SDL_CONFIG" = "no" ; then
    41   if test "$SDL_CONFIG" = "no" ; then
    41     no_sdl=yes
    42     no_sdl=yes