sdl.m4
branchSDL-1.3
changeset 1659 14717b52abc0
parent 1550 31c2b8e4885e
child 2288 e9bcf004c324
     1.1 --- a/sdl.m4	Mon May 01 06:58:33 2006 +0000
     1.2 +++ b/sdl.m4	Wed May 17 08:18:28 2006 +0000
     1.3 @@ -20,19 +20,21 @@
     1.4  		    , enable_sdltest=yes)
     1.5  
     1.6    if test x$sdl_exec_prefix != x ; then
     1.7 -     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
     1.8 -     if test x${SDL_CONFIG+set} != xset ; then
     1.9 -        SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
    1.10 -     fi
    1.11 +    sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
    1.12 +    if test x${SDL_CONFIG+set} != xset ; then
    1.13 +      SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
    1.14 +    fi
    1.15    fi
    1.16    if test x$sdl_prefix != x ; then
    1.17 -     sdl_args="$sdl_args --prefix=$sdl_prefix"
    1.18 -     if test x${SDL_CONFIG+set} != xset ; then
    1.19 -        SDL_CONFIG=$sdl_prefix/bin/sdl-config
    1.20 -     fi
    1.21 +    sdl_args="$sdl_args --prefix=$sdl_prefix"
    1.22 +    if test x${SDL_CONFIG+set} != xset ; then
    1.23 +      SDL_CONFIG=$sdl_prefix/bin/sdl-config
    1.24 +    fi
    1.25    fi
    1.26  
    1.27 -  PATH="$prefix/bin:$prefix/usr/bin:$PATH"
    1.28 +  if test "x$prefix" != xNONE; then
    1.29 +    PATH="$prefix/bin:$prefix/usr/bin:$PATH"
    1.30 +  fi
    1.31    AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
    1.32    min_sdl_version=ifelse([$1], ,0.11.0,$1)
    1.33    AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)