summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2016-01-11 16:24:36 +0000
committerJavier Jardón <jjardon@gnome.org>2016-01-11 16:24:36 +0000
commit1ebf890156c526053071b4abef1b5cf2cb1f54e8 (patch)
treee66e09162e82bc56640a06684d127b3f9dc25eca
parent18fe6d83125f2cd2a3e355396f90ea979e42b37d (diff)
downloadglib-baserock/glib-gettext.tar.gz
Deprecate GLIB_GNU_GETTEXT macrobaserock/glib-gettext
-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)
# -------------------------------