diff options
author | Nathanael Nerode <neroden@gcc.gnu.org> | 2003-07-24 11:10:24 +0000 |
---|---|---|
committer | Nathanael Nerode <neroden@gcc.gnu.org> | 2003-07-24 11:10:24 +0000 |
commit | 5aaaf0e82c664c022e8ffd2aaa34279978619f83 (patch) | |
tree | 10ef7e14ce69b8e6293c2694a3190f34f338d83b /gcc/aclocal.m4 | |
parent | 8f5b6d29fbb19a81600a32f7524103890c895369 (diff) | |
download | gcc-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.m4 | 3 |
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` |