mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 00:33:03 +00:00
Update to gettext 0.10.39.
This commit is contained in:
223
ABOUT-NLS
223
ABOUT-NLS
@@ -164,102 +164,124 @@ Available Packages
|
|||||||
==================
|
==================
|
||||||
|
|
||||||
Languages are not equally supported in all packages. The following
|
Languages are not equally supported in all packages. The following
|
||||||
matrix shows the current state of internationalization, as of May 2001.
|
matrix shows the current state of internationalization, as of July
|
||||||
The matrix shows, in regard of each package, for which languages PO
|
2001. The matrix shows, in regard of each package, for which languages
|
||||||
files have been submitted to translation coordination, with a
|
PO files have been submitted to translation coordination, with a
|
||||||
translation percentage of at least 50%.
|
translation percentage of at least 50%.
|
||||||
|
|
||||||
Ready PO files bg cs da de el en eo es et fi fr gl hr id it
|
Ready PO files bg cs da de el en eo es et fi fr gl he hr id it
|
||||||
+----------------------------------------------+
|
+-------------------------------------------------+
|
||||||
a2ps | [] [] |
|
a2ps | [] [] |
|
||||||
bash | [] [] [] [] |
|
bash | [] [] [] [] |
|
||||||
bison | [] [] [] [] |
|
bfd | |
|
||||||
clisp | [] [] [] [] |
|
binutils | |
|
||||||
cpio | [] [] [] [] |
|
bison | [] [] [] [] |
|
||||||
diffutils | [] [] [] [] [] [] [] |
|
clisp | [] [] [] [] |
|
||||||
enscript | [] [] |
|
cpio | [] [] [] [] [] |
|
||||||
error | [] |
|
diffutils | [] [] [] [] [] [] [] |
|
||||||
fileutils | [] [] [] [] [] [] [] |
|
enscript | [] [] |
|
||||||
findutils | [] [] [] [] [] [] [] [] |
|
error | [] [] |
|
||||||
flex | [] [] [] |
|
fetchmail | |
|
||||||
gawk | |
|
fileutils | [] [] [] [] [] [] [] |
|
||||||
gcal | |
|
findutils | [] [] [] [] [] [] [] [] |
|
||||||
gcc | [] |
|
flex | [] [] [] |
|
||||||
gettext | [] [] [] [] [] [] [] [] [] |
|
freetype | |
|
||||||
gnupg | [] [] [] [] [] |
|
gas | |
|
||||||
grep | [] [] [] |
|
gawk | [] |
|
||||||
hello | [] [] [] [] [] [] [] [] [] |
|
gcal | |
|
||||||
id-utils | [] [] |
|
gcc | |
|
||||||
indent | [] [] [] [] [] |
|
gettext | [] [] [] [] [] [] [] [] [] |
|
||||||
libc | [] [] [] [] [] [] [] [] |
|
gnupg | [] [] [] [] [] [] |
|
||||||
lilypond | |
|
gprof | |
|
||||||
lynx | [] [] [] |
|
grep | [] [] [] [] [] [] [] |
|
||||||
m4 | [] [] [] [] [] [] [] |
|
hello | [] [] [] [] [] [] [] [] [] [] |
|
||||||
make | [] [] [] [] |
|
id-utils | [] [] [] |
|
||||||
parted | [] [] |
|
indent | [] [] [] [] [] |
|
||||||
ptx | [] [] [] [] [] [] [] |
|
jpilot | [] |
|
||||||
python | |
|
kbd | |
|
||||||
recode | [] [] [] [] [] [] [] [] |
|
ld | |
|
||||||
sed | [] [] [] [] [] [] [] [] [] |
|
libc | [] [] [] [] [] [] [] [] |
|
||||||
sh-utils | [] [] [] [] [] [] [] [] [] |
|
lilypond | |
|
||||||
sharutils | [] [] [] [] [] [] [] |
|
lynx | [] [] [] |
|
||||||
soundtracker | |
|
m4 | [] [] [] [] [] [] [] |
|
||||||
sp | |
|
make | [] [] [] [] [] |
|
||||||
tar | [] [] [] [] [] [] [] [] |
|
nano | [] [] |
|
||||||
texinfo | [] [] [] [] |
|
opcodes | |
|
||||||
textutils | [] [] [] [] [] [] [] |
|
parted | [] [] |
|
||||||
util-linux | [] |
|
ptx | [] [] [] [] [] [] [] |
|
||||||
wdiff | [] [] [] [] [] [] [] |
|
python | |
|
||||||
wget | [] [] [] [] [] [] [] [] [] |
|
recode | [] [] [] [] [] [] [] [] [] |
|
||||||
+----------------------------------------------+
|
sed | [] [] [] [] [] [] [] [] [] [] |
|
||||||
bg cs da de el en eo es et fi fr gl hr id it
|
sh-utils | [] [] [] [] [] [] [] [] [] |
|
||||||
0 14 21 27 10 1 8 20 13 1 28 17 0 9 11
|
sharutils | [] [] [] [] [] [] [] |
|
||||||
|
soundtracker | [] |
|
||||||
|
sp | |
|
||||||
|
tar | [] [] [] [] [] [] [] [] |
|
||||||
|
texinfo | [] [] [] [] [] |
|
||||||
|
textutils | [] [] [] [] [] [] [] |
|
||||||
|
util-linux | [] [] |
|
||||||
|
wdiff | [] [] |
|
||||||
|
wget | [] [] [] [] [] [] [] [] [] |
|
||||||
|
+-------------------------------------------------+
|
||||||
|
bg cs da de el en eo es et fi fr gl he hr id it
|
||||||
|
0 13 23 30 11 1 8 21 13 1 29 22 3 0 8 10
|
||||||
|
|
||||||
ja ko lv nl no pl pt pt_BR ru sk sl sv tr zh
|
ja ko lv nl no pl pt pt_BR ru sk sl sv tr uk zh
|
||||||
+----------------------------------------------+
|
+-------------------------------------------------+
|
||||||
a2ps | [] [] [] | 5
|
a2ps | [] [] [] | 5
|
||||||
bash | | 4
|
bash | | 4
|
||||||
bison | [] [] [] | 7
|
bfd | | 0
|
||||||
clisp | [] | 5
|
binutils | | 0
|
||||||
cpio | [] [] [] [] [] | 9
|
bison | [] [] [] | 7
|
||||||
diffutils | [] [] [] | 10
|
clisp | [] | 5
|
||||||
enscript | [] [] [] | 5
|
cpio | [] [] [] [] [] | 10
|
||||||
error | | 1
|
diffutils | [] [] [] | 10
|
||||||
fileutils | [] [] [] [] [] [] [] [] [] | 16
|
enscript | [] [] [] | 5
|
||||||
findutils | [] [] [] [] [] [] | 14
|
error | [] | 3
|
||||||
flex | [] [] [] | 6
|
fetchmail | | 0
|
||||||
gawk | | 0
|
fileutils | [] [] [] [] [] [] [] [] [] [] | 17
|
||||||
gcal | | 0
|
findutils | [] [] [] [] [] [] [] [] | 16
|
||||||
gcc | [] | 2
|
flex | [] [] [] | 6
|
||||||
gettext | [] [] [] [] [] [] [] [] [] [] | 19
|
freetype | | 0
|
||||||
gnupg | [] [] [] | 8
|
gas | | 0
|
||||||
grep | | 3
|
gawk | [] | 2
|
||||||
hello | [] [] [] [] [] [] [] [] | 17
|
gcal | | 0
|
||||||
id-utils | [] [] [] | 5
|
gcc | | 0
|
||||||
indent | [] [] [] [] [] [] [] | 12
|
gettext | [] [] [] [] [] [] [] [] [] | 18
|
||||||
libc | [] [] [] [] [] [] [] | 15
|
gnupg | [] [] [] [] | 10
|
||||||
lilypond | [] | 1
|
gprof | | 0
|
||||||
lynx | [] [] [] [] [] | 8
|
grep | [] [] [] | 10
|
||||||
m4 | [] [] [] [] [] | 12
|
hello | [] [] [] [] [] [] [] [] [] [] [] | 21
|
||||||
make | [] [] [] [] [] | 9
|
id-utils | [] [] [] | 6
|
||||||
parted | [] [] [] | 5
|
indent | [] [] [] [] [] [] [] | 12
|
||||||
ptx | [] [] [] [] [] [] | 13
|
jpilot | | 1
|
||||||
python | | 0
|
kbd | [] | 1
|
||||||
recode | [] [] [] | 11
|
ld | | 0
|
||||||
sed | [] [] [] [] [] [] [] | 16
|
libc | [] [] [] [] [] [] [] [] [] | 17
|
||||||
sh-utils | [] [] [] [] [] [] [] [] [] [] | 19
|
lilypond | [] [] | 2
|
||||||
sharutils | [] [] [] [] | 11
|
lynx | [] [] [] [] [] | 8
|
||||||
soundtracker | | 0
|
m4 | [] [] [] [] [] | 12
|
||||||
sp | | 0
|
make | [] [] [] [] [] [] [] | 12
|
||||||
tar | [] [] [] [] [] [] [] [] | 16
|
nano | [] | 3
|
||||||
texinfo | [] [] | 6
|
opcodes | | 0
|
||||||
textutils | [] [] [] [] [] [] [] [] | 15
|
parted | [] [] [] | 5
|
||||||
util-linux | [] | 2
|
ptx | [] [] [] [] [] [] [] | 14
|
||||||
wdiff | [] [] [] [] [] | 12
|
python | | 0
|
||||||
wget | [] [] [] [] [] [] [] [] | 17
|
recode | [] [] [] [] | 13
|
||||||
+----------------------------------------------+
|
sed | [] [] [] [] [] [] [] [] | 18
|
||||||
29 teams ja ko lv nl no pl pt pt_BR ru sk sl sv tr zh
|
sh-utils | [] [] [] [] [] [] [] [] [] [] [] | 20
|
||||||
40 domains 18 8 0 23 6 16 1 15 26 9 9 20 2 3 336
|
sharutils | [] [] [] [] | 11
|
||||||
|
soundtracker | | 1
|
||||||
|
sp | | 0
|
||||||
|
tar | [] [] [] [] [] [] [] [] [] | 17
|
||||||
|
texinfo | [] [] | 7
|
||||||
|
textutils | [] [] [] [] [] [] [] [] | 15
|
||||||
|
util-linux | [] [] | 4
|
||||||
|
wdiff | [] [] [] | 5
|
||||||
|
wget | [] [] [] [] [] [] [] | 16
|
||||||
|
+-------------------------------------------------+
|
||||||
|
31 teams ja ko lv nl no pl pt pt_BR ru sk sl sv tr uk zh
|
||||||
|
51 domains 17 9 1 23 6 17 1 13 26 9 11 20 19 2 2 369
|
||||||
|
|
||||||
Some counters in the preceding matrix are higher than the number of
|
Some counters in the preceding matrix are higher than the number of
|
||||||
visible blocks let us expect. This is because a few extra PO files are
|
visible blocks let us expect. This is because a few extra PO files are
|
||||||
@@ -272,7 +294,7 @@ distributed as such by its maintainer. There might be an observable
|
|||||||
lag between the mere existence a PO file and its wide availability in a
|
lag between the mere existence a PO file and its wide availability in a
|
||||||
distribution.
|
distribution.
|
||||||
|
|
||||||
If May 2001 seems to be old, you may fetch a more recent copy of
|
If July 2001 seems to be old, you may fetch a more recent copy of
|
||||||
this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date
|
this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date
|
||||||
matrix with full percentage details can be found at
|
matrix with full percentage details can be found at
|
||||||
`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'.
|
`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'.
|
||||||
@@ -282,13 +304,14 @@ Using `gettext' in new packages
|
|||||||
|
|
||||||
If you are writing a freely available program and want to
|
If you are writing a freely available program and want to
|
||||||
internationalize it you are welcome to use GNU `gettext' in your
|
internationalize it you are welcome to use GNU `gettext' in your
|
||||||
package. Of course the GNU Public License applies to your sources from
|
package. Of course the GNU General Public License applies to your
|
||||||
then if you include `gettext' directly in your distribution on but
|
sources from then on if you include `gettext' directly in your
|
||||||
since you are writing free software anyway this is no restriction.
|
distribution but since you are writing free software anyway this is no
|
||||||
|
restriction.
|
||||||
|
|
||||||
Once the sources are change appropriately and the setup can handle to
|
Once the sources are changed appropriately and the setup can handle
|
||||||
use of `gettext' the only thing missing are the translations. The Free
|
to use of `gettext' the only thing missing are the translations. The
|
||||||
Translation Project is also available for packages which are not
|
Free Translation Project is also available for packages which are not
|
||||||
developed inside the GNU project. Therefore the information given above
|
developed inside the GNU project. Therefore the information given above
|
||||||
applies also for every other Free Software Project. Contact
|
applies also for every other Free Software Project. Contact
|
||||||
`translation@iro.umontreal.ca' to make the `.pot' files available to
|
`translation@iro.umontreal.ca' to make the `.pot' files available to
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2001-08-03 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
Update to gettext 0.10.39.
|
||||||
|
|
||||||
2001-08-03 Akim Demaille <akim@epita.fr>
|
2001-08-03 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* lib/strspn.c: New.
|
* lib/strspn.c: New.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
2001-05-23 GNU <bug-gnu-utils@gnu.org>
|
2001-07-24 GNU <bug-gnu-utils@gnu.org>
|
||||||
|
|
||||||
* Version 0.10.38 released.
|
* Version 0.10.39 released.
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
GNU gettext library from gettext-0.10.38
|
GNU gettext library from gettext-0.10.39
|
||||||
|
|||||||
@@ -80,10 +80,10 @@
|
|||||||
# EUC-KR glibc aix hpux irix osf solaris freebsd yes
|
# EUC-KR glibc aix hpux irix osf solaris freebsd yes
|
||||||
# EUC-TW glibc aix hpux irix osf solaris
|
# EUC-TW glibc aix hpux irix osf solaris
|
||||||
# BIG5 glibc aix hpux osf solaris freebsd yes
|
# BIG5 glibc aix hpux osf solaris freebsd yes
|
||||||
# BIG5HKSCS glibc
|
# BIG5-HKSCS glibc
|
||||||
# GBK aix osf win32 dos
|
# GBK aix osf win32 dos
|
||||||
# GB18030 glibc
|
# GB18030 glibc
|
||||||
# SJIS hpux osf solaris freebsd
|
# SHIFT_JIS hpux osf solaris freebsd yes
|
||||||
# JOHAB glibc win32
|
# JOHAB glibc win32
|
||||||
# TIS-620 glibc aix hpux osf solaris
|
# TIS-620 glibc aix hpux osf solaris
|
||||||
# VISCII glibc yes
|
# VISCII glibc yes
|
||||||
@@ -174,7 +174,7 @@ case "$os" in
|
|||||||
echo "eucTW EUC-TW"
|
echo "eucTW EUC-TW"
|
||||||
echo "hp15CN GB2312"
|
echo "hp15CN GB2312"
|
||||||
#echo "ccdc ?" # what is this?
|
#echo "ccdc ?" # what is this?
|
||||||
echo "SJIS SJIS"
|
echo "SJIS SHIFT_JIS"
|
||||||
echo "utf8 UTF-8"
|
echo "utf8 UTF-8"
|
||||||
;;
|
;;
|
||||||
irix*)
|
irix*)
|
||||||
@@ -209,7 +209,7 @@ case "$os" in
|
|||||||
echo "GBK GBK"
|
echo "GBK GBK"
|
||||||
echo "KSC5601 CP949"
|
echo "KSC5601 CP949"
|
||||||
echo "sdeckanji EUC-JP"
|
echo "sdeckanji EUC-JP"
|
||||||
echo "SJIS SJIS"
|
echo "SJIS SHIFT_JIS"
|
||||||
echo "TACTIS TIS-620"
|
echo "TACTIS TIS-620"
|
||||||
echo "UTF-8 UTF-8"
|
echo "UTF-8 UTF-8"
|
||||||
;;
|
;;
|
||||||
@@ -230,7 +230,7 @@ case "$os" in
|
|||||||
echo "cns11643 EUC-TW"
|
echo "cns11643 EUC-TW"
|
||||||
echo "5601 EUC-KR"
|
echo "5601 EUC-KR"
|
||||||
echo "eucJP EUC-JP"
|
echo "eucJP EUC-JP"
|
||||||
echo "PCK SJIS"
|
echo "PCK SHIFT_JIS"
|
||||||
echo "TIS620.2533 TIS-620"
|
echo "TIS620.2533 TIS-620"
|
||||||
#echo "sun_eu_greek ?" # what is this?
|
#echo "sun_eu_greek ?" # what is this?
|
||||||
echo "UTF-8 UTF-8"
|
echo "UTF-8 UTF-8"
|
||||||
@@ -266,8 +266,8 @@ case "$os" in
|
|||||||
echo "zh_TW.Big5 BIG5"
|
echo "zh_TW.Big5 BIG5"
|
||||||
echo "zh_CN.EUC GB2312"
|
echo "zh_CN.EUC GB2312"
|
||||||
echo "ja_JP.EUC EUC-JP"
|
echo "ja_JP.EUC EUC-JP"
|
||||||
echo "ja_JP.SJIS SJIS"
|
echo "ja_JP.SJIS SHIFT_JIS"
|
||||||
echo "ja_JP.Shift_JIS SJIS"
|
echo "ja_JP.Shift_JIS SHIFT_JIS"
|
||||||
echo "ko_KR.EUC EUC-KR"
|
echo "ko_KR.EUC EUC-KR"
|
||||||
;;
|
;;
|
||||||
beos*)
|
beos*)
|
||||||
|
|||||||
@@ -517,6 +517,7 @@ DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category)
|
|||||||
/* We cannot get the current working directory. Don't signal an
|
/* We cannot get the current working directory. Don't signal an
|
||||||
error but simply return the default string. */
|
error but simply return the default string. */
|
||||||
FREE_BLOCKS (block_list);
|
FREE_BLOCKS (block_list);
|
||||||
|
__libc_rwlock_unlock (_nl_state_lock);
|
||||||
__set_errno (saved_errno);
|
__set_errno (saved_errno);
|
||||||
return (plural == 0
|
return (plural == 0
|
||||||
? (char *) msgid1
|
? (char *) msgid1
|
||||||
|
|||||||
@@ -75,13 +75,13 @@
|
|||||||
/* Pointer to the contents of the charset.alias file, if it has already been
|
/* Pointer to the contents of the charset.alias file, if it has already been
|
||||||
read, else NULL. Its format is:
|
read, else NULL. Its format is:
|
||||||
ALIAS_1 '\0' CANONICAL_1 '\0' ... ALIAS_n '\0' CANONICAL_n '\0' '\0' */
|
ALIAS_1 '\0' CANONICAL_1 '\0' ... ALIAS_n '\0' CANONICAL_n '\0' '\0' */
|
||||||
static char * volatile charset_aliases;
|
static const char * volatile charset_aliases;
|
||||||
|
|
||||||
/* Return a pointer to the contents of the charset.alias file. */
|
/* Return a pointer to the contents of the charset.alias file. */
|
||||||
static const char *
|
static const char *
|
||||||
get_charset_aliases ()
|
get_charset_aliases ()
|
||||||
{
|
{
|
||||||
char *cp;
|
const char *cp;
|
||||||
|
|
||||||
cp = charset_aliases;
|
cp = charset_aliases;
|
||||||
if (cp == NULL)
|
if (cp == NULL)
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
atconfig.m4 \
|
atconfig.m4 \
|
||||||
error.m4 \
|
|
||||||
iconv.m4 \
|
|
||||||
m4.m4 \
|
|
||||||
prereq.m4 \
|
|
||||||
strerror_r.m4 \
|
|
||||||
c-bs-a.m4 \
|
c-bs-a.m4 \
|
||||||
gettext.m4 \
|
|
||||||
isc-posix.m4 \
|
|
||||||
malloc.m4 \
|
|
||||||
progtest.m4 \
|
|
||||||
warning.m4 \
|
|
||||||
codeset.m4 \
|
codeset.m4 \
|
||||||
|
error.m4 \
|
||||||
|
gettext.m4 \
|
||||||
glibc21.m4 \
|
glibc21.m4 \
|
||||||
|
iconv.m4 \
|
||||||
|
isc-posix.m4 \
|
||||||
lcmessage.m4 \
|
lcmessage.m4 \
|
||||||
|
m4.m4 \
|
||||||
|
malloc.m4 \
|
||||||
mbstate_t.m4 \
|
mbstate_t.m4 \
|
||||||
realloc.m4
|
prereq.m4 \
|
||||||
|
progtest.m4 \
|
||||||
|
realloc.m4 \
|
||||||
|
strerror_r.m4 \
|
||||||
|
warning.m4
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ USE_NLS = @USE_NLS@
|
|||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
WARNING_CFLAGS = @WARNING_CFLAGS@
|
WARNING_CFLAGS = @WARNING_CFLAGS@
|
||||||
|
|
||||||
EXTRA_DIST = atconfig.m4 error.m4 iconv.m4 m4.m4 prereq.m4 strerror_r.m4 c-bs-a.m4 gettext.m4 isc-posix.m4 malloc.m4 progtest.m4 warning.m4 codeset.m4 glibc21.m4 lcmessage.m4 mbstate_t.m4 realloc.m4
|
EXTRA_DIST = atconfig.m4 c-bs-a.m4 codeset.m4 error.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 m4.m4 malloc.m4 mbstate_t.m4 prereq.m4 progtest.m4 realloc.m4 strerror_r.m4 warning.m4
|
||||||
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
|
||||||
CONFIG_HEADER = ../config.h
|
CONFIG_HEADER = ../config.h
|
||||||
|
|||||||
@@ -2,11 +2,13 @@
|
|||||||
# Ulrich Drepper <drepper@cygnus.com>, 1995.
|
# Ulrich Drepper <drepper@cygnus.com>, 1995.
|
||||||
#
|
#
|
||||||
# This file can be copied and used freely without restrictions. It can
|
# This file can be copied and used freely without restrictions. It can
|
||||||
# be used in projects which are not available under the GNU Public License
|
# be used in projects which are not available under the GNU General Public
|
||||||
# but which still want to provide support for the GNU gettext functionality.
|
# License but which still want to provide support for the GNU gettext
|
||||||
# Please note that the actual code is *not* freely available.
|
# functionality.
|
||||||
|
# Please note that the actual code of GNU gettext is covered by the GNU
|
||||||
|
# General Public License and is *not* in the public domain.
|
||||||
|
|
||||||
# serial 9
|
# serial 10
|
||||||
|
|
||||||
dnl Usage: AM_WITH_NLS([TOOLSYMBOL], [NEEDSYMBOL], [LIBDIR]).
|
dnl Usage: AM_WITH_NLS([TOOLSYMBOL], [NEEDSYMBOL], [LIBDIR]).
|
||||||
dnl If TOOLSYMBOL is specified and is 'use-libtool', then a libtool library
|
dnl If TOOLSYMBOL is specified and is 'use-libtool', then a libtool library
|
||||||
@@ -117,14 +119,14 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", ""
|
|||||||
AC_CHECK_FUNCS(dcgettext)
|
AC_CHECK_FUNCS(dcgettext)
|
||||||
LIBS="$gt_save_LIBS"
|
LIBS="$gt_save_LIBS"
|
||||||
|
|
||||||
|
dnl Search for GNU msgfmt in the PATH.
|
||||||
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
|
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
|
||||||
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
|
[$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1], :)
|
||||||
if test "$MSGFMT" != "no"; then
|
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
|
||||||
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
dnl Search for GNU xgettext in the PATH.
|
||||||
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
|
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
|
||||||
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
|
[$ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1], :)
|
||||||
|
|
||||||
CATOBJEXT=.gmo
|
CATOBJEXT=.gmo
|
||||||
fi
|
fi
|
||||||
@@ -141,10 +143,10 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", ""
|
|||||||
dnl Mark actions used to generate GNU NLS library.
|
dnl Mark actions used to generate GNU NLS library.
|
||||||
INTLOBJS="\$(GETTOBJS)"
|
INTLOBJS="\$(GETTOBJS)"
|
||||||
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
|
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
|
||||||
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt)
|
[$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1], :)
|
||||||
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
|
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
|
||||||
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
|
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
|
||||||
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
|
[$ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1], :)
|
||||||
AC_SUBST(MSGFMT)
|
AC_SUBST(MSGFMT)
|
||||||
BUILD_INCLUDED_LIBINTL=yes
|
BUILD_INCLUDED_LIBINTL=yes
|
||||||
USE_INCLUDED_LIBINTL=yes
|
USE_INCLUDED_LIBINTL=yes
|
||||||
@@ -153,11 +155,26 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", ""
|
|||||||
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
|
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
|
||||||
|
dnl Test whether we really found GNU msgfmt.
|
||||||
|
if test "$GMSGFMT" != ":"; then
|
||||||
|
dnl If it is no GNU msgfmt we define it as : so that the
|
||||||
|
dnl Makefiles still can work.
|
||||||
|
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
|
||||||
|
: ;
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(
|
||||||
|
[found msgfmt program is not GNU msgfmt; ignore it])
|
||||||
|
GMSGFMT=":"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
|
||||||
dnl Test whether we really found GNU xgettext.
|
dnl Test whether we really found GNU xgettext.
|
||||||
if test "$XGETTEXT" != ":"; then
|
if test "$XGETTEXT" != ":"; then
|
||||||
dnl If it is no GNU xgettext we define it as : so that the
|
dnl If it is no GNU xgettext we define it as : so that the
|
||||||
dnl Makefiles still can work.
|
dnl Makefiles still can work.
|
||||||
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
|
if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then
|
||||||
: ;
|
: ;
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(
|
AC_MSG_RESULT(
|
||||||
@@ -181,6 +198,8 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", ""
|
|||||||
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
|
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
|
||||||
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
|
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
|
||||||
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
|
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
|
||||||
|
# In autoconf-2.13 it is called $ac_given_srcdir.
|
||||||
|
# In autoconf-2.50 it is called $srcdir.
|
||||||
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
|
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
|
||||||
case "$ac_given_srcdir" in
|
case "$ac_given_srcdir" in
|
||||||
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
|
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
|
||||||
|
|||||||
@@ -2,9 +2,11 @@
|
|||||||
# Ulrich Drepper <drepper@cygnus.com>, 1995.
|
# Ulrich Drepper <drepper@cygnus.com>, 1995.
|
||||||
#
|
#
|
||||||
# This file can be copied and used freely without restrictions. It can
|
# This file can be copied and used freely without restrictions. It can
|
||||||
# be used in projects which are not available under the GNU Public License
|
# be used in projects which are not available under the GNU General Public
|
||||||
# but which still want to provide support for the GNU gettext functionality.
|
# License but which still want to provide support for the GNU gettext
|
||||||
# Please note that the actual code is *not* freely available.
|
# functionality.
|
||||||
|
# Please note that the actual code of GNU gettext is covered by the GNU
|
||||||
|
# General Public License and is *not* in the public domain.
|
||||||
|
|
||||||
# serial 2
|
# serial 2
|
||||||
|
|
||||||
|
|||||||
@@ -2,11 +2,13 @@
|
|||||||
# Ulrich Drepper <drepper@cygnus.com>, 1996.
|
# Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
#
|
#
|
||||||
# This file can be copied and used freely without restrictions. It can
|
# This file can be copied and used freely without restrictions. It can
|
||||||
# be used in projects which are not available under the GNU Public License
|
# be used in projects which are not available under the GNU General Public
|
||||||
# but which still want to provide support for the GNU gettext functionality.
|
# License but which still want to provide support for the GNU gettext
|
||||||
# Please note that the actual code is *not* freely available.
|
# functionality.
|
||||||
|
# Please note that the actual code of GNU gettext is covered by the GNU
|
||||||
|
# General Public License and is *not* in the public domain.
|
||||||
|
|
||||||
# serial 1
|
# serial 2
|
||||||
|
|
||||||
dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
|
dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
|
||||||
dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
|
dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
|
||||||
@@ -38,7 +40,7 @@ ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
|
|||||||
;;
|
;;
|
||||||
esac])dnl
|
esac])dnl
|
||||||
$1="$ac_cv_path_$1"
|
$1="$ac_cv_path_$1"
|
||||||
if test -n "[$]$1"; then
|
if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
|
||||||
AC_MSG_RESULT([$]$1)
|
AC_MSG_RESULT([$]$1)
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Copyright (C) 1995-1997, 2000, 2001 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
|
# Copyright (C) 1995-1997, 2000, 2001 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
|
||||||
#
|
#
|
||||||
# This file file be copied and used freely without restrictions. It can
|
# This file file be copied and used freely without restrictions. It can
|
||||||
# be used in projects which are not available under the GNU Public License
|
# be used in projects which are not available under the GNU General Public License
|
||||||
# but which still want to provide support for the GNU gettext functionality.
|
# but which still want to provide support for the GNU gettext functionality.
|
||||||
# Please note that the actual code is *not* freely available.
|
# Please note that the actual code is *not* freely available.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user