summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-02-09 12:56:03 +0300
committermonsta <[email protected]>2017-02-12 17:15:52 +0300
commitf84112f2bdb67ccc0a938fafec8228fd4f28ef7b (patch)
tree1d6704459fab7b344a5bec743c581514b54359b0
parent85bbe26b88df466062698439dcafca1058ee585c (diff)
downloadmate-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.ac23
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]])],,