[libgee] Fix default value of --enable-consistency-check, fixes bug #746077

commit c898e118de31d9d16a27c22968b6d2db382cc0a2
Author: Giovanni Campagna <scampa giovanni gmail com>
Date:   Thu Mar 12 02:04:46 2015 -0700

    Fix default value of --enable-consistency-check, fixes bug #746077
    The intent here was that --enable-consistency-check would default
    to disabled (because it's a very expensive debug option and would
    make a lot of applications unusably slow), but a copy paste
    mistake ended up disabling internal asserts instead.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index b1ba0fd..167acf4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,7 +61,7 @@ AC_ARG_ENABLE(internal-asserts, [AS_HELP_STRING([--disable-internal-asserts], [D
 AS_IF([test "x$enable_internal_asserts" = xno], [VALA_ADD_VALAFLAGS(-D DISABLE_INTERNAL_ASSERTS)])
 AC_ARG_ENABLE(consistency-check, [AS_HELP_STRING([--enable-consistency-check], [Enables (very) expensive 
consistency checks. It might affect the asymptotic performance.])],
-              enable_consistency_check=$enableval, enable_internal_asserts=no)
+              enable_consistency_check=$enableval, enable_consistency_check=no)
 AS_IF([test "x$enable_consistency_check" != xno], [VALA_ADD_VALAFLAGS(-D CONSISTENCY_CHECKS)])

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]