diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-10-25 13:28:31 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-10-25 13:28:31 +0200 |
commit | 9f1be156e4cc31c3d70a6bb4953490e931161a60 (patch) | |
tree | 9303b5e8010b31ce26ee923eb76c9399c720a318 | |
parent | 36328666b6dcbb70c064c46264c46e253ab4e355 (diff) | |
download | libsocketcan-9f1be156e4cc31c3d70a6bb4953490e931161a60.tar.gz libsocketcan-9f1be156e4cc31c3d70a6bb4953490e931161a60.tar.xz |
configure: disable debug by default, turn off maintainer mode
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r-- | configure.ac | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 6b63992..76b2304 100644 --- a/configure.ac +++ b/configure.ac @@ -10,8 +10,6 @@ AC_CONFIG_AUX_DIR([config/autoconf]) AC_CANONICAL_BUILD AC_CANONICAL_HOST -AM_MAINTAINER_MODE - CFLAGS="${CFLAGS} -Wall" # @@ -92,12 +90,12 @@ AC_CHECK_FUNCS([gethostbyaddr gethostbyname gethostname gettimeofday memset mkdi # 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 CFLAGS="${CFLAGS} -Werror -Wsign-compare -Wfloat-equal -Wformat-security -g -O1" |