1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

Support programs like Emacs that use gnulib but not gettext.

* MODULES.html.sh (Internationalization functions): Add gettext-h.
* modules/gettext-h: New file.
* modules/gettext (Files): Remove lib/gettext.h.
(Depends-on): Add gettext-h.
(Makefile.am): Remove lib_SOURCES.
* modules/argmatch, modules/c-stack, modules/closeout:
* modules/copy-file, modules/csharpcomp, modules/csharpexec:
* modules/execute, modules/file-type, modules/getaddrinfo:
* modules/getopt, modules/human, modules/javacomp:
* modules/javaexec, modules/mkdir-p, modules/obstack:
* modules/openat, modules/pagealign_alloc, modules/pipe:
* modules/quotearg, modules/regex, modules/rpmatch:
* modules/unicodeio, modules/userspec, modules/version-etc:
* modules/wait-process, modules/xalloc-die, modules/xmemcoll:
* modules/xsetenv:
Depend on gettext-h, not gettext.
This commit is contained in:
Paul Eggert
2005-07-06 15:58:47 +00:00
parent 68f9ae59fe
commit abe574726d
32 changed files with 71 additions and 38 deletions

View File

@@ -1,3 +1,23 @@
2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
Support programs like Emacs that use gnulib but not gettext.
* MODULES.html.sh (Internationalization functions): Add gettext-h.
* modules/gettext-h: New file.
* modules/gettext (Files): Remove lib/gettext.h.
(Depends-on): Add gettext-h.
(Makefile.am): Remove lib_SOURCES.
* modules/argmatch, modules/c-stack, modules/closeout:
* modules/copy-file, modules/csharpcomp, modules/csharpexec:
* modules/execute, modules/file-type, modules/getaddrinfo:
* modules/getopt, modules/human, modules/javacomp:
* modules/javaexec, modules/mkdir-p, modules/obstack:
* modules/openat, modules/pagealign_alloc, modules/pipe:
* modules/quotearg, modules/regex, modules/rpmatch:
* modules/unicodeio, modules/userspec, modules/version-etc:
* modules/wait-process, modules/xalloc-die, modules/xmemcoll:
* modules/xsetenv:
Depend on gettext-h, not gettext.
2005-07-05 Paul Eggert <eggert@cs.ucla.edu> 2005-07-05 Paul Eggert <eggert@cs.ucla.edu>
* gnulib-tool (func_import): Add support for 'public domain' license. * gnulib-tool (func_import): Add support for 'public domain' license.

View File

@@ -1908,6 +1908,7 @@ func_all_modules ()
func_begin_table func_begin_table
func_module gettext func_module gettext
func_module gettext-h
func_module iconv func_module iconv
func_module iconvme func_module iconvme
func_module localcharset func_module localcharset

View File

@@ -6,7 +6,7 @@ lib/argmatch.h
lib/argmatch.c lib/argmatch.c
Depends-on: Depends-on:
gettext gettext-h
error error
quotearg quotearg
quote quote

View File

@@ -7,7 +7,7 @@ lib/c-stack.c
m4/c-stack.m4 m4/c-stack.m4
Depends-on: Depends-on:
gettext gettext-h
exitfail exitfail
configure.ac: configure.ac:
@@ -24,4 +24,3 @@ GPL
Maintainer: Maintainer:
Paul Eggert Paul Eggert

View File

@@ -8,7 +8,7 @@ m4/closeout.m4
Depends-on: Depends-on:
atexit atexit
gettext gettext-h
error error
quotearg quotearg
fpending fpending

View File

@@ -12,7 +12,7 @@ safe-read
full-write full-write
binary-io binary-io
exit exit
gettext gettext-h
configure.ac: configure.ac:
gl_COPY_FILE gl_COPY_FILE
@@ -28,4 +28,3 @@ GPL
Maintainer: Maintainer:
Bruno Haible Bruno Haible

View File

@@ -18,7 +18,7 @@ getline
sh-quote sh-quote
safe-read safe-read
error error
gettext gettext-h
configure.ac: configure.ac:
gt_CSHARPCOMP gt_CSHARPCOMP
@@ -35,4 +35,3 @@ GPL
Maintainer: Maintainer:
Bruno Haible Bruno Haible

View File

@@ -18,7 +18,7 @@ sh-quote
xalloc xalloc
xallocsa xallocsa
error error
gettext gettext-h
configure.ac: configure.ac:
gt_CSHARPEXEC gt_CSHARPEXEC
@@ -36,4 +36,3 @@ GPL
Maintainer: Maintainer:
Bruno Haible Bruno Haible

View File

@@ -12,7 +12,7 @@ error
exit exit
fatal-signal fatal-signal
wait-process wait-process
gettext gettext-h
stdbool stdbool
strpbrk strpbrk
@@ -30,4 +30,3 @@ GPL
Maintainer: Maintainer:
Bruno Haible Bruno Haible

View File

@@ -7,7 +7,7 @@ lib/file-type.c
m4/file-type.m4 m4/file-type.m4
Depends-on: Depends-on:
gettext gettext-h
stat-macros stat-macros
configure.ac: configure.ac:

View File

@@ -10,7 +10,7 @@ m4/sockpfaf.m4
Depends-on: Depends-on:
restrict restrict
gettext gettext-h
stdbool stdbool
configure.ac: configure.ac:

View File

@@ -9,7 +9,7 @@ lib/getopt_int.h
m4/getopt.m4 m4/getopt.m4
Depends-on: Depends-on:
gettext gettext-h
configure.ac: configure.ac:
gl_GETOPT gl_GETOPT
@@ -34,4 +34,3 @@ LGPL
Maintainer: Maintainer:
all, glibc all, glibc

View File

@@ -2,7 +2,6 @@ Description:
Translate messages to user's native language. Translate messages to user's native language.
Files: Files:
lib/gettext.h
m4/codeset.m4 m4/codeset.m4
m4/gettext.m4 m4/gettext.m4
m4/glibc2.m4 m4/glibc2.m4
@@ -35,12 +34,12 @@ m4/xsize.m4
build-aux/config.rpath build-aux/config.rpath
Depends-on: Depends-on:
gettext-h
configure.ac: configure.ac:
AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT([external])
Makefile.am: Makefile.am:
lib_SOURCES += gettext.h
Include: Include:
"gettext.h" "gettext.h"
@@ -50,4 +49,3 @@ LGPL
Maintainer: Maintainer:
Bruno Haible Bruno Haible

21
modules/gettext-h Normal file
View File

@@ -0,0 +1,21 @@
Description:
Translate messages to user's native language if the gettext module is also used.
Files:
lib/gettext.h
Depends-on:
configure.ac:
Makefile.am:
lib_SOURCES += gettext.h
Include:
"gettext.h"
License:
LGPL
Maintainer:
Bruno Haible

View File

@@ -13,7 +13,7 @@ m4/uintmax_t.m4
m4/human.m4 m4/human.m4
Depends-on: Depends-on:
gettext gettext-h
argmatch argmatch
error error
xstrtol xstrtol

View File

@@ -19,7 +19,7 @@ sh-quote
safe-read safe-read
xalloc xalloc
error error
gettext gettext-h
configure.ac: configure.ac:
gt_JAVACOMP gt_JAVACOMP

View File

@@ -17,7 +17,7 @@ pathname
xalloc xalloc
xallocsa xallocsa
error error
gettext gettext-h
configure.ac: configure.ac:
gt_JAVAEXEC gt_JAVAEXEC

View File

@@ -10,7 +10,7 @@ m4/mkdir-p.m4
Depends-on: Depends-on:
alloca alloca
chown chown
gettext gettext-h
save-cwd save-cwd
dirname dirname
error error

View File

@@ -10,7 +10,7 @@ m4/stdint_h.m4
m4/uintmax_t.m4 m4/uintmax_t.m4
Depends-on: Depends-on:
gettext gettext-h
exit exit
exitfail exitfail

View File

@@ -8,7 +8,7 @@ m4/openat.m4
Depends-on: Depends-on:
save-cwd save-cwd
gettext gettext-h
error error
exitfail exitfail
extensions extensions

View File

@@ -11,7 +11,7 @@ Depends-on:
error error
exit exit
getpagesize getpagesize
gettext gettext-h
xalloc xalloc
configure.ac: configure.ac:

View File

@@ -12,7 +12,7 @@ wait-process
error error
exit exit
fatal-signal fatal-signal
gettext gettext-h
stdbool stdbool
strpbrk strpbrk

View File

@@ -10,7 +10,7 @@ m4/quotearg.m4
Depends-on: Depends-on:
xalloc xalloc
gettext gettext-h
stdbool stdbool
configure.ac: configure.ac:

View File

@@ -8,7 +8,7 @@ m4/regex.m4
Depends-on: Depends-on:
alloca alloca
gettext gettext-h
restrict restrict
configure.ac: configure.ac:

View File

@@ -6,7 +6,7 @@ lib/rpmatch.c
m4/rpmatch.m4 m4/rpmatch.m4
Depends-on: Depends-on:
gettext gettext-h
regex regex
configure.ac: configure.ac:

View File

@@ -8,7 +8,7 @@ m4/unicodeio.m4
Depends-on: Depends-on:
iconv iconv
gettext gettext-h
localcharset localcharset
error error

View File

@@ -13,7 +13,7 @@ posixver
xalloc xalloc
xstrtol xstrtol
strdup strdup
gettext gettext-h
stdbool stdbool
configure.ac: configure.ac:

View File

@@ -6,7 +6,7 @@ lib/version-etc.h
lib/version-etc.c lib/version-etc.c
Depends-on: Depends-on:
gettext gettext-h
configure.ac: configure.ac:

View File

@@ -12,7 +12,7 @@ fatal-signal
error error
exit exit
xalloc xalloc
gettext gettext-h
stdbool stdbool
configure.ac: configure.ac:

View File

@@ -7,7 +7,7 @@ lib/xalloc-die.c
Depends-on: Depends-on:
xalloc xalloc
error error
gettext gettext-h
exitfail exitfail
configure.ac: configure.ac:

View File

@@ -7,7 +7,7 @@ lib/xmemcoll.c
Depends-on: Depends-on:
memcoll memcoll
gettext gettext-h
error error
quotearg quotearg
exitfail exitfail

View File

@@ -10,7 +10,7 @@ Depends-on:
setenv setenv
error error
exit exit
gettext gettext-h
configure.ac: configure.ac:
@@ -25,4 +25,3 @@ GPL
Maintainer: Maintainer:
Bruno Haible Bruno Haible