diff options
author | Daiki Ueno <ueno@gnu.org> | 2014-07-16 15:19:30 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2014-07-16 15:34:56 +0900 |
commit | 0f8e2ccaa854fc17ac3d5412d944160aa2e78ea5 (patch) | |
tree | 075af05aaee2c11cb0a7e5d5d7b4e32ab386e361 /gnulib | |
parent | 5395556cb127387fd43368a1b9702179360f4f11 (diff) | |
download | external_gettext-0f8e2ccaa854fc17ac3d5412d944160aa2e78ea5.zip external_gettext-0f8e2ccaa854fc17ac3d5412d944160aa2e78ea5.tar.gz external_gettext-0f8e2ccaa854fc17ac3d5412d944160aa2e78ea5.tar.bz2 |
intl: Consolidate fallback _GL_* macro definitions into intl.m4
We had defined _GL_* macros used by libintl itself in the corresponding
C files. However, it will increase divergence between Gnulib and gettext.
This patch moves the fallback macro definitions into M4 and emit them only
when the project is not using Gnulib.
* gettext-runtime/m4/intl.m4 (gt_GL_ATTRIBUTE): New macro.
(AM_INTL_SUBDIR): Require gt_GL_ATTRIBUTE.
* gettext-runtime/intl/localename.c: Update from Gnulib.
2014-07-10 Assaf Gordon <assafgordon@gmail.com>
localename: avoid -Wsuggest-attribute={const,pure} warnings
* lib/localename.c (string_hash): Tag internal function as pure.
* gettext-runtime/intl/xsize.c (XSIZE_INLINE): Remove _GL_UNUSED definition.
It will be set through intl.m4.
* Makefile.am (distcheck-hook): Add back localename.c check.
Diffstat (limited to 'gnulib')
0 files changed, 0 insertions, 0 deletions