aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-23 23:16:42 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-23 23:16:42 +0000
commit11d1fdb05a02d8ac97f8379f9f45ba767af4d44f (patch)
tree00bb4692297b837b3ee28c5ea56758a3905c40ae
parent48ffabc6f9c15476810b8031cdb91fd5a661dd41 (diff)
Fix bogus test syntax.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4550 c046a42c-6fe2-441c-8c8c-71466251a162
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6b84f20985..fae860b984 100755
--- a/configure
+++ b/configure
@@ -1200,7 +1200,7 @@ case "$target_cpu" in
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