From 5c15c4ff4375ccf0de668c3d6f4ba76c4bf53784 Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Mon, 4 Jul 2011 18:12:49 +0200 Subject: configure: make --disable-debug default Signed-off-by: Robert Schwebel --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index c52987d..db13963 100644 --- a/configure.ac +++ b/configure.ac @@ -39,12 +39,12 @@ AM_INIT_AUTOMAKE([foreign no-exeext dist-bzip2]) # AC_MSG_CHECKING([whether to enable debugging]) AC_ARG_ENABLE(debug, - AS_HELP_STRING([--enable-debug], [enable debugging @<:@default=yes@:>@]), + AS_HELP_STRING([--enable-debug], [enable debugging @<:@default=no@:>@]), [case "$enableval" in y | yes) CONFIG_DEBUG=yes ;; *) CONFIG_DEBUG=no ;; esac], - [CONFIG_DEBUG=yes]) + [CONFIG_DEBUG=no]) AC_MSG_RESULT([${CONFIG_DEBUG}]) if test "${CONFIG_DEBUG}" = "yes"; then CXXFLAGS="${CXXFLAGS} -Werror -Wsign-compare -Wfloat-equal -Wformat-security -Wno-unknown-pragmas -g -O1" -- cgit v1.2.3