--- lib/configure 2009-01-30 13:06:25 +0000 +++ lib/configure 2009-03-14 15:28:36 +0000 @@ -45,7 +45,7 @@ # CAVEAT: tr on Solaris is a bit weird and the extra [] is otherwise harmless. host=`echo $HOST | sed -e 's/^\([^-]*\)-\([^-]*\)-\([^-]*\)-\([^-]*\)$/\1-\3/' -e 's/^\([^-]*\)-\([^-]*\)$/\1--\2/' | tr '[A-Z]' '[a-z]'` cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -sys=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` +sys=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\([a-z]*\).*$/\3/'` echo " $host $rel $cpu $sys" c=config.h