From a95052da480cff1db0be712f69f4b8b9a4ffccf9 Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Sun, 13 Feb 2005 00:25:37 +0000 Subject: Use AC_HELP_STRING to pretty print configure --help screen, with mixed results. --- m4/gettext.m4 | 4 ++-- m4/iconv.m4 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'm4') diff --git a/m4/gettext.m4 b/m4/gettext.m4 index 4e2c4eca..a7d87fd1 100644 --- a/m4/gettext.m4 +++ b/m4/gettext.m4 @@ -50,7 +50,7 @@ AC_DEFUN([MUTT_AM_WITH_NLS], [AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE(nls, - [ --disable-nls Do not use Native Language Support], + AC_HELP_STRING([--disable-nls], [Do not use Native Language Support]), USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT($USE_NLS) AC_SUBST(USE_NLS) @@ -66,7 +66,7 @@ AC_DEFUN([MUTT_AM_WITH_NLS], is requested.]) AC_MSG_CHECKING([whether included gettext is requested]) AC_ARG_WITH(included-gettext, - [ --with-included-gettext Use the GNU gettext library included here], + AC_HELP_STRING([--with-included-gettext], [Use the GNU gettext library included here]), nls_cv_force_use_gnu_gettext=$withval, nls_cv_force_use_gnu_gettext=no) AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) diff --git a/m4/iconv.m4 b/m4/iconv.m4 index 601be4cb..09a1882c 100644 --- a/m4/iconv.m4 +++ b/m4/iconv.m4 @@ -8,7 +8,7 @@ AC_DEFUN([MUTT_AM_ICONV], dnl those with the standalone portable GNU libiconv installed). AC_ARG_WITH([libiconv-prefix], -[ --with-libiconv-prefix=DIR Search for libiconv in DIR/include and DIR/lib], [ +AC_HELP_STRING([--with-libiconv-prefix=DIR], [Search for libiconv in DIR/include and DIR/lib]), [ for dir in `echo "$withval" | tr : ' '`; do if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi -- cgit v1.2.3