aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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