summaryrefslogtreecommitdiff
path: root/libmudflap/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libmudflap/configure.ac')
-rw-r--r--libmudflap/configure.ac6
1 files changed, 1 insertions, 5 deletions
diff --git a/libmudflap/configure.ac b/libmudflap/configure.ac
index 05f46f176f7..794fa9bd621 100644
--- a/libmudflap/configure.ac
+++ b/libmudflap/configure.ac
@@ -132,11 +132,7 @@ AC_SUBST(build_libmudflapth)
AC_CHECK_LIB(dl, dlsym)
-# Process the option "--enable-version-specific-runtime-libs"
-gcc_version_trigger=${srcdir}/../gcc/version.c
-gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([[^ \"]]*\)[[ \"]].*/\1/'`
-gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
-AC_SUBST(gcc_version)
+TL_AC_GCC_VERSION([$srcdir/..])
# Calculate toolexeclibdir
# Also toolexecdir, though it's only used in toolexeclibdir