summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-02-09 12:56:03 +0300
committermonsta <[email protected]>2017-02-09 12:56:03 +0300
commitadc019c4308731f9b3cf69f74bb7fc1d91788043 (patch)
tree3e5288c69ef84aa6928fdbd13f8d961847ca0100 /configure.ac
parenta25fecfecd752cd4a5966786c617cf1b1a3b9eb0 (diff)
downloadmate-power-manager-adc019c4308731f9b3cf69f74bb7fc1d91788043.tar.bz2
mate-power-manager-adc019c4308731f9b3cf69f74bb7fc1d91788043.tar.xz
build: remove strict options, they just get in the way
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac23
1 files changed, 0 insertions, 23 deletions
diff --git a/configure.ac b/configure.ac
index 6012b1e..0450b1d 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]])],,