changeset 23303:e0e70f741473

Avoid passing test invalid arguments when string is empty. Fixes configure under Solaris
author reimar
date Tue, 15 May 2007 21:07:27 +0000
parents 433d4fc702c0
children 7e25711f6427
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon May 14 21:41:21 2007 +0000
+++ b/configure	Tue May 15 21:07:27 2007 +0000
@@ -1510,7 +1510,7 @@
                            -e s/xmm/sse/ -e s/kni/sse/`
 
   for ext in $pparam ; do
-    eval test \$_$ext = auto 2>/dev/null && eval _$ext=kernel_check
+    eval test \"\$_$ext\" = auto 2>/dev/null && eval _$ext=kernel_check
   done
 
   # SSE implies MMX2, but not all SSE processors report the mmxext CPU flag.