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

Collapse All | Expand All

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

Return to bug 262321