fix autoconf 2.13 support (bug 936)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6946 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-05-07 12:34:26 +00:00
parent bb4f477fe3
commit 94cb9ecdb8
2 changed files with 8 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2003-05-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* lyxinclude213.m4 (AC_HELP_STRING): replace with a hackish but
good enough implementation (bug 936)
2003-04-15 Angus Leeming <leeming@lyx.org>
* common.am (SIGC_INCLUDES): removed.

View File

@ -72,12 +72,6 @@ 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
])
dnl A terrible hack because the code from autoconf 2.5x does not work
dnl here. It works for the uses in pspell.m4, so that's enough
AC_DEFUN([AC_HELP_STRING],[ $1 $2])