summaryrefslogtreecommitdiff
path: root/gcc/aclocal.m4
diff options
context:
space:
mode:
authorneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-24 11:10:24 +0000
committerneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-24 11:10:24 +0000
commit8d6083e4114d1229a516251ff211c1d9623f113a (patch)
tree10ef7e14ce69b8e6293c2694a3190f34f338d83b /gcc/aclocal.m4
parentaa76d99702258cb2fddef22123a8aed6ff977d7b (diff)
downloadgcc-8d6083e4114d1229a516251ff211c1d9623f113a.tar.gz
* aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if
it's not provided. * configure: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69737 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/aclocal.m4')
-rw-r--r--gcc/aclocal.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4
index 8c3c5ac8583..ebdb5b28007 100644
--- a/gcc/aclocal.m4
+++ b/gcc/aclocal.m4
@@ -680,6 +680,9 @@ done
gcc_cv_gas_major_version=`expr "$gcc_cv_gas_version" : "VERSION=\([[0-9]]*\)"`
gcc_cv_gas_minor_version=`expr "$gcc_cv_gas_version" : "VERSION=[[0-9]]*\.\([[0-9]]*\)"`
gcc_cv_gas_patch_version=`expr "$gcc_cv_gas_version" : "VERSION=[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)"`
+case $gcc_cv_gas_patch_version in
+ "") gcc_cv_gas_patch_version="0" ;;
+esac
gcc_cv_gas_vers=`expr \( \( $gcc_cv_gas_major_version \* 1000 \) \
+ $gcc_cv_gas_minor_version \) \* 1000 \
+ $gcc_cv_gas_patch_version`