diff options
author | rbuj <[email protected]> | 2019-10-01 12:30:29 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-10-01 16:38:01 +0200 |
commit | 58f44578baf5fc6419b1a68be3d3f0ae7ca54e3e (patch) | |
tree | 3b7f15928e09f7b505f773447644855a884a26da /configure.ac | |
parent | 5c443a9b1e18526c437c2cd75579de70f791adbd (diff) | |
download | mate-utils-58f44578baf5fc6419b1a68be3d3f0ae7ca54e3e.tar.bz2 mate-utils-58f44578baf5fc6419b1a68be3d3f0ae7ca54e3e.tar.xz |
WARN_CFLAGS makes MAINTAINER_CFLAGS obsolete for now
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 0 insertions, 18 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 |