1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 06:33:36 +00:00
Files
gnulib/modules/gettext-h
Paul Eggert 91150bc6e2 gettext-h: don’t depend on locale-h
This is useful for apps like gzip.h that stay in the C locale
and don’t need all the the locale-h machinery.
* lib/gettext.h: Include <locale.h> only if !ENABLE_NLS && __sun.
(pgettext, dpgettext, npgettext, dnpgettext, pgettext_expr)
(npgettext_expr): Use _GL_LC_MESSAGES, not LC_MESSAGES.
* m4/gettext_h.m4 (gl_GETTEXT_H): Define _GL_LC_MESSAGES.
* modules/gettext-h (Depends-on): Remove locale-h.
2026-03-31 19:57:09 -07:00

28 lines
340 B
Plaintext

Description:
Translate messages to user's native language if GNU gettext is also used.
Files:
lib/gettext.h
m4/gettext_h.m4
Depends-on:
vararrays
configure.ac:
gl_GETTEXT_H
Makefile.am:
lib_SOURCES += gettext.h
Include:
"gettext.h"
Link:
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
License:
LGPLv2+
Maintainer:
all