aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-10-17 02:14:34 +0000
committerRoland McGrath <roland@gnu.org>1995-10-17 02:14:34 +0000
commitcb2f05ed72575a2d5769a7772a935eda461ad0b8 (patch)
tree3e055198b66c8ed92e76858950c87626cfb6bd33 /locale
parentd17e960c2bb10746bda675deb88d8b496f834eba (diff)
downloadglibc-cb2f05ed72575a2d5769a7772a935eda461ad0b8.zip
glibc-cb2f05ed72575a2d5769a7772a935eda461ad0b8.tar.gz
glibc-cb2f05ed72575a2d5769a7772a935eda461ad0b8.tar.bz2
* locale/Makefile (aux): Add SYS_libc.
* locale/SYS_libc.c: New file. * libc-symbols.h (_): New macro. * configure.in (libc_cv_asm_set_directive): Link program into conftest instead of letting it default to a.out.
Diffstat (limited to 'locale')
-rw-r--r--locale/Makefile2
-rw-r--r--locale/SYS_libc.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/locale/Makefile b/locale/Makefile
index 1a37f44..8865fc3 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -28,7 +28,7 @@ distribute = localeinfo.h categories.def \
keyword.gperf keyword.h localedef.h token.h error.h
routines = setlocale loadlocale localeconv nl_langinfo
categories = ctype messages monetary numeric time collate
-aux = $(categories:%=lc-%) $(categories:%=C-%)
+aux = $(categories:%=lc-%) $(categories:%=C-%) SYS_libc
others = localedef locale
install-bin = localedef locale
extra-objs = $(localedef-modules:=.o) $(locale-modules:=.o) \
diff --git a/locale/SYS_libc.c b/locale/SYS_libc.c
new file mode 100644
index 0000000..99db8e6
--- /dev/null
+++ b/locale/SYS_libc.c
@@ -0,0 +1,4 @@
+/* Define a constant for the dgettext domainname for libc internal messages,
+ so the string constant is not repeated in dozens of object files. */
+
+const char _libc_intl_domainname[] = "SYS_libc";