/[gcl]/gcl/gmp3/configure
ViewVC logotype

Diff of /gcl/gmp3/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by camm, Tue Jul 30 21:39:45 2002 UTC revision 1.2 by camm, Fri Sep 5 21:41:28 2003 UTC
# Line 2701  echo $ECHO_N "checking whether gcc unsig Line 2701  echo $ECHO_N "checking whether gcc unsig
2701  tmp_version=`($cc --version) 2>&5`  tmp_version=`($cc --version) 2>&5`
2702  echo "$cc --version '$tmp_version'" >&5  echo "$cc --version '$tmp_version'" >&5
2703    
2704  major=`(echo "$tmp_version" | sed -n 's/^[a-z-]*\([0-9][0-9]*\).*/\1/p') 2>&5`  major=`(echo "$tmp_version" | sed -n 's/^[a-zA-Z- ()]*\([0-9][0-9]*\).*/\1/p'|head -1l) 2>&5`
2705  echo "    major '$major'" >&5  echo "    major '$major'" >&5
2706    
2707  minor=`(echo "$tmp_version" | sed -n 's/^[a-z-]*[0-9][0-9]*\.\([0-9][0-9]*\).*/\1/p') 2>&5`  minor=`(echo "$tmp_version" | sed -n 's/^[a-zA-Z- ()]*[0-9][0-9]*\.\([0-9][0-9]*\).*/\1/p'|head -1l) 2>&5`
2708  echo "    minor '$minor'" >&5  echo "    minor '$minor'" >&5
2709    
2710  subminor=`(echo "$tmp_version" | sed -n 's/^[a-z-]*[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\).*/\1/p') 2>&5`  subminor=`(echo "$tmp_version" | sed -n 's/^[a-zA-Z- ()]*[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\).*/\1/p'|head -1l) 2>&5`
2711  echo "    subminor '$subminor'" >&5  echo "    subminor '$subminor'" >&5
2712    
2713  if test -z "$major"; then  if test -z "$major"; then

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26