Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 425022
Collapse All | Expand All

(-)a/lib/configure (-2 / +1 lines)
Lines 44-53 if [ -z "$HOST" ] ; then Link Here
44
fi
44
fi
45
[ -n "$RELEASE" ] && rel="${RELEASE}"
45
[ -n "$RELEASE" ] && rel="${RELEASE}"
46
# CAVEAT: tr on Solaris is a bit weird and the extra [] is otherwise harmless.
46
# CAVEAT: tr on Solaris is a bit weird and the extra [] is otherwise harmless.
47
host=`echo $HOST | sed -e 's/^\([^-]*\)-\([^-]*\)-\([^-]*\)-\([^-]*\)$/\1-\3/' -e 's/^\([^-]*\)-\([^-]*\)$/\1--\2/' | tr '[A-Z]' '[a-z]'`
47
host=`echo $HOST | sed -e 's/^\([^-]*\)-\([^-]*\)-\([^-]*\)-\([^-]*\)$/\1-\3/' -e 's/^\([^-]*\)-\([^-]*\)-\([^-]*\)$/\1-\2/' -e 's/^\([^-]*\)-\([^-]*\)$/\1--\2/' | tr '[A-Z]' '[a-z]'`
48
cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
48
cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
49
sys=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
49
sys=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
50
echo " $host $rel $cpu $sys"
51
50
52
c=config.h
51
c=config.h
53
m=config.mk
52
m=config.mk

Return to bug 425022