diff configure @ 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 ae890c970087
children d2f0839dc721
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.