* configure.ac: Using MC_ARG_ENABLE_DEVELOPER_MODE instead of

the --maintainer-mode.
This commit is contained in:
Roland Illig 2005-04-21 22:31:58 +00:00
parent 26c8b13218
commit 4a96e50b13
2 changed files with 3 additions and 11 deletions

View File

@ -1,6 +1,8 @@
2005-04-22 Roland Illig <roland.illig@gmx.de> 2005-04-22 Roland Illig <roland.illig@gmx.de>
* acinclude.m4: Added macro MC_ARG_ENABLE_DEVELOPER_MODE. * 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 <leonard * den ottolander nl> 2005-04-17 Leonard den Ottolander <leonard * den ottolander nl>

View File

@ -553,17 +553,7 @@ if test "$GLIBC21" != yes; then
AC_DEFINE(USE_INCLUDED_REGEX, 1, [Use the regex included here]) AC_DEFINE(USE_INCLUDED_REGEX, 1, [Use the regex included here])
fi fi
if test x"$USE_MAINTAINER_MODE" = x"yes"; then MC_ARG_ENABLE_DEVELOPER_MODE()
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
AC_SUBST(CFLAGS) AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS) AC_SUBST(CPPFLAGS)