summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-10-01 12:30:29 +0200
committerraveit65 <[email protected]>2019-10-01 16:38:01 +0200
commit58f44578baf5fc6419b1a68be3d3f0ae7ca54e3e (patch)
tree3b7f15928e09f7b505f773447644855a884a26da
parent5c443a9b1e18526c437c2cd75579de70f791adbd (diff)
downloadmate-utils-58f44578baf5fc6419b1a68be3d3f0ae7ca54e3e.tar.bz2
mate-utils-58f44578baf5fc6419b1a68be3d3f0ae7ca54e3e.tar.xz
WARN_CFLAGS makes MAINTAINER_CFLAGS obsolete for now
-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)