patch from autoconf 2.52 that got lost thx to the change of name.
This commit is contained in:
parent
f9e13fdec9
commit
0083e2b892
19
devel/autoconf/2.57/patches/patch-lib_autoconf_general_m4
Normal file
19
devel/autoconf/2.57/patches/patch-lib_autoconf_general_m4
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-lib_autoconf_general_m4,v 1.1 2003/06/24 15:57:33 espie Exp $
|
||||
--- lib/autoconf/general.m4.orig Tue Nov 12 11:54:46 2002
|
||||
+++ lib/autoconf/general.m4 Tue Jun 24 17:51:08 2003
|
||||
@@ -255,12 +255,11 @@ m4_define([AC_FOREACH],
|
||||
# | column 2 |
|
||||
# column 0 column 26
|
||||
#
|
||||
+m4_define([AC_PadLeft],
|
||||
+ [m4_if(m4_eval([$1] > [$2]),1,[[ ]AC_PadLeft([$1]-1,[$2])])])
|
||||
m4_define([AC_HELP_STRING],
|
||||
[m4_pushdef([AC_Prefix], m4_default([$3], [ ]))dnl
|
||||
-m4_pushdef([AC_Prefix_Format],
|
||||
- [ %-]m4_eval(m4_len(AC_Prefix) - 3)[s ])dnl [ %-23s ]
|
||||
-m4_text_wrap([$2], AC_Prefix, m4_format(AC_Prefix_Format, [$1]))dnl
|
||||
-m4_popdef([AC_Prefix_Format])dnl
|
||||
+m4_text_wrap([$2], AC_Prefix, [ $1]AC_PadLeft(m4_len(AC_Prefix),m4_len([$1])+2))dnl
|
||||
m4_popdef([AC_Prefix])dnl
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user