cURL / Mailing Lists / curl-library / Single Mail


cURL: squeezing ./configure --help

From: Дилян Палаузов <>
Date: Sun, 25 May 2014 18:20:17 +0200

./ : squeeze --help output

As discussed on on 21-22.04.2014:

For some options printed by ./configure --help there is no practical use.
E.g. "./configure" on its own always enables HTTP support, except
--disable-http is provided, but there is no application for --enable-http.

When somebody wants to ./configure curl with HTTP support, the fasted
evident way to proceed is to provide --enable-http, as it takes more time
than typing the parameter, to determine if it is necessary to provide
this ./configure option.

This patch reduces the output of ./configure --help by stripping
options, which have no added value, like --enable-http (as with them
and without them, ./configure behaves the same).

diff --git a/ b/
index 1177244..6025258 100644
--- a/
+++ b/
@@ -359,7 +359,6 @@ dnl switch off particular protocols
  AC_MSG_CHECKING([whether to support http])
-AC_HELP_STRING([--enable-http],[Enable HTTP support])
  AC_HELP_STRING([--disable-http],[Disable HTTP support]),
  [ case "$enableval" in
@@ -377,7 +376,6 @@ AC_HELP_STRING([--disable-http],[Disable HTTP support]),
  AC_MSG_CHECKING([whether to support ftp])
-AC_HELP_STRING([--enable-ftp],[Enable FTP support])
  AC_HELP_STRING([--disable-ftp],[Disable FTP support]),
  [ case "$enableval" in
@@ -392,7 +390,6 @@ AC_HELP_STRING([--disable-ftp],[Disable FTP support]),
  AC_MSG_CHECKING([whether to support file])
-AC_HELP_STRING([--enable-file],[Enable FILE support])
  AC_HELP_STRING([--disable-file],[Disable FILE support]),
  [ case "$enableval" in
@@ -407,7 +404,6 @@ AC_HELP_STRING([--disable-file],[Disable FILE support]),
  AC_MSG_CHECKING([whether to support ldap])
-AC_HELP_STRING([--enable-ldap],[Enable LDAP support])
  AC_HELP_STRING([--disable-ldap],[Disable LDAP support]),
  [ case "$enableval" in
@@ -423,8 +419,7 @@ AC_HELP_STRING([--disable-ldap],[Disable LDAP support]),
  AC_MSG_CHECKING([whether to support ldaps])
-AC_HELP_STRING([--enable-ldaps],[Enable LDAPS support])
-AC_HELP_STRING([--disable-ldaps],[Disable LDAPS support]),
+AC_HELP_STRING([--disable-ldaps],[Disable LDAPS support (default:
depend on LDAP support)]),
  [ case "$enableval" in
@@ -455,8 +450,7 @@ AC_HELP_STRING([--disable-ldaps],[Disable LDAPS

  AC_MSG_CHECKING([whether to support rtsp])
-AC_HELP_STRING([--enable-rtsp],[Enable RTSP support])
-AC_HELP_STRING([--disable-rtsp],[Disable RTSP support]),
+AC_HELP_STRING([--disable-rtsp],[Disable RTSP support (default: depend
on HTTP support]),
  [ case "$enableval" in
@@ -481,7 +475,6 @@ AC_HELP_STRING([--disable-rtsp],[Disable RTSP support]),

  AC_MSG_CHECKING([whether to support proxies])
-AC_HELP_STRING([--enable-proxy],[Enable proxy support])
  AC_HELP_STRING([--disable-proxy],[Disable proxy support]),
  [ case "$enableval" in
@@ -497,7 +490,6 @@ AC_HELP_STRING([--disable-proxy],[Disable proxy

  AC_MSG_CHECKING([whether to support dict])
-AC_HELP_STRING([--enable-dict],[Enable DICT support])
  AC_HELP_STRING([--disable-dict],[Disable DICT support]),
  [ case "$enableval" in
@@ -512,7 +504,6 @@ AC_HELP_STRING([--disable-dict],[Disable DICT support]),
  AC_MSG_CHECKING([whether to support telnet])
-AC_HELP_STRING([--enable-telnet],[Enable TELNET support])
  AC_HELP_STRING([--disable-telnet],[Disable TELNET support]),
  [ case "$enableval" in
@@ -527,7 +518,6 @@ AC_HELP_STRING([--disable-telnet],[Disable TELNET
  AC_MSG_CHECKING([whether to support tftp])
-AC_HELP_STRING([--enable-tftp],[Enable TFTP support])
  AC_HELP_STRING([--disable-tftp],[Disable TFTP support]),
  [ case "$enableval" in
@@ -543,7 +533,6 @@ AC_HELP_STRING([--disable-tftp],[Disable TFTP support]),

  AC_MSG_CHECKING([whether to support pop3])
-AC_HELP_STRING([--enable-pop3],[Enable POP3 support])
  AC_HELP_STRING([--disable-pop3],[Disable POP3 support]),
  [ case "$enableval" in
@@ -560,7 +549,6 @@ AC_HELP_STRING([--disable-pop3],[Disable POP3 support]),

  AC_MSG_CHECKING([whether to support imap])
-AC_HELP_STRING([--enable-imap],[Enable IMAP support])
  AC_HELP_STRING([--disable-imap],[Disable IMAP support]),
  [ case "$enableval" in
@@ -577,7 +565,6 @@ AC_HELP_STRING([--disable-imap],[Disable IMAP support]),

  AC_MSG_CHECKING([whether to support smtp])
-AC_HELP_STRING([--enable-smtp],[Enable SMTP support])
  AC_HELP_STRING([--disable-smtp],[Disable SMTP support]),
  [ case "$enableval" in
@@ -593,7 +580,6 @@ AC_HELP_STRING([--disable-smtp],[Disable SMTP support]),

  AC_MSG_CHECKING([whether to support gopher])
-AC_HELP_STRING([--enable-gopher],[Enable Gopher support])
  AC_HELP_STRING([--disable-gopher],[Disable Gopher support]),
  [ case "$enableval" in
@@ -614,7 +600,6 @@ dnl

  AC_MSG_CHECKING([whether to provide built-in manual])
-AC_HELP_STRING([--enable-manual],[Enable built-in manual])
  AC_HELP_STRING([--disable-manual],[Disable built-in manual]),
  [ case "$enableval" in
@@ -635,7 +620,6 @@ dnl disable C code generation support
  AC_MSG_CHECKING([whether to enable generation of C code])
-AC_HELP_STRING([--enable-libcurl-option],[Enable --libcurl C code
generation support])
  AC_HELP_STRING([--disable-libcurl-option],[Disable --libcurl C code
generation support]),
  [ case "$enableval" in
@@ -1050,8 +1034,7 @@ dnl

  AC_MSG_CHECKING([whether to enable ipv6])
-AC_HELP_STRING([--enable-ipv6],[Enable ipv6 (with ipv4) support])
  AC_HELP_STRING([--disable-ipv6],[Disable ipv6 support]),
  [ case "$enableval" in
@@ -2460,8 +2443,7 @@ dnl
  AC_MSG_CHECKING([whether versioned symbols are wanted])
-AC_HELP_STRING([--enable-versioned-symbols], [Enable versioned symbols
in shared library])
-AC_HELP_STRING([--disable-versioned-symbols], [Disable versioned
symbols in shared library]),
+AC_HELP_STRING([--enable-versioned-symbols], [Enable versioned symbols
in shared library]),
  [ case "$enableval" in
    yes) AC_MSG_RESULT(yes)
      AC_MSG_CHECKING([if libraries can be versioned])
@@ -3184,7 +3166,6 @@ dnl disable verbose text strings
  AC_MSG_CHECKING([whether to enable verbose strings])
-AC_HELP_STRING([--enable-verbose],[Enable verbose strings])
  AC_HELP_STRING([--disable-verbose],[Disable verbose strings]),
  [ case "$enableval" in
@@ -3239,7 +3220,6 @@ dnl disable cryptographic authentication
  AC_MSG_CHECKING([whether to enable cryptographic authentication methods])
-AC_HELP_STRING([--enable-crypto-auth],[Enable cryptographic
  AC_HELP_STRING([--disable-crypto-auth],[Disable cryptographic
  [ case "$enableval" in
@@ -3262,7 +3242,6 @@ dnl disable TLS-SRP authentication
  AC_MSG_CHECKING([whether to enable TLS-SRP authentication])
-AC_HELP_STRING([--enable-tls-srp],[Enable TLS-SRP authentication])
  AC_HELP_STRING([--disable-tls-srp],[Disable TLS-SRP authentication]),
  [ case "$enableval" in
@@ -3289,7 +3268,6 @@ dnl disable cookies support
  AC_MSG_CHECKING([whether to enable support for cookies])
-AC_HELP_STRING([--enable-cookies],[Enable cookies support])
  AC_HELP_STRING([--disable-cookies],[Disable cookies support]),
  [ case "$enableval" in
@@ -3313,8 +3291,7 @@ dnl

  AC_MSG_CHECKING([whether to enforce SONAME bump])
-AC_HELP_STRING([--enable-soname-bump],[Enable enforced SONAME bump])
-AC_HELP_STRING([--disable-soname-bump],[Disable enforced SONAME bump]),
+AC_HELP_STRING([--enable-soname-bump],[Enable enforced SONAME bump]),
  [ case "$enableval" in
    yes) AC_MSG_RESULT(yes)
List admin:
Received on 2014-05-25