summaryrefslogtreecommitdiff
path: root/m4macros
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2016-01-11 16:07:06 +0000
committerJavier Jardón <jjardon@gnome.org>2016-01-11 16:07:06 +0000
commit6b577196eed0754d2805fd48caa64f58f9bb8ee4 (patch)
treecb7b779b9d105d001d60beb8f530ca015ed2d0ea /m4macros
parent3add5e2837d83b253acfd861dbf8bb980076e4f0 (diff)
downloadglib-6b577196eed0754d2805fd48caa64f58f9bb8ee4.tar.gz
Deprecate GLIB_GNU_GETTEXT macro, use upstream gettext instead
https://bugzilla.gnome.org/show_bug.cgi?id=624186
Diffstat (limited to 'm4macros')
-rw-r--r--m4macros/glib-gettext.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4macros/glib-gettext.m4 b/m4macros/glib-gettext.m4
index 5217fd843..155b1d83d 100644
--- a/m4macros/glib-gettext.m4
+++ b/m4macros/glib-gettext.m4
@@ -313,7 +313,7 @@ msgstr ""
# on various variables needed by the Makefile.in.in installed by
# glib-gettextize.
dnl
-glib_DEFUN([GLIB_GNU_GETTEXT],
+AU_DEFUN([GLIB_GNU_GETTEXT],
[AC_REQUIRE([AC_PROG_CC])dnl
GLIB_LC_MESSAGES
@@ -383,7 +383,8 @@ glib_DEFUN([GLIB_GNU_GETTEXT],
rm -f po/POTFILES
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
< $srcdir/po/POTFILES.in > po/POTFILES
- ])
+ ],
+ [[$0: This macro is deprecated. You should use upstream gettext instead.]])
# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
# -------------------------------