[gnome-disk-utility] Revert "Add --enable-strict and default to this for developer builds"
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility] Revert "Add --enable-strict and default to this for developer builds"
- Date: Fri, 8 Jul 2011 16:14:12 +0000 (UTC)
commit 42e262b50d14bbf290f7a8cce15b937c6f35dfab
Author: David Zeuthen <davidz redhat com>
Date: Fri Jul 8 12:08:28 2011 -0400
Revert "Add --enable-strict and default to this for developer builds"
It doesn't make much sense to do this as we're now relying on
deprecated functionality as per the previous revert.
This reverts commit 5d0ab243b0465ba622074588c72e9d6f1538047e.
configure.ac | 20 +-------------------
1 files changed, 1 insertions(+), 19 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0ae3565..d019ae5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -113,24 +113,7 @@ fi
GNOME_DOC_INIT
GNOME_DEBUG_CHECK
GNOME_COMPILE_WARNINGS([maximum])
-
-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_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED"
-fi
-
+GNOME_MAINTAINER_MODE_DEFINES
AC_ARG_ENABLE(gtk-doc, AS_HELP_STRING([--enable-gtk-doc],
[use gtk-doc to build documentation [default=no]]),,
@@ -298,7 +281,6 @@ echo "
compiler: ${CC}
cflags: ${CFLAGS}
cppflags: ${CPPFLAGS}
- strict: ${enable_strict}
Maintainer mode: ${USE_MAINTAINER_MODE}
Building api docs: ${enable_gtk_doc}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]