add a AC_HELP_STRING for the autoconf 2.13 case

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6347 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2003-03-05 08:48:55 +00:00
parent 5c4091e019
commit e04436f0f4
2 changed files with 17 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
* lyxinclude213.m4: add a AC_HELP_STRING
2003-02-26 Albert Chin <china@thewrittenword.com> 2003-02-26 Albert Chin <china@thewrittenword.com>
* relyx_configure.ac: fix application of `chmod' to the reLyX and * relyx_configure.ac: fix application of `chmod' to the reLyX and

View File

@ -72,3 +72,12 @@ if eval "test \"\${lyx_cv_declare_${tr_hdr}_$1}\" = \"yes\""; then
fi fi
done]) done])
# Copied from autoconf 2.53's general.m4
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_popdef([AC_Prefix])dnl
])