[gnome-common] macros2: Deprecate GNOME_MAINTAINER_MODE_DEFINES



commit b62c76f204a8cae64dc2c3c33828d27c1a2581e5
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Fri May 2 16:07:06 2014 +0200

    macros2: Deprecate GNOME_MAINTAINER_MODE_DEFINES
    
    The modules which it deprecates are all ancient and unused. Many of the
    modules which use GNOME_MAINTAINER_MODE_DEFINES don’t make use of the
    DISABLE_DEPRECATED variable it generates anyway.
    
    If a module really wants maintainer mode, they should use
    AM_MAINTAINER_MODE. Otherwise, they should just eliminate this call
    entirely.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=735417

 macros2/gnome-common.m4 |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/macros2/gnome-common.m4 b/macros2/gnome-common.m4
index aae4c23..19bec09 100644
--- a/macros2/gnome-common.m4
+++ b/macros2/gnome-common.m4
@@ -34,7 +34,7 @@ See: https://savannah.gnu.org/patch/?8452]])
 dnl GNOME_MAINTAINER_MODE_DEFINES ()
 dnl define DISABLE_DEPRECATED
 dnl
-AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
+AU_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
 [
        AC_REQUIRE([AM_MAINTAINER_MODE])
 
@@ -47,4 +47,6 @@ AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
        fi
 
        AC_SUBST(DISABLE_DEPRECATED)
-])
+],
+[[$0: This macro is deprecated. All of the modules it disables deprecations for
+are obsolete. Remove it and all uses of DISABLE_DEPRECATED.]])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]