From e04436f0f443bb4e43194e28f91c8c74d63f039b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Wed, 5 Mar 2003 08:48:55 +0000 Subject: [PATCH] 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 --- config/ChangeLog | 12 ++++++++---- config/lyxinclude213.m4 | 9 +++++++++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/config/ChangeLog b/config/ChangeLog index 78092c7b5a..1711928ced 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2003-03-05 Lars Gullik Bjønnes + + * lyxinclude213.m4: add a AC_HELP_STRING + 2003-02-26 Albert Chin * relyx_configure.ac: fix application of `chmod' to the reLyX and @@ -8,9 +12,9 @@ * xforms.m4 (LYX_PATH_XPM): move here from lyxinclude.m4 * lyxinclude.m4 (LYX_FUNC_PUTENV_ARGTYPE): remove, not used - anymore + anymore - * configure.in: + * configure.in: * configure.ac: do not call LYX_FUNC_PUTENV_ARGTYPE 2003-02-21 André Pönitz @@ -26,7 +30,7 @@ 2003-02-18 Jean-Marc Lasgouttes * Makefile.am (EXTRA_DIST): add pkg.m4, relyx_configure.ac and - relyx_configure.in. + relyx_configure.in. 2003-02-18 John Levon @@ -50,7 +54,7 @@ 2003-01-12 Lars Gullik Bjønnes * xforms.m4 (LYX_CHECK_XFORMS_IMAGE_LOADER): include forms.h in - the prog that checks for flimage.h header. + the prog that checks for flimage.h header. * common.am (AM_INSTALL_DATA_FLAGS): add diff --git a/config/lyxinclude213.m4 b/config/lyxinclude213.m4 index aa0a8d4057..53a5c4aae2 100644 --- a/config/lyxinclude213.m4 +++ b/config/lyxinclude213.m4 @@ -72,3 +72,12 @@ if eval "test \"\${lyx_cv_declare_${tr_hdr}_$1}\" = \"yes\""; then fi 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 +])