configure: avoid basename usage message
basename prints a missing-argument error when sdlconfig is empty and we're cross-compiling. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
72b310e99a
commit
29e5badadf
2
configure
vendored
2
configure
vendored
@ -1233,7 +1233,7 @@ else
|
||||
fi
|
||||
sdl=no
|
||||
fi
|
||||
if test -n "$cross_prefix" && test "`basename $sdlconfig`" = sdl-config; then
|
||||
if test -n "$cross_prefix" && test "$(basename "$sdlconfig")" = sdl-config; then
|
||||
echo warning: using "\"$sdlconfig\"" to detect cross-compiled sdl >&2
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user