From 29e5badadffe2cc70a911a95e258d1fb01f2db71 Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Fri, 8 Apr 2011 14:15:50 -0500 Subject: 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 Signed-off-by: Stefan Hajnoczi --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index ae97e11..2bb3faa 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 -- cgit v1.1