mirror of
https://github.com/yawut/SDL.git
synced 2026-07-31 23:43:47 -05:00
Fixed path problem with sdl.m4 macro file
This commit is contained in:
parent
66372631d5
commit
5679c735cd
3
sdl.m4
3
sdl.m4
|
|
@ -33,7 +33,8 @@ AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run
|
|||
fi
|
||||
|
||||
AC_REQUIRE([AC_CANONICAL_TARGET])
|
||||
AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$prefix/bin:$prefix/usr/bin:$PATH])
|
||||
PATH="$prefix/bin:$prefix/usr/bin:$PATH"
|
||||
AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
|
||||
min_sdl_version=ifelse([$1], ,0.11.0,$1)
|
||||
AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
|
||||
no_sdl=""
|
||||
|
|
|
|||
|
|
@ -33,7 +33,8 @@ AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run
|
|||
fi
|
||||
|
||||
AC_REQUIRE([AC_CANONICAL_TARGET])
|
||||
AC_PATH_PROG(SDL_CONFIG, sdl-config, no)
|
||||
PATH="$prefix/bin:$prefix/usr/bin:$PATH"
|
||||
AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
|
||||
min_sdl_version=ifelse([$1], ,0.11.0,$1)
|
||||
AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
|
||||
no_sdl=""
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user