diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-05-02 16:07:06 +0200 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-08-28 18:45:00 +0100 |
commit | b62c76f204a8cae64dc2c3c33828d27c1a2581e5 (patch) | |
tree | bb4eecdebe122949bb31a7c6b0f1a1feab568173 | |
parent | f9073d5defa6f30bb8b364c3a56c53a60eb0b0dd (diff) | |
download | gnome-common-b62c76f204a8cae64dc2c3c33828d27c1a2581e5.tar.gz |
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
-rw-r--r-- | 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.]]) |