summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2011-07-04 18:12:49 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-08-22 10:04:55 +0200
commit5c15c4ff4375ccf0de668c3d6f4ba76c4bf53784 (patch)
treee5d8b6bdb529a0c5ef3cd4b8ddd4e627c2a8c06d
parentd5cca4b46775fc99872b69181d82c29d517f9e04 (diff)
configure: make --disable-debug default
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r--configure.ac4
1 files 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"