Cater to programs misusing AC_EGREP_HEADER
commit232cab527897bcdf4d55492d41af73d31905bda5
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 31 Mar 2023 17:46:20 +0000 (31 10:46 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 31 Mar 2023 17:47:49 +0000 (31 10:47 -0700)
tree2883a588fbf3d295aca39edf3b69cbdf1dde1a3e
parente05aa447945c0d72ad924fd89a28830cf1a0f8d3
Cater to programs misusing AC_EGREP_HEADER

Problem reported by Frederic Berat in:
https://lists.gnu.org/archive/html/autoconf/2022-11/msg00127.html
* lib/autoconf/programs.m4 (AC_PROG_EGREP): Also set
EGREP_TRADITIONAL and ac_cv_path_EGREP_TRADITIONAL.
* tests/c.at (AC_PROG_EGREP and AC_EGREP_HEADER):
New test, taken from Frederic Berat’s email in:
https://lists.gnu.org/r/autoconf/2023-03/msg00043.html
lib/autoconf/programs.m4
tests/c.at