summaryrefslogtreecommitdiffstats
path: root/gl/m4/gettext_h.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/gettext_h.m4')
-rw-r--r--gl/m4/gettext_h.m421
1 files changed, 21 insertions, 0 deletions
diff --git a/gl/m4/gettext_h.m4 b/gl/m4/gettext_h.m4
new file mode 100644
index 00000000..7ef89541
--- /dev/null
+++ b/gl/m4/gettext_h.m4
@@ -0,0 +1,21 @@
1# gettext_h.m4
2# serial 1
3dnl Copyright (C) 2025-2026 Free Software Foundation, Inc.
4dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved.
7dnl This file is offered as-is, without any warranty.
8
9AC_DEFUN_ONCE([gl_GETTEXT_H],
10[
11 AC_SUBST([LIBINTL])
12 AC_SUBST([LTLIBINTL])
13 AH_BOTTOM([
14/* The text domainname for Gnulib messages. Ordinarily this is "gnulib",
15 but packages that do their own translations of Gnulib can use something
16 different by defining GNULIB_TEXT_DOMAIN in their config.h file. */
17#ifndef GNULIB_TEXT_DOMAIN
18# define GNULIB_TEXT_DOMAIN/**/"gnulib"
19#endif
20])
21])