This by default enables the compiler warnings any could previously
enable using the --enable-strict configure option.  I think it is
okay to do so now, because we've taken care of many warnings in the
more standard builds.  (Most of those were totally harmless, but they
prevented us from spotting new more serious mistakes.)

Those who prefer a more silent build can use --disable-strict to revert
to the old default behaviour.

Signed-off-by: Steffan Karger <stef...@karger.me>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2c1937e5..2b5fa533 100644
--- a/configure.ac
+++ b/configure.ac
@@ -209,9 +209,9 @@ AC_ARG_ENABLE(
 
 AC_ARG_ENABLE(
        [strict],
-       [AS_HELP_STRING([--enable-strict], [enable strict compiler warnings 
(debugging option) @<:@default=no@:>@])],
+       [AS_HELP_STRING([--disable-strict], [enable strict compiler warnings 
(debugging option) @<:@default=yes@:>@])],
        ,
-       [enable_strict="no"]
+       [enable_strict="yes"]
 )
 
 AC_ARG_ENABLE(
-- 
2.14.1


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to