diff options
author | Scott Wood | 2011-04-08 21:15:50 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2011-04-09 11:57:52 +0200 |
commit | 29e5badadffe2cc70a911a95e258d1fb01f2db71 (patch) | |
tree | faf1d0cd372780cfec74066119fe94b4356d026a /configure | |
parent | mpc85xx_pci_map_irq: change "unknow" to "unknown" (diff) | |
download | qemu-29e5badadffe2cc70a911a95e258d1fb01f2db71.tar.gz qemu-29e5badadffe2cc70a911a95e258d1fb01f2db71.tar.xz qemu-29e5badadffe2cc70a911a95e258d1fb01f2db71.zip |
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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |