Revision fec0e3e8 configure
b/configure | ||
---|---|---|
1064 | 1064 |
########################################## |
1065 | 1065 |
# SDL probe |
1066 | 1066 |
|
1067 |
if $pkgconfig sdl --modversion >/dev/null 2>&1; then |
|
1067 |
# Look for sdl configuration program (pkg-config or sdl-config). |
|
1068 |
# Prefer variant with cross prefix if cross compiling, |
|
1069 |
# and favour pkg-config with sdl over sdl-config. |
|
1070 |
if test -n "$cross_prefix" -a $pkgconfig != pkg-config && \ |
|
1071 |
$pkgconfig sdl --modversion >/dev/null 2>&1; then |
|
1072 |
sdlconfig="$pkgconfig sdl" |
|
1073 |
_sdlversion=`$sdlconfig --modversion 2>/dev/null | sed 's/[^0-9]//g'` |
|
1074 |
elif test -n "$cross_prefix" && has ${cross_prefix}sdl-config; then |
|
1075 |
sdlconfig="${cross_prefix}sdl-config" |
|
1076 |
_sdlversion=`$sdlconfig --version | sed 's/[^0-9]//g'` |
|
1077 |
elif $pkgconfig sdl --modversion >/dev/null 2>&1; then |
|
1068 | 1078 |
sdlconfig="$pkgconfig sdl" |
1069 | 1079 |
_sdlversion=`$sdlconfig --modversion 2>/dev/null | sed 's/[^0-9]//g'` |
1070 | 1080 |
elif has sdl-config; then |
Also available in: Unified diff