]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Allow users to clear BINSH
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Sep 2022 02:43:04 +0000 (19:43 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Sep 2022 02:44:45 +0000 (19:44 -0700)
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

lib/m4sugar/m4sh.m4

index fc46f6d4cfd5c85cc6480682a170b82d74ee3739..b6714356faab919d79e12be367a0a419c02ef755 100644 (file)
 # 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