summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac18
-rw-r--r--mate-dictionary/libgdict/Makefile.am1
2 files changed, 0 insertions, 19 deletions
diff --git a/configure.ac b/configure.ac
index ec0e67c1..b6bd45a5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -288,23 +288,6 @@ AS_IF([test "x$enable_zlib" != "xno"],
AC_SUBST(Z_LIBS)
-dnl = Enable strict compiler flags =========================================
-
-# use strict compiler flags only on development releases
-m4_define([maintainer_flags_default], [m4_if(m4_eval(mate_utils_minor % 2), [1], [yes], [no])])
-AC_ARG_ENABLE([maintainer-flags],
- [AC_HELP_STRING([--enable-maintainer-flags=@<:@no/yes@:>@],
- [Use strict compiler flags @<:@default=maintainer_flags_default@:>@])],
- [],
- [enable_maintainer_flags=maintainer_flags_default])
-
-AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"],
- [
- MAINTAINER_CFLAGS="-Wall -Wshadow -Wcast-align -Wno-uninitialized -Wformat-security -Winit-self"
- AC_SUBST(MAINTAINER_CFLAGS)
- ]
-)
-
dnl Internationalization
GETTEXT_PACKAGE=mate-utils
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [Define the gettext package to use])
@@ -381,7 +364,6 @@ mate-utils $VERSION configuration summary:
Compiler flags : $CFLAGS
Compiler warning flags : $WARN_CFLAGS
Linker flags : $LDFLAGS
- Maintainer compiler flags : $MAINTAINER_CFLAGS
prefix : $prefix
sysconf dir : $sysconfdir
diff --git a/mate-dictionary/libgdict/Makefile.am b/mate-dictionary/libgdict/Makefile.am
index 110496e3..202c1808 100644
--- a/mate-dictionary/libgdict/Makefile.am
+++ b/mate-dictionary/libgdict/Makefile.am
@@ -52,7 +52,6 @@ libmatedict_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
$(LIBGDICT_CFLAGS) \
$(GDICT_DEBUG_CFLAGS) \
- $(MAINTAINER_CFLAGS) \
$(WARN_CFLAGS) \
$(NULL)
libmatedict_la_LIBADD = $(LIBGDICT_LIBS)