X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=config%2Fsdl.m4;h=20ad7df35cf52d5788f6772d5b3bc38bba3f0931;hb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378;hp=ada3a4165bcbbbcc1a671460522467c6c1e989e8;hpb=09a1e803a9e6587c78d20cdf16891e5295874668;p=debian%2Fgnuradio diff --git a/config/sdl.m4 b/config/sdl.m4 index ada3a416..20ad7df3 100644 --- a/config/sdl.m4 +++ b/config/sdl.m4 @@ -16,8 +16,9 @@ AC_ARG_WITH(sdl-prefix,[ --with-sdl-prefix=PFX Prefix where SDL is installed sdl_prefix="$withval", sdl_prefix="") AC_ARG_WITH(sdl-exec-prefix,[ --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)], sdl_exec_prefix="$withval", sdl_exec_prefix="") -AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run a test SDL program], - , enable_sdltest=yes) +AC_ARG_ENABLE(sdltest, AC_HELP_STRING([--disable-sdltest], + [Do not try to compile and run a test SDL program]), + [], enable_sdltest=yes) if test x$sdl_exec_prefix != x ; then sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix" @@ -33,8 +34,8 @@ AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run fi AC_REQUIRE([AC_CANONICAL_TARGET]) - PATH="$prefix/bin:$prefix/usr/bin:$PATH" - AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH]) + TMP_PATH="$prefix/bin:$prefix/usr/bin:$PATH" + AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$TMP_PATH]) min_sdl_version=ifelse([$1], ,0.11.0,$1) AC_MSG_CHECKING(for SDL - version >= $min_sdl_version) no_sdl=""