aboutsummaryrefslogtreecommitdiff
path: root/gcc/aclocal.m4
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2003-07-24 11:10:24 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2003-07-24 11:10:24 +0000
commit5aaaf0e82c664c022e8ffd2aaa34279978619f83 (patch)
tree10ef7e14ce69b8e6293c2694a3190f34f338d83b /gcc/aclocal.m4
parent8f5b6d29fbb19a81600a32f7524103890c895369 (diff)
downloadgcc-5aaaf0e82c664c022e8ffd2aaa34279978619f83.zip
gcc-5aaaf0e82c664c022e8ffd2aaa34279978619f83.tar.gz
gcc-5aaaf0e82c664c022e8ffd2aaa34279978619f83.tar.bz2
aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if it's not provided.
* aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if it's not provided. * configure: Rebuild. From-SVN: r69737
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 8c3c5ac..ebdb5b2 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`