From: Paul Eggert Date: Sun, 18 Sep 2022 02:43:04 +0000 (-0700) Subject: Allow users to clear BINSH X-Git-Tag: v2.72c~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=30bf5c49825ec2092c63b8519678e3e06148a8b5;p=thirdparty%2Fautoconf.git Allow users to clear BINSH Problem and solution reported by Roger Crew in: https://lists.gnu.org/r/bug-autoconf/2022-09/msg00005.html * lib/m4sugar/m4sh.m4 (_m4_divert(BINSH)): Change from 0 to 1, and add 2 to HEADER-REVISION, HEADER-COMMENT, HEADER-COPYRIGHT, M4SH-SANITIZE, M4SH-INIT-FN, and M4SH-INIT. Copyright-paperwork-exempt: yes --- diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4 index fc46f6d4c..b6714356f 100644 --- a/lib/m4sugar/m4sh.m4 +++ b/lib/m4sugar/m4sh.m4 @@ -59,13 +59,13 @@ # DIVERSION-NAME which is supposed to be an actual diversion number. # Of course it would be nicer to use m4_case here, instead of zillions # of little macros, but it then takes twice longer to run 'autoconf'! -m4_define([_m4_divert(BINSH)], 0) -m4_define([_m4_divert(HEADER-REVISION)], 1) -m4_define([_m4_divert(HEADER-COMMENT)], 2) -m4_define([_m4_divert(HEADER-COPYRIGHT)], 3) -m4_define([_m4_divert(M4SH-SANITIZE)], 4) -m4_define([_m4_divert(M4SH-INIT-FN)], 5) -m4_define([_m4_divert(M4SH-INIT)], 6) +m4_define([_m4_divert(BINSH)], 1) +m4_define([_m4_divert(HEADER-REVISION)], 3) +m4_define([_m4_divert(HEADER-COMMENT)], 4) +m4_define([_m4_divert(HEADER-COPYRIGHT)], 5) +m4_define([_m4_divert(M4SH-SANITIZE)], 6) +m4_define([_m4_divert(M4SH-INIT-FN)], 7) +m4_define([_m4_divert(M4SH-INIT)], 8) m4_define([_m4_divert(BODY)], 1000) # Aaarg. Yet it starts with compatibility issues... Libtool wants to