diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-11-08 00:52:57 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-11-08 00:52:57 +0100 |
commit | 30fdf721ca28abc21c4bb909fa9e21f2bbc8d031 (patch) | |
tree | 59c733022ed1d64da4f540974e9b2c33cad18b40 /configure | |
parent | 936cb18c360179a509642003b13f21dfe0044f86 (diff) | |
download | gmp-30fdf721ca28abc21c4bb909fa9e21f2bbc8d031.tar.gz |
Regenerate for:
* acinclude.m4 (GMP_GCC_VERSION_GE): Fix sed regexps to work on
Solaris 8.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -2677,13 +2677,13 @@ echo $ECHO_N "checking whether gcc unsigned division works... $ECHO_C" >&6 tmp_version=`($cc --version) 2>&5` echo "$cc --version '$tmp_version'" >&5 -major=`(echo "$tmp_version" | sed -n 's/^\(egcs-\)*\([0-9][0-9]*\).*/\2/p') 2>&5` +major=`(echo "$tmp_version" | sed -n 's/^[a-z-]*\([0-9][0-9]*\).*/\1/p') 2>&5` echo " major '$major'" >&5 -minor=`(echo "$tmp_version" | sed -n 's/^\(egcs-\)*[0-9][0-9]*\.\([0-9][0-9]*\).*/\2/p') 2>&5` +minor=`(echo "$tmp_version" | sed -n 's/^[a-z-]*[0-9][0-9]*\.\([0-9][0-9]*\).*/\1/p') 2>&5` echo " minor '$minor'" >&5 -subminor=`(echo "$tmp_version" | sed -n 's/^\(egcs-\)*[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\).*/\2/p') 2>&5` +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` echo " subminor '$subminor'" >&5 if test -z "$major"; then @@ -2788,13 +2788,13 @@ else tmp_version=`($cc --version) 2>&5` echo "$cc --version '$tmp_version'" >&5 -major=`(echo "$tmp_version" | sed -n 's/^\(egcs-\)*\([0-9][0-9]*\).*/\2/p') 2>&5` +major=`(echo "$tmp_version" | sed -n 's/^[a-z-]*\([0-9][0-9]*\).*/\1/p') 2>&5` echo " major '$major'" >&5 -minor=`(echo "$tmp_version" | sed -n 's/^\(egcs-\)*[0-9][0-9]*\.\([0-9][0-9]*\).*/\2/p') 2>&5` +minor=`(echo "$tmp_version" | sed -n 's/^[a-z-]*[0-9][0-9]*\.\([0-9][0-9]*\).*/\1/p') 2>&5` echo " minor '$minor'" >&5 -subminor=`(echo "$tmp_version" | sed -n 's/^\(egcs-\)*[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\).*/\2/p') 2>&5` +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` echo " subminor '$subminor'" >&5 if test -z "$major"; then |