]> git.ipfire.org Git - thirdparty/gcc.git/commit
egrep in binutils
authorAlan Modra <amodra@gmail.com>
Wed, 28 Sep 2022 04:07:31 +0000 (13:37 +0930)
committerArsen Arsenović <arsen@gcc.gnu.org>
Mon, 7 Aug 2023 20:59:40 +0000 (22:59 +0200)
commit1d6c6dc9472c77ade619407e705f4e18a3b31a66
tree6ee760ce345231a9edf2ac707c84ac45b442e30b
parentead5103cc6f526bcc5a30c8c7185e9dd5de73d55
egrep in binutils

Apparently some distros have a nagging egrep that helpfully tells you
egrep is deprecated and to use "grep -E".  The nag message causes a ld
testsuite failure.  What's more the advice isn't that good.  The "-E"
flag may not be available with older versions of grep.

This patch fixes bare invocation of egrep within binutils, replacing
it with the autoconf $EGREP or with grep.

config/ChangeLog:

* lib-ld.m4 (AC_LIB_PROG_LD_GNU): Require AC_PROG_EGREP and
invoke $EGREP.
(AC_LIB_PROG_LD): Likewise.

gcc/ChangeLog:

* configure: Regenerate.

intl/ChangeLog:

* configure: Regenerate.

libcpp/ChangeLog:

* configure: Regenerate.

libgcc/ChangeLog:

* configure: Regenerate.

libstdc++-v3/ChangeLog:

* configure: Regenerate.
config/lib-ld.m4
gcc/configure
intl/configure
libcpp/configure
libgcc/configure
libstdc++-v3/configure