Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 187118 | Differences between
and this patch

Collapse All | Expand All

(-)configure.orig (-1 / +1 lines)
Lines 802-808 Link Here
802
{
802
{
803
    app=$1; shift
803
    app=$1; shift
804
    eval `$app -v 2>&1 | \
804
    eval `$app -v 2>&1 | \
805
	sed -n -e '/[Vv]ersion/s/.* [a-z\-]*\([0-9]*\)\.\([0-9]*\).\([0-9]*\).*/GCCdist=\1;GCCmajor=\2;GCCminor=\3/p'`
805
	sed -n -e '/[Vv]ersion/s/[^0-9]*\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/GCCdist=\1;GCCmajor=\2;GCCminor=\3/p'`
806
    GCCversion="${GCCdist}.${GCCmajor}.${GCCminor}"; export GCCversion
806
    GCCversion="${GCCdist}.${GCCmajor}.${GCCminor}"; export GCCversion
807
    if [ ${GCCdist} -gt $1 ]; then
807
    if [ ${GCCdist} -gt $1 ]; then
808
        return 0
808
        return 0

Return to bug 187118