diff options
author | balrog | 2007-07-26 22:41:46 +0200 |
---|---|---|
committer | balrog | 2007-07-26 22:41:46 +0200 |
commit | d4af3de224fbb4677744e9d0661a6296fca791ba (patch) | |
tree | 23295578c00a432b72032cbbd47a5a6336f5fbcc /configure | |
parent | Fix memory corruption after OHCI reset, by Ed Swierk. (diff) | |
download | qemu-d4af3de224fbb4677744e9d0661a6296fca791ba.tar.gz qemu-d4af3de224fbb4677744e9d0661a6296fca791ba.tar.xz qemu-d4af3de224fbb4677744e9d0661a6296fca791ba.zip |
gcc32 may well be a 4.x version for a 32bit target, so add an additional check, hopefully not too strict.
Probe also gcc-3.3.6 to make Gentoo users happy.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3087 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ static="no" cross_prefix="" cc="gcc" gcc3_search="yes" -gcc3_list="gcc-3.4 gcc34 gcc-3.3 gcc33 gcc-3.2 gcc32" +gcc3_list="gcc-3.4 gcc34 gcc-3.3.6 gcc-3.3 gcc33 gcc-3.2 gcc32" host_cc="gcc" ar="ar" make="make" @@ -413,7 +413,7 @@ EOF if test "$gcc3_search" = "yes" ; then echo "Looking for gcc 3.x" for compat_cc in $gcc3_list ; do - if "$cross_prefix$compat_cc" --version > /dev/null 2>&1 ; then + if "$cross_prefix$compat_cc" --version 2> /dev/null | fgrep '(GCC) 3.' > /dev/null 2>&1 ; then echo "Found \"$compat_cc\"" cc="$cross_prefix$compat_cc" found_compat_cc="yes" |