Skip to contentSkip to conversation

[4550] Fix bogus test syntax.

Qemu-devel Paul Brook 1 participant 1 message May 23, 2008

lore
Share & tools
lore

Paul Brook

author
#0 lore raw

Revision: 4550

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4550
Author:   pbrook
Date:     2008-05-23 23:16:42 +0000 (Fri, 23 May 2008)

Log Message:
-----------
Fix bogus test syntax.

Modified Paths:
--------------
trunk/configure

Modified: trunk/configure
===================================================================

configure +1 -1
@@ -1200,7 +1200,7 @@
       echo "#define USE_KQEMU 1" >> $config_h
     fi
     gcc3minver=`$cc --version 2> /dev/null| fgrep "(GCC) 3." | awk '{ print $3 }' | cut -f2 -d.`
-    if test -n "$gcc3minver" -a $gcc3minver -gt 3
+    if test -n "$gcc3minver" && test $gcc3minver -gt 3
     then
       echo "HAVE_GT_GCC_3_3=true" >> $config_mak
     else