]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
autotools: Fix wrong ./configure help screen default values
authorDavid Sommerseth <davids@redhat.com>
Mon, 24 Nov 2014 18:09:38 +0000 (19:09 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 30 Nov 2014 16:13:39 +0000 (17:13 +0100)
enable_crypto_ofb_cfb is "yes" by default, so the --help screen
should show --disable-ofb-cfb and not --enable-ofb-cfb.

enable_small and enable_password_save are both "no" by default, so
the --help screen should state "default: no".  Now it says "yes" as
default, but is really disabled in the reality.

Signed-off-by: David Sommerseth <davids@redhat.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1416852578-7581-1-git-send-email-openvpn.list@topphemmelig.net>
URL: http://article.gmane.org/gmane.network.openvpn.devel/9278
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 104360b4f40a4ba29987d9478aed70450fec75a2)

configure.ac

index 0e0fae578ccf088399d17f896366ed45bd3b930f..4767f7ed6570f0b2b315125bc96f53db8b7049d8 100644 (file)
@@ -62,7 +62,7 @@ AC_ARG_ENABLE(
 
 AC_ARG_ENABLE(
        [ofb-cfb],
-       [AS_HELP_STRING([--enable-ofb-cfb], [enable support for OFB and CFB cipher modes @<:@default=yes@:>@])],
+       [AS_HELP_STRING([--disable-ofb-cfb], [disable support for OFB and CFB cipher modes @<:@default=yes@:>@])],
        ,
        [enable_crypto_ofb_cfb="yes"]
 )
@@ -160,14 +160,14 @@ AC_ARG_ENABLE(
 
 AC_ARG_ENABLE(
        [small],
-       [AS_HELP_STRING([--enable-small], [enable smaller executable size (disable OCC, usage message, and verb 4 parm list) @<:@default=yes@:>@])],
+       [AS_HELP_STRING([--enable-small], [enable smaller executable size (disable OCC, usage message, and verb 4 parm list) @<:@default=no@:>@])],
        ,
        [enable_small="no"]
 )
 
 AC_ARG_ENABLE(
        [password-save],
-       [AS_HELP_STRING([--enable-password-save], [allow --askpass and --auth-user-pass passwords to be read from a file @<:@default=yes@:>@])],
+       [AS_HELP_STRING([--enable-password-save], [allow --askpass and --auth-user-pass passwords to be read from a file @<:@default=no@:>@])],
        ,
        [enable_password_save="no"]
 )