# HG changeset patch # User alex # Date 1009625721 0 # Node ID d619260dc756b8a5b5001c9f06532575df0a330b # Parent e3caff2daa985de67cbc2c0436e26ee60eda780c applied patch by Malcolm : check if the-less-buggier gcc3 is present if gcc2.96 found diff -r e3caff2daa98 -r d619260dc756 configure --- a/configure Sat Dec 29 04:20:29 2001 +0000 +++ b/configure Sat Dec 29 11:35:21 2001 +0000 @@ -339,6 +339,26 @@ ;; esac echores "$cc_version" + # If gcc version is crappy RH one, then check if the user has installed the optional + # (at least in Rh7.2) gcc3 packages to save them some pain - malc@tmbg.co.uk + if test "$cc_verc_fail" ; then + echocheck "gcc3 version" + _cc=gcc3 + cc_version=`$_cc -v 2>&1 | sed -n 's/^.*version \([aegcygnustp-]*[0-9.]*\).*$/\1/p'` + case $cc_version in + '') + cc_version="v. ?.??, bad" + cc_verc_fail=yes + ;; + 2.95.[2-9]|2.95.[2-9].[0-9]|3.[0-9]|3.[0-9].[0-9]) + cc_version="$cc_version, ok" + ;; + *) + cc_version="$cc_version, bad" + cc_verc_fail=yes + ;; + esac + fi if test "$cc_verc_fail" ; then cat <