# HG changeset patch # User pl # Date 1011964480 0 # Node ID 5d744e4f5b62caec81e1fcd5c6a94dc52852c43c # Parent 7d9b4c874f7309eecd5b85d53dd794bc5d011001 original patch by malc slightly edited by me diff -r 7d9b4c874f73 -r 5d744e4f5b62 configure --- a/configure Fri Jan 25 12:54:52 2002 +0000 +++ b/configure Fri Jan 25 13:14:40 2002 +0000 @@ -331,6 +331,7 @@ ;; 2.95.[2-9]|2.95.[2-9].[0-9]|3.[0-9]|3.[0-9].[0-9]) cc_version="$cc_version, ok" + cc_verc_fail=no ;; *) cc_version="$cc_version, bad" @@ -340,7 +341,7 @@ 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 + if test "$cc_verc_fail" = yes ; then echocheck "gcc3 version" _cc=gcc3 cc_version=`$_cc -v 2>&1 | sed -n 's/^.*version \([aegcygnustp-]*[0-9.]*\).*$/\1/p'` @@ -351,14 +352,16 @@ ;; 2.95.[2-9]|2.95.[2-9].[0-9]|3.[0-9]|3.[0-9].[0-9]) cc_version="$cc_version, ok" + cc_verc_fail=no ;; *) cc_version="$cc_version, bad" cc_verc_fail=yes ;; esac + echores "$cc_version" fi - if test "$cc_verc_fail" ; then + if test "$cc_verc_fail" = yes ; then cat <