> egrep has been deprecated in favor of grep -E for a long time, and the
> next grep release (3.8 or 4.0) will print a warning of egrep is used.
> Stop using egrep so we won't see the warning.
> 
> However, simply replacing egrep with grep -E will break build on some
> systems (notably Solaris) w/o a POSIX-conform grep.  We detect a
> suitable command with AC_PROG_EGREP, and pass it to run_acats.sh for
> Ada.
> 
> For Go, simply use grep instead of egrep as the pattern does not need
> any ERE features.
> 
> gcc/ChangeLog:
> 
>       * Makefile.in (EGREP): New variable.
>       * configure.ac (AC_PROG_EGREP): Call it.
>       * configure: Regenerate.
> 
> gcc/ada/ChangeLog:
> 
>       * gcc-interface/Make-lang.in: Pass EGREP to run_acats.sh.

The Ada change is OK

Arno

Reply via email to