[PATCH] fix mangled indentation in configure --help
Kamil Dudka <[email protected]> Mon, 8 Sep 2008 11:15:22 +0200
| Newsgroups | gmane.comp.web.links |
|---|---|
| Message-ID | <[email protected]> |
On Sunday 07 September 2008 02:27:16 Kalle Olavi Niemitalo wrote: > I'm getting this in configure: > > --with-nss_compat_ossl=DIR > NSS compatibility SSL libraries/include files > > So apparently there aren't enough brackets. I think you should > add a pair around the whole AC_HELP_STRING call. This is correct behavior. It attempts to align columns and the option is longer than column, so it forces a newline. Nothing wrong I think. > The same bug is in some preexisting options too. If you want to > fix those, please post a separate patch. Fixed in attached patch by using AC_HELP_STRING. Kamil _______________________________________________ elinks-dev mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-dev
elinks-configure-indent-help.patch
(text/x-diff, 1.9 KB)
From f0c114eef0ec1ef7dee336dc8234a75a0a68203e Mon Sep 17 00:00:00 2001 From: Kamil Dudka <[email protected]> Date: Mon, 8 Sep 2008 11:09:16 +0200 Subject: [PATCH] fix mangled indentation in configure --help --- configure.in | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index a8f7c2d..dfccf24 100644 --- a/configure.in +++ b/configure.in @@ -795,7 +795,7 @@ fi # =================================================================== enable_python="no"; -AC_ARG_WITH(python, [ --with-python=[DIR] enable Python support], +AC_ARG_WITH(python, AC_HELP_STRING([--with-python=[DIR]], [enable Python support]), [ if test "x$withval" != xno; then enable_python=yes; fi ]) EL_SAVE_FLAGS @@ -944,9 +944,9 @@ disable_openssl="" disable_gnutls="" enable_gnutls="" -AC_ARG_WITH(gnutls, [ --without-gnutls disable GNUTLS SSL support], +AC_ARG_WITH(gnutls, AC_HELP_STRING([--without-gnutls], [disable GNUTLS SSL support]), [if test "$with_gnutls" = no; then disable_gnutls=yes; fi]) -AC_ARG_WITH(gnutls, [ --with-gnutls[=DIR] enable GNUTLS SSL support], +AC_ARG_WITH(gnutls, AC_HELP_STRING([--with-gnutls[=DIR]], [enable GNUTLS SSL support]), [if test "$with_gnutls" != no; then enable_gnutls=yes; fi]) gnutls_withval="$withval" @@ -954,9 +954,9 @@ if test "$enable_gnutls" = yes; then disable_openssl=yes; fi -AC_ARG_WITH(openssl, [ --without-openssl disable OpenSSL support], +AC_ARG_WITH(openssl, AC_HELP_STRING([--without-openssl], [disable OpenSSL support]), [if test "$with_openssl" = no; then disable_openssl=yes; fi]) -AC_ARG_WITH(openssl, [ --with-openssl[=DIR] enable OpenSSL support (default)]) +AC_ARG_WITH(openssl, AC_HELP_STRING([--with-openssl[=DIR]], [enable OpenSSL support (default)])) openssl_withval="$withval" # ---- OpenSSL -- 1.5.4.1