]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use separate sed expressions to escape auto-load directories.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 5 Dec 2018 18:51:16 +0000 (10:51 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 5 Dec 2018 18:51:16 +0000 (10:51 -0800)
commit2861ee4fde97d0afafc506380c5deaf71c8439ac
treeda7abab189a4ac1cd857e69f1b5405a5ed3eba15
parent3a67e1a6b4430374f3073e51bb19347d4c421cfe
Use separate sed expressions to escape auto-load directories.

Not all sed implementations support alternation via \| in the default
regular expressions.  Instead, resort to separate sed expressions via
-e for $debugdir and $datadir.  This fixes the default setting of the
auto-load directories on FreeBSD.  Previously on FreeBSD the sed
invocation was a no-op causing the debugdir and datadir values to be
expanded yielding an autoload path of ':${prefix}/share/gdb'.

gdb/ChangeLog:

* configure: Re-generate.
* configure.ac: Use separate sed expressions to escape variables
in auto-load directories.
gdb/ChangeLog
gdb/configure
gdb/configure.ac