mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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:
committed by
Stefan Hajnoczi
parent
72b310e99a
commit
29e5badadf
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user