sdl.m4: don't play with the PATH if cross-compiling SDL-1.2
authorOzkan Sezer <sezeroz@gmail.com>
Sat, 24 Mar 2018 22:17:33 +0300
branchSDL-1.2
changeset 119626d7d78d2d864
parent 11936 2b3d476e2ed9
child 11963 bed18a4357e5
sdl.m4: don't play with the PATH if cross-compiling

taken from from SDL2
sdl.m4
     1.1 --- a/sdl.m4	Sat Mar 24 10:15:42 2018 -0700
     1.2 +++ b/sdl.m4	Sat Mar 24 22:17:33 2018 +0300
     1.3 @@ -35,7 +35,7 @@
     1.4    fi
     1.5  
     1.6    as_save_PATH="$PATH"
     1.7 -  if test "x$prefix" != xNONE; then
     1.8 +  if test "x$prefix" != xNONE && test "$cross_compiling" != yes; then
     1.9      PATH="$prefix/bin:$prefix/usr/bin:$PATH"
    1.10    fi
    1.11    AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])