]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Fix bug: AC_EGREP_CPP with leading '-' in pattern
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Jun 2022 21:19:21 +0000 (14:19 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 9 Jun 2022 00:57:37 +0000 (17:57 -0700)
commit0c762675366bb7ce256812bbc40aa8afa004f1f2
tree0f0e1a589fca48908f19230efa6eb76716a9245e
parentef27f692a01d9683df7e589d7de53338e841d356
Fix bug: AC_EGREP_CPP with leading '-' in pattern

Also, port AC_EGREP_CPP to AT&T UnixPC.
Latter problem reported by Alain Knaff [sr #110657].
* lib/autoconf/general.m4 (AC_EGREP_CPP): Use new _AC_PROG_GREP.
Work even if the pattern starts with "-".
* lib/autoconf/programs.m4 (_AC_PROG_GREP):
New optional arg ACTION-IF-NOT-FOUND.
(_AC_PROG_EGREP_TRADITIONAL): New macro.
lib/autoconf/general.m4
lib/autoconf/programs.m4