summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorScott Wood2011-04-08 21:15:50 +0200
committerStefan Hajnoczi2011-04-09 11:57:52 +0200
commit29e5badadffe2cc70a911a95e258d1fb01f2db71 (patch)
treefaf1d0cd372780cfec74066119fe94b4356d026a /configure
parentmpc85xx_pci_map_irq: change "unknow" to "unknown" (diff)
downloadqemu-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-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index ae97e11a97..2bb3faa07e 100755
--- a/configure
+++ b/configure
@@ -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