diff options
author | monsta <[email protected]> | 2017-02-09 12:56:03 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-02-12 17:15:52 +0300 |
commit | f84112f2bdb67ccc0a938fafec8228fd4f28ef7b (patch) | |
tree | 1d6704459fab7b344a5bec743c581514b54359b0 | |
parent | 85bbe26b88df466062698439dcafca1058ee585c (diff) | |
download | mate-power-manager-f84112f2bdb67ccc0a938fafec8228fd4f28ef7b.tar.bz2 mate-power-manager-f84112f2bdb67ccc0a938fafec8228fd4f28ef7b.tar.xz |
build: remove strict options, they just get in the way
-rw-r--r-- | configure.ac | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/configure.ac b/configure.ac index 7473bdc..e58985c 100644 --- a/configure.ac +++ b/configure.ac @@ -27,29 +27,6 @@ AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_36], AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal) -dnl --------------------------------------------------------------------------- -dnl - Use strict options (default enabled for devs, disabled in releases) -dnl --------------------------------------------------------------------------- -dnl if .git directory is present, considering we are working in the repository -if test -d ".git"; then - default_strict=yes -else - default_strict=no -fi - -AC_ARG_ENABLE(strict, AS_HELP_STRING([--enable-strict], - [Enable strict compilation options]), enable_strict=$enableval, - enable_strict=$default_strict) -if test x$enable_strict != xno; then - CPPFLAGS="$CPPFLAGS -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES" - CPPFLAGS="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED" - CPPFLAGS="$CPPFLAGS -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE" - CPPFLAGS="$CPPFLAGS -DGSEAL_ENABLE" - if test "$GCC" = "yes"; then - WARNINGFLAGS="$WARNINGFLAGS -Werror" - fi -fi - AC_ARG_ENABLE(deprecated, [AS_HELP_STRING([--enable-deprecated], [Warn about deprecated usages [default=no]])],, |