aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/configure.ac
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2004-12-02 11:05:13 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2004-12-02 11:05:13 +0000
commitafabd8e62cdcf6935dbe819278aa0b62c0a8c291 (patch)
tree474f34608ab902f9ddc5b7629c88676c03a26731 /fixincludes/configure.ac
parent5191f2ba91f987277423dec3c58ac37bd76a814b (diff)
downloadgcc-afabd8e62cdcf6935dbe819278aa0b62c0a8c291.zip
gcc-afabd8e62cdcf6935dbe819278aa0b62c0a8c291.tar.gz
gcc-afabd8e62cdcf6935dbe819278aa0b62c0a8c291.tar.bz2
Introduce and use config/gcc-version.m4.
From-SVN: r91625
Diffstat (limited to 'fixincludes/configure.ac')
-rw-r--r--fixincludes/configure.ac6
1 files changed, 1 insertions, 5 deletions
diff --git a/fixincludes/configure.ac b/fixincludes/configure.ac
index 16d2b7e..a58b105 100644
--- a/fixincludes/configure.ac
+++ b/fixincludes/configure.ac
@@ -52,11 +52,7 @@ if test $TARGET = twoprocess; then
[Define if testing and fixing are done by separate process])
fi
-# Get GCC's version number.
-changequote(,)dnl
-gcc_version=`sed -n '/version_string/ { s/.*"\([^ "]*\)[^"]*".*/\1/p ; }' ${srcdir}/../gcc/version.c`
-changequote([,])dnl
-AC_SUBST(gcc_version)
+TL_AC_GCC_VERSION([$srcdir/..])
case $host in
vax-dec-bsd* )