From 4a96e50b13263f0efe3763559b765e689d24ffc2 Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Thu, 21 Apr 2005 22:31:58 +0000 Subject: [PATCH] * configure.ac: Using MC_ARG_ENABLE_DEVELOPER_MODE instead of the --maintainer-mode. --- ChangeLog | 2 ++ configure.ac | 12 +----------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2e0080d17..d4921dcbe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ 2005-04-22 Roland Illig * acinclude.m4: Added macro MC_ARG_ENABLE_DEVELOPER_MODE. + * configure.ac: Using MC_ARG_ENABLE_DEVELOPER_MODE instead of + the --maintainer-mode. 2005-04-17 Leonard den Ottolander diff --git a/configure.ac b/configure.ac index 237ef1f76..def478a70 100644 --- a/configure.ac +++ b/configure.ac @@ -553,17 +553,7 @@ if test "$GLIBC21" != yes; then AC_DEFINE(USE_INCLUDED_REGEX, 1, [Use the regex included here]) fi -if test x"$USE_MAINTAINER_MODE" = x"yes"; then - if test x"${enable_gcc_warnings+set}" != x"set"; then - if test x"${GCC}" = x"yes"; then - CFLAGS="-Wall $CFLAGS" - fi - fi -else - CPPFLAGS="-DNDEBUG ${CPPFLAGS}" -fi - -ri_GCC_WARNINGS +MC_ARG_ENABLE_DEVELOPER_MODE() AC_SUBST(CFLAGS) AC_SUBST(CPPFLAGS)