aboutsummaryrefslogtreecommitdiff
path: root/fastjar/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 /fastjar/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 'fastjar/configure.ac')
-rw-r--r--fastjar/configure.ac12
1 files changed, 1 insertions, 11 deletions
diff --git a/fastjar/configure.ac b/fastjar/configure.ac
index fa3ecf4..935c49d 100644
--- a/fastjar/configure.ac
+++ b/fastjar/configure.ac
@@ -89,16 +89,6 @@ AC_MSG_CHECKING([whether to place generated files in the source directory])
AC_MSG_RESULT($generated_files_in_srcdir)
AM_CONDITIONAL(GENINSRC, test x$generated_files_in_srcdir = xyes)
-# Get the version trigger filename from the toplevel
-if test "${with_gcc_version_trigger+set}" = set; then
- gcc_version_trigger=$with_gcc_version_trigger
-else
- gcc_version_trigger=${srcdir}/version.c
-fi
-changequote(,)dnl
-gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*"\([^"]*\)".*/\1/'`
-gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
-changequote([,])dnl
-AC_SUBST(gcc_version)
+TL_AC_GCC_VERSION([$srcdir/..])
AC_OUTPUT(Makefile install-defs.sh)