summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2018-04-18 09:46:58 +0000
committerJakub Jelinek <jakub@gcc.gnu.org>2018-04-18 11:46:58 +0200
commit001ddaa852f8e18468e5a9356ba5d2eebb1f7f66 (patch)
treeaef33a6ef006568578b391fab19aefd57ef86ecc /config
parentb08aea04c2f28650b74878096fb0fba8156f0e26 (diff)
re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used)
PR jit/85384 * acx.m4 (GCC_BASE_VER): Remove \$\$ from sed expression. * configure.ac (gcc-driver-name.h): Honor --with-gcc-major-version by using gcc_base_ver to generate a gcc_driver_version, and use it when generating GCC_DRIVER_NAME. * configure: Regenerate. * configure: Regenerate. From-SVN: r259462
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog5
-rw-r--r--config/acx.m42
2 files changed, 6 insertions, 1 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 18f65078c42..b73c1d181a1 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2018-04-18 David Malcolm <dmalcolm@redhat.com>
+
+ PR jit/85384
+ * acx.m4 (GCC_BASE_VER): Remove \$\$ from sed expression.
+
2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
PR gas/22318
diff --git a/config/acx.m4 b/config/acx.m4
index aa1d34b2b49..87c1b5e2932 100644
--- a/config/acx.m4
+++ b/config/acx.m4
@@ -246,7 +246,7 @@ AC_DEFUN([GCC_BASE_VER],
[AS_HELP_STRING([--with-gcc-major-version-only], [use only GCC major number in filesystem paths])],
[if test x$with_gcc_major_version_only = xyes ; then
changequote(,)dnl
- get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
+ get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
changequote([,])dnl
fi
])