summaryrefslogtreecommitdiffstats
path: root/fastjar/configure.ac
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-02 11:05:13 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-02 11:05:13 +0000
commit14ac914460d95cc284b41bd11403d1ef2f7f5bf5 (patch)
tree474f34608ab902f9ddc5b7629c88676c03a26731 /fastjar/configure.ac
parentfcb13283797f0f8a65311110397396613ab9a93b (diff)
downloadppe42-gcc-14ac914460d95cc284b41bd11403d1ef2f7f5bf5.tar.gz
ppe42-gcc-14ac914460d95cc284b41bd11403d1ef2f7f5bf5.zip
Introduce and use config/gcc-version.m4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91625 138bc75d-0d04-0410-961f-82ee72b054a4
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 fa3ecf4ac0e..935c49dfeb6 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)
OpenPOWER on IntegriCloud