From fae0cf8b0d12e853118446036a2fcca9d8d16b61 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 23 Jan 2013 15:54:08 +0100 Subject: [PATCH] Disable debugging by default. --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index ca2c1dd24..4f953a382 100644 --- a/configure.ac +++ b/configure.ac @@ -67,14 +67,12 @@ AC_CHECK_LIB(shlwapi, PathRemoveFileSpecA) AC_CHECK_FUNCS([backtrace_symbols]) AC_MSG_CHECKING(whether to enable debugging) -AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging (default=yes)],, enable_debug=yes) +AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging (default=no)],, enable_debug=no) if test "x$enable_debug" = "xyes"; then CFLAGS="$CFLAGS -g -O0" CXXFLAGS="$CXXFLAGS -g -O0" AC_MSG_RESULT(yes) else - CFLAGS="$CFLAGS -O2" - CXXFLAGS="$CFLAGS -O2" AC_MSG_RESULT(no) fi