From: Bruno Haible
Date: Tue, 12 Mar 2002 20:30:44 +0000 (+0000)
Subject: Regenerated.
X-Git-Tag: v0.11.1~6
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbfb2155e1d62ac1d59f1a49f95c111181fe9f2c;p=thirdparty%2Fgettext.git
Regenerated.
---
diff --git a/ABOUT-NLS b/ABOUT-NLS
index f08339563..022965c6a 100644
--- a/ABOUT-NLS
+++ b/ABOUT-NLS
@@ -171,7 +171,7 @@ Available Packages
==================
Languages are not equally supported in all packages. The following
-matrix shows the current state of internationalization, as of January
+matrix shows the current state of internationalization, as of March
2002. The matrix shows, in regard of each package, for which languages
PO files have been submitted to translation coordination, with a
translation percentage of at least 50%.
@@ -191,21 +191,21 @@ translation percentage of at least 50%.
fetchmail | () [] [] [] () |
fileutils | [] [] [] [] [] |
findutils | [] [] [] [] [] |
- flex | [] [] [] |
- gas | [] |
+ flex | [] [] [] [] |
+ gas | [] [] |
gawk | [] [] |
gcal | [] [] |
gcc | [] [] |
gettext | [] [] [] [] [] |
gnupg | [] [] [] [] [] [] |
gprof | [] [] |
- grep | [] [] [] [] [] [] |
+ grep | [] [] [] [] [] [] |
hello | [] [] [] [] [] [] [] [] |
id-utils | [] [] [] |
- indent | [] [] [] [] |
+ indent | [] [] [] [] [] |
jpilot | () [] [] [] |
jwhois | [] [] |
- kbd | [] |
+ kbd | [] [] |
ld | [] [] |
libc | [] [] [] [] [] [] [] |
lilypond | [] [] |
@@ -228,13 +228,14 @@ translation percentage of at least 50%.
sp | |
tar | [] [] [] [] [] [] |
texinfo | [] [] [] [] [] |
- textutils | [] [] [] [] |
+ textutils | [] [] [] [] [] |
util-linux | [] [] [] [] |
+ vorbis-tools | |
wdiff | [] [] [] [] [] |
wget | [] [] [] [] [] [] [] [] |
+-------------------------------------+
bg ca cs da de el en eo es et fi fr
- 0 8 12 31 36 9 1 9 37 15 1 49
+ 1 12 11 31 36 9 1 8 39 15 1 50
gl he hr hu id it ja ko lv nb nl nn
+-------------------------------------+
@@ -242,25 +243,25 @@ translation percentage of at least 50%.
bash | |
bfd | [] |
binutils | [] |
- bison | [] |
+ bison | [] [] |
clisp | [] |
cpio | [] [] [] |
- diffutils | [] [] |
+ diffutils | [] [] [] |
enscript | [] |
error | [] |
fetchmail | |
- fileutils | [] [] |
+ fileutils | [] [] [] |
findutils | [] [] [] [] [] [] |
flex | [] |
gas | |
gawk | [] |
gcal | |
- gcc | [] |
+ gcc | |
gettext | [] |
gnupg | [] [] [] |
gprof | |
- grep | [] [] |
- hello | [] [] [] [] [] [] [] [] [] |
+ grep | [] |
+ hello | [] [] [] [] [] [] [] [] [] [] |
id-utils | [] |
indent | [] [] [] |
jpilot | () () |
@@ -273,9 +274,9 @@ translation percentage of at least 50%.
m4 | [] [] [] [] |
make | [] [] [] [] |
mysecretdiary | |
- nano | [] [] [] () () [] |
- nano_1_0 | [] [] [] () () [] |
- opcodes | |
+ nano | [] [] [] () [] () [] |
+ nano_1_0 | [] [] [] () [] () [] |
+ opcodes | [] |
parted | [] [] [] |
ptx | [] [] [] [] |
python | |
@@ -287,74 +288,76 @@ translation percentage of at least 50%.
soundtracker | [] |
sp | |
tar | [] [] [] |
- texinfo | [] [] [] |
+ texinfo | [] [] |
textutils | [] [] |
util-linux | () [] |
+ vorbis-tools | |
wdiff | |
wget | [] [] [] [] [] |
+-------------------------------------+
gl he hr hu id it ja ko lv nb nl nn
- 20 6 1 3 6 11 22 9 1 6 17 4
+ 19 7 0 4 6 11 22 9 1 8 19 4
- no pl pt pt_BR ru sk sl sv tr uk zh
- +-------------------------------------+
- a2ps | () () () [] [] [] () | 8
- bash | | 4
- bfd | [] [] | 5
- binutils | [] | 4
- bison | [] [] [] | 7
- clisp | | 5
- cpio | [] [] [] [] | 11
- diffutils | [] [] [] | 11
- enscript | [] [] [] | 6
- error | [] [] | 5
- fetchmail | () () | 3
- fileutils | [] [] [] [] | 11
- findutils | [] [] [] [] [] [] | 17
- flex | [] [] | 6
- gas | [] | 2
- gawk | [] [] | 5
- gcal | [] | 3
- gcc | [] | 4
- gettext | [] [] [] [] | 10
- gnupg | [] [] [] | 12
- gprof | [] [] | 4
- grep | [] [] [] [] [] | 13
- hello | [] [] [] [] [] [] [] | 24
- id-utils | [] [] | 6
- indent | [] [] [] [] | 11
- jpilot | () () | 3
- jwhois | () () | 2
- kbd | [] [] | 3
- ld | [] [] | 4
- libc | [] [] [] [] [] [] | 17
- lilypond | [] | 5
- lynx | [] [] [] | 9
- m4 | [] [] [] | 12
- make | [] [] [] [] | 12
- mysecretdiary | [] | 3
- nano | () [] [] [] | 12
- nano_1_0 | () [] [] [] | 12
- opcodes | [] [] | 5
- parted | [] [] [] | 10
- ptx | [] [] [] [] [] [] | 15
- python | | 0
- recode | [] [] [] [] | 13
- sed | [] [] [] [] [] [] | 21
- sh-utils | [] [] [] [] [] [] [] [] [] | 22
- sharutils | [] [] | 11
- sketch | () | 1
- soundtracker | | 4
- sp | | 0
- tar | [] [] [] [] [] [] [] | 16
- texinfo | [] [] | 10
- textutils | [] [] | 8
- util-linux | [] [] [] | 8
- wdiff | [] [] [] [] | 9
- wget | [] [] [] [] [] [] | 19
- +-------------------------------------+
- 35 teams no pl pt pt_BR ru sk sl sv tr uk zh
- 54 domains 5 12 2 11 25 10 11 39 29 4 1 463
+ no pl pt pt_BR ru sk sl sv tr uk zh_TW
+ +----------------------------------------+
+ a2ps | () () () [] [] [] () | 8
+ bash | | 4
+ bfd | [] [] | 5
+ binutils | [] | 4
+ bison | [] [] [] | 8
+ clisp | | 5
+ cpio | [] [] [] [] | 11
+ diffutils | [] [] [] [] [] | 14
+ enscript | [] [] [] | 6
+ error | [] [] [] | 6
+ fetchmail | () () [] | 4
+ fileutils | [] [] [] [] | 12
+ findutils | [] [] [] [] [] [] [] | 18
+ flex | [] [] [] | 8
+ gas | [] | 3
+ gawk | [] [] | 5
+ gcal | [] [] | 4
+ gcc | [] | 3
+ gettext | [] [] [] [] | 10
+ gnupg | [] [] [] | 12
+ gprof | [] [] | 4
+ grep | [] [] [] | 10
+ hello | [] [] [] [] [] [] [] | 25
+ id-utils | [] [] | 6
+ indent | [] [] [] [] | 12
+ jpilot | () () | 3
+ jwhois | () () [] | 3
+ kbd | [] [] | 4
+ ld | [] [] | 4
+ libc | [] [] [] [] [] [] | 17
+ lilypond | [] | 5
+ lynx | [] [] [] | 9
+ m4 | [] [] [] | 12
+ make | [] [] [] [] | 12
+ mysecretdiary | [] [] | 4
+ nano | () [] [] [] [] | 14
+ nano_1_0 | () [] [] [] | 13
+ opcodes | [] [] | 6
+ parted | [] [] [] | 10
+ ptx | [] [] [] [] [] [] | 15
+ python | | 0
+ recode | [] [] [] [] | 13
+ sed | [] [] [] [] [] [] | 21
+ sh-utils | [] [] [] [] [] [] [] [] [] | 22
+ sharutils | [] [] [] | 12
+ sketch | [] () | 3
+ soundtracker | [] | 5
+ sp | | 0
+ tar | [] [] [] [] [] [] [] | 16
+ texinfo | [] [] [] | 10
+ textutils | [] [] [] [] | 11
+ util-linux | [] [] [] | 8
+ vorbis-tools | [] | 1
+ wdiff | [] [] [] [] | 9
+ wget | [] [] [] [] [] [] [] | 20
+ +----------------------------------------+
+ 35 teams no pl pt pt_BR ru sk sl sv tr uk zh_TW
+ 55 domains 5 13 2 12 25 11 11 41 34 4 7 489
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
@@ -367,7 +370,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
distribution.
- If January 2002 seems to be old, you may fetch a more recent copy of
+ If March 2002 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
matrix with full percentage details can be found at
`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'.
diff --git a/Makefile.in b/Makefile.in
index 971a7de7d..db84e8628 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -107,6 +107,7 @@ LD = @LD@
LEX = @LEX@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LIB = @LIB@
+LIBEXPAT = @LIBEXPAT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
@@ -114,6 +115,7 @@ LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTALLOCA = @LTALLOCA@
LTLIB = @LTLIB@
+LTLIBEXPAT = @LTLIBEXPAT@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
@@ -142,19 +144,20 @@ with_gnu_ld = @with_gnu_ld@
AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
ACLOCAL_AMFLAGS = -I m4
+MAKEINFO = env LANG= LANGUAGE= @MAKEINFO@
+
gettextsrcdir = $(datadir)/gettext
gettextsrc_DATA = ABOUT-NLS
gettextsrc_SCRIPTS = config.rpath
-SUBDIRS = doc intl intl-java lib src po man m4 projects misc tests
+SUBDIRS = doc intl intl-java lib libuniname src po man m4 projects misc tests
EXTRA_DIST = config.rpath BUGS DISCLAIM PACKAGING README.gemtext \
djgpp/Makefile.maint djgpp/README.in djgpp/README \
djgpp/config.bat djgpp/config.in djgpp/config.sed \
djgpp/config.site djgpp/edtests.bat djgpp/fnchange.in \
djgpp/fnchange.lst djgpp/tscript.sed \
- os2/README.OS2 os2/Makefile os2/backward.def \
- os2/iconv/README os2/configure.awk
+ os2/README.OS2 os2/Makefile os2/backward.def os2/configure.awk
@@ -389,7 +392,7 @@ GZIP_ENV = --best
distdir: $(DISTFILES)
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
mkdir $(distdir)
- $(mkinstalldirs) $(distdir)/djgpp $(distdir)/intl $(distdir)/lib $(distdir)/man $(distdir)/misc $(distdir)/os2 $(distdir)/os2/iconv $(distdir)/po $(distdir)/src
+ $(mkinstalldirs) $(distdir)/djgpp $(distdir)/intl $(distdir)/lib $(distdir)/man $(distdir)/misc $(distdir)/os2 $(distdir)/po $(distdir)/src
@for file in $(DISTFILES); do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
diff --git a/aclocal.m4 b/aclocal.m4
index bba8f60f4..aec67887f 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -581,7 +581,7 @@ AC_DEFUN([gt_PROG_LEX],
AC_SUBST(LEX_OUTPUT_ROOT)
])
-# javacomp.m4 serial 1 (gettext-0.11)
+# javacomp.m4 serial 2 (gettext-0.11.1)
dnl Copyright (C) 2001-2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
@@ -613,6 +613,7 @@ AC_DEFUN([gt_JAVACOMP],
popdef([AC_MSG_RESULT])dnl
popdef([AC_CHECKING])dnl
popdef([AC_MSG_CHECKING])dnl
+changequote(,)dnl
if test -n "$HAVE_GCJ_IN_PATH" \
&& gcj --version 2>/dev/null | grep '^[3-9]' >/dev/null; then
HAVE_GCJ=1
@@ -648,6 +649,7 @@ EOF
fi
fi
fi
+changequote([,])dnl
fi
AC_MSG_RESULT([$ac_result])
AC_SUBST(JAVAC)
@@ -759,6 +761,7 @@ AC_DEFUN([AC_ISC_POSIX],
builtin([undefine],[symbols])
# serial 46 AC_PROG_LIBTOOL
+
AC_DEFUN([AC_PROG_LIBTOOL],
[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
@@ -884,9 +887,30 @@ _LT_AC_LTCONFIG_HACK
])
+# AC_LIBTOOL_HEADER_ASSERT
+# ------------------------
+AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT],
+[AC_CACHE_CHECK([whether $CC supports assert without backlinking],
+ [lt_cv_func_assert_works],
+ [case $host in
+ *-*-solaris*)
+ if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
+ case `$CC --version 2>/dev/null` in
+ [[12]].*) lt_cv_func_assert_works=no ;;
+ *) lt_cv_func_assert_works=yes ;;
+ esac
+ fi
+ ;;
+ esac])
+
+if test "x$lt_cv_func_assert_works" = xyes; then
+ AC_CHECK_HEADERS(assert.h)
+fi
+])# AC_LIBTOOL_HEADER_ASSERT
+
# _LT_AC_CHECK_DLFCN
# --------------------
-AC_DEFUN(_LT_AC_CHECK_DLFCN,
+AC_DEFUN([_LT_AC_CHECK_DLFCN],
[AC_CHECK_HEADERS(dlfcn.h)
])# _LT_AC_CHECK_DLFCN
@@ -904,10 +928,10 @@ AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
# Character class describing NM global symbol codes.
-[symcode='[BCDEGRST]']
+symcode='[[BCDEGRST]]'
# Regexp to match symbols that can be accessed directly from C.
-[sympat='\([_A-Za-z][_A-Za-z0-9]*\)']
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
# Transform the above into a raw symbol and a C symbol.
symxfrm='\1 \2\3 \3'
@@ -915,25 +939,29 @@ symxfrm='\1 \2\3 \3'
# Transform an extracted symbol line into a proper C declaration
lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
+
# Define system-specific variables.
case $host_os in
aix*)
- [symcode='[BCDT]']
+ symcode='[[BCDT]]'
;;
cygwin* | mingw* | pw32*)
- [symcode='[ABCDGISTW]']
+ symcode='[[ABCDGISTW]]'
;;
hpux*) # Its linker distinguishes data from code symbols
lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+ lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
;;
irix*)
- [symcode='[BCDEGRST]']
+ symcode='[[BCDEGRST]]'
;;
solaris* | sysv5*)
- [symcode='[BDT]']
+ symcode='[[BDT]]'
;;
sysv4)
- [symcode='[DFNSTU]']
+ symcode='[[DFNSTU]]'
;;
esac
@@ -947,14 +975,14 @@ esac
# If we're using GNU nm, then use its standard symbol codes.
if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
- [symcode='[ABCDGISTW]']
+ symcode='[[ABCDGISTW]]'
fi
# Try without a prefix undercore, then with it.
for ac_symprfx in "" "_"; do
# Write the raw and C identifiers.
-[lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"]
+lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
# Check to see that the pipe works correctly.
pipe_works=no
@@ -996,23 +1024,23 @@ EOF
cat <> conftest.$ac_ext
#if defined (__STDC__) && __STDC__
-# define lt_ptr_t void *
+# define lt_ptr void *
#else
-# define lt_ptr_t char *
+# define lt_ptr char *
# define const
#endif
/* The mapping between symbol names and symbols. */
const struct {
const char *name;
- lt_ptr_t address;
+ lt_ptr address;
}
-[lt_preloaded_symbols[] =]
+lt_preloaded_symbols[[]] =
{
EOF
- sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
+ sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
cat <<\EOF >> conftest.$ac_ext
- {0, (lt_ptr_t) 0}
+ {0, (lt_ptr) 0}
};
#ifdef __cplusplus
@@ -1056,10 +1084,13 @@ done
global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
if test -z "$lt_cv_sys_global_symbol_pipe"; then
global_symbol_to_cdecl=
+ global_symbol_to_c_name_address=
else
global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
+ global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
fi
-if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
+if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
+then
AC_MSG_RESULT(failed)
else
AC_MSG_RESULT(ok)
@@ -1077,16 +1108,17 @@ if test "X${PATH_SEPARATOR+set}" != Xset; then
*-DOS) lt_cv_sys_path_separator=';' ;;
*) lt_cv_sys_path_separator=':' ;;
esac
+ PATH_SEPARATOR=$lt_cv_sys_path_separator
fi
])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
# _LT_AC_PROG_ECHO_BACKSLASH
# --------------------------
# Add some code to the start of the generated configure script which
-# will find an echo command which doesn;t interpret backslashes.
+# will find an echo command which doesn't interpret backslashes.
AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
- [AC_DIVERT_PUSH(NOTICE)])
+ [AC_DIVERT_PUSH(NOTICE)])
_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
# Check that we are running under the correct shell.
@@ -1152,7 +1184,7 @@ else
#
# So, first we look for a working echo in the user's PATH.
- IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
+ IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
for dir in $PATH /usr/ucb; do
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
@@ -1241,7 +1273,7 @@ AC_DIVERT_POP
# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
# ------------------------------------------------------------------
-AC_DEFUN(_LT_AC_TRY_DLOPEN_SELF,
+AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
[if test "$cross_compiling" = yes; then :
[$4]
else
@@ -1328,7 +1360,7 @@ rm -fr conftest*
# AC_LIBTOOL_DLOPEN_SELF
# -------------------
-AC_DEFUN(AC_LIBTOOL_DLOPEN_SELF,
+AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
[if test "x$enable_dlopen" != xyes; then
enable_dlopen=unknown
enable_dlopen_self=unknown
@@ -1350,16 +1382,22 @@ else
;;
*)
- AC_CHECK_LIB(dl, dlopen, [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
- [AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen",
- [AC_CHECK_FUNC(shl_load, lt_cv_dlopen="shl_load",
- [AC_CHECK_LIB(svld, dlopen,
- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
- [AC_CHECK_LIB(dld, shl_load,
- [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
+ AC_CHECK_FUNC([shl_load],
+ [lt_cv_dlopen="shl_load"],
+ [AC_CHECK_LIB([dld], [shl_load],
+ [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
+ [AC_CHECK_FUNC([dlopen],
+ [lt_cv_dlopen="dlopen"],
+ [AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
+ [AC_CHECK_LIB([svld], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
+ [AC_CHECK_LIB([dld], [dld_link],
+ [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
+ ])
])
- ])
- ])
+ ])
+ ])
])
;;
esac
@@ -1422,10 +1460,10 @@ AC_DEFUN([_LT_AC_LTCONFIG_HACK],
# Sed substitution that helps us do robust quoting. It backslashifies
# metacharacters that are still active within double-quoted strings.
Xsed='sed -e s/^X//'
-[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
+sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g'
# Same as above, but do not quote variable references.
-[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
+double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
# Sed substitution to delay expansion of an escaped shell variable in a
# double_quote_subst'ed string.
@@ -1494,8 +1532,15 @@ old_postinstall_cmds='chmod 644 $oldlib'
old_postuninstall_cmds=
if test -n "$RANLIB"; then
+ case $host_os in
+ openbsd*)
+ old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
+ ;;
+ *)
+ old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+ ;;
+ esac
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
- old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
fi
# Allow CC to be a program name with arguments.
@@ -1515,7 +1560,7 @@ rmdir .libs 2>/dev/null
AC_MSG_RESULT($objdir)
-AC_ARG_WITH(pic,
+AC_ARG_WITH(pic,
[ --with-pic try to use only PIC/non-PIC objects [default=use both]],
pic_mode="$withval", pic_mode=default)
test -z "$pic_mode" && pic_mode=default
@@ -1543,7 +1588,7 @@ AC_CACHE_VAL(lt_cv_prog_cc_pic,
# libC (AIX C++ library), which obviously doesn't included in libraries
# list by gcc. This cause undefined symbols with -static flags.
# This hack allows C programs to be linked with "-static -ldl", but
- # we not sure about C++ programs.
+ # not sure about C++ programs.
lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
;;
amigaos*)
@@ -1578,13 +1623,13 @@ AC_CACHE_VAL(lt_cv_prog_cc_pic,
# PORTME Check for PIC flags for the system compiler.
case $host_os in
aix3* | aix4* | aix5*)
+ lt_cv_prog_cc_wl='-Wl,'
# All AIX code is PIC.
if test "$host_cpu" = ia64; then
- # AIX 5 now supports IA64 processor
- lt_cv_prog_cc_static='-Bstatic'
- lt_cv_prog_cc_wl='-Wl,'
+ # AIX 5 now supports IA64 processor
+ lt_cv_prog_cc_static='-Bstatic'
else
- lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
+ lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
fi
;;
@@ -1653,9 +1698,9 @@ AC_CACHE_VAL(lt_cv_prog_cc_pic,
lt_cv_prog_cc_pic='-KPIC'
lt_cv_prog_cc_static='-Bstatic'
if test "x$host_vendor" = xsni; then
- lt_cv_prog_cc_wl='-LD'
+ lt_cv_prog_cc_wl='-LD'
else
- lt_cv_prog_cc_wl='-Wl,'
+ lt_cv_prog_cc_wl='-Wl,'
fi
;;
@@ -1722,7 +1767,7 @@ fi
# Check for any special shared library compilation flags.
if test -n "$lt_cv_prog_cc_shlib"; then
AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
- if echo "$old_CC $old_CFLAGS " | [egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]"] >/dev/null; then :
+ if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then :
else
AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
lt_cv_prog_cc_can_build_shared=no
@@ -1798,6 +1843,8 @@ if test x"$compiler_c_o" = x"yes"; then
lt_cv_compiler_o_lo=no
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -c -o conftest.lo"
+ save_objext="$ac_objext"
+ ac_objext=lo
AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -1807,10 +1854,11 @@ if test x"$compiler_c_o" = x"yes"; then
lt_cv_compiler_o_lo=yes
fi
])
+ ac_objext="$save_objext"
CFLAGS="$save_CFLAGS"
])
compiler_o_lo=$lt_cv_compiler_o_lo
- AC_MSG_RESULT([$compiler_c_lo])
+ AC_MSG_RESULT([$compiler_o_lo])
else
compiler_o_lo=no
fi
@@ -1903,7 +1951,7 @@ exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
extract_expsyms_cmds=
case $host_os in
-cygwin* | mingw* | pw32* )
+cygwin* | mingw* | pw32*)
# FIXME: the MSVC++ port hasn't been tested in a loooong time
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
@@ -1911,7 +1959,9 @@ cygwin* | mingw* | pw32* )
with_gnu_ld=no
fi
;;
-
+openbsd*)
+ with_gnu_ld=no
+ ;;
esac
ld_shlibs=yes
@@ -1998,7 +2048,7 @@ EOF
# can override, but on older systems we have to supply one (in ltdll.c)
if test "x$lt_cv_need_dllmain" = "xyes"; then
ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
- ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
+ ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
else
ltdll_obj=
@@ -2011,24 +2061,24 @@ EOF
# Be careful not to strip the DATA tag left be newer dlltools.
export_symbols_cmds="$ltdll_cmds"'
$DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
- [sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//"] < $output_objdir/$soname-def > $export_symbols'
+ sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
# If the export-symbols file already is a .def file (1st line
# is EXPORTS), use it as is.
# If DATA tags from a recent dlltool are present, honour them!
archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
- cp $export_symbols $output_objdir/$soname-def;
+ cp $export_symbols $output_objdir/$soname-def;
else
- echo EXPORTS > $output_objdir/$soname-def;
- _lt_hint=1;
- cat $export_symbols | while read symbol; do
- set dummy \$symbol;
- case \[$]# in
- 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
- *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
- esac;
- _lt_hint=`expr 1 + \$_lt_hint`;
- done;
+ echo EXPORTS > $output_objdir/$soname-def;
+ _lt_hint=1;
+ cat $export_symbols | while read symbol; do
+ set dummy \$symbol;
+ case \[$]# in
+ 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
+ *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
+ esac;
+ _lt_hint=`expr 1 + \$_lt_hint`;
+ done;
fi~
'"$ltdll_cmds"'
$CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
@@ -2123,80 +2173,96 @@ else
;;
aix4* | aix5*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # need to do runtime linking.
+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
+ for ld_flag in $LDFLAGS; do
+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
+ aix_use_runtimelinking=yes
+ break
+ fi
+ done
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
# When large executables or shared objects are built, AIX ld can
# have problems creating the table of contents. If linking a library
# or program results in "error TOC overflow" add -mminimal-toc to
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+ hardcode_direct=yes
archive_cmds=''
hardcode_libdir_separator=':'
if test "$GCC" = yes; then
- collect2name=`${CC} -print-prog-name=collect2`
- if test -f "$collect2name" && \
- strings "$collect2name" | grep resolve_lib_name >/dev/null
- then
- # We have reworked collect2
- hardcode_direct=yes
- else
- # We have old collect2
- hardcode_direct=unsupported
- # It fails to find uninstalled libraries when the uninstalled
- # path is not listed in the libpath. Setting hardcode_minus_L
- # to unsupported forces relinking
- hardcode_minus_L=yes
- hardcode_libdir_flag_spec='-L$libdir'
- hardcode_libdir_separator=
- fi
+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" && \
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ hardcode_direct=yes
+ else
+ # We have old collect2
+ hardcode_direct=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L=yes
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_libdir_separator=
+ fi
+ esac
+
shared_flag='-shared'
else
+ # not using gcc
if test "$host_cpu" = ia64; then
- shared_flag='-G'
+ shared_flag='${wl}-G'
else
- shared_flag='${wl}-bM:SRE'
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='${wl}-G'
+ else
+ shared_flag='${wl}-bM:SRE'
+ fi
fi
- hardcode_direct=yes
fi
- if test "$host_cpu" = ia64; then
- # On IA64, the linker does run time linking by default, so we don't
- # have to do anything special.
- aix_use_runtimelinking=no
- exp_sym_flag='-Bexport'
- no_entry_flag=""
- else
- # Test if we are trying to use run time linking, or normal AIX style linking.
- # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
- aix_use_runtimelinking=no
- for ld_flag in $LDFLAGS; do
- if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
- aix_use_runtimelinking=yes
- break
- fi
- done
- exp_sym_flag='-bexport'
- no_entry_flag='-bnoentry'
- fi
# It seems that -bexpall can do strange things, so it is better to
# generate a list of symbols to export.
always_export_symbols=yes
if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ allow_undefined_flag='-berok'
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
- allow_undefined_flag=' -Wl,-G'
- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+ archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
else
if test "$host_cpu" = ia64; then
- hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
- allow_undefined_flag="-znodefs"
- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+ hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag="-z nodefs"
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
else
- hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
- # Warning - without using the other run time loading flags, -berok will
- # link without error, but may produce a broken library.
- allow_undefined_flag='${wl}-berok"
- # This is a bit strange, but is similar to how AIX traditionally builds
- # it's shared libraries.
- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
+ hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ allow_undefined_flag='${wl}-berok'
+ # This is a bit strange, but is similar to how AIX traditionally builds
+ # it's shared libraries.
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
fi
fi
;;
@@ -2228,11 +2294,18 @@ else
;;
darwin* | rhapsody*)
- allow_undefined_flag='-undefined suppress'
+ case "$host_os" in
+ rhapsody* | darwin1.[[012]])
+ allow_undefined_flag='-undefined suppress'
+ ;;
+ *) # Darwin 1.3 on
+ allow_undefined_flag='-flat_namespace -undefined suppress'
+ ;;
+ esac
# FIXME: Relying on posixy $() will cause problems for
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes.
- archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
+ archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes
@@ -2307,7 +2380,7 @@ else
;;
newsos6)
- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
hardcode_direct=yes
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
@@ -2315,10 +2388,24 @@ else
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ export_dynamic_flag_spec='${wl}-E'
+ else
+ case "$host_os" in
+ openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ ;;
+ esac
+ fi
;;
os2*)
@@ -2363,10 +2450,39 @@ else
hardcode_shlibpath_var=no
runpath_var=LD_RUN_PATH
hardcode_runpath_var=yes
+ export_dynamic_flag_spec='${wl}-Bexport'
;;
solaris*)
+ # gcc --version < 3.0 without binutils cannot create self contained
+ # shared libraries reliably, requiring libgcc.a to resolve some of
+ # the object symbols generated in some cases. Libraries that use
+ # assert need libgcc.a to resolve __eprintf, for example. Linking
+ # a copy of libgcc.a into every shared library to guarantee resolving
+ # such symbols causes other problems: According to Tim Van Holder
+ # , C++ libraries end up with a separate
+ # (to the application) exception stack for one thing.
no_undefined_flag=' -z defs'
+ if test "$GCC" = yes; then
+ case `$CC --version 2>/dev/null` in
+ [[12]].*)
+ cat <&2
+
+*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
+*** create self contained shared libraries on Solaris systems, without
+*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
+*** -no-undefined support, which will at least allow you to build shared
+*** libraries. However, you may find that when you link such libraries
+*** into an application without using GCC, you have to manually add
+*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
+*** upgrade to a newer version of GCC. Another option is to rebuild your
+*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
+
+EOF
+ no_undefined_flag=
+ ;;
+ esac
+ fi
# $CC -shared without GNU ld will not create a library from C++
# object files and a static libstdc++, better avoid it by now
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
@@ -2375,7 +2491,7 @@ else
hardcode_libdir_flag_spec='-R$libdir'
hardcode_shlibpath_var=no
case $host_os in
- [solaris2.[0-5] | solaris2.[0-5].*]) ;;
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
esac
@@ -2398,7 +2514,7 @@ else
sysv4)
if test "x$host_vendor" = xsno; then
- archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
+ archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
hardcode_direct=yes # is this really true???
else
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
@@ -2555,22 +2671,24 @@ aix4* | aix5*)
# depend on `.', always an invalid library. This was fixed in
# development snapshots of GCC prior to 3.0.
case $host_os in
- [ aix4 | aix4.[01] | aix4.[01].*)]
- if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
- echo ' yes '
- echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
- :
- else
- can_build_shared=no
- fi
- ;;
+ aix4 | aix4.[[01]] | aix4.[[01]].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
esac
- # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
- # soname into executable. Probably we can add versioning support to
- # collect2, so additional links can be useful in future.
+ # AIX (on Power*) has no versioning support, so currently we can
+ # not hardcode correct soname into executable. Probably we can
+ # add versioning support to collect2, so additional links can
+ # be useful in future.
if test "$aix_use_runtimelinking" = yes; then
- # If using run time linking (on AIX 4.2 or later) use lib.so instead of
- # lib.a to let people know that these are not typical AIX shared libraries.
+ # If using run time linking (on AIX 4.2 or later) use lib.so
+ # instead of lib.a to let people know that these are not
+ # typical AIX shared libraries.
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
else
# We preserve .a as extension for shared libraries through AIX4.2
@@ -2579,14 +2697,13 @@ aix4* | aix5*)
soname_spec='${libname}${release}.so$major'
fi
shlibpath_var=LIBPATH
- deplibs_check_method=pass_all
fi
;;
amigaos*)
library_names_spec='$libname.ixlibrary $libname.a'
# Create ${libname}_ixlibrary.a entries in /sys/libs.
- finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | [$Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\'']`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
;;
beos*)
@@ -2617,7 +2734,7 @@ cygwin* | mingw* | pw32*)
case $GCC,$host_os in
yes,cygwin*)
library_names_spec='$libname.dll.a'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
dldir=$destdir/`dirname \$dlpath`~
test -d \$dldir || mkdir -p \$dldir~
@@ -2627,14 +2744,14 @@ cygwin* | mingw* | pw32*)
$rm \$dlpath'
;;
yes,mingw*)
- library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
+ library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
;;
yes,pw32*)
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
;;
*)
- library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll $libname.lib'
+ library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
;;
esac
dynamic_linker='Win32 ld.exe'
@@ -2792,9 +2909,19 @@ newsos6)
openbsd*)
version_type=sunos
- if test "$with_gnu_ld" = yes; then
- need_lib_prefix=no
- need_version=no
+ need_lib_prefix=no
+ need_version=no
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ case "$host_os" in
+ openbsd2.[[89]] | openbsd2.[[89]].*)
+ shlibpath_overrides_runpath=no
+ ;;
+ *)
+ shlibpath_overrides_runpath=yes
+ ;;
+ esac
+ else
+ shlibpath_overrides_runpath=yes
fi
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
@@ -2905,6 +3032,33 @@ test "$dynamic_linker" = no && can_build_shared=no
AC_MSG_CHECKING([if libtool supports shared libraries])
AC_MSG_RESULT([$can_build_shared])
+AC_MSG_CHECKING([whether to build shared libraries])
+test "$can_build_shared" = "no" && enable_shared=no
+
+# On AIX, shared libraries and static libraries use the same namespace, and
+# are all built from PIC.
+case "$host_os" in
+aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+aix4*)
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+ test "$enable_shared" = yes && enable_static=no
+ fi
+ ;;
+esac
+AC_MSG_RESULT([$enable_shared])
+
+AC_MSG_CHECKING([whether to build static libraries])
+# Make sure either enable_shared or enable_static is yes.
+test "$enable_shared" = yes || enable_static=yes
+AC_MSG_RESULT([$enable_static])
+
if test "$hardcode_action" = relink; then
# Fast installation is not supported
enable_fast_install=no
@@ -3000,6 +3154,7 @@ if test -f "$ltmain"; then
old_striplib striplib file_magic_cmd export_symbols_cmds \
deplibs_check_method allow_undefined_flag no_undefined_flag \
finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
+ global_symbol_to_c_name_address \
hardcode_libdir_flag_spec hardcode_libdir_separator \
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
@@ -3066,12 +3221,12 @@ SHELL=$lt_SHELL
# Whether or not to build shared libraries.
build_libtool_libs=$enable_shared
-# Whether or not to add -lc for building shared libraries.
-build_libtool_need_lc=$need_lc
-
# Whether or not to build static libraries.
build_old_libs=$enable_static
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$need_lc
+
# Whether or not to optimize for fast installation.
fast_install=$enable_fast_install
@@ -3237,6 +3392,9 @@ global_symbol_pipe=$lt_global_symbol_pipe
# Transform the output of nm in a proper C declaration
global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
+# Transform the output of nm in a C name address pair
+global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
+
# This is the shared library runtime path variable.
runpath_var=$runpath_var
@@ -3359,9 +3517,9 @@ EOF
# return TRUE;
# }
# /* ltdll.c ends here */
- # This is a source program that is used to create import libraries
- # on Windows for dlls which lack them. Don't remove nor modify the
- # starting and closing comments
+ # This is a source program that is used to create import libraries
+ # on Windows for dlls which lack them. Don't remove nor modify the
+ # starting and closing comments
# /* impgen.c starts here */
# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
#
@@ -3716,6 +3874,7 @@ test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_CANONICAL_HOST])dnl
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
ac_prog=ld
if test "$GCC" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
@@ -3729,8 +3888,8 @@ if test "$GCC" = yes; then
esac
case $ac_prog in
# Accept absolute paths.
- [[\\/]* | [A-Za-z]:[\\/]*)]
- [re_direlt='/[^/][^/]*/\.\./']
+ [[\\/]]* | [[A-Za-z]]:[[\\/]]*)
+ re_direlt='/[[^/]][[^/]]*/\.\./'
# Canonicalize the path of ld
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
@@ -3754,7 +3913,7 @@ else
fi
AC_CACHE_VAL(lt_cv_path_LD,
[if test -z "$LD"; then
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
for ac_dir in $PATH; do
test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
@@ -3818,7 +3977,7 @@ lt_cv_deplibs_check_method='unknown'
# `unknown' -- same as none, but documents that we really don't know.
# 'pass_all' -- all dependencies passed with no checks.
# 'test_compile' -- check by making test program.
-# ['file_magic [regex]'] -- check by looking for files in library path
+# 'file_magic [[regex]]' -- check by looking for files in library path
# which responds to the $file_magic_cmd with a given egrep regex.
# If you have `file' or equivalent on your system and you're not sure
# whether `pass_all' will *always* work, you probably want this one.
@@ -3833,7 +3992,7 @@ beos*)
;;
bsdi4*)
- [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)']
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
lt_cv_file_magic_cmd='/usr/bin/file -L'
lt_cv_file_magic_test_file=/shlib/libc.so
;;
@@ -3847,7 +4006,7 @@ darwin* | rhapsody*)
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
lt_cv_file_magic_cmd='/usr/bin/file -L'
case "$host_os" in
- rhapsody* | darwin1.[012])
+ rhapsody* | darwin1.[[012]])
lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
;;
*) # Darwin 1.3 on
@@ -3862,7 +4021,7 @@ freebsd*)
i*86 )
# Not sure whether the presence of OpenBSD here was a mistake.
# Let's accept both of them until this is cleared up.
- [lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library']
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
lt_cv_file_magic_cmd=/usr/bin/file
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
;;
@@ -3877,7 +4036,7 @@ gnu*)
;;
hpux10.20*|hpux11*)
- [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
lt_cv_file_magic_cmd=/usr/bin/file
lt_cv_file_magic_test_file=/usr/lib/libc.sl
;;
@@ -3896,7 +4055,7 @@ irix5* | irix6*)
*) libmagic=never-match;;
esac
# this will be overridden with pass_all, but let us keep it just in case
- [lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"]
+ lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
;;
esac
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
@@ -3906,29 +4065,39 @@ irix5* | irix6*)
# This must be Linux ELF.
linux-gnu*)
case $host_cpu in
- alpha* | i*86 | powerpc* | sparc* | ia64* )
+ alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
lt_cv_deplibs_check_method=pass_all ;;
*)
# glibc up to 2.1.1 does not perform some relocations on ARM
- [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;]
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
esac
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
;;
netbsd*)
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
else
- [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$']
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
fi
;;
newos6*)
- [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
lt_cv_file_magic_cmd=/usr/bin/file
lt_cv_file_magic_test_file=/usr/lib/libnls.so
;;
+openbsd*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
+ else
+ lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
+ fi
+ ;;
+
osf3* | osf4* | osf5*)
# this will be overridden with pass_all, but let us keep it just in case
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
@@ -3945,14 +4114,14 @@ solaris*)
lt_cv_file_magic_test_file=/lib/libc.so
;;
-[sysv5uw[78]* | sysv4*uw2*)]
+sysv5uw[[78]]* | sysv4*uw2*)
lt_cv_deplibs_check_method=pass_all
;;
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
case $host_vendor in
motorola)
- [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]']
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
;;
ncr)
@@ -3960,11 +4129,11 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
;;
sequent)
lt_cv_file_magic_cmd='/bin/file'
- [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )']
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
;;
sni)
lt_cv_file_magic_cmd='/bin/file'
- [lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"]
+ lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
lt_cv_file_magic_test_file=/lib/libc.so
;;
esac
@@ -3978,13 +4147,14 @@ deplibs_check_method=$lt_cv_deplibs_check_method
# AC_PROG_NM - find the path to a BSD-compatible name lister
AC_DEFUN([AC_PROG_NM],
-[AC_MSG_CHECKING([for BSD-compatible nm])
+[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
+AC_MSG_CHECKING([for BSD-compatible nm])
AC_CACHE_VAL(lt_cv_path_NM,
[if test -n "$NM"; then
# Let the user override the test.
lt_cv_path_NM="$NM"
else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
test -z "$ac_dir" && ac_dir=.
tmp_nm=$ac_dir/${ac_tool_prefix}nm
@@ -4389,7 +4559,7 @@ AC_DEFUN([AM_FUNC_GETLINE],
fi
])
-# fnmatch.m4 serial 1 (gettext-0.11)
+# fnmatch.m4 serial 2 (gettext-0.11.1)
dnl Copyright (C) 1996-2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
@@ -4428,6 +4598,7 @@ AC_DEFUN([gt_FUNC_FNMATCH],
if test $gt_cv_func_fnmatch_works = yes; then
rm -f lib/fnmatch.h
else
+ test -d lib || mkdir lib
echo '#include "pfnmatch.h"' > lib/fnmatch.h
dnl We must choose a different name for our function, since on ELF systems
dnl a broken fnmatch() in libc.so would override our fnmatch() in
@@ -4719,7 +4890,7 @@ action.sa_sigaction = (void *) 0;
fi
])
-# setenv.m4 serial 1 (gettext-0.11)
+# setenv.m4 serial 2 (gettext-0.11.1)
dnl Copyright (C) 2001-2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
@@ -4750,7 +4921,7 @@ AC_DEFUN([gt_CHECK_VAR_DECL],
AC_DEFUN([gt_FUNC_SETENV],
[
- AC_REPLACE_FUNCS(setenv)
+ AC_REPLACE_FUNCS(setenv unsetenv)
AC_CHECK_HEADERS(search.h stdlib.h string.h unistd.h)
AC_CHECK_FUNCS(tsearch)
gt_CHECK_VAR_DECL([#include ], errno)
@@ -4843,7 +5014,7 @@ AC_DEFUN([gt_PREREQ_HOSTNAME],
fi
])
-# gettext.m4 serial 12 (gettext-0.11)
+# gettext.m4 serial 13 (gettext-0.11.1)
dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
@@ -4961,9 +5132,10 @@ AC_DEFUN([AM_GNU_GETTEXT],
AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
[AC_TRY_LINK([#include
-extern int _nl_msg_cat_cntr;],
+extern int _nl_msg_cat_cntr;
+extern int *_nl_domain_bindings;],
[bindtextdomain ("", "");
-return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr],
+return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
gt_cv_func_gnugettext_libc=yes,
gt_cv_func_gnugettext_libc=no)])
@@ -4985,18 +5157,30 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("",
LIBS="$LIBS $LIBINTL"
dnl Now see whether libintl exists and does not depend on libiconv.
AC_TRY_LINK([#include
-extern int _nl_msg_cat_cntr;],
+extern int _nl_msg_cat_cntr;
+extern int *_nl_domain_bindings;
+extern
+#ifdef __cplusplus
+"C"
+#endif
+const char *_nl_expand_alias ();],
[bindtextdomain ("", "");
-return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr],
+return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)],
gt_cv_func_gnugettext_libintl=yes,
gt_cv_func_gnugettext_libintl=no)
dnl Now see whether libintl exists and depends on libiconv.
if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
LIBS="$LIBS $LIBICONV"
AC_TRY_LINK([#include
-extern int _nl_msg_cat_cntr;],
+extern int _nl_msg_cat_cntr;
+extern int *_nl_domain_bindings;
+extern
+#ifdef __cplusplus
+"C"
+#endif
+const char *_nl_expand_alias ();],
[bindtextdomain ("", "");
-return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr],
+return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)],
[LIBINTL="$LIBINTL $LIBICONV"
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
gt_cv_func_gnugettext_libintl=yes
@@ -5014,6 +5198,11 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("",
|| { test "$gt_cv_func_gnugettext_libintl" = "yes" \
&& test "$PACKAGE" != gettext; }; then
gt_use_preinstalled_gnugettext=yes
+ else
+ dnl Reset the values set by searching for libintl.
+ LIBINTL=
+ LTLIBINTL=
+ INCINTL=
fi
ifelse(gt_included_intl, yes, [
diff --git a/config.h.in b/config.h.in
index a2c5e98f9..309c4ab97 100644
--- a/config.h.in
+++ b/config.h.in
@@ -1,6 +1,6 @@
/* config.h.in. Generated automatically from configure.in by autoheader. */
/* Special definitions, processed by autoheader.
- Copyright (C) 1995-1998, 2001 Free Software Foundation.
+ Copyright (C) 1995-1998, 2001-2002 Free Software Foundation.
Ulrich Drepper , 1995. */
/* Default value for alignment of strings in .mo file. */
@@ -190,9 +190,6 @@
/* Define if you have the stpcpy function. */
#undef HAVE_STPCPY
-/* Define if you have the stpncpy function. */
-#undef HAVE_STPNCPY
-
/* Define if you have the strcasecmp function. */
#undef HAVE_STRCASECMP
@@ -223,6 +220,9 @@
/* Define if you have the uname function. */
#undef HAVE_UNAME
+/* Define if you have the unsetenv function. */
+#undef HAVE_UNSETENV
+
/* Define if you have the utime function. */
#undef HAVE_UTIME
@@ -419,11 +419,19 @@
/* Define if the GNU dcgettext() function is already present or preinstalled. */
#undef HAVE_DCGETTEXT
+/* Define to 1 if libexpat shall be dynamically loaded via dlopen(). */
+#undef DYNLOAD_LIBEXPAT
+
+/* Define if you have the expat library. */
+#undef HAVE_LIBEXPAT
+
/* We don't test for the basename function but still want to use the
- version in the libc when compiling for a system using glibc. */
+ version in the libc when compiling for a system using glibc. Likewise
+ for stpncpy. */
#ifdef __GNU_LIBRARY__
# define HAVE_BASENAME 1
+# define HAVE_STPNCPY 1
#endif
diff --git a/configure b/configure
index 48ae19404..c85c3a99a 100755
--- a/configure
+++ b/configure
@@ -31,6 +31,7 @@ if test "X${PATH_SEPARATOR+set}" != Xset; then
*-DOS) lt_cv_sys_path_separator=';' ;;
*) lt_cv_sys_path_separator=':' ;;
esac
+ PATH_SEPARATOR=$lt_cv_sys_path_separator
fi
@@ -97,7 +98,7 @@ else
#
# So, first we look for a working echo in the user's PATH.
- IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
+ IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
for dir in $PATH /usr/ucb; do
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
@@ -196,6 +197,9 @@ ac_help="$ac_help
ac_help="$ac_help
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
--without-libintl-prefix don't search for libintl in includedir and libdir"
+ac_help="$ac_help
+ --with-libexpat-prefix[=DIR] search for libexpat in DIR/include and DIR/lib
+ --without-libexpat-prefix don't search for libexpat in includedir and libdir"
ac_help="$ac_help
--with-lispdir Override the default lisp directory "
@@ -719,7 +723,7 @@ ac_prog=ld
if test "$GCC" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
-echo "configure:723: checking for ld used by GCC" >&5
+echo "configure:727: checking for ld used by GCC" >&5
case $host in
*-*-mingw*)
# gcc leaves a trailing carriage return which upsets mingw
@@ -749,10 +753,10 @@ echo "configure:723: checking for ld used by GCC" >&5
esac
elif test "$with_gnu_ld" = yes; then
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
-echo "configure:753: checking for GNU ld" >&5
+echo "configure:757: checking for GNU ld" >&5
else
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
-echo "configure:756: checking for non-GNU ld" >&5
+echo "configure:760: checking for non-GNU ld" >&5
fi
if eval "test \"`echo '$''{'acl_cv_path_LD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -787,7 +791,7 @@ else
fi
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
-echo "configure:791: checking if the linker ($LD) is GNU ld" >&5
+echo "configure:795: checking if the linker ($LD) is GNU ld" >&5
if eval "test \"`echo '$''{'acl_cv_prog_gnu_ld'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -839,7 +843,7 @@ am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
-echo "configure:843: checking for a BSD compatible install" >&5
+echo "configure:847: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -892,7 +896,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
-echo "configure:896: checking whether build environment is sane" >&5
+echo "configure:900: checking whether build environment is sane" >&5
# Just in case
sleep 1
echo timestamp > conftest.file
@@ -963,7 +967,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:967: checking for $ac_word" >&5
+echo "configure:971: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -993,7 +997,7 @@ test -n "$AWK" && break
done
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
-echo "configure:997: checking whether ${MAKE-make} sets \${MAKE}" >&5
+echo "configure:1001: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -1061,7 +1065,7 @@ fi
# Define the identity of the package.
PACKAGE=gettext
-VERSION=0.11
+VERSION=0.11.1
cat >> confdefs.h <&6
-echo "configure:1120: checking for $ac_word" >&5
+echo "configure:1124: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1146,7 +1150,7 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1150: checking for $ac_word" >&5
+echo "configure:1154: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1197,7 +1201,7 @@ fi
# Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1201: checking for $ac_word" >&5
+echo "configure:1205: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1229,7 +1233,7 @@ fi
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
-echo "configure:1233: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
+echo "configure:1237: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@@ -1240,12 +1244,12 @@ cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext << EOF
-#line 1244 "configure"
+#line 1248 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
-if { (eval echo configure:1249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
@@ -1271,12 +1275,12 @@ if test $ac_cv_prog_cc_works = no; then
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
-echo "configure:1275: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
+echo "configure:1279: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
-echo "configure:1280: checking whether we are using GNU C" >&5
+echo "configure:1284: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1285,7 +1289,7 @@ else
yes;
#endif
EOF
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
@@ -1304,7 +1308,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
-echo "configure:1308: checking whether ${CC-cc} accepts -g" >&5
+echo "configure:1312: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1343,7 +1347,7 @@ doit:
END
# If we don't find an include directive, just comment out the code.
echo $ac_n "checking for style of include used by $am_make""... $ac_c" 1>&6
-echo "configure:1347: checking for style of include used by $am_make" >&5
+echo "configure:1351: checking for style of include used by $am_make" >&5
am__include='#'
am__quote=
_am_result=none
@@ -1377,7 +1381,7 @@ rm -f confinc confmf
depcc="$CC" am_compiler_list=
echo $ac_n "checking dependency style of $depcc""... $ac_c" 1>&6
-echo "configure:1381: checking dependency style of $depcc" >&5
+echo "configure:1385: checking dependency style of $depcc" >&5
if eval "test \"`echo '$''{'am_cv_CC_dependencies_compiler_type'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1455,7 +1459,7 @@ CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
-echo "configure:1459: checking for a BSD compatible install" >&5
+echo "configure:1463: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -1512,7 +1516,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1516: checking for $ac_word" >&5
+echo "configure:1520: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1546,7 +1550,7 @@ test -n "$YACC" || YACC="yacc"
# Extract the first word of "flex", so it can be a program name with args.
set dummy flex; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1550: checking for $ac_word" >&5
+echo "configure:1554: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1580,7 +1584,7 @@ fi
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
-echo "configure:1584: checking how to run the C preprocessor" >&5
+echo "configure:1588: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
@@ -1595,13 +1599,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
@@ -1612,13 +1616,13 @@ else
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
@@ -1629,13 +1633,13 @@ else
rm -rf conftest*
CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
@@ -1661,9 +1665,9 @@ echo "$ac_t""$CPP" 1>&6
echo $ac_n "checking for Java compiler""... $ac_c" 1>&6
-echo "configure:1665: checking for Java compiler" >&5
+echo "configure:1669: checking for Java compiler" >&5
cat > conftest.$ac_ext </dev/null | grep '^3-9' >/dev/null; then
+ && gcj --version 2>/dev/null | grep '^[3-9]' >/dev/null; then
HAVE_GCJ=1
ac_result="gcj -C"
else
@@ -1786,7 +1790,7 @@ fi
# See if the existing CLASSPATH is sufficient to make jikes work.
cat > conftest.java <&6
-echo "configure:1820: checking for $ac_word" >&5
+echo "configure:1824: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_JAR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1851,9 +1855,9 @@ fi
echo $ac_n "checking for Java virtual machine""... $ac_c" 1>&6
-echo "configure:1855: checking for Java virtual machine" >&5
+echo "configure:1859: checking for Java virtual machine" >&5
cat > conftest.$ac_ext <&2; exit 1; }
fi
echo $ac_n "checking host system type""... $ac_c" 1>&6
-echo "configure:2041: checking host system type" >&5
+echo "configure:2045: checking host system type" >&5
host_alias=$host
case "$host_alias" in
@@ -2060,7 +2064,7 @@ echo "$ac_t""$host" 1>&6
echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
-echo "configure:2064: checking for strerror in -lcposix" >&5
+echo "configure:2068: checking for strerror in -lcposix" >&5
ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -2068,7 +2072,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lcposix $LIBS"
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -2103,13 +2107,13 @@ fi
echo $ac_n "checking for object suffix""... $ac_c" 1>&6
-echo "configure:2107: checking for object suffix" >&5
+echo "configure:2111: checking for object suffix" >&5
if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
rm -f conftest*
echo 'int i = 1;' > conftest.$ac_ext
-if { (eval echo configure:2113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
for ac_file in conftest.*; do
case $ac_file in
*.c) ;;
@@ -2127,12 +2131,12 @@ OBJEXT=$ac_cv_objext
ac_objext=$ac_cv_objext
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
-echo "configure:2131: checking for Cygwin environment" >&5
+echo "configure:2135: checking for Cygwin environment" >&5
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cygwin=yes
else
@@ -2160,19 +2164,19 @@ echo "$ac_t""$ac_cv_cygwin" 1>&6
CYGWIN=
test "$ac_cv_cygwin" = yes && CYGWIN=yes
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
-echo "configure:2164: checking for mingw32 environment" >&5
+echo "configure:2168: checking for mingw32 environment" >&5
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_mingw32=yes
else
@@ -2191,7 +2195,7 @@ test "$ac_cv_mingw32" = yes && MINGW32=yes
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
-echo "configure:2195: checking for executable suffix" >&5
+echo "configure:2199: checking for executable suffix" >&5
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2201,7 +2205,7 @@ else
rm -f conftest*
echo 'int main () { return 0; }' > conftest.$ac_ext
ac_cv_exeext=
- if { (eval echo configure:2205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+ if { (eval echo configure:2209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
for file in conftest.*; do
case $file in
*.c | *.o | *.obj) ;;
@@ -2222,6 +2226,17 @@ echo "$ac_t""${ac_cv_exeext}" 1>&6
ac_exeext=$EXEEXT
+# Find the correct PATH separator. Usually this is `:', but
+# DJGPP uses `;' like DOS.
+if test "X${PATH_SEPARATOR+set}" != Xset; then
+ UNAME=${UNAME-`uname 2>/dev/null`}
+ case X$UNAME in
+ *-DOS) lt_cv_sys_path_separator=';' ;;
+ *) lt_cv_sys_path_separator=':' ;;
+ esac
+ PATH_SEPARATOR=$lt_cv_sys_path_separator
+fi
+
# Check whether --enable-shared or --disable-shared was given.
if test "${enable_shared+set}" = set; then
enableval="$enable_shared"
@@ -2292,7 +2307,7 @@ else
fi
echo $ac_n "checking build system type""... $ac_c" 1>&6
-echo "configure:2296: checking build system type" >&5
+echo "configure:2311: checking build system type" >&5
build_alias=$build
case "$build_alias" in
@@ -2321,7 +2336,7 @@ ac_prog=ld
if test "$GCC" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
-echo "configure:2325: checking for ld used by GCC" >&5
+echo "configure:2340: checking for ld used by GCC" >&5
case $host in
*-*-mingw*)
# gcc leaves a trailing carriage return which upsets mingw
@@ -2351,16 +2366,16 @@ echo "configure:2325: checking for ld used by GCC" >&5
esac
elif test "$with_gnu_ld" = yes; then
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
-echo "configure:2355: checking for GNU ld" >&5
+echo "configure:2370: checking for GNU ld" >&5
else
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
-echo "configure:2358: checking for non-GNU ld" >&5
+echo "configure:2373: checking for non-GNU ld" >&5
fi
if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -z "$LD"; then
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
for ac_dir in $PATH; do
test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
@@ -2389,7 +2404,7 @@ else
fi
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
-echo "configure:2393: checking if the linker ($LD) is GNU ld" >&5
+echo "configure:2408: checking if the linker ($LD) is GNU ld" >&5
if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2406,7 +2421,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
-echo "configure:2410: checking for $LD option to reload object files" >&5
+echo "configure:2425: checking for $LD option to reload object files" >&5
if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2418,7 +2433,7 @@ reload_flag=$lt_cv_ld_reload_flag
test -n "$reload_flag" && reload_flag=" $reload_flag"
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
-echo "configure:2422: checking for BSD-compatible nm" >&5
+echo "configure:2437: checking for BSD-compatible nm" >&5
if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2426,7 +2441,7 @@ else
# Let the user override the test.
lt_cv_path_NM="$NM"
else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
test -z "$ac_dir" && ac_dir=.
tmp_nm=$ac_dir/${ac_tool_prefix}nm
@@ -2456,7 +2471,7 @@ NM="$lt_cv_path_NM"
echo "$ac_t""$NM" 1>&6
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
-echo "configure:2460: checking whether ln -s works" >&5
+echo "configure:2475: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2477,7 +2492,7 @@ else
fi
echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
-echo "configure:2481: checking how to recognise dependant libraries" >&5
+echo "configure:2496: checking how to recognise dependant libraries" >&5
if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2490,7 +2505,7 @@ lt_cv_deplibs_check_method='unknown'
# `unknown' -- same as none, but documents that we really don't know.
# 'pass_all' -- all dependencies passed with no checks.
# 'test_compile' -- check by making test program.
-# ['file_magic [regex]'] -- check by looking for files in library path
+# 'file_magic [[regex]]' -- check by looking for files in library path
# which responds to the $file_magic_cmd with a given egrep regex.
# If you have `file' or equivalent on your system and you're not sure
# whether `pass_all' will *always* work, you probably want this one.
@@ -2519,7 +2534,7 @@ darwin* | rhapsody*)
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
lt_cv_file_magic_cmd='/usr/bin/file -L'
case "$host_os" in
- rhapsody* | darwin1.012)
+ rhapsody* | darwin1.[012])
lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
;;
*) # Darwin 1.3 on
@@ -2578,7 +2593,7 @@ irix5* | irix6*)
# This must be Linux ELF.
linux-gnu*)
case $host_cpu in
- alpha* | i*86 | powerpc* | sparc* | ia64* )
+ alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
lt_cv_deplibs_check_method=pass_all ;;
*)
# glibc up to 2.1.1 does not perform some relocations on ARM
@@ -2601,6 +2616,16 @@ newos6*)
lt_cv_file_magic_test_file=/usr/lib/libnls.so
;;
+openbsd*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+ else
+ lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
+ fi
+ ;;
+
osf3* | osf4* | osf5*)
# this will be overridden with pass_all, but let us keep it just in case
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
@@ -2660,7 +2685,7 @@ fi
# Check for command to grab the raw symbol name followed by C symbol from nm.
echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
-echo "configure:2664: checking command to parse $NM output" >&5
+echo "configure:2689: checking command to parse $NM output" >&5
if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2680,6 +2705,9 @@ symxfrm='\1 \2\3 \3'
# Transform an extracted symbol line into a proper C declaration
lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
+
# Define system-specific variables.
case $host_os in
aix*)
@@ -2690,6 +2718,7 @@ cygwin* | mingw* | pw32*)
;;
hpux*) # Its linker distinguishes data from code symbols
lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+ lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
;;
irix*)
symcode='[BCDEGRST]'
@@ -2736,10 +2765,10 @@ void nm_test_func(){}
int main(){nm_test_var='a';nm_test_func();return(0);}
EOF
- if { (eval echo configure:2740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ if { (eval echo configure:2769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
# Now try to grab the symbols.
nlist=conftest.nm
- if { (eval echo configure:2743: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
+ if { (eval echo configure:2772: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
# Try sorting and uniquifying the output.
if sort "$nlist" | uniq > "$nlist"T; then
mv -f "$nlist"T "$nlist"
@@ -2761,23 +2790,23 @@ EOF
cat <> conftest.$ac_ext
#if defined (__STDC__) && __STDC__
-# define lt_ptr_t void *
+# define lt_ptr void *
#else
-# define lt_ptr_t char *
+# define lt_ptr char *
# define const
#endif
/* The mapping between symbol names and symbols. */
const struct {
const char *name;
- lt_ptr_t address;
+ lt_ptr address;
}
lt_preloaded_symbols[] =
{
EOF
- sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
+ sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
cat <<\EOF >> conftest.$ac_ext
- {0, (lt_ptr_t) 0}
+ {0, (lt_ptr) 0}
};
#ifdef __cplusplus
@@ -2790,7 +2819,7 @@ EOF
save_CFLAGS="$CFLAGS"
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$no_builtin_flag"
- if { (eval echo configure:2794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ if { (eval echo configure:2823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
pipe_works=yes
fi
LIBS="$save_LIBS"
@@ -2823,10 +2852,13 @@ fi
global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
if test -z "$lt_cv_sys_global_symbol_pipe"; then
global_symbol_to_cdecl=
+ global_symbol_to_c_name_address=
else
global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
+ global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
fi
-if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
+if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
+then
echo "$ac_t""failed" 1>&6
else
echo "$ac_t""ok" 1>&6
@@ -2836,17 +2868,17 @@ for ac_hdr in dlfcn.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:2840: checking for $ac_hdr" >&5
+echo "configure:2872: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -2881,7 +2913,7 @@ case $deplibs_check_method in
file_magic*)
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
-echo "configure:2885: checking for ${ac_tool_prefix}file" >&5
+echo "configure:2917: checking for ${ac_tool_prefix}file" >&5
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2943,7 +2975,7 @@ fi
if test -z "$lt_cv_path_MAGIC_CMD"; then
if test -n "$ac_tool_prefix"; then
echo $ac_n "checking for file""... $ac_c" 1>&6
-echo "configure:2947: checking for file" >&5
+echo "configure:2979: checking for file" >&5
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3014,7 +3046,7 @@ esac
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3018: checking for $ac_word" >&5
+echo "configure:3050: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3046,7 +3078,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3050: checking for $ac_word" >&5
+echo "configure:3082: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3081,7 +3113,7 @@ fi
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3085: checking for $ac_word" >&5
+echo "configure:3117: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3113,7 +3145,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "strip", so it can be a program name with args.
set dummy strip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3117: checking for $ac_word" >&5
+echo "configure:3149: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3162,8 +3194,8 @@ test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 3166 "configure"' > conftest.$ac_ext
- if { (eval echo configure:3167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ echo '#line 3198 "configure"' > conftest.$ac_ext
+ if { (eval echo configure:3199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
case `/usr/bin/file conftest.$ac_objext` in
*32-bit*)
LD="${LD-ld} -32"
@@ -3184,7 +3216,7 @@ case $host in
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf"
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
-echo "configure:3188: checking whether the C compiler needs -belf" >&5
+echo "configure:3220: checking whether the C compiler needs -belf" >&5
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3197,14 +3229,14 @@ ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$a
cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:3240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
lt_cv_cc_needs_belf=yes
else
@@ -3308,8 +3340,15 @@ old_postinstall_cmds='chmod 644 $oldlib'
old_postuninstall_cmds=
if test -n "$RANLIB"; then
+ case $host_os in
+ openbsd*)
+ old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
+ ;;
+ *)
+ old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+ ;;
+ esac
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
- old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
fi
# Allow CC to be a program name with arguments.
@@ -3317,7 +3356,7 @@ set dummy $CC
compiler="$2"
echo $ac_n "checking for objdir""... $ac_c" 1>&6
-echo "configure:3321: checking for objdir" >&5
+echo "configure:3360: checking for objdir" >&5
rm -f .libs 2>/dev/null
mkdir .libs 2>/dev/null
if test -d .libs; then
@@ -3344,7 +3383,7 @@ test -z "$pic_mode" && pic_mode=default
# in isolation, and that seeing it set (from the cache) indicates that
# the associated values are set (in the cache) correctly too.
echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6
-echo "configure:3348: checking for $compiler option to produce PIC" >&5
+echo "configure:3387: checking for $compiler option to produce PIC" >&5
if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3366,7 +3405,7 @@ else
# libC (AIX C++ library), which obviously doesn't included in libraries
# list by gcc. This cause undefined symbols with -static flags.
# This hack allows C programs to be linked with "-static -ldl", but
- # we not sure about C++ programs.
+ # not sure about C++ programs.
lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
;;
amigaos*)
@@ -3401,13 +3440,13 @@ else
# PORTME Check for PIC flags for the system compiler.
case $host_os in
aix3* | aix4* | aix5*)
+ lt_cv_prog_cc_wl='-Wl,'
# All AIX code is PIC.
if test "$host_cpu" = ia64; then
- # AIX 5 now supports IA64 processor
- lt_cv_prog_cc_static='-Bstatic'
- lt_cv_prog_cc_wl='-Wl,'
+ # AIX 5 now supports IA64 processor
+ lt_cv_prog_cc_static='-Bstatic'
else
- lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
+ lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
fi
;;
@@ -3476,9 +3515,9 @@ else
lt_cv_prog_cc_pic='-KPIC'
lt_cv_prog_cc_static='-Bstatic'
if test "x$host_vendor" = xsni; then
- lt_cv_prog_cc_wl='-LD'
+ lt_cv_prog_cc_wl='-LD'
else
- lt_cv_prog_cc_wl='-Wl,'
+ lt_cv_prog_cc_wl='-Wl,'
fi
;;
@@ -3509,21 +3548,21 @@ else
# Check to make sure the pic_flag actually works.
echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6
-echo "configure:3513: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
+echo "configure:3552: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
case $host_os in
hpux9* | hpux10* | hpux11*)
@@ -3575,7 +3614,7 @@ if test -n "$lt_cv_prog_cc_shlib"; then
fi
echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6
-echo "configure:3579: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
+echo "configure:3618: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3583,14 +3622,14 @@ else
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:3633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
lt_cv_prog_cc_static_works=yes
else
@@ -3617,7 +3656,7 @@ can_build_shared="$lt_cv_prog_cc_can_build_shared"
# Check to see if options -o and -c are simultaneously supported by compiler
echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6
-echo "configure:3621: checking if $compiler supports -c -o file.$ac_objext" >&5
+echo "configure:3660: checking if $compiler supports -c -o file.$ac_objext" >&5
if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3636,7 +3675,7 @@ chmod -w .
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
compiler_c_o=no
-if { (eval echo configure:3640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+if { (eval echo configure:3679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test -s out/conftest.err; then
@@ -3665,7 +3704,7 @@ echo "$ac_t""$compiler_c_o" 1>&6
if test x"$compiler_c_o" = x"yes"; then
# Check to see if we can write to a .lo
echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6
-echo "configure:3669: checking if $compiler supports -c -o file.lo" >&5
+echo "configure:3708: checking if $compiler supports -c -o file.lo" >&5
if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3673,15 +3712,17 @@ else
lt_cv_compiler_o_lo=no
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -c -o conftest.lo"
+ save_objext="$ac_objext"
+ ac_objext=lo
cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -3696,12 +3737,13 @@ else
cat conftest.$ac_ext >&5
fi
rm -f conftest*
+ ac_objext="$save_objext"
CFLAGS="$save_CFLAGS"
fi
compiler_o_lo=$lt_cv_compiler_o_lo
- echo "$ac_t""$compiler_c_lo" 1>&6
+ echo "$ac_t""$compiler_o_lo" 1>&6
else
compiler_o_lo=no
fi
@@ -3711,7 +3753,7 @@ hard_links="nottested"
if test "$compiler_c_o" = no && test "$need_locks" != no; then
# do not overwrite the value of need_locks provided by the user
echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6
-echo "configure:3715: checking if we can lock with hard links" >&5
+echo "configure:3757: checking if we can lock with hard links" >&5
hard_links=yes
$rm conftest*
ln conftest.a conftest.b 2>/dev/null && hard_links=no
@@ -3730,20 +3772,20 @@ fi
if test "$GCC" = yes; then
# Check to see if options -fno-rtti -fno-exceptions are supported by compiler
echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6
-echo "configure:3734: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
+echo "configure:3776: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
echo "int some_variable = 0;" > conftest.$ac_ext
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
compiler_rtti_exceptions=no
cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -3770,7 +3812,7 @@ fi
# See if the linker supports building shared libraries.
echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6
-echo "configure:3774: checking whether the linker ($LD) supports shared libraries" >&5
+echo "configure:3816: checking whether the linker ($LD) supports shared libraries" >&5
allow_undefined_flag=
no_undefined_flag=
@@ -3811,7 +3853,7 @@ exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
extract_expsyms_cmds=
case $host_os in
-cygwin* | mingw* | pw32* )
+cygwin* | mingw* | pw32*)
# FIXME: the MSVC++ port hasn't been tested in a loooong time
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
@@ -3819,7 +3861,9 @@ cygwin* | mingw* | pw32* )
with_gnu_ld=no
fi
;;
-
+openbsd*)
+ with_gnu_ld=no
+ ;;
esac
ld_shlibs=yes
@@ -3906,7 +3950,7 @@ EOF
# can override, but on older systems we have to supply one (in ltdll.c)
if test "x$lt_cv_need_dllmain" = "xyes"; then
ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
- ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
+ ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
else
ltdll_obj=
@@ -3925,18 +3969,18 @@ EOF
# is EXPORTS), use it as is.
# If DATA tags from a recent dlltool are present, honour them!
archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
- cp $export_symbols $output_objdir/$soname-def;
+ cp $export_symbols $output_objdir/$soname-def;
else
- echo EXPORTS > $output_objdir/$soname-def;
- _lt_hint=1;
- cat $export_symbols | while read symbol; do
- set dummy \$symbol;
- case \$# in
- 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
- *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
- esac;
- _lt_hint=`expr 1 + \$_lt_hint`;
- done;
+ echo EXPORTS > $output_objdir/$soname-def;
+ _lt_hint=1;
+ cat $export_symbols | while read symbol; do
+ set dummy \$symbol;
+ case \$# in
+ 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
+ *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
+ esac;
+ _lt_hint=`expr 1 + \$_lt_hint`;
+ done;
fi~
'"$ltdll_cmds"'
$CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
@@ -4031,80 +4075,96 @@ else
;;
aix4* | aix5*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # need to do runtime linking.
+ case $host_os in aix4.[23]|aix4.[23].*|aix5*)
+ for ld_flag in $LDFLAGS; do
+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
+ aix_use_runtimelinking=yes
+ break
+ fi
+ done
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
# When large executables or shared objects are built, AIX ld can
# have problems creating the table of contents. If linking a library
# or program results in "error TOC overflow" add -mminimal-toc to
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+ hardcode_direct=yes
archive_cmds=''
hardcode_libdir_separator=':'
if test "$GCC" = yes; then
- collect2name=`${CC} -print-prog-name=collect2`
- if test -f "$collect2name" && \
- strings "$collect2name" | grep resolve_lib_name >/dev/null
- then
- # We have reworked collect2
- hardcode_direct=yes
- else
- # We have old collect2
- hardcode_direct=unsupported
- # It fails to find uninstalled libraries when the uninstalled
- # path is not listed in the libpath. Setting hardcode_minus_L
- # to unsupported forces relinking
- hardcode_minus_L=yes
- hardcode_libdir_flag_spec='-L$libdir'
- hardcode_libdir_separator=
- fi
+ case $host_os in aix4.[012]|aix4.[012].*)
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" && \
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ hardcode_direct=yes
+ else
+ # We have old collect2
+ hardcode_direct=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L=yes
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_libdir_separator=
+ fi
+ esac
+
shared_flag='-shared'
else
+ # not using gcc
if test "$host_cpu" = ia64; then
- shared_flag='-G'
+ shared_flag='${wl}-G'
else
- shared_flag='${wl}-bM:SRE'
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='${wl}-G'
+ else
+ shared_flag='${wl}-bM:SRE'
+ fi
fi
- hardcode_direct=yes
fi
- if test "$host_cpu" = ia64; then
- # On IA64, the linker does run time linking by default, so we don't
- # have to do anything special.
- aix_use_runtimelinking=no
- exp_sym_flag='-Bexport'
- no_entry_flag=""
- else
- # Test if we are trying to use run time linking, or normal AIX style linking.
- # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
- aix_use_runtimelinking=no
- for ld_flag in $LDFLAGS; do
- if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
- aix_use_runtimelinking=yes
- break
- fi
- done
- exp_sym_flag='-bexport'
- no_entry_flag='-bnoentry'
- fi
# It seems that -bexpall can do strange things, so it is better to
# generate a list of symbols to export.
always_export_symbols=yes
if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ allow_undefined_flag='-berok'
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
- allow_undefined_flag=' -Wl,-G'
- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+ archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
else
if test "$host_cpu" = ia64; then
- hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
- allow_undefined_flag="-znodefs"
- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+ hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag="-z nodefs"
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
else
- hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
- # Warning - without using the other run time loading flags, -berok will
- # link without error, but may produce a broken library.
- allow_undefined_flag='${wl}-berok"
- # This is a bit strange, but is similar to how AIX traditionally builds
- # it's shared libraries.
- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
+ hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ allow_undefined_flag='${wl}-berok'
+ # This is a bit strange, but is similar to how AIX traditionally builds
+ # it's shared libraries.
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
fi
fi
;;
@@ -4136,11 +4196,18 @@ else
;;
darwin* | rhapsody*)
- allow_undefined_flag='-undefined suppress'
+ case "$host_os" in
+ rhapsody* | darwin1.[012])
+ allow_undefined_flag='-undefined suppress'
+ ;;
+ *) # Darwin 1.3 on
+ allow_undefined_flag='-flat_namespace -undefined suppress'
+ ;;
+ esac
# FIXME: Relying on posixy $() will cause problems for
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes.
- archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
+ archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes
@@ -4215,7 +4282,7 @@ else
;;
newsos6)
- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
hardcode_direct=yes
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
@@ -4223,10 +4290,24 @@ else
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ export_dynamic_flag_spec='${wl}-E'
+ else
+ case "$host_os" in
+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ ;;
+ esac
+ fi
;;
os2*)
@@ -4271,10 +4352,39 @@ else
hardcode_shlibpath_var=no
runpath_var=LD_RUN_PATH
hardcode_runpath_var=yes
+ export_dynamic_flag_spec='${wl}-Bexport'
;;
solaris*)
+ # gcc --version < 3.0 without binutils cannot create self contained
+ # shared libraries reliably, requiring libgcc.a to resolve some of
+ # the object symbols generated in some cases. Libraries that use
+ # assert need libgcc.a to resolve __eprintf, for example. Linking
+ # a copy of libgcc.a into every shared library to guarantee resolving
+ # such symbols causes other problems: According to Tim Van Holder
+ # , C++ libraries end up with a separate
+ # (to the application) exception stack for one thing.
no_undefined_flag=' -z defs'
+ if test "$GCC" = yes; then
+ case `$CC --version 2>/dev/null` in
+ [12].*)
+ cat <&2
+
+*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
+*** create self contained shared libraries on Solaris systems, without
+*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
+*** -no-undefined support, which will at least allow you to build shared
+*** libraries. However, you may find that when you link such libraries
+*** into an application without using GCC, you have to manually add
+*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
+*** upgrade to a newer version of GCC. Another option is to rebuild your
+*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
+
+EOF
+ no_undefined_flag=
+ ;;
+ esac
+ fi
# $CC -shared without GNU ld will not create a library from C++
# object files and a static libstdc++, better avoid it by now
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
@@ -4306,7 +4416,7 @@ else
sysv4)
if test "x$host_vendor" = xsno; then
- archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
+ archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
hardcode_direct=yes # is this really true???
else
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
@@ -4386,7 +4496,7 @@ test "$ld_shlibs" = no && can_build_shared=no
# Check hardcoding attributes.
echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6
-echo "configure:4390: checking how to hardcode library paths into programs" >&5
+echo "configure:4500: checking how to hardcode library paths into programs" >&5
hardcode_action=
if test -n "$hardcode_libdir_flag_spec" || \
test -n "$runpath_var"; then
@@ -4414,7 +4524,7 @@ echo "$ac_t""$hardcode_action" 1>&6
striplib=
old_striplib=
echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6
-echo "configure:4418: checking whether stripping libraries is possible" >&5
+echo "configure:4528: checking whether stripping libraries is possible" >&5
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
@@ -4428,7 +4538,7 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
# PORTME Fill in your ld.so characteristics
echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
-echo "configure:4432: checking dynamic linker characteristics" >&5
+echo "configure:4542: checking dynamic linker characteristics" >&5
library_names_spec=
libname_spec='lib$name'
soname_spec=
@@ -4466,22 +4576,24 @@ aix4* | aix5*)
# depend on `.', always an invalid library. This was fixed in
# development snapshots of GCC prior to 3.0.
case $host_os in
- aix4 | aix4.[01] | aix4.[01].*)
- if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
- echo ' yes '
- echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
- :
- else
- can_build_shared=no
- fi
- ;;
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
esac
- # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
- # soname into executable. Probably we can add versioning support to
- # collect2, so additional links can be useful in future.
+ # AIX (on Power*) has no versioning support, so currently we can
+ # not hardcode correct soname into executable. Probably we can
+ # add versioning support to collect2, so additional links can
+ # be useful in future.
if test "$aix_use_runtimelinking" = yes; then
- # If using run time linking (on AIX 4.2 or later) use lib.so instead of
- # lib.a to let people know that these are not typical AIX shared libraries.
+ # If using run time linking (on AIX 4.2 or later) use lib.so
+ # instead of lib.a to let people know that these are not
+ # typical AIX shared libraries.
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
else
# We preserve .a as extension for shared libraries through AIX4.2
@@ -4490,7 +4602,6 @@ aix4* | aix5*)
soname_spec='${libname}${release}.so$major'
fi
shlibpath_var=LIBPATH
- deplibs_check_method=pass_all
fi
;;
@@ -4703,9 +4814,19 @@ newsos6)
openbsd*)
version_type=sunos
- if test "$with_gnu_ld" = yes; then
- need_lib_prefix=no
- need_version=no
+ need_lib_prefix=no
+ need_version=no
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ case "$host_os" in
+ openbsd2.[89] | openbsd2.[89].*)
+ shlibpath_overrides_runpath=no
+ ;;
+ *)
+ shlibpath_overrides_runpath=yes
+ ;;
+ esac
+ else
+ shlibpath_overrides_runpath=yes
fi
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
@@ -4814,9 +4935,38 @@ test "$dynamic_linker" = no && can_build_shared=no
# Report the final consequences.
echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
-echo "configure:4818: checking if libtool supports shared libraries" >&5
+echo "configure:4939: checking if libtool supports shared libraries" >&5
echo "$ac_t""$can_build_shared" 1>&6
+echo $ac_n "checking whether to build shared libraries""... $ac_c" 1>&6
+echo "configure:4943: checking whether to build shared libraries" >&5
+test "$can_build_shared" = "no" && enable_shared=no
+
+# On AIX, shared libraries and static libraries use the same namespace, and
+# are all built from PIC.
+case "$host_os" in
+aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+aix4*)
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+ test "$enable_shared" = yes && enable_static=no
+ fi
+ ;;
+esac
+echo "$ac_t""$enable_shared" 1>&6
+
+echo $ac_n "checking whether to build static libraries""... $ac_c" 1>&6
+echo "configure:4966: checking whether to build static libraries" >&5
+# Make sure either enable_shared or enable_static is yes.
+test "$enable_shared" = yes || enable_static=yes
+echo "$ac_t""$enable_static" 1>&6
+
if test "$hardcode_action" = relink; then
# Fast installation is not supported
enable_fast_install=no
@@ -4852,27 +5002,73 @@ else
;;
*)
- echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
-echo "configure:4857: checking for dlopen in -ldl" >&5
-ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for shl_load""... $ac_c" 1>&6
+echo "configure:5007: checking for shl_load" >&5
+if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char shl_load();
+
+int main() {
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_shl_load) || defined (__stub___shl_load)
+choke me
+#else
+shl_load();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:5035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_shl_load=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_shl_load=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ lt_cv_dlopen="shl_load"
+else
+ echo "$ac_t""no" 1>&6
+echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
+echo "configure:5053: checking for shl_load in -ldld" >&5
+ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-ldl $LIBS"
+LIBS="-ldld $LIBS"
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -4887,16 +5083,16 @@ LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for dlopen""... $ac_c" 1>&6
-echo "configure:4895: checking for dlopen" >&5
+echo "configure:5091: checking for dlopen" >&5
if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_dlopen=yes"
else
@@ -4936,54 +5132,46 @@ if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then
lt_cv_dlopen="dlopen"
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking for shl_load""... $ac_c" 1>&6
-echo "configure:4941: checking for shl_load" >&5
-if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
+echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
+echo "configure:5137: checking for dlopen in -ldl" >&5
+ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- cat > conftest.$ac_ext < conftest.$ac_ext <
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char shl_load();
+char dlopen();
int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_shl_load) || defined (__stub___shl_load)
-choke me
-#else
-shl_load();
-#endif
-
+dlopen()
; return 0; }
EOF
-if { (eval echo configure:4969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- eval "ac_cv_func_shl_load=yes"
+ eval "ac_cv_lib_$ac_lib_var=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_func_shl_load=no"
+ eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
-fi
+LIBS="$ac_save_LIBS"
-if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- lt_cv_dlopen="shl_load"
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
-echo "configure:4987: checking for dlopen in -lsvld" >&5
+echo "configure:5175: checking for dlopen in -lsvld" >&5
ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -4991,7 +5179,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lsvld $LIBS"
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -5020,27 +5208,27 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
-echo "configure:5025: checking for shl_load in -ldld" >&5
-ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
+echo "configure:5213: checking for dld_link in -ldld" >&5
+ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-ldld $LIBS"
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -5060,13 +5248,16 @@ else
echo "$ac_t""no" 1>&6
fi
+
+fi
+
fi
-
+
fi
-
+
fi
@@ -5093,7 +5284,7 @@ fi
LIBS="$lt_cv_dlopen_libs $LIBS"
echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6
-echo "configure:5097: checking whether a program can dlopen itself" >&5
+echo "configure:5288: checking whether a program can dlopen itself" >&5
if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -5103,7 +5294,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
+ if { (eval echo configure:5359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
(./conftest; exit; ) 2>/dev/null
lt_status=$?
case x$lt_status in
@@ -5187,7 +5378,7 @@ echo "$ac_t""$lt_cv_dlopen_self" 1>&6
if test "x$lt_cv_dlopen_self" = xyes; then
LDFLAGS="$LDFLAGS $link_static_flag"
echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6
-echo "configure:5191: checking whether a statically linked program can dlopen itself" >&5
+echo "configure:5382: checking whether a statically linked program can dlopen itself" >&5
if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -5197,7 +5388,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
+ if { (eval echo configure:5453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
(./conftest; exit; ) 2>/dev/null
lt_status=$?
case x$lt_status in
@@ -5307,14 +5498,14 @@ if test "$enable_shared" = yes && test "$GCC" = yes; then
# systems, -lgcc has to come before -lc. If gcc already passes -lc
# to ld, don't add -lc before -lgcc.
echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6
-echo "configure:5311: checking whether -lc should be explicitly linked in" >&5
+echo "configure:5502: checking whether -lc should be explicitly linked in" >&5
if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
$rm conftest*
echo 'static int dummy;' > conftest.$ac_ext
- if { (eval echo configure:5318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ if { (eval echo configure:5509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
soname=conftest
lib=conftest
libobjs=conftest.$ac_objext
@@ -5327,7 +5518,7 @@ else
libname=conftest
save_allow_undefined_flag=$allow_undefined_flag
allow_undefined_flag=
- if { (eval echo configure:5331: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
+ if { (eval echo configure:5522: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
then
lt_cv_archive_cmds_need_lc=no
else
@@ -5381,6 +5572,7 @@ if test -f "$ltmain"; then
old_striplib striplib file_magic_cmd export_symbols_cmds \
deplibs_check_method allow_undefined_flag no_undefined_flag \
finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
+ global_symbol_to_c_name_address \
hardcode_libdir_flag_spec hardcode_libdir_separator \
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
@@ -5447,12 +5639,12 @@ SHELL=$lt_SHELL
# Whether or not to build shared libraries.
build_libtool_libs=$enable_shared
-# Whether or not to add -lc for building shared libraries.
-build_libtool_need_lc=$need_lc
-
# Whether or not to build static libraries.
build_old_libs=$enable_static
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$need_lc
+
# Whether or not to optimize for fast installation.
fast_install=$enable_fast_install
@@ -5618,6 +5810,9 @@ global_symbol_pipe=$lt_global_symbol_pipe
# Transform the output of nm in a proper C declaration
global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
+# Transform the output of nm in a C name address pair
+global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
+
# This is the shared library runtime path variable.
runpath_var=$runpath_var
@@ -5740,9 +5935,9 @@ EOF
# return TRUE;
# }
# /* ltdll.c ends here */
- # This is a source program that is used to create import libraries
- # on Windows for dlls which lack them. Don't remove nor modify the
- # starting and closing comments
+ # This is a source program that is used to create import libraries
+ # on Windows for dlls which lack them. Don't remove nor modify the
+ # starting and closing comments
# /* impgen.c starts here */
# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
#
@@ -5914,12 +6109,12 @@ EOF
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
-echo "configure:5918: checking for ANSI C header files" >&5
+echo "configure:6113: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
@@ -5927,7 +6122,7 @@ else
#include
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:5931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:6126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -5944,7 +6139,7 @@ rm -f conftest*
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <
EOF
@@ -5962,7 +6157,7 @@ fi
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <
EOF
@@ -5983,7 +6178,7 @@ if test "$cross_compiling" = yes; then
:
else
cat > conftest.$ac_ext <
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -5994,7 +6189,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
-if { (eval echo configure:5998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:6193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
@@ -6021,17 +6216,17 @@ for ac_hdr in limits.h malloc.h string.h unistd.h values.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:6025: checking for $ac_hdr" >&5
+echo "configure:6220: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:6035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:6230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -6058,13 +6253,13 @@ fi
done
echo $ac_n "checking for stdbool.h""... $ac_c" 1>&6
-echo "configure:6062: checking for stdbool.h" >&5
+echo "configure:6257: checking for stdbool.h" >&5
if eval "test \"`echo '$''{'gt_cv_header_stdbool_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#if false
@@ -6081,7 +6276,7 @@ int main() {
; return 0; }
EOF
-if { (eval echo configure:6085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gt_cv_header_stdbool_h=yes
else
@@ -6107,12 +6302,12 @@ fi
echo $ac_n "checking for working const""... $ac_c" 1>&6
-echo "configure:6111: checking for working const" >&5
+echo "configure:6306: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_const=yes
else
@@ -6182,21 +6377,21 @@ EOF
fi
echo $ac_n "checking for inline""... $ac_c" 1>&6
-echo "configure:6186: checking for inline" >&5
+echo "configure:6381: checking for inline" >&5
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_inline=$ac_kw; break
else
@@ -6223,19 +6418,19 @@ esac
echo $ac_n "checking for signed""... $ac_c" 1>&6
-echo "configure:6227: checking for signed" >&5
+echo "configure:6422: checking for signed" >&5
if eval "test \"`echo '$''{'bh_cv_c_signed'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bh_cv_c_signed=yes
else
@@ -6257,12 +6452,12 @@ EOF
echo $ac_n "checking whether backslash-a works in strings""... $ac_c" 1>&6
-echo "configure:6261: checking whether backslash-a works in strings" >&5
+echo "configure:6456: checking whether backslash-a works in strings" >&5
if eval "test \"`echo '$''{'ac_cv_c_backslash_a'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_backslash_a=yes
else
@@ -6298,12 +6493,12 @@ EOF
echo $ac_n "checking for unsigned long long""... $ac_c" 1>&6
-echo "configure:6302: checking for unsigned long long" >&5
+echo "configure:6497: checking for unsigned long long" >&5
if eval "test \"`echo '$''{'ac_cv_type_unsigned_long_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <> i | ullmax / ull | ullmax % ull;
; return 0; }
EOF
-if { (eval echo configure:6315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_type_unsigned_long_long=yes
else
@@ -6332,12 +6527,12 @@ EOF
fi
echo $ac_n "checking for off_t""... $ac_c" 1>&6
-echo "configure:6336: checking for off_t" >&5
+echo "configure:6531: checking for off_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#if STDC_HEADERS
@@ -6365,12 +6560,12 @@ EOF
fi
echo $ac_n "checking for size_t""... $ac_c" 1>&6
-echo "configure:6369: checking for size_t" >&5
+echo "configure:6564: checking for size_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#if STDC_HEADERS
@@ -6398,19 +6593,19 @@ EOF
fi
echo $ac_n "checking for ptrdiff_t""... $ac_c" 1>&6
-echo "configure:6402: checking for ptrdiff_t" >&5
+echo "configure:6597: checking for ptrdiff_t" >&5
if eval "test \"`echo '$''{'am_cv_type_ptrdiff_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
int main() {
ptrdiff_t p
; return 0; }
EOF
-if { (eval echo configure:6414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
am_cv_type_ptrdiff_t=yes
else
@@ -6432,12 +6627,12 @@ EOF
echo $ac_n "checking for inttypes.h""... $ac_c" 1>&6
-echo "configure:6436: checking for inttypes.h" >&5
+echo "configure:6631: checking for inttypes.h" >&5
if eval "test \"`echo '$''{'jm_ac_cv_header_inttypes_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
@@ -6445,7 +6640,7 @@ int main() {
uintmax_t i = (uintmax_t) -1;
; return 0; }
EOF
-if { (eval echo configure:6449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
jm_ac_cv_header_inttypes_h=yes
else
@@ -6467,12 +6662,12 @@ EOF
echo $ac_n "checking for stdint.h""... $ac_c" 1>&6
-echo "configure:6471: checking for stdint.h" >&5
+echo "configure:6666: checking for stdint.h" >&5
if eval "test \"`echo '$''{'jm_ac_cv_header_stdint_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
@@ -6480,7 +6675,7 @@ int main() {
uintmax_t i = (uintmax_t) -1;
; return 0; }
EOF
-if { (eval echo configure:6484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
jm_ac_cv_header_stdint_h=yes
else
@@ -6516,12 +6711,12 @@ EOF
echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
-echo "configure:6520: checking for ssize_t" >&5
+echo "configure:6715: checking for ssize_t" >&5
if eval "test \"`echo '$''{'gt_cv_ssize_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
@@ -6532,7 +6727,7 @@ int main() {
int x = sizeof (ssize_t *) + sizeof (ssize_t);
; return 0; }
EOF
-if { (eval echo configure:6536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gt_cv_ssize_t=yes
else
@@ -6553,12 +6748,12 @@ EOF
fi
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
-echo "configure:6557: checking for pid_t" >&5
+echo "configure:6752: checking for pid_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#if STDC_HEADERS
@@ -6589,19 +6784,19 @@ fi
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# for constant arguments. Useless!
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
-echo "configure:6593: checking for working alloca.h" >&5
+echo "configure:6788: checking for working alloca.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
-if { (eval echo configure:6605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_header_alloca_h=yes
else
@@ -6622,12 +6817,12 @@ EOF
fi
echo $ac_n "checking for alloca""... $ac_c" 1>&6
-echo "configure:6626: checking for alloca" >&5
+echo "configure:6821: checking for alloca" >&5
if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_func_alloca_works=yes
else
@@ -6687,12 +6882,12 @@ EOF
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
-echo "configure:6691: checking whether alloca needs Cray hooks" >&5
+echo "configure:6886: checking whether alloca needs Cray hooks" >&5
if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
if test $ac_cv_os_cray = yes; then
for ac_func in _getb67 GETB67 getb67; do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6721: checking for $ac_func" >&5
+echo "configure:6916: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -6772,7 +6967,7 @@ done
fi
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
-echo "configure:6776: checking stack direction for C alloca" >&5
+echo "configure:6971: checking stack direction for C alloca" >&5
if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -6780,7 +6975,7 @@ else
ac_cv_c_stack_direction=0
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:6998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_c_stack_direction=1
else
@@ -6821,12 +7016,12 @@ EOF
fi
echo $ac_n "checking for vprintf""... $ac_c" 1>&6
-echo "configure:6825: checking for vprintf" >&5
+echo "configure:7020: checking for vprintf" >&5
if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_vprintf=yes"
else
@@ -6873,12 +7068,12 @@ fi
if test "$ac_cv_func_vprintf" != yes; then
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
-echo "configure:6877: checking for _doprnt" >&5
+echo "configure:7072: checking for _doprnt" >&5
if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func__doprnt=yes"
else
@@ -6929,12 +7124,12 @@ for ac_func in getcwd mblen memcpy posix_spawn putc_unlocked raise select \
strerror strtoul uname utime utimes
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6933: checking for $ac_func" >&5
+echo "configure:7128: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -6981,16 +7176,16 @@ else
fi
done
-for ac_func in memset stpcpy stpncpy strcspn \
+for ac_func in memset stpcpy strcspn \
strcasecmp strncasecmp strpbrk strstr vasprintf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6989: checking for $ac_func" >&5
+echo "configure:7184: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -7041,12 +7236,12 @@ done
am_getline_needs_run_time_check=no
echo $ac_n "checking for getline""... $ac_c" 1>&6
-echo "configure:7045: checking for getline" >&5
+echo "configure:7240: checking for getline" >&5
if eval "test \"`echo '$''{'ac_cv_func_getline'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getline=yes"
else
@@ -7091,7 +7286,7 @@ fi
if test $am_getline_needs_run_time_check = yes; then
echo $ac_n "checking for working getline function""... $ac_c" 1>&6
-echo "configure:7095: checking for working getline function" >&5
+echo "configure:7290: checking for working getline function" >&5
if eval "test \"`echo '$''{'am_cv_func_working_getline'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -7100,7 +7295,7 @@ else
am_cv_func_working_getline=no
else
cat > conftest.$ac_ext <
@@ -7119,7 +7314,7 @@ else
}
EOF
-if { (eval echo configure:7123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:7318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
am_cv_func_working_getline=yes
else
@@ -7149,12 +7344,12 @@ if test $am_cv_func_working_getline != yes; then
for ac_func in getdelim
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:7153: checking for $ac_func" >&5
+echo "configure:7348: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -7204,7 +7399,7 @@ done
fi
echo $ac_n "checking for working fnmatch function""... $ac_c" 1>&6
-echo "configure:7208: checking for working fnmatch function" >&5
+echo "configure:7403: checking for working fnmatch function" >&5
if eval "test \"`echo '$''{'gt_cv_func_fnmatch_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -7213,7 +7408,7 @@ else
gt_cv_func_fnmatch_works=no
else
cat > conftest.$ac_ext <
@@ -7225,7 +7420,7 @@ else
}
EOF
-if { (eval echo configure:7229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:7424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
gt_cv_func_fnmatch_works=yes
else
@@ -7251,6 +7446,7 @@ EOF
if test $gt_cv_func_fnmatch_works = yes; then
rm -f lib/fnmatch.h
else
+ test -d lib || mkdir lib
echo '#include "pfnmatch.h"' > lib/fnmatch.h
cat >> confdefs.h <<\EOF
#define fnmatch posix_fnmatch
@@ -7266,17 +7462,17 @@ EOF
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:7270: checking for $ac_hdr" >&5
+echo "configure:7466: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:7280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:7476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -7305,12 +7501,12 @@ done
for ac_func in isascii iswcntrl iswprint mbsinit wcwidth
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:7309: checking for $ac_func" >&5
+echo "configure:7505: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -7359,19 +7555,19 @@ done
echo $ac_n "checking whether mbrtowc and mbstate_t are properly declared""... $ac_c" 1>&6
-echo "configure:7363: checking whether mbrtowc and mbstate_t are properly declared" >&5
+echo "configure:7559: checking whether mbrtowc and mbstate_t are properly declared" >&5
if eval "test \"`echo '$''{'jm_cv_func_mbrtowc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
int main() {
mbstate_t state; return ! (sizeof state && mbrtowc);
; return 0; }
EOF
-if { (eval echo configure:7375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
jm_cv_func_mbrtowc=yes
else
@@ -7393,12 +7589,12 @@ EOF
echo $ac_n "checking whether wcwidth is declared""... $ac_c" 1>&6
-echo "configure:7397: checking whether wcwidth is declared" >&5
+echo "configure:7593: checking whether wcwidth is declared" >&5
if eval "test \"`echo '$''{'ac_cv_have_decl_wcwidth'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <. */
@@ -7417,7 +7613,7 @@ int main() {
; return 0; }
EOF
-if { (eval echo configure:7421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_have_decl_wcwidth=yes
else
@@ -7445,17 +7641,17 @@ EOF
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:7449: checking for $ac_hdr" >&5
+echo "configure:7645: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:7459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:7655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -7483,12 +7679,12 @@ done
echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
-echo "configure:7487: checking for mbstate_t" >&5
+echo "configure:7683: checking for mbstate_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_mbstate_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_type_mbstate_t=yes
else
@@ -7524,12 +7720,12 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
-echo "configure:7528: checking for $ac_hdr that defines DIR" >&5
+echo "configure:7724: checking for $ac_hdr that defines DIR" >&5
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include <$ac_hdr>
@@ -7537,7 +7733,7 @@ int main() {
DIR *dirp = 0;
; return 0; }
EOF
-if { (eval echo configure:7541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_header_dirent_$ac_safe=yes"
else
@@ -7562,7 +7758,7 @@ done
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
if test $ac_header_dirent = dirent.h; then
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
-echo "configure:7566: checking for opendir in -ldir" >&5
+echo "configure:7762: checking for opendir in -ldir" >&5
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -7570,7 +7766,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ldir $LIBS"
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -7603,7 +7799,7 @@ fi
else
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
-echo "configure:7607: checking for opendir in -lx" >&5
+echo "configure:7803: checking for opendir in -lx" >&5
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -7611,7 +7807,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lx $LIBS"
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -7647,7 +7843,7 @@ fi
echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6
-echo "configure:7651: checking whether closedir returns void" >&5
+echo "configure:7847: checking whether closedir returns void" >&5
if eval "test \"`echo '$''{'ac_cv_func_closedir_void'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -7655,13 +7851,13 @@ else
ac_cv_func_closedir_void=yes
else
cat > conftest.$ac_ext <
#include <$ac_header_dirent>
int closedir(); main() { exit(closedir(opendir(".")) != 0); }
EOF
-if { (eval echo configure:7665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:7861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_closedir_void=no
else
@@ -7687,17 +7883,17 @@ fi
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:7691: checking for $ac_hdr" >&5
+echo "configure:7887: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:7701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:7897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -7724,7 +7920,7 @@ fi
done
echo $ac_n "checking for long file names""... $ac_c" 1>&6
-echo "configure:7728: checking for long file names" >&5
+echo "configure:7924: checking for long file names" >&5
if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -7770,12 +7966,12 @@ fi
for ac_func in pathconf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:7774: checking for $ac_func" >&5
+echo "configure:7970: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -7826,17 +8022,17 @@ done
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:7830: checking for $ac_hdr" >&5
+echo "configure:8026: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:7840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:8036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -7865,17 +8061,17 @@ done
ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
-echo "configure:7869: checking for vfork.h" >&5
+echo "configure:8065: checking for vfork.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:7879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:8075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -7900,18 +8096,18 @@ else
fi
echo $ac_n "checking for working vfork""... $ac_c" 1>&6
-echo "configure:7904: checking for working vfork" >&5
+echo "configure:8100: checking for working vfork" >&5
if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
echo $ac_n "checking for vfork""... $ac_c" 1>&6
-echo "configure:7910: checking for vfork" >&5
+echo "configure:8106: checking for vfork" >&5
if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_vfork=yes"
else
@@ -7956,7 +8152,7 @@ fi
ac_cv_func_vfork_works=$ac_cv_func_vfork
else
cat > conftest.$ac_ext <
@@ -8051,7 +8247,7 @@ main() {
}
}
EOF
-if { (eval echo configure:8055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:8251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_vfork_works=yes
else
@@ -8077,12 +8273,12 @@ fi
for ac_func in waitpid
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8081: checking for $ac_func" >&5
+echo "configure:8277: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -8130,12 +8326,12 @@ fi
done
echo $ac_n "checking for union wait""... $ac_c" 1>&6
-echo "configure:8134: checking for union wait" >&5
+echo "configure:8330: checking for union wait" >&5
if eval "test \"`echo '$''{'gt_cv_union_wait'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
@@ -8158,7 +8354,7 @@ pid = waitpid (-1, &status, 0);
; return 0; }
EOF
-if { (eval echo configure:8162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
gt_cv_union_wait=yes
else
@@ -8180,12 +8376,12 @@ echo "$ac_t""$gt_cv_union_wait" 1>&6
echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
-echo "configure:8184: checking whether stat file-mode macros are broken" >&5
+echo "configure:8380: checking whether stat file-mode macros are broken" >&5
if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
@@ -8238,12 +8434,12 @@ fi
for ac_func in __secure_getenv
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8242: checking for $ac_func" >&5
+echo "configure:8438: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -8295,12 +8491,12 @@ done
for ac_func in mkdtemp
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8299: checking for $ac_func" >&5
+echo "configure:8495: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -8350,12 +8546,12 @@ done
echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
-echo "configure:8354: checking whether stat file-mode macros are broken" >&5
+echo "configure:8550: checking whether stat file-mode macros are broken" >&5
if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
@@ -8407,12 +8603,12 @@ fi
echo $ac_n "checking for inttypes.h""... $ac_c" 1>&6
-echo "configure:8411: checking for inttypes.h" >&5
+echo "configure:8607: checking for inttypes.h" >&5
if eval "test \"`echo '$''{'jm_ac_cv_header_inttypes_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
@@ -8420,7 +8616,7 @@ int main() {
uintmax_t i = (uintmax_t) -1;
; return 0; }
EOF
-if { (eval echo configure:8424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
jm_ac_cv_header_inttypes_h=yes
else
@@ -8442,12 +8638,12 @@ EOF
echo $ac_n "checking for stdint.h""... $ac_c" 1>&6
-echo "configure:8446: checking for stdint.h" >&5
+echo "configure:8642: checking for stdint.h" >&5
if eval "test \"`echo '$''{'jm_ac_cv_header_stdint_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
@@ -8455,7 +8651,7 @@ int main() {
uintmax_t i = (uintmax_t) -1;
; return 0; }
EOF
-if { (eval echo configure:8459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
jm_ac_cv_header_stdint_h=yes
else
@@ -8479,17 +8675,17 @@ EOF
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:8483: checking for $ac_hdr" >&5
+echo "configure:8679: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:8689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -8518,12 +8714,12 @@ done
for ac_func in gettimeofday
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8522: checking for $ac_func" >&5
+echo "configure:8718: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -8574,7 +8770,7 @@ done
signals_not_posix=
cat > conftest.$ac_ext <
EOF
@@ -8589,12 +8785,12 @@ rm -f conftest*
if test -z "$signals_not_posix"; then
echo $ac_n "checking for sigprocmask""... $ac_c" 1>&6
-echo "configure:8593: checking for sigprocmask" >&5
+echo "configure:8789: checking for sigprocmask" >&5
if eval "test \"`echo '$''{'ac_cv_func_sigprocmask'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_sigprocmask=yes"
else
@@ -8643,12 +8839,12 @@ fi
echo $ac_n "checking for signal handlers with siginfo_t""... $ac_c" 1>&6
-echo "configure:8647: checking for signal handlers with siginfo_t" >&5
+echo "configure:8843: checking for signal handlers with siginfo_t" >&5
if eval "test \"`echo '$''{'gt_cv_siginfo_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
@@ -8661,7 +8857,7 @@ action.sa_sigaction = (void *) 0;
; return 0; }
EOF
-if { (eval echo configure:8665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gt_cv_siginfo_t=yes
else
@@ -8682,15 +8878,15 @@ EOF
fi
- for ac_func in setenv
+ for ac_func in setenv unsetenv
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8689: checking for $ac_func" >&5
+echo "configure:8885: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -8743,17 +8939,17 @@ done
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:8747: checking for $ac_hdr" >&5
+echo "configure:8943: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:8953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -8782,12 +8978,12 @@ done
for ac_func in tsearch
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8786: checking for $ac_func" >&5
+echo "configure:8982: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:9010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -8837,13 +9033,13 @@ done
echo $ac_n "checking if errno is properly declared""... $ac_c" 1>&6
-echo "configure:8841: checking if errno is properly declared" >&5
+echo "configure:9037: checking if errno is properly declared" >&5
if eval "test \"`echo '$''{'gt_cv_var_errno_declaration'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
extern struct { int foo; } errno;
@@ -8851,7 +9047,7 @@ int main() {
errno.foo = 1;
; return 0; }
EOF
-if { (eval echo configure:8855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gt_cv_var_errno_declaration=no
else
@@ -8874,13 +9070,13 @@ EOF
echo $ac_n "checking if environ is properly declared""... $ac_c" 1>&6
-echo "configure:8878: checking if environ is properly declared" >&5
+echo "configure:9074: checking if environ is properly declared" >&5
if eval "test \"`echo '$''{'gt_cv_var_environ_declaration'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
extern struct { int foo; } environ;
@@ -8888,7 +9084,7 @@ int main() {
environ.foo = 1;
; return 0; }
EOF
-if { (eval echo configure:8892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gt_cv_var_environ_declaration=no
else
@@ -8911,19 +9107,19 @@ EOF
echo $ac_n "checking for error_at_line""... $ac_c" 1>&6
-echo "configure:8915: checking for error_at_line" >&5
+echo "configure:9111: checking for error_at_line" >&5
if eval "test \"`echo '$''{'am_cv_lib_error_at_line'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:9123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
am_cv_lib_error_at_line=yes
else
@@ -8948,17 +9144,17 @@ for ac_hdr in locale.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:8952: checking for $ac_hdr" >&5
+echo "configure:9148: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:9158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -8985,13 +9181,13 @@ fi
done
echo $ac_n "checking for setlocale declaration""... $ac_c" 1>&6
-echo "configure:8989: checking for setlocale declaration" >&5
+echo "configure:9185: checking for setlocale declaration" >&5
if eval "test \"`echo '$''{'gt_cv_proto_setlocale'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
@@ -9010,7 +9206,7 @@ int main() {
; return 0; }
EOF
-if { (eval echo configure:9014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gt_cv_proto_setlocale_arg1=""
else
@@ -9037,17 +9233,17 @@ EOF
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:9041: checking for $ac_hdr" >&5
+echo "configure:9237: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:9247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -9076,12 +9272,12 @@ done
for ac_func in gethostname gethostbyname inet_ntop
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:9080: checking for $ac_func" >&5
+echo "configure:9276: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:9304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -9130,13 +9326,13 @@ done
echo $ac_n "checking for IPv6 sockets""... $ac_c" 1>&6
-echo "configure:9134: checking for IPv6 sockets" >&5
+echo "configure:9330: checking for IPv6 sockets" >&5
if eval "test \"`echo '$''{'gt_cv_socket_ipv6'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
@@ -9146,7 +9342,7 @@ int main() {
int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z;
; return 0; }
EOF
-if { (eval echo configure:9150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gt_cv_socket_ipv6=yes
else
@@ -9186,7 +9382,7 @@ EOF
echo $ac_n "checking for shared library run path origin""... $ac_c" 1>&6
-echo "configure:9190: checking for shared library run path origin" >&5
+echo "configure:9386: checking for shared library run path origin" >&5
if eval "test \"`echo '$''{'acl_cv_rpath'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -9223,7 +9419,7 @@ echo "$ac_t""$acl_cv_rpath" 1>&6
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:9227: checking for $ac_word" >&5
+echo "configure:9423: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -9254,17 +9450,17 @@ for ac_hdr in unistd.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:9258: checking for $ac_hdr" >&5
+echo "configure:9454: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:9464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -9293,12 +9489,12 @@ done
for ac_func in getpagesize
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:9297: checking for $ac_func" >&5
+echo "configure:9493: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:9521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -9346,7 +9542,7 @@ fi
done
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
-echo "configure:9350: checking for working mmap" >&5
+echo "configure:9546: checking for working mmap" >&5
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -9354,7 +9550,7 @@ else
ac_cv_func_mmap_fixed_mapped=no
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:9694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_mmap_fixed_mapped=yes
else
@@ -9518,12 +9714,12 @@ fi
echo $ac_n "checking whether we are using the GNU C Library 2.1 or newer""... $ac_c" 1>&6
-echo "configure:9522: checking whether we are using the GNU C Library 2.1 or newer" >&5
+echo "configure:9718: checking whether we are using the GNU C Library 2.1 or newer" >&5
if eval "test \"`echo '$''{'ac_cv_gnu_library_2_1'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
@@ -9938,7 +10134,7 @@ fi
echo $ac_n "checking for iconv""... $ac_c" 1>&6
-echo "configure:9942: checking for iconv" >&5
+echo "configure:10138: checking for iconv" >&5
if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -9946,7 +10142,7 @@ else
am_cv_func_iconv="no, consider installing GNU libiconv"
am_cv_lib_iconv=no
cat > conftest.$ac_ext <
#include
@@ -9956,7 +10152,7 @@ iconv_t cd = iconv_open("","");
iconv_close(cd);
; return 0; }
EOF
-if { (eval echo configure:9960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
am_cv_func_iconv=yes
else
@@ -9968,7 +10164,7 @@ rm -f conftest*
am_save_LIBS="$LIBS"
LIBS="$LIBS $LIBICONV"
cat > conftest.$ac_ext <
#include
@@ -9978,7 +10174,7 @@ iconv_t cd = iconv_open("","");
iconv_close(cd);
; return 0; }
EOF
-if { (eval echo configure:9982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
am_cv_lib_iconv=yes
am_cv_func_iconv=yes
@@ -10001,7 +10197,7 @@ EOF
fi
if test "$am_cv_lib_iconv" = yes; then
echo $ac_n "checking how to link with libiconv""... $ac_c" 1>&6
-echo "configure:10005: checking how to link with libiconv" >&5
+echo "configure:10201: checking how to link with libiconv" >&5
echo "$ac_t""$LIBICONV" 1>&6
else
CPPFLAGS="$am_save_CPPFLAGS"
@@ -10017,7 +10213,7 @@ echo "configure:10005: checking how to link with libiconv" >&5
# Extract the first word of "msgfmt", so it can be a program name with args.
set dummy msgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:10021: checking for $ac_word" >&5
+echo "configure:10217: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -10052,7 +10248,7 @@ fi
# Extract the first word of "gmsgfmt", so it can be a program name with args.
set dummy gmsgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:10056: checking for $ac_word" >&5
+echo "configure:10252: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -10089,7 +10285,7 @@ fi
# Extract the first word of "xgettext", so it can be a program name with args.
set dummy xgettext; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:10093: checking for $ac_word" >&5
+echo "configure:10289: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -10126,7 +10322,7 @@ fi
# Extract the first word of "msgmerge", so it can be a program name with args.
set dummy msgmerge; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:10130: checking for $ac_word" >&5
+echo "configure:10326: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_MSGMERGE'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -10189,17 +10385,17 @@ stdlib.h string.h unistd.h sys/param.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:10193: checking for $ac_hdr" >&5
+echo "configure:10389: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:10399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -10230,12 +10426,12 @@ geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:10234: checking for $ac_func" >&5
+echo "configure:10430: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -10287,13 +10483,13 @@ done
if test "$am_cv_func_iconv" = yes; then
echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6
-echo "configure:10291: checking for iconv declaration" >&5
+echo "configure:10487: checking for iconv declaration" >&5
if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
@@ -10312,7 +10508,7 @@ int main() {
; return 0; }
EOF
-if { (eval echo configure:10316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:10512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
am_cv_proto_iconv_arg1=""
else
@@ -10336,19 +10532,19 @@ EOF
echo $ac_n "checking for nl_langinfo and CODESET""... $ac_c" 1>&6
-echo "configure:10340: checking for nl_langinfo and CODESET" >&5
+echo "configure:10536: checking for nl_langinfo and CODESET" >&5
if eval "test \"`echo '$''{'am_cv_langinfo_codeset'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
int main() {
char* cs = nl_langinfo(CODESET);
; return 0; }
EOF
-if { (eval echo configure:10352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
am_cv_langinfo_codeset=yes
else
@@ -10371,19 +10567,19 @@ EOF
if test $ac_cv_header_locale_h = yes; then
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
-echo "configure:10375: checking for LC_MESSAGES" >&5
+echo "configure:10571: checking for LC_MESSAGES" >&5
if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
int main() {
return LC_MESSAGES
; return 0; }
EOF
-if { (eval echo configure:10387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
am_cv_val_LC_MESSAGES=yes
else
@@ -10409,7 +10605,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:10413: checking for $ac_word" >&5
+echo "configure:10609: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_INTLBISON'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -10442,7 +10638,7 @@ done
ac_verc_fail=yes
else
echo $ac_n "checking version of bison""... $ac_c" 1>&6
-echo "configure:10446: checking version of bison" >&5
+echo "configure:10642: checking version of bison" >&5
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
@@ -10469,7 +10665,7 @@ echo "configure:10446: checking version of bison" >&5
echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
-echo "configure:10473: checking whether NLS is requested" >&5
+echo "configure:10669: checking whether NLS is requested" >&5
# Check whether --enable-nls or --disable-nls was given.
if test "${enable_nls+set}" = set; then
enableval="$enable_nls"
@@ -10493,7 +10689,7 @@ fi
gt_use_preinstalled_gnugettext=no
echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
-echo "configure:10497: checking whether included gettext is requested" >&5
+echo "configure:10693: checking whether included gettext is requested" >&5
# Check whether --with-included-gettext or --without-included-gettext was given.
if test "${with_included_gettext+set}" = set; then
withval="$with_included_gettext"
@@ -10513,21 +10709,22 @@ fi
echo $ac_n "checking for GNU gettext in libc""... $ac_c" 1>&6
-echo "configure:10517: checking for GNU gettext in libc" >&5
+echo "configure:10713: checking for GNU gettext in libc" >&5
if eval "test \"`echo '$''{'gt_cv_func_gnugettext2_libc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
extern int _nl_msg_cat_cntr;
+extern int *_nl_domain_bindings;
int main() {
bindtextdomain ("", "");
-return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr
+return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
; return 0; }
EOF
-if { (eval echo configure:10531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
gt_cv_func_gnugettext2_libc=yes
else
@@ -10897,7 +11094,7 @@ fi
fi
echo $ac_n "checking for GNU gettext in libintl""... $ac_c" 1>&6
-echo "configure:10901: checking for GNU gettext in libintl" >&5
+echo "configure:11098: checking for GNU gettext in libintl" >&5
if eval "test \"`echo '$''{'gt_cv_func_gnugettext2_libintl'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -10906,16 +11103,22 @@ else
gt_save_LIBS="$LIBS"
LIBS="$LIBS $LIBINTL"
cat > conftest.$ac_ext <
extern int _nl_msg_cat_cntr;
+extern int *_nl_domain_bindings;
+extern
+#ifdef __cplusplus
+"C"
+#endif
+const char *_nl_expand_alias ();
int main() {
bindtextdomain ("", "");
-return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr
+return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
; return 0; }
EOF
-if { (eval echo configure:10919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
gt_cv_func_gnugettext2_libintl=yes
else
@@ -10928,16 +11131,22 @@ rm -f conftest*
if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
LIBS="$LIBS $LIBICONV"
cat > conftest.$ac_ext <
extern int _nl_msg_cat_cntr;
+extern int *_nl_domain_bindings;
+extern
+#ifdef __cplusplus
+"C"
+#endif
+const char *_nl_expand_alias ();
int main() {
bindtextdomain ("", "");
-return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr
+return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
; return 0; }
EOF
-if { (eval echo configure:10941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
LIBINTL="$LIBINTL $LIBICONV"
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
@@ -10960,6 +11169,10 @@ echo "$ac_t""$gt_cv_func_gnugettext2_libintl" 1>&6
|| { test "$gt_cv_func_gnugettext2_libintl" = "yes" \
&& test "$PACKAGE" != gettext; }; then
gt_use_preinstalled_gnugettext=yes
+ else
+ LIBINTL=
+ LTLIBINTL=
+ INCINTL=
fi
@@ -10999,7 +11212,7 @@ EOF
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
echo $ac_n "checking how to link with libintl""... $ac_c" 1>&6
-echo "configure:11003: checking how to link with libintl" >&5
+echo "configure:11216: checking how to link with libintl" >&5
echo "$ac_t""$LIBINTL" 1>&6
for element in $INCINTL; do
@@ -11073,12 +11286,464 @@ EOF
+case "$host_os" in
+ linux*)
+ cat >> confdefs.h <<\EOF
+#define DYNLOAD_LIBEXPAT 1
+EOF
+
+ LIBEXPAT="-ldl"
+ LTLIBEXPAT="-ldl"
+
+
+ ;;
+ *)
+
+
+
+
+
+
+
+
+ use_additional=yes
+
+ acl_save_prefix="$prefix"
+ prefix="$acl_final_prefix"
+ acl_save_exec_prefix="$exec_prefix"
+ exec_prefix="$acl_final_exec_prefix"
+
+ eval additional_includedir=\"$includedir\"
+ eval additional_libdir=\"$libdir\"
+
+ exec_prefix="$acl_save_exec_prefix"
+ prefix="$acl_save_prefix"
+
+ # Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
+if test "${with_libexpat_prefix+set}" = set; then
+ withval="$with_libexpat_prefix"
+
+ if test "X$withval" = "Xno"; then
+ use_additional=no
+ else
+ if test "X$withval" = "X"; then
+
+ acl_save_prefix="$prefix"
+ prefix="$acl_final_prefix"
+ acl_save_exec_prefix="$exec_prefix"
+ exec_prefix="$acl_final_exec_prefix"
+
+ eval additional_includedir=\"$includedir\"
+ eval additional_libdir=\"$libdir\"
+
+ exec_prefix="$acl_save_exec_prefix"
+ prefix="$acl_save_prefix"
+
+ else
+ additional_includedir="$withval/include"
+ additional_libdir="$withval/lib"
+ fi
+ fi
+
+fi
+
+ LIBEXPAT=
+ LTLIBEXPAT=
+ INCEXPAT=
+ rpathdirs=
+ ltrpathdirs=
+ names_already_handled=
+ names_next_round='expat '
+ while test -n "$names_next_round"; do
+ names_this_round="$names_next_round"
+ names_next_round=
+ for name in $names_this_round; do
+ already_handled=
+ for n in $names_already_handled; do
+ if test "$n" = "$name"; then
+ already_handled=yes
+ break
+ fi
+ done
+ if test -z "$already_handled"; then
+ names_already_handled="$names_already_handled $name"
+ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
+ eval value=\"\$HAVE_LIB$uppername\"
+ if test -n "$value"; then
+ if test "$value" = yes; then
+ eval value=\"\$LIB$uppername\"
+ test -z "$value" || LIBEXPAT="${LIBEXPAT}${LIBEXPAT:+ }$value"
+ eval value=\"\$LTLIB$uppername\"
+ test -z "$value" || LTLIBEXPAT="${LTLIBEXPAT}${LTLIBEXPAT:+ }$value"
+ else
+ :
+ fi
+ else
+ found_dir=
+ found_la=
+ found_so=
+ found_a=
+ if test $use_additional = yes; then
+ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
+ found_dir="$additional_libdir"
+ found_so="$additional_libdir/lib$name.$shlibext"
+ if test -f "$additional_libdir/lib$name.la"; then
+ found_la="$additional_libdir/lib$name.la"
+ fi
+ else
+ if test -f "$additional_libdir/lib$name.$libext"; then
+ found_dir="$additional_libdir"
+ found_a="$additional_libdir/lib$name.$libext"
+ if test -f "$additional_libdir/lib$name.la"; then
+ found_la="$additional_libdir/lib$name.la"
+ fi
+ fi
+ fi
+ fi
+ if test "X$found_dir" = "X"; then
+ for x in $LDFLAGS $LTLIBEXPAT; do
+
+ acl_save_prefix="$prefix"
+ prefix="$acl_final_prefix"
+ acl_save_exec_prefix="$exec_prefix"
+ exec_prefix="$acl_final_exec_prefix"
+ eval x=\"$x\"
+ exec_prefix="$acl_save_exec_prefix"
+ prefix="$acl_save_prefix"
+
+ case "$x" in
+ -L*)
+ dir=`echo "X$x" | sed -e 's/^X-L//'`
+ if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
+ found_dir="$dir"
+ found_so="$dir/lib$name.$shlibext"
+ if test -f "$dir/lib$name.la"; then
+ found_la="$dir/lib$name.la"
+ fi
+ else
+ if test -f "$dir/lib$name.$libext"; then
+ found_dir="$dir"
+ found_a="$dir/lib$name.$libext"
+ if test -f "$dir/lib$name.la"; then
+ found_la="$dir/lib$name.la"
+ fi
+ fi
+ fi
+ ;;
+ esac
+ if test "X$found_dir" != "X"; then
+ break
+ fi
+ done
+ fi
+ if test "X$found_dir" != "X"; then
+ LTLIBEXPAT="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$found_dir -l$name"
+ if test "X$found_so" != "X"; then
+ if test "X$found_dir" = "X/usr/lib"; then
+ LIBEXPAT="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
+ else
+ haveit=
+ for x in $ltrpathdirs; do
+ if test "X$x" = "X$found_dir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ ltrpathdirs="$ltrpathdirs $found_dir"
+ fi
+ if test "$hardcode_direct" = yes; then
+ LIBEXPAT="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
+ else
+ if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
+ LIBEXPAT="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
+ haveit=
+ for x in $rpathdirs; do
+ if test "X$x" = "X$found_dir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ rpathdirs="$rpathdirs $found_dir"
+ fi
+ else
+ haveit=
+ for x in $LDFLAGS $LIBEXPAT; do
+
+ acl_save_prefix="$prefix"
+ prefix="$acl_final_prefix"
+ acl_save_exec_prefix="$exec_prefix"
+ exec_prefix="$acl_final_exec_prefix"
+ eval x=\"$x\"
+ exec_prefix="$acl_save_exec_prefix"
+ prefix="$acl_save_prefix"
+
+ if test "X$x" = "X-L$found_dir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ LIBEXPAT="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir"
+ fi
+ if test "$hardcode_minus_L" != no; then
+ LIBEXPAT="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
+ else
+ LIBEXPAT="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
+ fi
+ fi
+ fi
+ fi
+ else
+ if test "X$found_a" != "X"; then
+ LIBEXPAT="${LIBEXPAT}${LIBEXPAT:+ }$found_a"
+ else
+ LIBEXPAT="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir -l$name"
+ fi
+ fi
+ additional_includedir=
+ case "$found_dir" in
+ */lib | */lib/)
+ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
+ additional_includedir="$basedir/include"
+ ;;
+ esac
+ if test "X$additional_includedir" != "X"; then
+ if test "X$additional_includedir" != "X/usr/include"; then
+ haveit=
+ if test "X$additional_includedir" = "X/usr/local/include"; then
+ if test -n "$GCC"; then
+ case $host_os in
+ linux*) haveit=yes;;
+ esac
+ fi
+ fi
+ if test -z "$haveit"; then
+ for x in $CPPFLAGS $INCEXPAT; do
+
+ acl_save_prefix="$prefix"
+ prefix="$acl_final_prefix"
+ acl_save_exec_prefix="$exec_prefix"
+ exec_prefix="$acl_final_exec_prefix"
+ eval x=\"$x\"
+ exec_prefix="$acl_save_exec_prefix"
+ prefix="$acl_save_prefix"
+
+ if test "X$x" = "X-I$additional_includedir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ if test -d "$additional_includedir"; then
+ INCEXPAT="${INCEXPAT}${INCEXPAT:+ }-I$additional_includedir"
+ fi
+ fi
+ fi
+ fi
+ fi
+ if test -n "$found_la"; then
+ save_libdir="$libdir"
+ case "$found_la" in
+ */* | *\\*) . "$found_la" ;;
+ *) . "./$found_la" ;;
+ esac
+ libdir="$save_libdir"
+ for dep in $dependency_libs; do
+ case "$dep" in
+ -L*)
+ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
+ if test "X$additional_libdir" != "X/usr/lib"; then
+ haveit=
+ if test "X$additional_libdir" = "X/usr/local/lib"; then
+ if test -n "$GCC"; then
+ case $host_os in
+ linux*) haveit=yes;;
+ esac
+ fi
+ fi
+ if test -z "$haveit"; then
+ haveit=
+ for x in $LDFLAGS $LIBEXPAT; do
+
+ acl_save_prefix="$prefix"
+ prefix="$acl_final_prefix"
+ acl_save_exec_prefix="$exec_prefix"
+ exec_prefix="$acl_final_exec_prefix"
+ eval x=\"$x\"
+ exec_prefix="$acl_save_exec_prefix"
+ prefix="$acl_save_prefix"
+
+ if test "X$x" = "X-L$additional_libdir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ if test -d "$additional_libdir"; then
+ LIBEXPAT="${LIBEXPAT}${LIBEXPAT:+ }-L$additional_libdir"
+ fi
+ fi
+ haveit=
+ for x in $LDFLAGS $LTLIBEXPAT; do
+
+ acl_save_prefix="$prefix"
+ prefix="$acl_final_prefix"
+ acl_save_exec_prefix="$exec_prefix"
+ exec_prefix="$acl_final_exec_prefix"
+ eval x=\"$x\"
+ exec_prefix="$acl_save_exec_prefix"
+ prefix="$acl_save_prefix"
+
+ if test "X$x" = "X-L$additional_libdir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ if test -d "$additional_libdir"; then
+ LTLIBEXPAT="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$additional_libdir"
+ fi
+ fi
+ fi
+ fi
+ ;;
+ -l*)
+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
+ ;;
+ *.la)
+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
+ ;;
+ *)
+ LIBEXPAT="${LIBEXPAT}${LIBEXPAT:+ }$dep"
+ LTLIBEXPAT="${LTLIBEXPAT}${LTLIBEXPAT:+ }$dep"
+ ;;
+ esac
+ done
+ fi
+ else
+ LIBEXPAT="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
+ LTLIBEXPAT="${LTLIBEXPAT}${LTLIBEXPAT:+ }-l$name"
+ fi
+ fi
+ fi
+ done
+ done
+ if test "X$rpathdirs" != "X"; then
+ if test -n "$hardcode_libdir_separator"; then
+ alldirs=
+ for found_dir in $rpathdirs; do
+ alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
+ done
+ acl_save_libdir="$libdir"
+ libdir="$alldirs"
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ libdir="$acl_save_libdir"
+ LIBEXPAT="${LIBEXPAT}${LIBEXPAT:+ }$flag"
+ else
+ for found_dir in $rpathdirs; do
+ acl_save_libdir="$libdir"
+ libdir="$found_dir"
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ libdir="$acl_save_libdir"
+ LIBEXPAT="${LIBEXPAT}${LIBEXPAT:+ }$flag"
+ done
+ fi
+ fi
+ if test "X$ltrpathdirs" != "X"; then
+ for found_dir in $ltrpathdirs; do
+ LTLIBEXPAT="${LTLIBEXPAT}${LTLIBEXPAT:+ }-R$found_dir"
+ done
+ fi
+
+
+ ac_save_CPPFLAGS="$CPPFLAGS"
+
+ for element in $INCEXPAT; do
+ haveit=
+ for x in $CPPFLAGS; do
+
+ acl_save_prefix="$prefix"
+ prefix="$acl_final_prefix"
+ acl_save_exec_prefix="$exec_prefix"
+ exec_prefix="$acl_final_exec_prefix"
+ eval x=\"$x\"
+ exec_prefix="$acl_save_exec_prefix"
+ prefix="$acl_save_prefix"
+
+ if test "X$x" = "X$element"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
+ fi
+ done
+
+
+ echo $ac_n "checking for libexpat""... $ac_c" 1>&6
+echo "configure:11688: checking for libexpat" >&5
+if eval "test \"`echo '$''{'ac_cv_libexpat'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+
+ ac_save_LIBS="$LIBS"
+ LIBS="$LIBS $LIBEXPAT"
+ cat > conftest.$ac_ext <
+int main() {
+XML_ExpatVersion();
+; return 0; }
+EOF
+if { (eval echo configure:11703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ ac_cv_libexpat=yes
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_cv_libexpat=no
+fi
+rm -f conftest*
+ LIBS="$ac_save_LIBS"
+
+fi
+
+echo "$ac_t""$ac_cv_libexpat" 1>&6
+ if test "$ac_cv_libexpat" = yes; then
+ HAVE_LIBEXPAT=yes
+ cat >> confdefs.h <<\EOF
+#define HAVE_LIBEXPAT 1
+EOF
+
+ echo $ac_n "checking how to link with libexpat""... $ac_c" 1>&6
+echo "configure:11725: checking how to link with libexpat" >&5
+ echo "$ac_t""$LIBEXPAT" 1>&6
+ else
+ HAVE_LIBEXPAT=no
+ CPPFLAGS="$ac_save_CPPFLAGS"
+ LIBEXPAT=
+ LTLIBEXPAT=
+ fi
+
+
+
+
+
+
+ ;;
+esac
+
# Check whether --with-lispdir or --without-lispdir was given.
if test "${with_lispdir+set}" = set; then
withval="$with_lispdir"
lispdir="$withval"
echo $ac_n "checking where .elc files should go""... $ac_c" 1>&6
-echo "configure:11082: checking where .elc files should go" >&5
+echo "configure:11747: checking where .elc files should go" >&5
echo "$ac_t""$lispdir" 1>&6
else
@@ -11090,7 +11755,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:11094: checking for $ac_word" >&5
+echo "configure:11759: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_EMACS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -11123,7 +11788,7 @@ test -n "$EMACS" || EMACS="no"
if test $EMACS != "no"; then
if test x${lispdir+set} != xset; then
echo $ac_n "checking where .elc files should go""... $ac_c" 1>&6
-echo "configure:11127: checking where .elc files should go" >&5
+echo "configure:11792: checking where .elc files should go" >&5
if eval "test \"`echo '$''{'am_cv_lispdir'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -11150,7 +11815,7 @@ ac_aux_dir_abs=`cd $ac_aux_dir && pwd`
# Extract the first word of "dvips", so it can be a program name with args.
set dummy dvips; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:11154: checking for $ac_word" >&5
+echo "configure:11819: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_DVIPS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -11186,7 +11851,7 @@ fi
# Extract the first word of "texi2pdf", so it can be a program name with args.
set dummy texi2pdf; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:11190: checking for $ac_word" >&5
+echo "configure:11855: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_TEXI2PDF'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -11222,7 +11887,7 @@ fi
# Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:11226: checking for $ac_word" >&5
+echo "configure:11891: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -11259,12 +11924,12 @@ fi
CROSS_COMPILING=$cross_compiling
-for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
+for ac_prog in $CCC c++ g++ gpp gcc CC cxx cc++ cl
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:11268: checking for $ac_word" >&5
+echo "configure:11933: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -11296,7 +11961,7 @@ test -n "$CXX" || CXX=":"
if test "$CXX" != ":"; then
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
-echo "configure:11300: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
+echo "configure:11965: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@@ -11307,12 +11972,12 @@ cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext << EOF
-#line 11311 "configure"
+#line 11976 "configure"
#include "confdefs.h"
int main(){return(0);}
EOF
-if { (eval echo configure:11316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cxx_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
@@ -11461,6 +12126,7 @@ ac_given_INSTALL="$INSTALL"
trap 'rm -fr `echo "Makefile \
lib/Makefile lib/javacomp.sh lib/javaexec.sh \
intl/Makefile intl-java/Makefile \
+ libuniname/Makefile \
src/Makefile src/user-email \
po/Makefile.in \
doc/Makefile man/Makefile man/x-to-1 \
@@ -11589,6 +12255,9 @@ s%@INTLLIBS@%$INTLLIBS%g
s%@LIBINTL@%$LIBINTL%g
s%@LTLIBINTL@%$LTLIBINTL%g
s%@POSUB@%$POSUB%g
+s%@LIBEXPAT@%$LIBEXPAT%g
+s%@LTLIBEXPAT@%$LTLIBEXPAT%g
+s%@HAVE_LIBEXPAT@%$HAVE_LIBEXPAT%g
s%@EMACS@%$EMACS%g
s%@lispdir@%$lispdir%g
s%@aclocaldir@%$aclocaldir%g
@@ -11646,6 +12315,7 @@ cat >> $CONFIG_STATUS <' reports:
There are two things which can differ between languages (and even
inside language families);
- * The form how plural forms are build differs. This is a problem
+ * The form how plural forms are built differs. This is a problem
with languages which have many irregularities. German, for
instance, is a drastic case. Though English and German are part
of the same language family (Germanic), the almost regular forming
@@ -1019,11 +1043,10 @@ is a list comments:
++_nl_msg_cat_cntr;
}
- The variable `_nl_msg_cat_cntr' is defined in `loadmsgcat.c'. The
- programmer will find himself in need for a construct like this only
- when developing programs which do run longer and provide the user
- to select the language at runtime. Non-interactive programs (like
- all these little Unix tools) should never need this.
+ The variable `_nl_msg_cat_cntr' is defined in `loadmsgcat.c'. You
+ don't need to know what this is for. But it can be used to detect
+ whether a `gettext' implementation is GNU gettext and not non-GNU
+ system's native gettext implementation.
diff --git a/doc/gettext.info-6 b/doc/gettext.info-6
index a81762d05..905c43103 100644
--- a/doc/gettext.info-6
+++ b/doc/gettext.info-6
@@ -532,7 +532,7 @@ chapter. So, we describe them here.
* Before attempting to use `gettextize' you should install some
other packages first. Ensure that recent versions of GNU `m4',
GNU Autoconf and GNU `gettext' are already installed at your site,
- and if not, proceed to do this first. If you got to install these
+ and if not, proceed to do this first. If you get to install these
things, beware that GNU `m4' must be fully installed before GNU
Autoconf is even _configured_.
@@ -542,7 +542,7 @@ chapter. So, we describe them here.
about all the goals necessary for using `automake' and `libintl'
in one project.
- Those four packages are only needed to you, as a maintainer; the
+ Those four packages are only needed by you, as a maintainer; the
installers of your own package and end users do not really need
any of GNU `m4', GNU Autoconf, GNU `gettext', or GNU `automake'
for successfully installing and running your package, with messages
@@ -570,7 +570,7 @@ chapter. So, we describe them here.
It is worth adding here a few words about how the maintainer should
ideally behave with PO files submissions. As a maintainer, your role is
-to authentify the origin of the submission as being the representative
+to authenticate the origin of the submission as being the representative
of the appropriate translating teams of the Translation Project (forward
the submission to `translation@iro.umontreal.ca' in case of doubt), to
ensure that the PO file format is not severely broken and does not
@@ -667,7 +667,7 @@ specified.
with the files it contains, and only `Makefile.in.in' and the
auxiliary files will be overwritten.
- 3. Only of `--intl' has been specified: A `intl/' directory is
+ 3. Only if `--intl' has been specified: A `intl/' directory is
created and filled with most of the files originally in the
`intl/' directory of the GNU `gettext' distribution. Also, if
option `--force' (`-f') is given, the `intl/' directory is emptied
@@ -710,7 +710,7 @@ each.
So, here comes a list of files, each one followed by a description of
all alterations it needs. Many examples are taken out from the GNU
-`gettext' 0.11 distribution itself, or from the GNU `hello'
+`gettext' 0.11.1 distribution itself, or from the GNU `hello'
distribution (`http://www.franken.de/users/gnu/ke/hello' or
`http://www.gnu.franken.de/ke/hello/') You may indeed refer to the
source code of the GNU `gettext' and GNU `hello' packages, as they are
@@ -822,16 +822,20 @@ File: gettext.info, Node: configure.in, Next: config.guess, Prev: po/Makevars
This is done by a set of lines like these:
PACKAGE=gettext
- VERSION=0.11
+ VERSION=0.11.1
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
+ or, if you are using GNU `automake', by a line like this:
+
+ AM_INIT_AUTOMAKE(gettext, 0.11.1)
+
Of course, you replace `gettext' with the name of your package,
- and `0.11' by its version numbers, exactly as they should appear
+ and `0.11.1' by its version numbers, exactly as they should appear
in the packaged `tar' file name of your distribution
- (`gettext-0.11.tar.gz', here).
+ (`gettext-0.11.1.tar.gz', here).
2. Check for internationalization support.
@@ -872,8 +876,8 @@ File: gettext.info, Node: config.guess, Next: aclocal, Prev: configure.in, U
`config.guess', `config.sub' at top level
-----------------------------------------
- If you don't have suppressed the `intl/' subdirectory, you need to
-add the GNU `config.guess' and `config.sub' files to your distribution.
+ If you haven't suppressed the `intl/' subdirectory, you need to add
+the GNU `config.guess' and `config.sub' files to your distribution.
They are needed because the `intl/' directory has platform dependent
support for determining the locale's character encoding and therefore
needs to identify the platform.
@@ -902,8 +906,8 @@ simplest is to concatenate the files `codeset.m4', `gettext.m4',
`glibc21.m4', `iconv.m4', `isc-posix.m4', `lcmessage.m4', `lib-ld.m4',
`lib-link.m4', `lib-prefix.m4', `progtest.m4' from GNU `gettext''s
`m4/' directory into a single file. If you have suppressed the `intl/'
-directory, only `gettext.m4', `iconv.m4', `progtest.m4' need to be
-concatenated.
+directory, only `gettext.m4', `iconv.m4', `lib-ld.m4', `lib-link.m4',
+`lib-prefix.m4', `progtest.m4' need to be concatenated.
If you already have an `aclocal.m4' file, then you will have to
merge the said macro files into your `aclocal.m4'. Note that if you
@@ -913,6 +917,13 @@ change a little from one release of GNU `gettext' to the next. Their
contents may vary as we get more experience with strange systems out
there.
+ If you are using GNU `automake' 1.5 or newer, it is enough to put
+these macro files into a subdirectory named `m4/' and add the line
+
+ ACLOCAL_AMFLAGS = -I m4
+
+to your top level `Makefile.am'.
+
These macros check for the internationalization support functions
and related informations. Hopefully, once stabilized, these macros
might be integrated in the standard Autoconf set, because this piece of
@@ -992,6 +1003,10 @@ File: gettext.info, Node: Makefile, Next: src/Makefile, Prev: acconfig, Up:
rm -fr $(distdir)
+ Note that if you are using GNU `automake', `Makefile.in' is
+automatically generated from `Makefile.am', and all needed changes to
+`Makefile.am' are already made by running `gettextize'.
+
File: gettext.info, Node: src/Makefile, Next: lib/gettext.h, Prev: Makefile, Up: Adjusting Files
diff --git a/doc/gettext.info-7 b/doc/gettext.info-7
index 414eecdce..e0d9c0f4d 100644
--- a/doc/gettext.info-7
+++ b/doc/gettext.info-7
@@ -329,6 +329,7 @@ Individual Programming Languages
* Pascal:: Pascal - Free Pascal Compiler
* wxWindows:: wxWindows library
* YCP:: YCP - YaST2 scripting language
+* Tcl:: Tcl - Tk's scripting language
* Perl:: Perl
* PHP:: PHP Hypertext Preprocessor
* Pike:: Pike
@@ -524,7 +525,7 @@ Use or emulate GNU gettext
emulate. Bug: uses only the first found .mo file, not all of them
Extractor
- pygettext.py
+ `xgettext'
Formatting with positions
`'...%(ident)d...' % { 'ident': value }'
@@ -893,7 +894,7 @@ gettext shorthand
`_"abc"'
gettext/ngettext functions
- `dcgettext'
+ `dcgettext', missing `dcngettext' in gawk-3.1.0
textdomain
`TEXTDOMAIN' variable
@@ -911,14 +912,15 @@ Use or emulate GNU gettext
use
Extractor
- `gawk --gen-po'
+ `xgettext'
Formatting with positions
`printf "%2$d %1$d"' (GNU awk only)
Portability
On platforms without gettext, no translation. On non-GNU awks,
- you must define `dcgettext' and `bindtextdomain' yourself.
+ you must define `dcgettext', `dcngettext' and `bindtextdomain'
+ yourself.
po-mode marking
--
@@ -1028,7 +1030,7 @@ po-mode marking
yes
-File: gettext.info, Node: YCP, Next: Perl, Prev: wxWindows, Up: List of Programming Languages
+File: gettext.info, Node: YCP, Next: Tcl, Prev: wxWindows, Up: List of Programming Languages
YCP - YaST2 scripting language
------------------------------
@@ -1076,7 +1078,65 @@ po-mode marking
--
-File: gettext.info, Node: Perl, Next: PHP, Prev: YCP, Up: List of Programming Languages
+File: gettext.info, Node: Tcl, Next: Perl, Prev: YCP, Up: List of Programming Languages
+
+Tcl - Tk's scripting language
+-----------------------------
+
+RPMs
+ tcl
+
+File extension
+ `tcl'
+
+String syntax
+ `"abc"'
+
+gettext shorthand
+ `[_ "abc"]'
+
+gettext/ngettext functions
+ `::msgcat::mc'
+
+textdomain
+ --
+
+bindtextdomain
+ --, use `::msgcat::mcload' instead
+
+setlocale
+ automatic, uses LANG, but ignores LC_MESSAGES and LC_ALL
+
+Prerequisite
+ `package require msgcat'
+ `proc _ {s} {return [::msgcat::mc $s]}'
+
+Use or emulate GNU gettext
+ --, uses a Tcl specific message catalog format
+
+Extractor
+ `xgettext -k_'
+
+Formatting with positions
+ `format "%2\$d %1\$d"'
+
+Portability
+ fully portable
+
+po-mode marking
+ --
+
+ Before marking strings as internationalizable, substitutions of
+variables into the string need to be converted to `format'
+applications. For example, `"file $filename not found"' becomes
+`[format "file %s not found" $filename]'. Only after this is done, can
+the strings be marked and extracted. After marking, this example
+becomes `[format [_ "file %s not found"] $filename]' or `[msgcat::mc
+"file %s not found" $filename]'. Note that the `msgcat::mc' function
+implicitly calls `format' when more than one argument is given.
+
+
+File: gettext.info, Node: Perl, Next: PHP, Prev: Tcl, Up: List of Programming Languages
Perl
----
@@ -1233,6 +1293,7 @@ using GNU gettext.
* POT:: POT - Portable Object Template
* RST:: Resource String Table
+* Glade:: Glade - GNOME user interface description
File: gettext.info, Node: POT, Next: RST, Prev: List of Data Formats, Up: List of Data Formats
@@ -1250,7 +1311,7 @@ Extractor
`xgettext'
-File: gettext.info, Node: RST, Prev: POT, Up: List of Data Formats
+File: gettext.info, Node: RST, Next: Glade, Prev: POT, Up: List of Data Formats
Resource String Table
---------------------
@@ -1264,6 +1325,21 @@ File extension
Extractor
`xgettext', `rstconv'
+
+File: gettext.info, Node: Glade, Prev: RST, Up: List of Data Formats
+
+Glade - GNOME user interface description
+----------------------------------------
+
+RPMs
+ glade, libglade, xml-i18n-tools
+
+File extension
+ `glade'
+
+Extractor
+ `xgettext', `libglade-xgettext'
+
File: gettext.info, Node: Conclusion, Next: Language Codes, Prev: Programming Languages, Up: Top
@@ -1900,7 +1976,7 @@ come from this standard.
Zulu.
-File: gettext.info, Node: Country Codes, Prev: Language Codes, Up: Top
+File: gettext.info, Node: Country Codes, Next: Program Index, Prev: Language Codes, Up: Top
Country Codes
*************
@@ -2626,4 +2702,32 @@ Translation Project should come from this standard.
`ZW'
Zimbabwe.
+
+File: gettext.info, Node: Program Index, Next: Option Index, Prev: Country Codes, Up: Top
+
+Program Index
+*************
+
+* Menu:
+
+* gettext <1>: bash.
+* gettext: sh.
+* gettextize: gettextize Invocation.
+* msgattrib: msgattrib Invocation.
+* msgcat: msgcat Invocation.
+* msgcmp: msgcmp Invocation.
+* msgcomm: msgcomm Invocation.
+* msgconv: msgconv Invocation.
+* msgen: msgen Invocation.
+* msgexec: msgexec Invocation.
+* msgfilter: msgfilter Invocation.
+* msgfmt: msgfmt Invocation.
+* msggrep: msggrep Invocation.
+* msginit: msginit Invocation.
+* msgmerge: msgmerge Invocation.
+* msgunfmt: msgunfmt Invocation.
+* msguniq: msguniq Invocation.
+* ngettext <1>: bash.
+* ngettext: sh.
+* xgettext: xgettext Invocation.
diff --git a/doc/gettext_1.html b/doc/gettext_1.html
index b5365db54..3e96db0ee 100644
--- a/doc/gettext_1.html
+++ b/doc/gettext_1.html
@@ -1,12 +1,12 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - 1 Introduction
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
@@ -22,6 +22,9 @@ material is delayed.
+
+
+
In this manual, we use he when speaking of the programmer or
maintainer, she when speaking of the translator, and they
when speaking of the installers or end users of the translated program.
@@ -45,6 +48,7 @@ cycle should usually operate.
+
Please send suggestions and corrections to:
@@ -77,6 +81,7 @@ a lot less of English, and far more of their own language.
+
However, to many people, this dream might appear so far fetched that
they may believe it is not even worth spending time thinking about
it. They have no confidence at all that the dream might ever
@@ -148,6 +153,8 @@ Project, and consequently, have a glimpse at the big picture.
+
+
Two long words appear all the time when we discuss support of native
language in programs, and these words have a precise meaning, worth
being explained here, once and for all in this document. The words are
@@ -161,6 +168,7 @@ the names in full, each time...
+
By internationalization, one refers to the operation by which a
program, or a set of programs turned into a package, is made aware of and
able to support multiple languages. This is a generalization process,
@@ -168,10 +176,11 @@ by which the programs are untied from calling only English strings or
other English specific habits, and connected to generic ways of doing
the same, instead. Program developers may use various techniques to
internationalize their programs. Some of these have been standardized.
-GNU gettext
offers one of these standards. See section 10 The Programmer's View.
+GNU gettext
offers one of these standards. See section 10 The Programmer's View.
+
By localization, one means the operation by which, in a set
of programs already internationalized, one gives the program all
needed information so that it can adapt itself to handle its input
@@ -201,6 +210,9 @@ complete suite of routines that access all of the locale's information.
+
+
+
One uses the expression Native Language Support, or merely NLS,
for speaking of the overall activity or feature encompassing both
internationalization and localization, allowing for multi-lingual
@@ -220,6 +232,7 @@ localization is usually taken care of by translators.
+
For a totally multi-lingual distribution, there are many things to
translate beyond output messages.
@@ -295,6 +308,7 @@ needed to support the country's native attributes.
+
There are a few major areas which may vary between countries and
hence, define what a locale must describe. The following list helps
putting multi-lingual messages into the proper context of other tasks
@@ -305,24 +319,36 @@ related to locales. See the GNU libc
manual for details.
Characters and Codesets
+
+
+
+
+
The codeset most commonly used through out the USA and most English
speaking parts of the world is the ASCII codeset. However, there are
many characters needed by various locales that are not found within
this codeset. The 8-bit ISO 8859-1 code set has most of the special
characters needed to handle the major European languages. However, in
-many cases, the ISO 8859-1 font is not adequate. Hence each locale
+many cases, the ISO 8859-1 font is not adequate: it doesn't even
+handle the major European currency. Hence each locale
will need to specify which codeset they need to use and will need
to have the appropriate character handling routines to cope with
the codeset.
Currency
+
+
+
The symbols used vary from country to country as does the position
used by the symbol. Software needs to be able to transparently
display currency figures in the native mode for each locale.
Dates
+
+
+
The format of date varies between locales. For example, Christmas day
in 1994 is written as 12/25/94 in the USA and as 25/12/94 in Australia.
Other countries might use ISO 8061 dates, etc.
@@ -334,6 +360,9 @@ of the Daylight Saving correction vary widely between countries.
Numbers
+
+
+
Numbers can be represented differently in different locales.
For example, the following numbers are all written correctly for
their respective locales:
@@ -352,6 +381,9 @@ about how numbers are spelled in full.
Messages
+
+
+
The most obvious area is the language support within a locale. This is
where GNU gettext
provides the means for developers and users to
easily change the language that the software uses to communicate to
@@ -360,6 +392,7 @@ the user.
+
Components of locale outside of message handling are standardized in
the ISO C standard and the SUSV2 specification. GNU libc
fully implements this, and most other modern systems provide a more
@@ -371,11 +404,12 @@ or less reasonable support for at least some of the missing components.
+
The letters PO in `.po´ files means Portable Object, to
distinguish it from `.mo´ files, where MO stands for Machine
Object. This paradigm, as well as the PO file format, is inspired
-by the NLS standard developed by Uniforum, and implemented by Sun
-in their Solaris system.
+by the NLS standard developed by Uniforum, and first implemented by
+Sun in their Solaris system.
@@ -412,6 +446,9 @@ the GNU format.
+
+
+
The following diagram summarizes the relation between the files
handled by GNU gettext
and the tools acting on these files.
It is followed by somewhat detailed explanations, which you should
@@ -459,6 +496,7 @@ with easy repositioning to PO file lines showing errors.
+
As a programmer, the first step to bringing GNU gettext
into your package is identifying, right in the C sources, those strings
which are meant to be translatable, and those which are untranslatable.
@@ -490,6 +528,8 @@ Later when you feel ready for the step to use the gettext
library
simply replace these definitions by the following:
+
+
#include <libintl.h>
@@ -499,6 +539,8 @@ simply replace these definitions by the following:
+
+
and link against `libintl.a´ or `libintl.so´. Note that on
GNU systems, you don't need to link with libintl
because the
gettext
library functions are already contained in GNU libc.
@@ -506,6 +548,8 @@ That is all you have to change.
+
+
Once the C sources have been modified, the xgettext
program
is used to find and extract all translatable strings, and create a
PO template file out of all these. This `package.pot´ file
@@ -516,7 +560,7 @@ a Template PO file, not yet oriented towards any particular language.
See section 4.1 Invoking the xgettext
Program, for more details about how one calls the
xgettext
program. If you are really lazy, you might
be interested at working a lot more right away, and preparing the
-whole distribution setup (see section 12 The Maintainer's View). By doing so, you
+whole distribution setup (see section 12 The Maintainer's View). By doing so, you
spare yourself typing the xgettext
command, as make
should now generate the proper things automatically for you!
@@ -533,7 +577,7 @@ Then comes the initial translation of messages. Translation in
itself is a whole matter, still exclusively meant for humans,
and whose complexity far overwhelms the level of this manual.
Nevertheless, a few hints are given in some other chapter of this
-manual (see section 11 The Translator's View). You will also find there indications
+manual (see section 11 The Translator's View). You will also find there indications
about how to contact translating teams, or becoming part of them,
for sharing your translating concerns with others who target the same
native language.
@@ -585,6 +629,7 @@ are slowly fading out of date.
+
It is important for translators (and even maintainers) to understand
that package translation is a continuous process in the lifetime of a
package, and not something which is done once and for all at the start.
@@ -633,7 +678,7 @@ distribution.
Once the PO file is complete and dependable, the msgfmt
program
is used for turning the PO file into a machine-oriented format, which
may yield efficient retrieval of translations by the programs of the
-package, whenever needed at runtime (see section 8.3 The Format of GNU MO Files). See section 8.1 Invoking the msgfmt
Program, for more information about all modes of execution
+package, whenever needed at runtime (see section 8.3 The Format of GNU MO Files). See section 8.1 Invoking the msgfmt
Program, for more information about all modes of execution
for the msgfmt
program.
@@ -643,7 +688,7 @@ with the GNU gettext
library, usually through the operation of
make
, given a suitable `Makefile´ exists for the project,
and the resulting executable is installed somewhere users will find it.
The MO files themselves should also be properly installed. Given the
-appropriate environment variables are set (see section 9.3 Magic for End Users), the
+appropriate environment variables are set (see section 9.3 Magic for End Users), the
program should localize itself automatically, whenever it executes.
@@ -653,6 +698,6 @@ steps outlined above.
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_10.html b/doc/gettext_10.html
index 81861b6c8..9015f50d3 100644
--- a/doc/gettext_10.html
+++ b/doc/gettext_10.html
@@ -1,16 +1,16 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - 10 The Programmer's View
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
-
+
One aim of the current message catalog implementation provided by
@@ -28,8 +28,11 @@ later explain our solution of this dilemma.
-
+
+
+
+
The catgets
implementation is defined in the X/Open Portability
Guide, Volume 3, XSI Supplementary Definitions, Chapter 5. But the
@@ -60,8 +63,11 @@ therefore part of all Unix implementation (implementations, which are
-
+
+
+
+
The interface to the catgets
implementation consists of three
functions which correspond to those used in file access: catopen
@@ -72,6 +78,7 @@ for the functions and the needed definitions are in the
+
catopen
is used like in this:
@@ -90,6 +97,7 @@ message catalog, equivalent to handles to file returned by open
.
+
This handle is of course used in the catgets
function which can
be used like this:
@@ -121,6 +129,7 @@ should better be const char *
, but the standard is published in
+
The last of these function functions is used and behaves as expected:
@@ -135,11 +144,14 @@ After this no catgets
call using the descriptor is legal anymore.
-
+
+
+
+
Now that this description seemed to be really easy -- where are the
-problem we speak of? In fact the interface could be used in a
+problems we speak of? In fact the interface could be used in a
reasonable way, but constructing the message catalogs is a pain. The
reason for this lies in the third argument of catgets
: the unique
message ID. This has to be a numeric value for all messages in a single
@@ -153,8 +165,11 @@ more easy to manage.
-
+
+
+
+
The definition of the gettext
interface comes from a Uniforum
proposal and it is followed by at least one major Unix vendor
@@ -167,7 +182,7 @@ The main points about this solution is that it does not follow the
method of normal file handling (open-use-close) and that it does not
burden the programmer so many task, especially the unique key handling.
Of course here also a unique key is needed, but this key is the message
-itself (how long or short it is). See section 10.3 Comparing the Two Interfaces for a more
+itself (how long or short it is). See section 10.3 Comparing the Two Interfaces for a more
detailed comparison of the two methods.
@@ -181,8 +196,11 @@ in using this library will be interested in this description.
-
+
+
+
+
The minimal functionality an interface must have is a) to select a
domain the strings are coming from (a single domain for all programs is
@@ -249,8 +267,13 @@ your language.
-
+
+
+
+
+
+
While this single name domain works well for most applications there
might be the need to get translations from more than one domain. Of
@@ -322,8 +345,11 @@ unreliabilities.
-
+
+
+
+
Because many different languages for many different packages have to be
stored we need some way to add these information to file message catalog
@@ -359,8 +385,12 @@ The value of the locale is determined through
-
+
+
+
+
+
gettext
not only looks up a translation in a message catalog. It
also converts the translation on the fly to the desired output character
@@ -390,7 +420,7 @@ recommended that all msgids be US-ASCII strings.
- Function: char * bind_textdomain_codeset (const char *domainname, const char *codeset)
-
-
+
-
The
bind_textdomain_codeset
function can be used to specify the
output character set for message catalogs for domain domainname.
The codeset argument must be a valid codeset name which can be used
@@ -422,8 +452,11 @@ global variable errno is set accordingly.
-
+
+
+
+
The functions of the gettext
family described so far (and all the
catgets
functions as well) have one problem in the real world
@@ -493,7 +526,7 @@ language families);
-
-The form how plural forms are build differs. This is a problem with
+The form how plural forms are built differs. This is a problem with
languages which have many irregularities. German, for instance, is a
drastic case. Though English and German are part of the same language
family (Germanic), the almost regular forming of plural noun forms
@@ -541,7 +574,7 @@ purpose.
- Function: char * ngettext (const char *msgid1, const char *msgid2, unsigned long int n)
-
-
+
-
The
ngettext
function is similar to the gettext
function
as it finds the message catalogs in the same way. But it takes two
extra arguments. The msgid1 parameter must contain the singular
@@ -571,7 +604,7 @@ Please note that the numeric value n has to be passed to the
- Function: char * dngettext (const char *domain, const char *msgid1, const char *msgid2, unsigned long int n)
-
-
+
-
The
dngettext
is similar to the dgettext
function in the
way the message catalog is selected. The difference is that it takes
two extra parameter to provide the correct plural form. These two
@@ -582,7 +615,7 @@ parameters are handled in the same way ngettext
handles them.
- Function: char * dcngettext (const char *domain, const char *msgid1, const char *msgid2, unsigned long int n, int category)
-
-
+
-
The
dcngettext
is similar to the dcgettext
function in the
way the message catalog is selected. The difference is that it takes
two extra parameter to provide the correct plural form. These two
@@ -607,6 +640,9 @@ possibility of extensions to not prevent the use of new languages).
+
+
+
The information about the plural form selection has to be stored in the
header entry of the PO file (the one with the empty msgid
string).
The plural form information looks like this:
@@ -632,6 +668,7 @@ value of nplurals
.
+
The following rules are known at this point. The language with families
are listed. But this does not necessarily mean the information can be
generalized for the whole family (as can be easily seen in the table
@@ -839,8 +876,13 @@ Slovenian
-
+
+
+
+
+
+
One place where the gettext
functions, if used normally, have big
problems is within programs with graphical user interfaces (GUIs). The
@@ -915,7 +957,7 @@ fine:
-
+
char *
@@ -990,8 +1032,11 @@ quite some memory and disk space by doing this.
-
+
+
+
+
At this point of the discussion we should talk about an advantage of the
GNU gettext
implementation. Some readers might have pointed out
@@ -1042,7 +1087,12 @@ find the result through a single cache lookup.
-
+
+
+
+
+
+
The following discussion is perhaps a little bit colored. As said
@@ -1089,6 +1139,8 @@ the definition
by
+
+
#include <libintl.h>
@@ -1103,6 +1155,7 @@ can use any that becomes available.
+
The same procedure can be done for the gettext_noop
invocations
(see section 3.5 Special Cases of Translatable Strings). One usually defines gettext_noop
as a
no-op macro. So you should consider the following code for your project:
@@ -1181,12 +1234,12 @@ little bit. But it is not impossible to overcome.
catgets
allows same original entry to have different translations,
but gettext
has another, scalable approach for solving ambiguities
-of this kind: See section 10.2.2 Solving Ambiguities.
+of this kind: See section 10.2.2 Solving Ambiguities.
-
+
Starting with version 0.9.4 the library libintl.h
should be
@@ -1197,7 +1250,7 @@ and the library in directories selected using the $(prefix)
.
-
+
To fully exploit the functionality of the GNU gettext
library it
@@ -1210,6 +1263,8 @@ is a list comments:
- Changing the language at runtime
+
+
For interactive programs it might be useful to offer a selection of the
used language at runtime. To understand how to do this one need to know
how the used language is determined while executing the
gettext
@@ -1225,10 +1280,20 @@ priority:
LANGUAGE
+
+
+
LC_ALL
+
+
+
+
+
+
LC_xxx
, according to selected locale
+
LANG
@@ -1246,7 +1311,7 @@ But there is one little hook. The code for gcc-2.7.0 and up provides
some optimization. This optimization normally prevents the calling of
the dcgettext
function as long as no new catalog is loaded. But
if dcgettext
is not called the program also cannot find the
-LANGUAGE
variable be changed (see section 10.2.7 Optimization of the *gettext functions). A
+LANGUAGE
variable be changed (see section 10.2.7 Optimization of the *gettext functions). A
solution for this is very easy. Include the following code in the
language switching function.
@@ -1262,21 +1327,21 @@ language switching function.
}
+
The variable _nl_msg_cat_cntr
is defined in `loadmsgcat.c´.
-The programmer will find himself in need for a construct like this only
-when developing programs which do run longer and provide the user to
-select the language at runtime. Non-interactive programs (like all
-these little Unix tools) should never need this.
+You don't need to know what this is for. But it can be used to detect
+whether a gettext
implementation is GNU gettext and not non-GNU
+system's native gettext implementation.
-
+
-
+
There are two competing methods for language independent messages:
@@ -1308,7 +1373,7 @@ see the Programming for Internationalization FAQ.
-
+
There have been a few discussions of late on the use of
@@ -1353,7 +1418,7 @@ of all Unix systems.
-
+
Now it seems kind of wasteful to me to have two different systems
@@ -1398,7 +1463,7 @@ the future.
-
+
X/Open agreed very late on the standard form so that many
@@ -1413,6 +1478,6 @@ Solaris is not the only system having gettext
.
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_11.html b/doc/gettext_11.html
index e70924445..eec39cdc8 100644
--- a/doc/gettext_11.html
+++ b/doc/gettext_11.html
@@ -1,20 +1,20 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - 11 The Translator's View
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
-
+
-
+
Free software is going international! The Translation Project is a way
@@ -92,7 +92,7 @@ you can work on.
-
+
This is now official, GNU is going international! Here is the
@@ -142,7 +142,7 @@ document, please e-mail to `translation@iro.umontreal.ca´.
-
+
Facing this internationalization effort, a few users expressed their
@@ -219,7 +219,7 @@ software.
-
+
On a larger scale, the true solution would be to organize some kind of
@@ -263,7 +263,7 @@ reaches the Translation Project coordinator.
-
+
I also think GNU will need sooner than it thinks, that someone setup
@@ -288,7 +288,7 @@ overwhelming task, the time to put delegations in place.
-
+
I suggest we look for volunteer coordinators/editors for individual
@@ -351,7 +351,7 @@ consistent.
-
+
Taking French for example, there are a few sub-cultures around computers
@@ -373,7 +373,7 @@ means soon!
-
+
I expect the next big changes after the official release. Please note
@@ -410,7 +410,7 @@ this also seems to work).
-
+
If we get any inquiries about GNU gettext
, send them on to:
@@ -464,7 +464,7 @@ subscribe as they see fit, as long as each team is represented in it.
-
+
There will surely be some discussion about this messages after the
@@ -512,6 +512,6 @@ have more information about this.
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_12.html b/doc/gettext_12.html
index e90d4cd47..d05ce12fd 100644
--- a/doc/gettext_12.html
+++ b/doc/gettext_12.html
@@ -1,21 +1,24 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - 12 The Maintainer's View
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
-
+
+
+
+
The maintainer of a package has many responsibilities. One of them
is ensuring that the package will install easily on many platforms,
-and that the magic we described earlier (see section 9 The User's View) will work
+and that the magic we described earlier (see section 9 The User's View) will work
for installers and end users.
@@ -49,7 +52,7 @@ for changes.
-
+
Some free software packages are distributed as tar
files which unpack
@@ -82,8 +85,13 @@ use this as an opportunity to unflatten their package structure.
-
+
+
+
+
+
+
There are some works which are required for using GNU gettext
in one of your package. These works have some kind of generality
@@ -99,7 +107,7 @@ Before attempting to use gettextize
you should install some
other packages first.
Ensure that recent versions of GNU m4
, GNU Autoconf and GNU
gettext
are already installed at your site, and if not, proceed
-to do this first. If you got to install these things, beware that
+to do this first. If you get to install these things, beware that
GNU m4
must be fully installed before GNU Autoconf is even
configured.
@@ -109,7 +117,7 @@ tool and the `Makefile´s in the `intl/´ and `p
therefore know about all the goals necessary for using automake
and `libintl´ in one project.
-Those four packages are only needed to you, as a maintainer; the
+Those four packages are only needed by you, as a maintainer; the
installers of your own package and end users do not really need any of
GNU m4
, GNU Autoconf, GNU gettext
, or GNU automake
for successfully installing and running your package, with messages
@@ -146,7 +154,7 @@ translator teams get interested in your package, and submit PO files.
It is worth adding here a few words about how the maintainer should
ideally behave with PO files submissions. As a maintainer, your role is
-to authentify the origin of the submission as being the representative
+to authenticate the origin of the submission as being the representative
of the appropriate translating teams of the Translation Project (forward
the submission to `translation@iro.umontreal.ca´ in case of doubt),
to ensure that the PO file format is not severely broken and does not
@@ -178,7 +186,7 @@ never try to solve a team's problem on your own.
-
+
Some files are consistently and identically needed in every package
@@ -187,6 +195,9 @@ convenience, the gettextize
program puts all these files right
in your package. This program has the following synopsis:
+
+
+
gettextize [ option... ] [ directory ]
@@ -202,6 +213,8 @@ and accepts the following options:
-
- `--copy´
-
+
+
Copy the needed files instead of making symbolic links. Using links
would allow the package to always use the latest
gettext
code
available on the system, but it might disturb some mechanism the
@@ -212,10 +225,13 @@ maintainer is used to apply to the sources. Because running
-
- `--force´
-
+
+
Force replacement of files which already exist.
- `--intl´
-
+
Install the libintl sources in a subdirectory named `intl/´.
This libintl will be used to provide internationalization on systems
that don't have GNU libintl installed. If this option is omitted,
@@ -225,16 +241,19 @@ be enabled on systems lacking GNU gettext.
- `--no-changelog´
-
+
Don't update or create ChangeLog files. By default,
gettextize
logs all changes (file additions, modifications ans removals) in a
file called `ChangeLog´ in each affected directory.
- `--help´
-
+
Display this help and exit.
- `--version´
-
+
Output version information and exit.
@@ -277,7 +296,7 @@ the auxiliary files will be overwritten.
-
-Only of `--intl´ has been specified:
+Only if `--intl´ has been specified:
A `intl/´ directory is created and filled with most of the files
originally in the `intl/´ directory of the GNU
gettext
distribution. Also, if option --force
(-f
) is given,
@@ -316,8 +335,11 @@ it can be identical in all packages.
-
+
+
+
+
Besides files which are automatically added through gettextize
,
there are many files needing revision for properly interacting with
@@ -330,7 +352,7 @@ changes needed in each.
So, here comes a list of files, each one followed by a description of
all alterations it needs. Many examples are taken out from the GNU
-gettext
0.11 distribution itself, or from the GNU
+gettext
0.11.1 distribution itself, or from the GNU
hello
distribution (http://www.franken.de/users/gnu/ke/hello
or http://www.gnu.franken.de/ke/hello/) You may indeed
refer to the source code of the GNU gettext
and GNU hello
@@ -341,8 +363,11 @@ gettext functionality.
-
+
+
+
+
The `po/´ directory should receive a file named
`POTFILES.in´. This file tells which files, among all program
@@ -376,8 +401,11 @@ of your whole distribution, rather than the location of the
-
+
+
+
+
The `po/´ directory should also receive a file named
`LINGUAS´. This file contains the list of available translations.
@@ -397,13 +425,16 @@ that these languages are currently supported by your package. If you
want to further restrict, at installation time, the set of installed
languages, this should not be done by modifying the `LINGUAS´ file,
but rather by using the LINGUAS
environment variable
-(see section 9.2 Magic for Installers).
+(see section 9.2 Magic for Installers).
-
+
+
+
+
The `po/´ directory also has a file named `Makevars´.
It can be left unmodified if your package has a single message domain
@@ -421,6 +452,8 @@ needing to mess with `po/Makefile.in.in´.
+
+
GNU gettext comes with a `Rules-quot´ file, containing rules for
building catalogs `en@quot.po´ and `en@boldquot.po´. The
effect of `en@quot.po´ is that people who set their LANGUAGE
@@ -438,7 +471,7 @@ GUI programs. To enable it, similarly add en@boldquot
to the
-
+
`configure.in´ or `configure.ac´ - this is the source from which
@@ -449,22 +482,31 @@ GUI programs. To enable it, similarly add en@boldquot
to the
- Declare the package and version.
+
+
This is done by a set of lines like these:
PACKAGE=gettext
-VERSION=0.11
+VERSION=0.11.1
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
+or, if you are using GNU automake
, by a line like this:
+
+
+
+AM_INIT_AUTOMAKE(gettext, 0.11.1)
+
+
Of course, you replace `gettext´ with the name of your package,
-and `0.11´ by its version numbers, exactly as they
+and `0.11.1´ by its version numbers, exactly as they
should appear in the packaged tar
file name of your distribution
-(`gettext-0.11.tar.gz´, here).
+(`gettext-0.11.1.tar.gz´, here).
- Check for internationalization support.
@@ -511,10 +553,10 @@ add
intl/Makefile
to the AC_OUTPUT
line.
-
+
-If you don't have suppressed the `intl/´ subdirectory,
+If you haven't suppressed the `intl/´ subdirectory,
you need to add the GNU `config.guess´ and `config.sub´ files
to your distribution. They are needed because the `intl/´ directory
has platform dependent support for determining the locale's character
@@ -545,8 +587,11 @@ AC_CONFIG_AUX_DIR([subdir])
-
+
+
+
+
If you do not have an `aclocal.m4´ file in your distribution,
the simplest is to concatenate the files `codeset.m4´,
@@ -555,6 +600,7 @@ the simplest is to concatenate the files `codeset.m4´,
`lib-prefix.m4´, `progtest.m4´ from GNU gettext
's
`m4/´ directory into a single file. If you have suppressed the
`intl/´ directory, only `gettext.m4´, `iconv.m4´,
+`lib-ld.m4´, `lib-link.m4´, `lib-prefix.m4´,
`progtest.m4´ need to be concatenated.
@@ -568,6 +614,20 @@ change a little from one release of GNU gettext
to the next.
Their contents may vary as we get more experience with strange systems
out there.
+
+
+If you are using GNU automake
1.5 or newer, it is enough to put
+these macro files into a subdirectory named `m4/´ and add the line
+
+
+
+
+ACLOCAL_AMFLAGS = -I m4
+
+
+
+to your top level `Makefile.am´.
+
These macros check for the internationalization support functions
@@ -579,8 +639,11 @@ piece of m4
code will be the same for all projects using GNU
-
+
+
+
+
Earlier GNU gettext
releases required to put definitions for
ENABLE_NLS
, HAVE_GETTEXT
and HAVE_LC_MESSAGES
,
@@ -592,7 +655,7 @@ independently from the `intl/´ directory.
-
+
Here are a few modifications you need to make to your main, top-level
@@ -671,9 +734,15 @@ dist: Makefile
+
+Note that if you are using GNU automake
, `Makefile.in´ is
+automatically generated from `Makefile.am´, and all needed changes
+to `Makefile.am´ are already made by running `gettextize´.
+
+
-
+
Some of the modifications made in the main `Makefile.in´ will
@@ -793,8 +862,13 @@ dist: Makefile $(DISTFILES)
-
+
+
+
+
+
+
Internationalization of packages, as provided by GNU gettext
, is
optional. It can be turned off in two situations:
@@ -829,6 +903,7 @@ to 0 in C preprocessor expressions.
+
`gettext.h´ is a convenience header file for conditional use of
`<libintl.h>´, depending on the ENABLE_NLS
macro. If
ENABLE_NLS
is set, it includes `<libintl.h>´; otherwise it
@@ -867,8 +942,11 @@ package that needs it should contain a copy of it on its own.
-
+
+
+
+
GNU gettext
installs macros for use in a package's
`configure.in´ or `configure.ac´.
@@ -879,9 +957,10 @@ The primary macro is, of course, AM_GNU_GETTEXT
.
-
+
+
The AM_GNU_GETTEXT
macro tests for the presence of the GNU gettext
function family in either the C library or a separate libintl
library (shared or static libraries are both supported) or in the package's
@@ -944,6 +1023,7 @@ The complexities that AM_GNU_GETTEXT
deals with are the following:
-
+
Some operating systems have
gettext
in the C library, for example
glibc. Some have it in a separate library libintl
. GNU libintl
might have been installed as part of the GNU gettext
package.
@@ -979,9 +1059,10 @@ and LTLIBINTL
variables.
-
+
+
The AM_ICONV
macro tests for the presence of the POSIX
iconv
function family in either the C library or a separate
libiconv
library. If found, it sets the am_cv_func_iconv
@@ -1005,6 +1086,7 @@ The complexities that AM_ICONV
deals with are the following:
-
+
Some operating systems have
iconv
in the C library, for example
glibc. Some have it in a separate library libiconv
, for example
OSF/1 or FreeBSD. Regardless of the operating system, GNU libiconv
@@ -1040,6 +1122,6 @@ library support, like SCO.
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_13.html b/doc/gettext_13.html
index 43ab3313b..5d09046c5 100644
--- a/doc/gettext_13.html
+++ b/doc/gettext_13.html
@@ -1,16 +1,16 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - 13 Other Programming Languages
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
-
+
While the presentation of gettext
focuses mostly on C and
@@ -23,8 +23,12 @@ approach.
-
+
+
+
+
+
All programming and scripting languages that have the notion of strings
are eligible to supporting gettext
. Supporting gettext
@@ -120,7 +124,7 @@ different effects on portability and copyright:
-
You may integrate the GNU
gettext
's `intl/´ directory in
-your package, as described in section 12 The Maintainer's View. This allows you to
+your package, as described in section 12 The Maintainer's View. This allows you to
have internationalization on all kinds of platforms. Note that when you
then distribute your package, it legally falls under the GNU General
Public License, and the GNU project will be glad about your contribution
@@ -146,7 +150,7 @@ and plural handling).
-
+
For the programmer, the general procedure is the same as for the C
@@ -159,7 +163,7 @@ underlying language runtime.
-
+
The translator works exactly as in the C language case. The only
@@ -170,7 +174,7 @@ strings.
-
+
For the maintainer, the general procedure differs from the C language
@@ -190,7 +194,7 @@ invokes the AM_GNU_GETTEXT
autoconf macro via
-
If only a single programming language is used, the
XGETTEXT_OPTIONS
-variable in `po/Makevars´ (see section 12.4.3 `Makefile´ pieces in `po/´) should be adjusted to
+variable in `po/Makevars´ (see section 12.4.3 `Makefile´ pieces in `po/´) should be adjusted to
match the xgettext
options for that particular programming language.
If the package uses more than one programming language with gettext
support, it becomes necessary to change the POT file construction rule
@@ -201,12 +205,15 @@ that language, and to combine the resulting files using msgcat
.
-
+
-
+
+
+
+
- RPMs
@@ -273,8 +280,11 @@ yes
-
+
+
+
+
- RPMs
@@ -295,14 +305,18 @@ bash, gettext
- gettext/ngettext functions
-
+
+
gettext
, ngettext
programs
- textdomain
-
+
environment variable
TEXTDOMAIN
- bindtextdomain
-
+
environment variable
TEXTDOMAINDIR
- setlocale
@@ -336,8 +350,11 @@ use
-
+
+
+
+
- RPMs
@@ -358,14 +375,18 @@ bash 2.0 or newer, gettext
- gettext/ngettext functions
-
+
+
gettext
, ngettext
programs
- textdomain
-
+
environment variable
TEXTDOMAIN
- bindtextdomain
-
+
environment variable
TEXTDOMAINDIR
- setlocale
@@ -399,8 +420,11 @@ use
-
+
+
+
+
- RPMs
@@ -450,7 +474,7 @@ emulate. Bug: uses only the first found .mo file, not all of them
- Extractor
-
-pygettext.py
+
xgettext
- Formatting with positions
-
@@ -467,8 +491,13 @@ fully portable
-
+
+
+
+
+
+
- RPMs
@@ -530,8 +559,11 @@ On platforms without gettext, no translation.
-
+
+
+
+
- RPMs
@@ -595,8 +627,11 @@ On platforms without gettext, no translation.
-
+
+
+
+
- RPMs
@@ -658,8 +693,11 @@ Only XEmacs. Without
I18N3
defined at build time, no translation.
-
+
+
+
+
- RPMs
@@ -721,8 +759,11 @@ On platforms without gettext, no translation.
-
+
+
+
+
- RPMs
@@ -790,8 +831,11 @@ fully portable
-
+
+
+
+
- RPMs
@@ -903,14 +947,19 @@ a translation is missing, the msgid argument is returned unchanged.
This has the advantage of having the
ngettext
function for plural
handling.
+
To use this API, one needs the libintl.jar
file which is part of
the GNU gettext package and distributed under the LGPL.
-
+
+
+
+
+
- RPMs
@@ -931,7 +980,7 @@ gawk 3.1 or newer
- gettext/ngettext functions
-
-
dcgettext
+dcgettext
, missing dcngettext
in gawk-3.1.0
- textdomain
-
@@ -955,7 +1004,7 @@ use
- Extractor
-
-
gawk --gen-po
+xgettext
- Formatting with positions
-
@@ -964,7 +1013,8 @@ use
- Portability
-
On platforms without gettext, no translation. On non-GNU awks, you must
-define
dcgettext
and bindtextdomain
yourself.
+define dcgettext
, dcngettext
and bindtextdomain
+yourself.
- po-mode marking
-
@@ -973,8 +1023,13 @@ define
dcgettext
and bindtextdomain
yourself.
-
+
+
+
+
+
+
- RPMs
@@ -1044,8 +1099,11 @@ using the
TranslateResourceStrings
function in the gettext
-
+
+
+
+
- RPMs
@@ -1107,8 +1165,12 @@ yes
-
+
+
+
+
+
- RPMs
@@ -1170,8 +1232,92 @@ fully portable
-
+
+
+
+
+
+
+
+
+- RPMs
+
-
+tcl
+
+
- File extension
+
-
+
tcl
+
+ - String syntax
+
-
+
"abc"
+
+ - gettext shorthand
+
-
+
[_ "abc"]
+
+ - gettext/ngettext functions
+
-
+
::msgcat::mc
+
+ - textdomain
+
-
+---
+
+
- bindtextdomain
+
-
+---, use
::msgcat::mcload
instead
+
+ - setlocale
+
-
+automatic, uses LANG, but ignores LC_MESSAGES and LC_ALL
+
+
- Prerequisite
+
-
+
package require msgcat
+
proc _ {s} {return [::msgcat::mc $s]}
+
+ - Use or emulate GNU gettext
+
-
+---, uses a Tcl specific message catalog format
+
+
- Extractor
+
-
+
xgettext -k_
+
+ - Formatting with positions
+
-
+
format "%2\$d %1\$d"
+
+ - Portability
+
-
+fully portable
+
+
- po-mode marking
+
-
+---
+
+
+
+Before marking strings as internationalizable, substitutions of variables
+into the string need to be converted to format
applications. For
+example, "file $filename not found"
becomes
+[format "file %s not found" $filename]
.
+Only after this is done, can the strings be marked and extracted.
+After marking, this example becomes
+[format [_ "file %s not found"] $filename]
or
+[msgcat::mc "file %s not found" $filename]
. Note that the
+msgcat::mc
function implicitly calls format
when more than one
+argument is given.
+
+
+
+
+
+
+
+
- RPMs
@@ -1234,8 +1380,11 @@ use
-
+
+
+
+
- RPMs
@@ -1297,8 +1446,11 @@ On platforms without gettext, the functions are not available.
-
+
+
+
+
- RPMs
@@ -1360,7 +1512,7 @@ On platforms without gettext, the functions are not available.
-
+
Here is a list of other data formats which can be internationalized
@@ -1370,7 +1522,7 @@ using GNU gettext.
-
+
@@ -1389,8 +1541,11 @@ gettext
-
+
+
+
+
- RPMs
@@ -1406,7 +1561,26 @@ fpk
xgettext
, rstconv
+
+
+
+
+
+
+- RPMs
+
-
+glade, libglade, xml-i18n-tools
+
+
- File extension
+
-
+
glade
+
+ - Extractor
+
-
+
xgettext
, libglade-xgettext
+
+
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_14.html b/doc/gettext_14.html
index 2bd6f3bee..15fe7aa63 100644
--- a/doc/gettext_14.html
+++ b/doc/gettext_14.html
@@ -1,16 +1,16 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - 14 Concluding Remarks
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
-
+
We would like to conclude this GNU gettext
manual by presenting
@@ -22,8 +22,11 @@ about Native Language Support matters.
-
+
+
+
+
Internationalization concerns and algorithms have been informally
and casually discussed for years in GNU, sometimes around GNU
@@ -118,8 +121,12 @@ manipulating PO files.
-
+
+
+
+
+
Eugene H. Dorr (`dorre@well.com´) maintains an interesting
bibliography on internationalization matters, called
@@ -174,6 +181,6 @@ together with French translations of many Linux-related documents.
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_15.html b/doc/gettext_15.html
index 66140b71e..c5e280cea 100644
--- a/doc/gettext_15.html
+++ b/doc/gettext_15.html
@@ -1,17 +1,21 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - A Language Codes
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
-
+
+
+
+
+
The ISO 639 standard defines two character codes for many languages.
All abbreviations for languages used in the Translation Project should
@@ -518,6 +522,6 @@ Zulu.
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_16.html b/doc/gettext_16.html
index 06c902d7d..6ac89be64 100644
--- a/doc/gettext_16.html
+++ b/doc/gettext_16.html
@@ -1,17 +1,21 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - B Country Codes
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
-
+
+
+
+
+
The ISO 3166 standard defines two character codes for many countries
and territories. All abbreviations for countries used in the Translation
@@ -740,6 +744,6 @@ Zimbabwe.
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_2.html b/doc/gettext_2.html
index 699dfc5fe..c419d890d 100644
--- a/doc/gettext_2.html
+++ b/doc/gettext_2.html
@@ -1,12 +1,12 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - 2 PO Files and PO Mode Basics
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
@@ -27,6 +27,8 @@ in one place. Here we present only the basics of PO mode.
+
+
Once you have received, unpacked, configured and compiled the GNU
gettext
distribution, the `make install´ command puts in
place the programs xgettext
, msgfmt
, gettext
, and
@@ -36,6 +38,8 @@ PO mode available to your Emacs users.
+
+
During the installation of the PO mode, you might want to modify your
file `.emacs´, once and for all, so it contains a few lines looking
like:
@@ -83,7 +87,11 @@ button 1).
+
+
+
+
A PO file is made up of many entries, each entry holding the relation
between an original untranslated string and its corresponding
@@ -123,6 +131,8 @@ All comments, of either kind, are optional.
+
+
After white space and comments, entries show two strings, namely
first the untranslated string as it appears in the original program
sources, and then, the translation of this string. The original
@@ -156,6 +166,7 @@ there are two forms of flags defined:
- fuzzy
-
+
This flag can be generated by the
msgmerge
program or it can be
inserted by the translator herself. It shows that the msgstr
string might not be a correct translation (anymore). Only the translator
@@ -167,8 +178,10 @@ search only. See section 6.3 Fuzzy Entries.
- c-format
-
+
- no-c-format
-
+
These flags should not be added by a human. Instead only the
xgettext
program adds them. In an automated PO file processing
system as proposed here the user changes would be thrown away again as
@@ -181,6 +194,7 @@ See section 8.1 Invoking the msgfmt
+
A different kind of entries is used for translations which involve
plural forms.
@@ -200,6 +214,7 @@ msgstr[N] translated-string-case-n
+
It happens that some lines, usually whitespace or comments, follow the
very last entry of a PO file. Such lines are not part of any entry,
and PO mode is unable to take action on those lines. By using the
@@ -249,6 +264,7 @@ other character, we just did it this way because it is neater.
+
One should carefully distinguish between end of lines marked as
`\n´ inside quotes, which are part of the represented
string, and end of lines in the PO file itself, outside string quotes,
@@ -256,6 +272,7 @@ which have no incidence on the represented string.
+
Outside strings, white lines and comments may be used freely.
Comments start at the beginning of a line with `#´ and extend
until the end of the PO file line. Comments written by translators
@@ -271,6 +288,8 @@ file is given to msgmerge
.
+
+
After setting up Emacs with something similar to the lines in
section 2.1 Completing GNU gettext
Installation, PO mode is activated for a window when Emacs finds a
PO file in that window. This puts the window read-only and establishes a
@@ -302,37 +321,47 @@ in special ways.
- _
-
+
Undo last modification to the PO file (
po-undo
).
- Q
-
+
Quit processing and save the PO file (
po-quit
).
- q
-
+
Quit processing, possibly after confirmation (
po-confirm-and-quit
).
- 0
-
+
Temporary leave the PO file window (
po-other-window
).
- ?
-
- h
-
+
+
Show help about PO mode (
po-help
).
- =
-
+
Give some PO file statistics (
po-statistics
).
- V
-
+
Batch validate the format of the whole PO file (
po-validate
).
+
+
The command _ (po-undo
) interfaces to the Emacs
undo facility. See section `Undoing Changes' in The Emacs Editor. Each time U is typed, modifications which the translator
did to the PO file are undone a little more. For the purpose of
@@ -344,6 +373,10 @@ can undo the edition work quite parsimoniously.
+
+
+
+
The commands Q (po-quit
) and q
(po-confirm-and-quit
) are used when the translator is done with the
PO file. The former is a bit less verbose than the latter. If the file
@@ -356,6 +389,8 @@ of an Emacs PO file buffer. Merely killing it through the usual command
+
+
The command 0 (po-other-window
) is another, softer way,
to leave PO mode, temporarily. It just moves the cursor to some other
Emacs window, and pops one if necessary. For example, if the translator
@@ -369,6 +404,9 @@ PO mode is then recovered.
+
+
+
The command h (po-help
) displays a summary of all available PO
mode commands. The translator should then type any character to resume
normal PO mode operations. The command ? has the same effect
@@ -376,6 +414,8 @@ as h.
+
+
The command = (po-statistics
) computes the total number of
entries in the PO file, the ordinal of the current entry (counted from
1), the number of untranslated entries, the number of obsolete entries,
@@ -383,6 +423,8 @@ and displays all these numbers.
+
+
The command V (po-validate
) launches msgfmt
in
checking and verbose
mode over the current PO file. This command first offers to save the
@@ -393,6 +435,7 @@ as well as all individual entries.
+
The program msgfmt
runs asynchronously with Emacs, so the
translator regains control immediately while her PO file is being studied.
Error output is collected in the Emacs `*compilation*´ buffer,
@@ -408,6 +451,7 @@ any PO mode action which would help correcting the error.
+
The cursor in a PO file window is almost always part of
an entry. The only exceptions are the special case when the cursor
is after the last entry in the file, or when the PO file is
@@ -418,6 +462,7 @@ the PO file, this also selects on which entry commands operate.
+
Some PO mode commands alter the position of the cursor in a specialized
way. A few of those special purpose positioning are described here,
the others are described in following sections (for a complete list try
@@ -428,41 +473,51 @@ the others are described in following sections (for a complete list try
- .
-
+
Redisplay the current entry (
po-current-entry
).
- n
-
+
Select the entry after the current one (
po-next-entry
).
- p
-
+
Select the entry before the current one (
po-previous-entry
).
- <
-
+
Select the first entry in the PO file (
po-first-entry
).
- >
-
+
Select the last entry in the PO file (
po-last-entry
).
- m
-
+
Record the location of the current entry for later use
(
po-push-location
).
- r
-
+
Return to a previously saved entry location (
po-pop-location
).
- x
-
+
Exchange the current entry location with the previously saved one
(
po-exchange-location
).
+
+
Any Emacs command able to reposition the cursor may be used
to select the current entry in PO mode, including commands which
move by characters, lines, paragraphs, screens or pages, and search
@@ -491,6 +546,10 @@ how others should do translation.
+
+
+
+
The commands n (po-next-entry
) and p
(po-previous-entry
) move the cursor the entry following,
or preceding, the current one. If n is given while the
@@ -499,6 +558,10 @@ is given while the cursor is on the first entry, no move is done.
+
+
+
+
The commands < (po-first-entry
) and >
(po-last-entry
) move the cursor to the first entry, or last
entry, of the PO file. When the cursor is located past the last
@@ -521,6 +584,10 @@ register for getting back, or else, use the location ring.
+
+
+
+
PO mode offers another approach, by which cursor locations may be saved
onto a special stack. The command m (po-push-location
)
merely adds the location of current entry to the stack, pushing
@@ -540,6 +607,8 @@ ought to use m immediately after r.
+
+
The command x (po-exchange-location
) simultaneously
repositions the cursor to the entry associated with the top element of
the stack of saved locations, and replaces that top element with the
@@ -553,7 +622,10 @@ merely use x for making the switch.
+
+
+
There are many different ways for encoding a particular string into a
PO file entry, because there are so many different ways to split and
@@ -584,10 +656,13 @@ PO file needing a canonical representation, the following PO mode
command is available:
+
+
- M-x po-normalize
-
+
Tidy the whole PO file by making entries more uniform.
@@ -619,6 +694,7 @@ for continued lines.
+
Having such an explicit normalizing command allows for importing PO
files from other sources, but also eases the evolution of the current
convention, evolution driven mostly by aesthetic concerns, as of now.
@@ -631,6 +707,7 @@ their PO files in nice ways.
+
Right now, in PO mode, strings are single line or multi-line. A string
goes multi-line if and only if it has embedded newlines, that
is, if it matches `[^\n]\n+[^\n]´. So, we would have:
@@ -680,6 +757,6 @@ to be documented in this manual, once these questions settle.
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_3.html b/doc/gettext_3.html
index 1dd531e37..3b8903ab0 100644
--- a/doc/gettext_3.html
+++ b/doc/gettext_3.html
@@ -1,16 +1,20 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - 3 Preparing Program Sources
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
+
+
+
+
For the programmer, changes to the C source code fall into three
@@ -25,10 +29,12 @@ needing translation.
Presuming that your set of programs, or package, has been adjusted
so all needed GNU gettext
files are available, and your
-`Makefile´ files are adjusted (see section 12 The Maintainer's View), each C module
+`Makefile´ files are adjusted (see section 12 The Maintainer's View), each C module
having translated C strings should contain the line:
+
+
#include <libintl.h>
@@ -45,6 +51,7 @@ sections of this chapter.
+
The initialization of locale data should be done with more or less
the same code in every program, as demonstrated below:
@@ -67,10 +74,12 @@ main (argc, argv)
PACKAGE and LOCALEDIR should be provided either by
`config.h´ or by the Makefile. For now consult the gettext
-sources for more information.
+or hello
sources for more information.
+
+
The use of LC_ALL
might not be appropriate for you.
LC_ALL
includes all locale categories and especially
LC_CTYPE
. This later category is responsible for determining
@@ -111,6 +120,13 @@ code above by a sequence of setlocale
lines
+
+
+
+
+
+
+
On all POSIX conformant systems the locale categories LC_CTYPE
,
LC_COLLATE
, LC_MONETARY
, LC_NUMERIC
, and
LC_TIME
are available. On some modern systems there is also a
@@ -139,7 +155,10 @@ is not multithread-safe.
+
+
+
All strings requiring translation should be marked in the C sources. Marking
is done in such a way that each translatable string appears to be
@@ -188,6 +207,7 @@ sources for those trying to keep them within 79 or 80 columns.
+
Many packages use `_´ (a simple underline) as a keyword,
and write `_("Translatable string")´ instead of `gettext
("Translatable string")´. Further, the coding rule, from GNU standards,
@@ -222,7 +242,10 @@ an example of string not requiring translation!
+
+
+
In PO mode, one set of features is meant more for the programmer than
for the translator, and allows him to interactively mark which strings,
@@ -237,6 +260,7 @@ translation in some language, for the package being internationalized.
+
The set of program sources, targetted by the PO mode commands describe
here, should have an Emacs tags table constructed for your project,
prior to using these PO file commands. This is easy to do. In any
@@ -258,6 +282,7 @@ format Emacs can understand.
+
For packages following the GNU coding standards, there is
a make goal tags
or TAGS
which constructs the tag files in
all directories and for all files containing source code.
@@ -277,15 +302,18 @@ fill in while you mark strings as translatable in your program sources.
- ,
-
+
Search through program sources for a string which looks like a
candidate for translation (
po-tags-search
).
- M-,
-
+
Mark the last string found with `_()´ (
po-mark-translatable
).
- M-.
-
+
Mark the last string found with a keyword taken from a set of possible
keywords. This command with a prefix allows some management of these
keywords (
po-select-mark-and-mark
).
@@ -293,6 +321,7 @@ keywords (po-select-mark-and-mark
).
+
The , (po-tags-search
) command searches for the next
occurrence of a string which looks like a possible candidate for
translation, and displays the program source in another Emacs window,
@@ -344,6 +373,8 @@ first tags file, this reinitialization might be considered spurious.
+
+
The M-, (po-mark-translatable
) command will mark the
recently found string with the `_´ keyword. The M-.
(po-select-mark-and-mark
) command will request that you type
@@ -404,6 +435,7 @@ prefer `_´, as this one is already built in the M-,3.4 Special Comments preceding Keywords
+
In C programs strings are often used within calls of functions from the
printf
family. The special thing about these format strings is
that they can contain format specifiers introduced with %. Assume
@@ -471,6 +503,8 @@ only a heuristic. In the `.po´ file the entry is marked using th
+
+
The careful reader now might say that this again can cause problems.
The heuristic might guess it wrong. This is true and therefore
xgettext
knows about special kind of comment which lets
@@ -516,6 +550,7 @@ used for solving this problem.
+
The attentive reader might now point out that it is not always possible
to mark translatable string with gettext
or something like this.
Consider the following case:
@@ -616,6 +651,6 @@ use this second method in this situation.
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_4.html b/doc/gettext_4.html
index bc39311f9..2b7f28964 100644
--- a/doc/gettext_4.html
+++ b/doc/gettext_4.html
@@ -1,17 +1,20 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - 4 Making the PO Template File
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
+
+
+
After preparing the sources, the programmer creates a PO template file.
This section explains how to use xgettext
for this purpose.
@@ -22,6 +25,9 @@ This section explains how to use xgettext
for this purpose.
+
+
+
xgettext [option] [inputfile] ...
@@ -46,6 +52,8 @@ Input files.
-
- `--files-from=file´
-
+
+
Read the names of the input files from file instead of getting
them from the command line.
@@ -53,6 +61,8 @@ them from the command line.
-
- `--directory=directory´
-
+
+
Add directory to the list of directories. Source files are
searched relative to this list of directories. The resulting `.po´
file will be written relative to the current directory, though.
@@ -73,12 +83,16 @@ If inputfile is `-´, standard input is read.
-
- `--default-domain=name´
-
+
+
Use `name.po´ for output (instead of `messages.po´).
- `-o file´
-
- `--output=file´
-
+
+
Write output to specified file (instead of `name.po´ or
`messages.po´).
@@ -86,11 +100,14 @@ Write output to specified file (instead of `name.po´ o
-
- `--output-dir=dir´
-
+
+
Output files will be placed in directory dir.
+
If the output file is `-´ or `/dev/stdout´, the output
is written to standard output.
@@ -105,14 +122,20 @@ is written to standard output.
-
- `--language=name´
-
+
+
+
Specifies the language of the input files. The supported languages
-are
C
, C++
, ObjectiveC
, PO
, Java
,
-YCP
.
+are C
, C++
, ObjectiveC
, PO
, Python
,
+Lisp
, EmacsLisp
, librep
, Java
, awk
,
+YCP
, Tcl
, RST
, Glade
.
- `-C´
-
- `--c++´
-
+
+
This is a shorthand for
--language=C++
.
@@ -132,12 +155,16 @@ extension.
-
- `--join-existing´
-
+
+
Join messages with existing file.
- `-x file´
-
- `--exclude-file=file´
-
+
+
Entries from file are not extracted. file should be a PO or
POT file.
@@ -145,6 +172,8 @@ POT file.
-
- `--add-comments[=tag]´
-
+
+
Place comment block with tag (or those preceding keyword lines)
in output file.
@@ -160,15 +189,20 @@ in output file.
-
- `--extract-all´
-
+
+
Extract all strings.
- `-k keywordspec´
-
- `--keyword[=keywordspec]´
-
+
+
Additional keyword to be looked for (without keywordspec means not to
use default keywords).
+
If keywordspec is a C identifer id,
xgettext
looks
for strings in the first argument of each call to the function or macro
id. If keywordspec is of the form
@@ -188,10 +222,15 @@ explicitly disabled, are gettext
, dgettext:2
,
-
- `--trigraphs´
-
+
+
+
Understand ANSI C trigraphs for input.
- `--debug´
-
+
+
Use the flags c-format and possible-c-format to show who was
responsible for marking a message as a format string. The latter form is
used if the
xgettext
program decided, the format form is used if
@@ -216,26 +255,33 @@ adjacent strings, and escaped end of lines for continued strings.
- `--force-po´
-
+
Always write an output file even if no message is defined.
- `-i´
-
- `--indent´
-
+
+
Write the .po file using indented style.
- `--no-location´
-
+
Do not write `#: filename:line´ lines.
- `-n´
-
- `--add-location´
-
+
+
Generate `#: filename:line´ lines (default).
- `--strict´
-
+
Write out a strict Uniforum conforming PO file. Note that this
Uniforum format should be avoided because it doesn't support the
GNU extensions.
@@ -244,6 +290,8 @@ GNU extensions.
-
- `--width=number´
-
+
+
Set the output page width. Long strings in the output files will be
split across multiple lines in order to ensure that each line's width
(= number of screen columns) is less or equal to the given number.
@@ -252,6 +300,9 @@ split across multiple lines in order to ensure that each line's width
-
- `--sort-output´
-
+
+
+
Generate sorted output. Note that using this option makes it much harder
for the translator to understand each message's context.
@@ -259,12 +310,16 @@ for the translator to understand each message's context.
-
- `--sort-by-file´
-
+
+
Sort output by file location.
- `--omit-header´
-
+
Don't write header with `msgid ""´ entry.
+
This is useful for testing purposes because it eliminates a source
of variance for generated
.gmo
files. With --omit-header
,
two invocations of xgettext
on the same files with the same
@@ -272,6 +327,7 @@ options at different times are guaranteed to produce the same results.
- `--copyright-holder=string´
-
+
Set the copyright holder in the output. string should be the
copyright holder of the surrounding package. (Note that the msgstr
strings, extracted from the package's sources, belong to the copyright
@@ -287,6 +343,7 @@ simply because
xgettext
was first used in the GNU project.
- `--foreign-user´
-
+
Omit FSF copyright in output. This option is equivalent to
`--copyright-holder="´. It can be useful for packages outside the GNU
project that want their translations to be in the public domain.
@@ -295,12 +352,16 @@ project that want their translations to be in the public domain.
-
- `--msgstr-prefix[=string]´
-
+
+
Use string (or "" if not specified) as prefix for msgstr entries.
- `-M [string]´
-
- `--msgstr-suffix[=string]´
-
+
+
Use string (or "" if not specified) as suffix for msgstr entries.
@@ -315,17 +376,21 @@ Use string (or "" if not specified) as suffix for msgstr entries.
-
- `--help´
-
+
+
Display this help and exit.
- `-V´
-
- `--version´
-
+
+
Output version information and exit.
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_5.html b/doc/gettext_5.html
index 9eb39af98..975785024 100644
--- a/doc/gettext_5.html
+++ b/doc/gettext_5.html
@@ -1,17 +1,20 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - 5 Creating a New PO File
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
+
+
+
When starting a new translation, the translator creates a file called
`LANG.po´, as a copy of the `package.pot´ template
@@ -43,12 +46,17 @@ the header entry of this file.
+
+
+
msginit [option]
+
+
The msginit
program creates a new PO file, initializing the meta
information with values from the user's environment.
@@ -63,6 +71,8 @@ information with values from the user's environment.
-
- `--input=inputfile´
-
+
+
Input POT file.
@@ -82,6 +92,8 @@ POT file. If it is `-´, standard input is read.
-
- `--output-file=file´
-
+
+
Write output to specified PO file.
@@ -102,12 +114,15 @@ standard output.
-
- `--locale=ll_CC´
-
+
+
Set target locale. ll should be a language code, and CC should
be a country code. The command `locale -a´ can be used to output a list
of all installed locales. The default is the user's locale setting.
- `--no-translator´
-
+
Declares that the PO file will not have a human translator and is instead
automatically generated.
@@ -115,6 +130,8 @@ automatically generated.
-
- `--width=number´
-
+
+
Set the output page width. Long strings in the output files will be
split across multiple lines in order to ensure that each line's width
(= number of screen columns) is less or equal to the given number.
@@ -131,12 +148,16 @@ split across multiple lines in order to ensure that each line's width
-
- `--help´
-
+
+
Display this help and exit.
- `-V´
-
- `--version´
-
+
+
Output version information and exit.
@@ -144,7 +165,10 @@ Output version information and exit.
+
+
+
The initial comments "SOME DESCRIPTIVE TITLE", "YEAR" and
"FIRST AUTHOR <EMAIL@ADDRESS>, YEAR" ought to be replaced by sensible
@@ -187,18 +211,22 @@ Before starting a translation, it is a good idea to get in touch with
your translation team, not only to make sure you don't do duplicated work,
but also to coordinate difficult linguistic issues.
+
In the Free Translation Project, each translation team has its own mailing
list. The up-to-date list of teams can be found at the Free Translation
-Project's homepage, `http://www.iro.umontreal.ca/contrib/po/HTML/´,
+Project's homepage, http://www.iro.umontreal.ca/contrib/po/HTML/,
in the "National teams" area.
- Content-Type
-
+
+
Replace `CHARSET´ with the character encoding used for your language,
in your locale, or UTF-8. This field is needed for correct operation of the
msgmerge
and msgfmt
programs, as well as for users whose
-locale's character encoding differs from yours (see section 10.2.4 How to specify the output character set gettext
uses).
+locale's character encoding differs from yours (see section 10.2.4 How to specify the output character set gettext
uses).
+
You get the character encoding of your locale by running the shell command
`locale charmap´. If the result is `C´ or `ANSI_X3.4-1968´,
which is equivalent to `ASCII´ (= `US-ASCII´), it means that your
@@ -206,6 +234,7 @@ locale is not correctly configured. In this case, ask your translation
team which charset to use. `ASCII´ is not usable for any language
except Latin.
+
Because the PO files must be portable to operating systems with less advanced
internationalization facilities, the character encodings that can be used
are limited to those supported by both GNU libc
and GNU
@@ -220,9 +249,11 @@ are limited to those supported by both GNU libc
and GNU
BIG5
, BIG5-HKSCS
, GBK
, GB18030
, SHIFT_JIS
,
JOHAB
, TIS-620
, VISCII
, UTF-8
.
+
In the GNU system, the following encodings are frequently used for the
corresponding languages.
+
ISO-8859-1
for
@@ -273,6 +304,8 @@ corresponding languages.
+
+
When single quote characters or double quote characters are used in
translations for your language, and your locale's encoding is one of the
ISO-8859-* charsets, it is best if you create your PO files in UTF-8
@@ -284,6 +317,7 @@ real quote characters, whereas users in ISO-8859-* locales will see the
vertical apostrophe and the vertical double quote instead (because that's
what the character set conversion will transliterate them to).
+
To enter such quote characters under X11, you can change your keyboard
mapping using the xmodmap
program. The X11 names of the quote
characters are "leftsinglequotemark", "rightsinglequotemark",
@@ -305,10 +339,10 @@ Set this to 8bit
.
-
This field is optional. It is only needed if the PO file has plural forms.
You can find them by searching for the `msgid_plural´ keyword. The
-format of the plural forms field is described in section 10.2.5 Additional functions for plural forms.
+format of the plural forms field is described in section 10.2.5 Additional functions for plural forms.
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_6.html b/doc/gettext_6.html
index b9019270b..23fad1983 100644
--- a/doc/gettext_6.html
+++ b/doc/gettext_6.html
@@ -1,12 +1,12 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - 6 Updating Existing PO Files
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
@@ -16,6 +16,9 @@ Go to the first, previous<
+
+
+
msgmerge [option] def.po ref.pot
@@ -52,6 +55,8 @@ References to the new sources.
-
- `--directory=directory´
-
+
+
Add directory to the list of directories. Source files are
searched relative to this list of directories. The resulting `.po´
file will be written relative to the current directory, though.
@@ -60,6 +65,8 @@ file will be written relative to the current directory, though.
-
- `--compendium=file´
-
+
+
Specify an additional library of message translations. See section 6.11 Using Translation Compendia.
This option may be specified more than once.
@@ -75,6 +82,8 @@ This option may be specified more than once.
-
- `--update´
-
+
+
Update def.po. Do nothing if def.po is already up to date.
@@ -89,11 +98,14 @@ Update def.po. Do nothing if def.po is already up to date
-
- `--output-file=file´
-
+
+
Write output to specified file.
+
The results are written to standard output if no output file is specified
or if it is `-´.
@@ -110,15 +122,19 @@ The result is written back to def.po.
- `--backup=control´
-
+
+
Make a backup of def.po
- `--suffix=suffix´
-
+
Override the usual backup suffix.
+
The version control method may be selected via the --backup
option
or through the VERSION_CONTROL
environment variable. Here are the
values:
@@ -168,6 +184,8 @@ The backup suffix is `~´, unless set with --suffix
- `--multi-domain´
-
+
+
Apply ref.pot to each of the domains in def.po.
@@ -180,24 +198,30 @@ Apply ref.pot to each of the domains in def.po.
- `--force-po´
-
+
Always write an output file even if it contains no message.
- `-i´
-
- `--indent´
-
+
+
Write the .po file using indented style.
- `--no-location´
-
+
Do not write `#: filename:line´ lines.
- `--add-location´
-
+
Generate `#: filename:line´ lines (default).
- `--strict´
-
+
Write out a strict Uniforum conforming PO file. Note that this
Uniforum format should be avoided because it doesn't support the
GNU extensions.
@@ -206,6 +230,8 @@ GNU extensions.
-
- `--width=number´
-
+
+
Set the output page width. Long strings in the output files will be
split across multiple lines in order to ensure that each line's width
(= number of screen columns) is less or equal to the given number.
@@ -214,6 +240,9 @@ split across multiple lines in order to ensure that each line's width
-
- `--sort-output´
-
+
+
+
Generate sorted output. Note that using this option makes it much harder
for the translator to understand each message's context.
@@ -221,6 +250,8 @@ for the translator to understand each message's context.
-
- `--sort-by-file´
-
+
+
Sort output by file location.
@@ -235,18 +266,24 @@ Sort output by file location.
-
- `--help´
-
+
+
Display this help and exit.
- `-V´
-
- `--version´
-
+
+
Output version information and exit.
- `-v´
-
- `--verbose´
-
+
+
Increase verbosity level.
- `-q´
@@ -255,6 +292,9 @@ Increase verbosity level.
-
- `--silent´
-
+
+
+
Suppress progress indicators.
@@ -262,16 +302,20 @@ Suppress progress indicators.
+
+
+
Each PO file entry for which the msgstr
field has been filled with
a translation, and which is not marked as fuzzy (see section 6.3 Fuzzy Entries),
-is a said to be a translated entry. Only translated entries will
+is said to be a translated entry. Only translated entries will
later be compiled by GNU msgfmt
and become usable in programs.
Other entry types will be excluded; translation will not occur for them.
+
Some commands are more specifically related to translated entry processing.
@@ -279,22 +323,29 @@ Some commands are more specifically related to translated entry processing.
- t
-
+
Find the next translated entry (
po-next-translated-entry
).
- T
-
+
Find the previous translated entry (
po-previous-translated-entry
).
-The commands t (po-next-translated-entry
) and M-t
+
+
+
+
+The commands t (po-next-translated-entry
) and T
(po-previous-translated-entry
) move forwards or backwards, chasing
for an translated entry. If none is found, the search is extended and
wraps around in the PO file buffer.
+
Translated entries usually result from the translator having edited in
a translation for them, section 6.6 Modifying Translations. However, if the
variable po-auto-fuzzy-on-edit
is not nil
, the entry having
@@ -306,8 +357,13 @@ See section 6.3 Fuzzy Entries.
+
+
+
+
+
Each PO file entry may have a set of attributes, which are
qualities given a name and explicitely associated with the translation,
using a special system comment. One of these attributes
@@ -330,6 +386,7 @@ might mark some entries as being fuzzy.
+
Also, the translator may decide herself to mark an entry as fuzzy
for her own convenience, when she wants to remember that the entry
has to be later revisited. So, some commands are more specifically
@@ -340,19 +397,26 @@ related to fuzzy entry processing.
- z
-
+
Find the next fuzzy entry (
po-next-fuzzy-entry
).
- Z
-
+
Find the previous fuzzy entry (
po-previous-fuzzy-entry
).
- TAB
-
+
Remove the fuzzy attribute of the current entry (
po-unfuzzy
).
+
+
+
+
The commands z (po-next-fuzzy-entry
) and Z
(po-previous-fuzzy-entry
) move forwards or backwards, chasing for
a fuzzy entry. If none is found, the search is extended and wraps
@@ -360,6 +424,9 @@ around in the PO file buffer.
+
+
+
The command TAB (po-unfuzzy
) removes the fuzzy
attribute associated with an entry, usually leaving it translated.
Further, if the variable po-auto-select-on-unfuzzy
has not
@@ -381,6 +448,8 @@ to chase another entry, leaving the entry fuzzy.
+
+
The translator may also use the DEL command
(po-fade-out-entry
) over any translated entry to mark it as being
fuzzy, when she wants to easily leave a trace she wants to later return
@@ -396,7 +465,10 @@ still exists.
+
+
+
When xgettext
originally creates a PO file, unless told
otherwise, it initializes the msgid
field with the untranslated
@@ -414,6 +486,7 @@ are easily recognizable by the fact they end with `msgstr ""´
+
The work of the translator might be (quite naively) seen as the process
of seeking for an untranslated entry, editing a translation for
it, and repeating these actions until no untranslated entries remain.
@@ -425,26 +498,35 @@ processing.
u
+
Find the next untranslated entry (po-next-untranslated-entry
).
U
+
Find the previous untranslated entry (po-previous-untransted-entry
).
k
+
Turn the current entry into an untranslated one (po-kill-msgstr
).
-The commands u (po-next-untranslated-entry
) and M-u
+
+
+
+
+The commands u (po-next-untranslated-entry
) and U
(po-previous-untransted-entry
) move forwards or backwards,
chasing for an untranslated entry. If none is found, the search is
extended and wraps around in the PO file buffer.
+
+
An entry can be turned back into an untranslated entry by
merely emptying its translation, using the command k
(po-kill-msgstr
). See section 6.6 Modifying Translations.
@@ -459,7 +541,10 @@ if some untranslated string still exists.
+
+
+
By obsolete PO file entries, we mean those entries which are
commented out, usually by msgmerge
when it found that the
@@ -483,6 +568,7 @@ after the fact.
+
Moreover, some commands are more specifically related to obsolete
entry processing.
@@ -491,21 +577,28 @@ entry processing.
o
+
Find the next obsolete entry (po-next-obsolete-entry
).
O
+
Find the previous obsolete entry (po-previous-obsolete-entry
).
DEL
+
Make an active entry obsolete, or zap out an obsolete entry
(po-fade-out-entry
).
-The commands o (po-next-obsolete-entry
) and M-o
+
+
+
+
+The commands o (po-next-obsolete-entry
) and O
(po-previous-obsolete-entry
) move forwards or backwards,
chasing for an obsolete entry. If none is found, the search is
extended and wraps around in the PO file buffer.
@@ -520,6 +613,10 @@ introducing useless msgid
values.
+
+
+
+
However, it is possible to comment out an active entry, so making
it obsolete. GNU gettext
utilities will later react to the
disappearance of a translation by using the untranslated string.
@@ -548,7 +645,11 @@ merely tries to provide handy tools for helping her to do so.
+
+
+
+
PO mode prevents direct modification of the PO file, by the usual
means Emacs gives for altering a buffer's contents. By doing so,
@@ -572,32 +673,40 @@ using the following commands for modifying the translations.
RET
+
Interactively edit the translation (po-edit-msgstr
).
LFD
C-j
+
+
Reinitialize the translation with the original, untranslated string
(po-msgid-to-msgstr
).
k
+
Save the translation on the kill ring, and delete it (po-kill-msgstr
).
w
+
Save the translation on the kill ring, without deleting it
(po-kill-ring-save-msgstr
).
y
+
Replace the translation, taking the new from the kill ring
(po-yank-msgstr
).
+
+
The command RET (po-edit-msgstr
) opens a new Emacs
window meant to edit in a new translation, or to modify an already existing
translation. The new window contains a copy of the translation taken from
@@ -610,6 +719,9 @@ for more information.
+
+
+
The command LFD (po-msgid-to-msgstr
) initializes, or
reinitializes the translation with the original string. This command is
normally used when the translator wants to redo a fresh translation of
@@ -617,6 +729,7 @@ the original string, disregarding any previous work.
+
It is possible to arrange so, whenever editing an untranslated
entry, the LFD command be automatically executed. If you set
po-auto-edit-with-msgid
to t
, the translation gets
@@ -625,6 +738,7 @@ The default value for po-auto-edit-with-msgid
is nil
.
+
In fact, whether it is best to start a translation with an empty
string, or rather with a copy of the original string, is a matter of
taste or habit. Sometimes, the source language and the
@@ -638,6 +752,11 @@ if this requires some extra editing work to get rid of the original.
+
+
+
+
+
The command k (po-kill-msgstr
) merely empties the
translation string, so turning the entry into an untranslated
one. But while doing so, its previous contents is put apart in
@@ -669,6 +788,8 @@ entries, the translation is also uncommented prior to saving.
+
+
The command y (po-yank-msgstr
) completely replaces the
translation of the current entry by a string taken from the kill ring.
Following Emacs terminology, we then say that the replacement
@@ -702,6 +823,7 @@ yanking commands themselves.
+
To better illustrate the operation of killing and yanking, let's
use an actual example, taken from a common situation. When the
programmer slightly modifies some string right in the program, his
@@ -740,7 +862,11 @@ See section `Keyboard Macros' in The Emacs Editor.
+
+
+
+
Any translation work done seriously will raise many linguistic
difficulties, for which decisions have to be made, and the choices
@@ -767,20 +893,24 @@ so the general indications given for those apply here. See section
Interactively edit the translator comments (po-edit-comment
).
K
+
Save the translator comments on the kill ring, and delete it
(po-kill-comment
).
W
+
Save the translator comments on the kill ring, without deleting it
(po-kill-ring-save-comment
).
Y
+
Replace the translator comments, taking the new from the kill ring
(po-yank-comment
).
@@ -796,6 +926,8 @@ See section 6.6 Modifying Translations.
+
+
The command # (po-edit-comment
) opens a new Emacs window
containing a copy of the translator comments on the current PO file entry.
If there are no such comments, PO mode understands that the translator wants
@@ -809,11 +941,18 @@ See section 6.8 Details of Sub Edition, for
+
Functions found on po-subedit-mode-hook
, if any, are executed after
the string has been inserted in the edit buffer.
+
+
+
+
+
+
The command K (po-kill-comment
) gets rid of all
translator comments, while saving those comments on the kill ring.
The command W (po-kill-ring-save-comment
) takes
@@ -853,7 +992,10 @@ regular Emacs commands C-y (yank
) and M-y
+
+
+
The PO subedit minor mode has a few peculiarities worth being described
in fuller detail. It installs a few commands over the usual editing set
@@ -864,28 +1006,36 @@ of Emacs, which are described below.
C-c C-c
+
Complete edition (po-subedit-exit
).
C-c C-k
+
Abort edition (po-subedit-abort
).
C-c C-a
+
Consult auxiliary PO files (po-subedit-cycle-auxiliary
).
+
+
+
The window's contents represents a translation for a given message,
or a translator comment. The translator may modify this window to
-her heart's content. Once this done, the command C-c C-c
+her heart's content. Once this is done, the command C-c C-c
(po-subedit-exit
) may be used to return the edited translation into
the PO file, replacing the original translation, even if it moved out of
sight or if buffers were switched.
+
+
If the translator becomes unsatisfied with her translation or comment,
to the extent she prefers keeping what was existent prior to the
RET or # command, she may use the command C-c C-k
@@ -896,6 +1046,8 @@ whole effect of last edition.
+
+
The command C-c C-a (po-subedit-cycle-auxiliary
)
allows for glancing through translations
already achieved in other languages, directly while editing the current
@@ -929,6 +1081,7 @@ in the editing window, as ending with two < in a row.
+
When a translation (or a comment) is being edited, the translator may move
the cursor back into the PO file buffer and freely move to other entries,
browsing at will. If, with an edition pending, the translator wanders in the
@@ -941,6 +1094,7 @@ the translator should better be comfortable at handling many Emacs windows!
+
Pending subedits may be completed or aborted in any order, regardless
of how or when they were started. When many subedits are pending and the
translator asks for quitting the PO file (with the q command), subedits
@@ -950,7 +1104,12 @@ are automatically resumed one at a time, so she may decide for each of them.
+
+
+
+
+
PO mode is particularily powerful when used with PO files
created through GNU gettext
utilities, as those utilities
@@ -985,6 +1144,7 @@ overall organization, than to programmation itself.
+
The following commands are meant to help the translator at getting
program source context for a PO file entry.
@@ -993,27 +1153,35 @@ program source context for a PO file entry.
s
+
Resume the display of a program source context, or cycle through them
(po-cycle-source-reference
).
M-s
+
Display of a program source context selected by menu
(po-select-source-reference
).
S
+
Add a directory to the search path for source files
(po-consider-source-path
).
M-S
+
Delete a directory from the search path for source files
(po-ignore-source-path
).
+
+
+
+
The commands s (po-cycle-source-reference
) and M-s
(po-select-source-reference
) both open another window displaying
some source program file, and already positioned in such a way that
@@ -1058,6 +1226,10 @@ available for a single string to translate.
+
+
+
+
Program source files are usually found relative to where the PO
file stands. As a special provision, when this fails, the file is
also looked for, but relative to the directory immediately above it.
@@ -1076,7 +1248,10 @@ one of the directories she does not want anymore on the search path.
+
+
+
PO mode is able to help the knowledgeable translator, being fluent in
many languages, at taking advantage of translations already achieved
@@ -1087,6 +1262,8 @@ at once, for translators preferring to work in this way.
+
+
An auxiliary PO file is an existing PO file meant for the same
package the translator is working on, but targeted to a different mother
tongue language. Commands exist for declaring and handling auxiliary
@@ -1101,31 +1278,41 @@ Here are the auxiliary file commands available in PO mode.
a
+
Seek auxiliary files for another translation for the same entry
(po-cycle-auxiliary
).
C-c C-a
+
Switch to a particular auxiliary file (po-select-auxiliary
).
A
+
Declare this PO file as an auxiliary file (po-consider-as-auxiliary
).
M-A
+
Remove this PO file from the list of auxiliary files
(po-ignore-as-auxiliary
).
+
+
+
+
Command A (po-consider-as-auxiliary
) adds the current
PO file to the list of auxiliary files, while command M-A
(po-ignore-as-auxiliary
just removes it.
+
+
The command a (po-cycle-auxiliary
) seeks all auxiliary PO
files, round-robin, searching for a translated entry in some other language
having an msgid
field identical as the one for the current entry.
@@ -1137,6 +1324,8 @@ so repeating a will eventually yield back the original PO file.
+
+
The command C-c C-a (po-select-auxiliary
) asks the translator
for her choice of a particular auxiliary file, with completion, and
then switches to that selected PO file. The command also checks if
@@ -1156,6 +1345,7 @@ their msgid
entries written by the same GNU gettext
to
+
However, PO files initially created by PO mode itself, while marking
strings in source files, are normalised differently. So are PO
files resulting of the the `M-x normalize´ command. Until these
@@ -1166,8 +1356,12 @@ fully resolved, the translator should stay aware of normalisation issues.
+
+
+
+
A compendium is a special PO file containing a set of
translations recurring in many different packages. The translator can
use gettext tools to build a new compendium, to add entries to her
@@ -1179,10 +1373,14 @@ already translated entries, from translations kept in the compendium.
+
+
+
+
Basically every PO file consisting of translated entries only can be
-declared as a valid compendium. Often the translater wants to have
+declared as a valid compendium. Often the translator wants to have
special compendia; let's consider two cases: concatenating PO
files and extracting a message subset from a PO file.
@@ -1192,8 +1390,10 @@ files and extracting a message subset from a PO file.
+
+
To concatenate several valid PO files into one compendium file you can
-use @command{msgcomm} or @command{msgcat} (the latter preferred):
+use `msgcomm´ or `msgcat´ (the latter preferred):
@@ -1202,9 +1402,9 @@ msgcat -o compendium.po file1.po file2.po
-By default, @command{msgcat} will accumulate divergent translations
+By default, msgcat
will accumulate divergent translations
for the same string. Those occurences will be marked as fuzzy
-and highly visible decorated; calling @command{msgcat} on
+and highly visible decorated; calling msgcat
on
`file1.po´:
@@ -1254,7 +1454,7 @@ finally to remove the fuzzy
mark.
If the translator knows in advance the first found translation of a
message is always the best translation she can make use to the
-@option{--use-first} switch:
+`--use-first´ switch:
@@ -1264,17 +1464,17 @@ msgcat --use-first -o compendium.po file1.po file2.po
A good compendium file must not contain fuzzy
or untranslated
-entries. If input files are "dirty" you must use the
-@option{--translated-only} switch (FIXME: TBI) or a manual way to pre-
-or postprocess. (FIXME: Handling of obsolete entries at this point?
-Proposal: By default, make them valid entries.
-@option{--no-obsolete-entries}.)
+entries. If input files are "dirty" you must preprocess the input
+files or postprocess the result using `msgattrib --translated --no-fuzzy´.
+
+
+
Nobody wants to translate the same messages again and again; thus you
may wish to have a compendium file containing `getopt.c´ messages.
@@ -1282,8 +1482,7 @@ may wish to have a compendium file containing `getopt.c´ messages
To extract a message subset (e.g., all `getopt.c´ messages) from an
-existing PO file into one compendium file you can use
-@command{msggrep}:
+existing PO file into one compendium file you can use `msggrep´:
@@ -1303,7 +1502,10 @@ or to update an already existing translation.
+
+
+
Since a PO file with translations does not exist the translator can
merely use `/dev/null´ to fake the "old" translation file.
@@ -1317,11 +1519,14 @@ msgmerge --compendium compendium.po -o file.po /dev/null file.pot
+
+
+
Concatenate the compendium file(s) and the existing PO, merge the
result with the POT file and remove the obsolete entries (optional,
-here done using @command{sed}):
+here done using `sed´):
@@ -1331,6 +1536,6 @@ msgmerge update.po file.pot | sed -e '/^#~/d' > file.po
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_7.html b/doc/gettext_7.html
index e837d5301..0de9a8902 100644
--- a/doc/gettext_7.html
+++ b/doc/gettext_7.html
@@ -1,17 +1,20 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - 7 Manipulating PO Files
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
+
+
+
Sometimes it is necessary to manipulate PO files in a way that is better
performed automatically than by hand. GNU gettext
includes a
@@ -19,6 +22,7 @@ complete set of tools for this purpose.
+
When merging two packages into a single package, the resulting POT file
will be the concatenation of the two packages' POT files. Thus the
maintainer must concatenate the two existing package translations into
@@ -28,6 +32,7 @@ possible conflicts that arose during the merge.
+
When a translator takes over the translation job from another translator,
but she uses a different character encoding in her locale, she will
convert the catalog to her character encoding. This is best done through
@@ -43,9 +48,11 @@ that source file and use `msgmerge´.
+
+
When a translator wants to adjust some translation catalog for a special
-dialect or orthography - for example, German as written in Switzerland
-versus German as written in Germany -, she needs to apply some text
+dialect or orthography -- for example, German as written in Switzerland
+versus German as written in Germany -- she needs to apply some text
processing to every message in the catalog. The tool for doing this is
`msgfilter´.
@@ -59,12 +66,14 @@ that's why it's better to use the original POT file if available.
+
When a translator wants to check her translations, for example according
to orthography rules or using a non-interactive spell checker, she can do
so using the `msgexec´ program.
+
When third party tools create PO or POT files, sometimes duplicates cannot
be avoided. But the GNU gettext
tools give an error when they
encounter duplicate msgids in the same file and in the same domain.
@@ -82,6 +91,7 @@ completely translated.
+
`msgattrib´ can be used to select and extract only the fuzzy
or untranslated messages of a translation catalog.
@@ -96,12 +106,17 @@ catalogs. It copies each message's msgid to its msgstr.
+
+
+
msgcat [option] [inputfile]...
+
+
The msgcat
program concatenates and merges the specified PO files.
It finds messages which are common to two or more of the specified PO files.
By using the --more-than
option, greater commonality may be requested
@@ -127,6 +142,8 @@ Input files.
`--files-from=file´
+
+
Read the names of the input files from file instead of getting
them from the command line.
@@ -134,6 +151,8 @@ them from the command line.
`--directory=directory´
+
+
Add directory to the list of directories. Source files are
searched relative to this list of directories. The resulting `.po´
file will be written relative to the current directory, though.
@@ -154,11 +173,14 @@ If inputfile is `-´, standard input is read.
`--output-file=file´
+
+
Write output to specified file.
+
The results are written to standard output if no output file is specified
or if it is `-´.
@@ -173,6 +195,8 @@ or if it is `-´.
`--less-than=number´
+
+
Print messages with less than number definitions, defaults to infinite
if not set.
@@ -180,6 +204,8 @@ if not set.
`--more-than=number´
+
+
Print messages with more than number definitions, defaults to 0 if not
set.
@@ -187,6 +213,8 @@ set.
`--unique´
+
+
Shorthand for `--less-than=2´. Requests that only unique messages be
printed.
@@ -202,35 +230,45 @@ printed.
`--to-code=name´
+
+
Specify encoding for output.
`--use-first´
+
Use first available translation for each message. Don't merge several
translations into one.
`--force-po´
+
Always write an output file even if it contains no message.
`-i´
`--indent´
+
+
Write the .po file using indented style.
`--no-location´
+
Do not write `#: filename:line´ lines.
`-n´
`--add-location´
+
+
Generate `#: filename:line´ lines (default).
`--strict´
+
Write out a strict Uniforum conforming PO file. Note that this
Uniforum format should be avoided because it doesn't support the
GNU extensions.
@@ -239,6 +277,8 @@ GNU extensions.
`--width=number´
+
+
Set the output page width. Long strings in the output files will be
split across multiple lines in order to ensure that each line's width
(= number of screen columns) is less or equal to the given number.
@@ -247,6 +287,9 @@ split across multiple lines in order to ensure that each line's width
`--sort-output´
+
+
+
Generate sorted output. Note that using this option makes it much harder
for the translator to understand each message's context.
@@ -254,6 +297,8 @@ for the translator to understand each message's context.
`--sort-by-file´
+
+
Sort output by file location.
@@ -268,12 +313,16 @@ Sort output by file location.
`--help´
+
+
Display this help and exit.
`-V´
`--version´
+
+
Output version information and exit.
@@ -282,12 +331,16 @@ Output version information and exit.
+
+
+
msgconv [option] [inputfile]
+
The msgconv
program converts a translation catalog to a different
character encoding.
@@ -306,6 +359,8 @@ Input PO file.
`--directory=directory´
+
+
Add directory to the list of directories. Source files are
searched relative to this list of directories. The resulting `.po´
file will be written relative to the current directory, though.
@@ -326,6 +381,8 @@ If no inputfile is given or if it is `-´, standard
`--output-file=file´
+
+
Write output to specified file.
@@ -345,6 +402,8 @@ or if it is `-´.
`--to-code=name´
+
+
Specify encoding for output.
@@ -361,24 +420,30 @@ The default encoding is the current locale's encoding.
`--force-po´
+
Always write an output file even if it contains no message.
`-i´
`--indent´
+
+
Write the .po file using indented style.
`--no-location´
+
Do not write `#: filename:line´ lines.
`--add-location´
+
Generate `#: filename:line´ lines (default).
`--strict´
+
Write out a strict Uniforum conforming PO file. Note that this
Uniforum format should be avoided because it doesn't support the
GNU extensions.
@@ -387,6 +452,8 @@ GNU extensions.
`--width=number´
+
+
Set the output page width. Long strings in the output files will be
split across multiple lines in order to ensure that each line's width
(= number of screen columns) is less or equal to the given number.
@@ -395,6 +462,8 @@ split across multiple lines in order to ensure that each line's width
`--sort-output´
+
+
Generate sorted output. Note that using this option makes it much harder
for the translator to understand each message's context.
@@ -402,6 +471,8 @@ for the translator to understand each message's context.
`--sort-by-file´
+
+
Sort output by file location.
@@ -416,12 +487,16 @@ Sort output by file location.
`--help´
+
+
Display this help and exit.
`-V´
`--version´
+
+
Output version information and exit.
@@ -430,12 +505,16 @@ Output version information and exit.
+
+
+
msggrep [option] [inputfile]
+
The msggrep
program extracts all messages of a translation catalog
that match a given pattern or belong to some given source files.
@@ -454,6 +533,8 @@ Input PO file.
`--directory=directory´
+
+
Add directory to the list of directories. Source files are
searched relative to this list of directories. The resulting `.po´
file will be written relative to the current directory, though.
@@ -474,6 +555,8 @@ If no inputfile is given or if it is `-´, standard
`--output-file=file´
+
+
Write output to specified file.
@@ -489,7 +572,8 @@ or if it is `-´.
- [-N sourcefile]... [-M domainname]... [-K msgid-pattern] [-T msgstr-pattern]
+ [-N sourcefile]... [-M domainname]...
+ [-K msgid-pattern] [-T msgstr-pattern] [-C comment-pattern]
@@ -505,7 +589,10 @@ A message is selected if
msgid-pattern,
or if `-T´ is given and its translation (msgstr) matches
- msgstr-pattern.
+ msgstr-pattern,
+or if `-C´ is given and the translator's comment matches
+
+ comment-pattern.
@@ -531,6 +618,8 @@ expressions if -E is given, or fixed strings if -F is given.
`--location=sourcefile´
+
+
Select messages extracted from sourcefile. sourcefile can be
either a literal file name or a wildcard pattern.
@@ -538,48 +627,64 @@ either a literal file name or a wildcard pattern.
`--domain=domainname´
+
+
Select messages belonging to domain domainname.
`-K´
`--msgid´
+
+
Start of patterns for the msgid.
`-T´
`--msgstr´
+
+
Start of patterns for the msgstr.
`-E´
`--extended-regexp´
+
+
Specify that pattern is an extended regular expression.
`-F´
`--fixed-strings´
+
+
Specify that pattern is a set of newline-separated strings.
`-e pattern´
`--regexp=pattern´
+
+
Use pattern as a regular expression.
`-f file´
`--file=file´
+
+
Obtain pattern from file.
`-i´
`--ignore-case´
+
+
Ignore case distinctions.
@@ -592,22 +697,27 @@ Ignore case distinctions.
`--force-po´
+
Always write an output file even if it contains no message.
`--indent´
+
Write the .po file using indented style.
`--no-location´
+
Do not write `#: filename:line´ lines.
`--add-location´
+
Generate `#: filename:line´ lines (default).
`--strict´
+
Write out a strict Uniforum conforming PO file. Note that this
Uniforum format should be avoided because it doesn't support the
GNU extensions.
@@ -616,17 +726,21 @@ GNU extensions.
`--width=number´
+
+
Set the output page width. Long strings in the output files will be
split across multiple lines in order to ensure that each line's width
(= number of screen columns) is less or equal to the given number.
`--sort-output´
+
Generate sorted output. Note that using this option makes it much harder
for the translator to understand each message's context.
`--sort-by-file´
+
Sort output by file location.
@@ -641,12 +755,16 @@ Sort output by file location.
`--help´
+
+
Display this help and exit.
`-V´
`--version´
+
+
Output version information and exit.
@@ -655,12 +773,16 @@ Output version information and exit.
+
+
+
msgfilter [option] filter [filter-option]
+
The msgfilter
program applies a filter to all translations of a
translation catalog.
@@ -675,12 +797,16 @@ translation catalog.
`--input=inputfile´
+
+
Input PO file.
`-D directory´
`--directory=directory´
+
+
Add directory to the list of directories. Source files are
searched relative to this list of directories. The resulting `.po´
file will be written relative to the current directory, though.
@@ -701,6 +827,8 @@ If no inputfile is given or if it is `-´, standard
`--output-file=file´
+
+
Write output to specified file.
@@ -721,6 +849,7 @@ used filter is `sed´.
+
Note: It is your responsibility to ensure that the filter can cope
with input encoded in the translation catalog's encoding. If the
filter wants input in a particular encoding, you can in a first step
@@ -733,6 +862,7 @@ locale, by using the LC_ALL
environment variable.
+
Note: Most translations in a translation catalog don't end with a newline
character. For this reason, it is important that the filter
recognizes its last input line even if it ends without a newline, and that
@@ -752,12 +882,16 @@ does not have this limitation.
`--expression=script´
+
+
Add script to the commands to be executed.
`-f scriptfile´
`--file=scriptfile´
+
+
Add the contents of scriptfile to the commands to be executed.
`-n´
@@ -766,6 +900,9 @@ Add the contents of scriptfile to the commands to be executed.
`--silent´
+
+
+
Suppress automatic printing of pattern space.
@@ -778,28 +915,34 @@ Suppress automatic printing of pattern space.
`--force-po´
+
Always write an output file even if it contains no message.
`--indent´
+
Write the .po file using indented style.
`--keep-header´
+
Keep the header entry, i.e. the message with `msgid ""´, unmodified,
instead of filtering it. By default, the header entry is subject to
filtering like any other message.
`--no-location´
+
Do not write `#: filename:line´ lines.
`--add-location´
+
Generate `#: filename:line´ lines (default).
`--strict´
+
Write out a strict Uniforum conforming PO file. Note that this
Uniforum format should be avoided because it doesn't support the
GNU extensions.
@@ -808,6 +951,8 @@ GNU extensions.
`--width=number´
+
+
Set the output page width. Long strings in the output files will be
split across multiple lines in order to ensure that each line's width
(= number of screen columns) is less or equal to the given number.
@@ -816,6 +961,8 @@ split across multiple lines in order to ensure that each line's width
`--sort-output´
+
+
Generate sorted output. Note that using this option makes it much harder
for the translator to understand each message's context.
@@ -823,6 +970,8 @@ for the translator to understand each message's context.
`--sort-by-file´
+
+
Sort output by file location.
@@ -837,12 +986,16 @@ Sort output by file location.
`--help´
+
+
Display this help and exit.
`-V´
`--version´
+
+
Output version information and exit.
@@ -851,12 +1004,17 @@ Output version information and exit.
+
+
+
msguniq [option] [inputfile]
+
+
The msguniq
program unifies duplicate translations in a translation
catalog. It finds duplicate translations of the same message ID. Such
duplicates are invalid input for other programs like msgfmt
,
@@ -883,6 +1041,8 @@ Input PO file.
`--directory=directory´
+
+
Add directory to the list of directories. Source files are
searched relative to this list of directories. The resulting `.po´
file will be written relative to the current directory, though.
@@ -903,6 +1063,8 @@ If no inputfile is given or if it is `-´, standard
`--output-file=file´
+
+
Write output to specified file.
@@ -922,12 +1084,16 @@ or if it is `-´.
`--repeated´
+
+
Print only duplicates.
`-u´
`--unique´
+
+
Print only unique messages, discard duplicates.
@@ -942,35 +1108,45 @@ Print only unique messages, discard duplicates.
`--to-code=name´
+
+
Specify encoding for output.
`--use-first´
+
Use first available translation for each message. Don't merge several
translations into one.
`--force-po´
+
Always write an output file even if it contains no message.
`-i´
`--indent´
+
+
Write the .po file using indented style.
`--no-location´
+
Do not write `#: filename:line´ lines.
`-n´
`--add-location´
+
+
Generate `#: filename:line´ lines (default).
`--strict´
+
Write out a strict Uniforum conforming PO file. Note that this
Uniforum format should be avoided because it doesn't support the
GNU extensions.
@@ -979,6 +1155,8 @@ GNU extensions.
`--width=number´
+
+
Set the output page width. Long strings in the output files will be
split across multiple lines in order to ensure that each line's width
(= number of screen columns) is less or equal to the given number.
@@ -987,6 +1165,8 @@ split across multiple lines in order to ensure that each line's width
`--sort-output´
+
+
Generate sorted output. Note that using this option makes it much harder
for the translator to understand each message's context.
@@ -994,6 +1174,8 @@ for the translator to understand each message's context.
`--sort-by-file´
+
+
Sort output by file location.
@@ -1008,12 +1190,16 @@ Sort output by file location.
`--help´
+
+
Display this help and exit.
`-V´
`--version´
+
+
Output version information and exit.
@@ -1022,12 +1208,16 @@ Output version information and exit.
+
+
+
msgcomm [option] [inputfile]...
+
The msgcomm
program finds messages which are common to two or more
of the specified PO files.
By using the --more-than
option, greater commonality may be requested
@@ -1053,6 +1243,8 @@ Input files.
`--files-from=file´
+
+
Read the names of the input files from file instead of getting
them from the command line.
@@ -1060,6 +1252,8 @@ them from the command line.
`--directory=directory´
+
+
Add directory to the list of directories. Source files are
searched relative to this list of directories. The resulting `.po´
file will be written relative to the current directory, though.
@@ -1080,6 +1274,8 @@ If inputfile is `-´, standard input is read.
`--output-file=file´
+
+
Write output to specified file.
@@ -1099,6 +1295,8 @@ or if it is `-´.
`--less-than=number´
+
+
Print messages with less than number definitions, defaults to infinite
if not set.
@@ -1106,6 +1304,8 @@ if not set.
`--more-than=number´
+
+
Print messages with more than number definitions, defaults to 1 if not
set.
@@ -1113,6 +1313,8 @@ set.
`--unique´
+
+
Shorthand for `--less-than=2´. Requests that only unique messages be
printed.
@@ -1126,26 +1328,33 @@ printed.
`--force-po´
+
Always write an output file even if it contains no message.
`-i´
`--indent´
+
+
Write the .po file using indented style.
`--no-location´
+
Do not write `#: filename:line´ lines.
`-n´
`--add-location´
+
+
Generate `#: filename:line´ lines (default).
`--strict´
+
Write out a strict Uniforum conforming PO file. Note that this
Uniforum format should be avoided because it doesn't support the
GNU extensions.
@@ -1154,6 +1363,8 @@ GNU extensions.
`--width=number´
+
+
Set the output page width. Long strings in the output files will be
split across multiple lines in order to ensure that each line's width
(= number of screen columns) is less or equal to the given number.
@@ -1162,6 +1373,8 @@ split across multiple lines in order to ensure that each line's width
`--sort-output´
+
+
Generate sorted output. Note that using this option makes it much harder
for the translator to understand each message's context.
@@ -1169,10 +1382,13 @@ for the translator to understand each message's context.
`--sort-by-file´
+
+
Sort output by file location.
`--omit-header´
+
Don't write header with `msgid ""´ entry.
@@ -1187,12 +1403,16 @@ Don't write header with `msgid ""´ entry.
`--help´
+
+
Display this help and exit.
`-V´
`--version´
+
+
Output version information and exit.
@@ -1201,12 +1421,16 @@ Output version information and exit.
+
+
+
msgcmp [option] def.po ref.pot
+
The msgcmp
program compares two Uniforum style .po files to check that
both contain the same set of msgid strings. The def.po file is an
existing PO file with the translations. The ref.pot file is the last
@@ -1234,6 +1458,8 @@ References to the sources.
`--directory=directory´
+
+
Add directory to the list of directories. Source files are
searched relative to this list of directories.
@@ -1249,6 +1475,8 @@ searched relative to this list of directories.
`--multi-domain´
+
+
Apply ref.pot to each of the domains in def.po.
@@ -1263,12 +1491,16 @@ Apply ref.pot to each of the domains in def.po.
`--help´
+
+
Display this help and exit.
`-V´
`--version´
+
+
Output version information and exit.
@@ -1277,12 +1509,17 @@ Output version information and exit.
+
+
+
msgattrib [option] [inputfile]
+
+
The msgattrib
program filters the messages of a translation catalog
according to their attributes, and manipulates the attributes.
@@ -1301,6 +1538,8 @@ Input PO file.
`--directory=directory´
+
+
Add directory to the list of directories. Source files are
searched relative to this list of directories. The resulting `.po´
file will be written relative to the current directory, though.
@@ -1321,6 +1560,8 @@ If no inputfile is given or if it is `-´, standard
`--output-file=file´
+
+
Write output to specified file.
@@ -1338,26 +1579,32 @@ or if it is `-´.
`--translated´
+
Keep translated messages, remove untranslated messages.
`--untranslated´
+
Keep untranslated messages, remove translated messages.
`--no-fuzzy´
+
Remove `fuzzy' marked messages.
`--only-fuzzy´
+
Keep `fuzzy' marked messages, remove all other messsages.
`--no-obsolete´
+
Remove obsolete #~ messages.
`--only-obsolete´
+
Keep obsolete #~ messages, remove all other messages.
@@ -1367,6 +1614,7 @@ Keep obsolete #~ messages, remove all other messages.
+
Attributes are modified after the message selection/removal has been
performed.
@@ -1375,27 +1623,33 @@ performed.
`--set-fuzzy´
+
Set all messages `fuzzy'.
`--clear-fuzzy´
+
Set all messages non-`fuzzy'.
`--set-obsolete´
+
Set all messages obsolete.
`--clear-obsolete´
+
Set all messages non-obsolete.
`--fuzzy´
+
Synonym for `--only-fuzzy --clear-fuzzy´: It keeps only the fuzzy
messages and removes their `fuzzy' mark.
`--obsolete´
+
Synonym for `--only-obsolete --clear-obsolete´: It keeps only the
obsolete messages and makes them non-obsolete.
@@ -1409,26 +1663,33 @@ obsolete messages and makes them non-obsolete.
`--force-po´
+
Always write an output file even if it contains no message.
`-i´
`--indent´
+
+
Write the .po file using indented style.
`--no-location´
+
Do not write `#: filename:line´ lines.
`-n´
`--add-location´
+
+
Generate `#: filename:line´ lines (default).
`--strict´
+
Write out a strict Uniforum conforming PO file. Note that this
Uniforum format should be avoided because it doesn't support the
GNU extensions.
@@ -1437,6 +1698,8 @@ GNU extensions.
`--width=number´
+
+
Set the output page width. Long strings in the output files will be
split across multiple lines in order to ensure that each line's width
(= number of screen columns) is less or equal to the given number.
@@ -1445,6 +1708,8 @@ split across multiple lines in order to ensure that each line's width
`--sort-output´
+
+
Generate sorted output. Note that using this option makes it much harder
for the translator to understand each message's context.
@@ -1452,6 +1717,8 @@ for the translator to understand each message's context.
`--sort-by-file´
+
+
Sort output by file location.
@@ -1466,12 +1733,16 @@ Sort output by file location.
`--help´
+
+
Display this help and exit.
`-V´
`--version´
+
+
Output version information and exit.
@@ -1480,12 +1751,16 @@ Output version information and exit.
+
+
+
msgen [option] inputfile
+
The msgen
program creates an English translation catalog. The
input file is the last created English PO file, or a PO Template file
(generally created by xgettext). Untranslated entries are assigned a
@@ -1512,6 +1787,8 @@ Input PO or POT file.
`--directory=directory´
+
+
Add directory to the list of directories. Source files are
searched relative to this list of directories. The resulting `.po´
file will be written relative to the current directory, though.
@@ -1532,6 +1809,8 @@ If inputfile is `-´, standard input is read.
`--output-file=file´
+
+
Write output to specified file.
@@ -1549,24 +1828,30 @@ or if it is `-´.
`--force-po´
+
Always write an output file even if it contains no message.
`-i´
`--indent´
+
+
Write the .po file using indented style.
`--no-location´
+
Do not write `#: filename:line´ lines.
`--add-location´
+
Generate `#: filename:line´ lines (default).
`--strict´
+
Write out a strict Uniforum conforming PO file. Note that this
Uniforum format should be avoided because it doesn't support the
GNU extensions.
@@ -1575,6 +1860,8 @@ GNU extensions.
`--width=number´
+
+
Set the output page width. Long strings in the output files will be
split across multiple lines in order to ensure that each line's width
(= number of screen columns) is less or equal to the given number.
@@ -1583,6 +1870,8 @@ split across multiple lines in order to ensure that each line's width
`--sort-output´
+
+
Generate sorted output. Note that using this option makes it much harder
for the translator to understand each message's context.
@@ -1590,6 +1879,8 @@ for the translator to understand each message's context.
`--sort-by-file´
+
+
Sort output by file location.
@@ -1604,12 +1895,16 @@ Sort output by file location.
`--help´
+
+
Display this help and exit.
`-V´
`--version´
+
+
Output version information and exit.
@@ -1618,12 +1913,16 @@ Output version information and exit.
+
+
+
msgexec [option] command [command-option]
+
The msgexec
program applies a command to all translations of a
translation catalog.
The command can be any program that reads a translation from standard
@@ -1633,12 +1932,15 @@ across all invocations.
+
A special builtin command called `0´ outputs the translation, followed
by a null byte. The output of `msgexec 0´ is suitable as input for
`xargs -0´.
+
+
During each command invocation, the environment variable
MSGEXEC_MSGID
is bound to the message's msgid, and the environment
variable MSGEXEC_LOCATION
is bound to the location in the PO file
@@ -1646,6 +1948,7 @@ of the message.
+
Note: It is your responsibility to ensure that the command can cope
with input encoded in the translation catalog's encoding. If the
command wants input in a particular encoding, you can in a first step
@@ -1667,12 +1970,16 @@ locale, by using the LC_ALL
environment variable.
`--input=inputfile´
+
+
Input PO file.
`-D directory´
`--directory=directory´
+
+
Add directory to the list of directories. Source files are
searched relative to this list of directories. The resulting `.po´
file will be written relative to the current directory, though.
@@ -1693,17 +2000,21 @@ If no inputfile is given or if it is `-´, standard
`--help´
+
+
Display this help and exit.
`-V´
`--version´
+
+
Output version information and exit.
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_8.html b/doc/gettext_8.html
index fa253f58f..5bc1047be 100644
--- a/doc/gettext_8.html
+++ b/doc/gettext_8.html
@@ -1,12 +1,12 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - 8 Producing Binary MO Files
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
@@ -16,12 +16,16 @@ Go to the first, previous<
+
+
+
msgfmt [option] filename.po ...
+
The msgfmt
programs generates a binary message catalog from a textual
translation description.
@@ -38,6 +42,8 @@ translation description.
`--directory=directory´
+
+
Add directory to the list of directories. Source files are
searched relative to this list of directories. The resulting `.po´
file will be written relative to the current directory, though.
@@ -58,12 +64,22 @@ If an input file is `-´, standard input is read.
`--java´
+
+
+
Java mode: generate a Java ResourceBundle
class.
`--java2´
+
Like --java, and assume Java2 (JDK 1.2 or higher).
+`--tcl´
+
+
+
+Tcl mode: generate a tcl/msgcat `.msg´ file.
+
@@ -76,10 +92,13 @@ Like --java, and assume Java2 (JDK 1.2 or higher).
`--output-file=file´
+
+
Write output to specified file.
`--strict´
+
Direct the program to work strictly following the Uniforum/Sun
implementation. Currently this only affects the naming of the output
file. If this option is not given the name of the output file is the
@@ -106,17 +125,22 @@ If the output file is `-´, output is written to st
`--resource=resource´
+
+
Specify the resource name.
`-l locale´
`--locale=locale´
+
+
Specify the locale name, either a language specification of the form ll
or a combined language and country specification of the form ll_CC.
`-d directory´
+
Specify the base directory of classes directory hierarchy.
@@ -129,7 +153,34 @@ is written under the specified directory.
-
+
+
+
+
+- `-l locale´
+
-
+
- `--locale=locale´
+
-
+
+
+Specify the locale name, either a language specification of the form ll
+or a combined language and country specification of the form ll_CC.
+
+
- `-d directory´
+
-
+
+Specify the base directory of `.msg´ message catalogs.
+
+
+
+
+The `-l´ and `-d´ options are mandatory. The `.msg´ file is
+written in the specified directory.
+
+
+
+
+
@@ -137,11 +188,15 @@ is written under the specified directory.
-
- `--check´
-
+
+
Perform all the checks implied by
--check-format
, --check-header
,
--check-domain
.
- `--check-format´
-
+
+
Check language dependent format strings.
If the string represents a format string used in a
@@ -166,11 +221,13 @@ reversed again as soon as
msgmerge
is called the next time.
- `--check-header´
-
+
Verify presence and contents of the header entry. See section 5.2 Filling in the Header Entry,
for a description of the various fields in the header entry.
- `--check-domain´
-
+
Check for conflicts between domain directives and the
--output-file
option
@@ -178,11 +235,18 @@ option
-
- `--check-compatibility´
-
+
+
+
Check that GNU msgfmt behaves like X/Open msgfmt. This will give an error
when attempting to use the GNU extensions.
- `--check-accelerators[=char]´
-
+
+
+
+
Check presence of keyboard accelerators for menu items. This is based on
the convention used in some GUIs that a keyboard accelerator in a menu
item string is designated by an immediately preceding `&´ character.
@@ -197,6 +261,9 @@ instead of `&´.
-
- `--use-fuzzy´
-
+
+
+
Use fuzzy entries in output. Note that using this option is usually wrong,
because fuzzy messages are exactly those which have not been validated by
a human translator.
@@ -205,7 +272,7 @@ a human translator.
-
+
@@ -213,10 +280,13 @@ a human translator.
-
- `--alignment=number´
-
+
+
Align strings to number bytes (default: 1).
- `--no-hash´
-
+
Don't include a hash table in the binary file. Lookup will be more expensive
at run time (binary search instead of hash table lookup).
@@ -224,7 +294,7 @@ at run time (binary search instead of hash table lookup).
-
+
@@ -232,43 +302,54 @@ at run time (binary search instead of hash table lookup).
-
- `--help´
-
+
+
Display this help and exit.
- `-V´
-
- `--version´
-
+
+
Output version information and exit.
- `--statistics´
-
+
Print statistics about translations.
- `-v´
-
- `--verbose´
-
+
+
Increase verbosity level.
-
+
+
+
+
msgunfmt [option] [file]...
+
The msgunfmt
program converts a binary message catalog to a
Uniforum style .po file.
-
+
@@ -276,13 +357,22 @@ Uniforum style .po file.
-
- `--java´
-
-Java mode: generate a Java
ResourceBundle
class.
+
+
+
+Java mode: input is a Java ResourceBundle
class.
+
+ - `--tcl´
+
-
+
+
+Tcl mode: input is a tcl/msgcat `.msg´ file.
-
+
@@ -298,7 +388,7 @@ If no input file is given or if it is `-´, standar
-
+
@@ -306,12 +396,16 @@ If no input file is given or if it is `-´, standar
-
- `--resource=resource´
-
+
+
Specify the resource name.
- `-l locale´
-
- `--locale=locale´
-
+
+
Specify the locale name, either a language specification of the form ll
or a combined language and country specification of the form ll_CC.
@@ -324,7 +418,34 @@ separated with an underscore. The class is located using the
CLASSPATH
-
+
+
+
+
+- `-l locale´
+
-
+
- `--locale=locale´
+
-
+
+
+Specify the locale name, either a language specification of the form ll
+or a combined language and country specification of the form ll_CC.
+
+
- `-d directory´
+
-
+
+Specify the base directory of `.msg´ message catalogs.
+
+
+
+
+The `-l´ and `-d´ options are mandatory. The `.msg´ file is
+located in the specified directory.
+
+
+
+
+
@@ -332,6 +453,8 @@ separated with an underscore. The class is located using the CLASSPATH
- `--output-file=file´
-
+
+
Write output to specified file.
@@ -343,22 +466,26 @@ or if it is `-´.
-
+
- `--force-po´
-
+
Always write an output file even if it contains no message.
- `-i´
-
- `--indent´
-
+
+
Write the .po file using indented style.
- `--strict´
-
+
Write out a strict Uniforum conforming PO file. Note that this
Uniforum format should be avoided because it doesn't support the
GNU extensions.
@@ -367,6 +494,8 @@ GNU extensions.
-
- `--width=number´
-
+
+
Set the output page width. Long strings in the output files will be
split across multiple lines in order to ensure that each line's width
(= number of screen columns) is less or equal to the given number.
@@ -375,6 +504,9 @@ split across multiple lines in order to ensure that each line's width
-
- `--sort-output´
-
+
+
+
Generate sorted output. Note that using this option makes it much harder
for the translator to understand each message's context.
@@ -382,7 +514,7 @@ for the translator to understand each message's context.
-
+
@@ -390,32 +522,43 @@ for the translator to understand each message's context.
-
- `--help´
-
+
+
Display this help and exit.
- `-V´
-
- `--version´
-
+
+
Output version information and exit.
- `-v´
-
- `--verbose´
-
+
+
Increase verbosity level.
-
+
+
+
+
+
The format of the generated MO files is best described by a picture,
which appears below.
+
The first two words serve the identification of the file. The magic
number will always signal GNU MO files. The number is stored in the
byte order of the generating machine, so the magic number really is
@@ -463,6 +606,7 @@ translated tables, making the system information very easy to find.
+
The size S of the hash table can be zero. In this case, the
hash table itself is not contained in the MO file. Some people might
prefer this because a precomputed hashing table takes disk space, and
@@ -483,6 +627,7 @@ machines, a correct alignment will speed things up.
+
Plural forms are stored by letting the plural of the original string
follow the singular of the original string, separated through a
NUL byte. The length which appears in the string descriptor
@@ -568,6 +713,6 @@ T + ((N-1)*8)| length & offset (N-1)th translation | | | | |
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_9.html b/doc/gettext_9.html
index dc0e0f499..fc782157a 100644
--- a/doc/gettext_9.html
+++ b/doc/gettext_9.html
@@ -1,16 +1,16 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - 9 The User's View
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
-
+
When GNU gettext
will truly have reached its goal, average users
@@ -43,8 +43,13 @@ for both installers and end users.
-
+
+
+
+
+
+
Languages are not equally supported in all packages using GNU
gettext
. To know if some package uses GNU gettext
, one
@@ -52,7 +57,7 @@ may check the distribution for the `ABOUT-NLS´ information file,
some `ll.po´ files, often kept together into some `po/´
directory, or for an `intl/´ directory. Internationalized packages
have usually many `ll.po´ files, where ll represents
-the language. section 9.3 Magic for End Users for a complete description of the format
+the language. section 9.3 Magic for End Users for a complete description of the format
for ll.
@@ -70,8 +75,12 @@ Translation Project sites, and also on most GNU archive sites.
-
+
+
+
+
+
By default, packages fully using GNU gettext
, internally,
are installed in such a way that they to allow translation of
@@ -88,6 +97,7 @@ produces programs totally unable to translate messages.
+
Internationalized packages have usually many `ll.po´
files. Unless
translations are disabled, all those available are installed together
@@ -99,14 +109,20 @@ codes, stating which languages are allowed.
-
+
+
+
+
+
+
+
We consider here those packages using GNU gettext
internally,
and for which the installers did not disable translation at
configure time. Then, users only have to set the LANG
environment variable to the appropriate `ll_CC´
-combination prior to using the programs in the package. See section 9.1 The Current `ABOUT-NLS´ Matrix.
+combination prior to using the programs in the package. See section 9.1 The Current `ABOUT-NLS´ Matrix.
For example, let's presume a German site. At the shell prompt, users
merely have to execute `setenv LANG de_DE´ (in csh
) or
`export LANG; LANG=de_DE´ (in sh
). They could even do
@@ -114,6 +130,6 @@ this from their `.login´ or `.profile´ file.
-Go to the first, previous, next, last section, table of contents.
+Go to the first, previous, next, last section, table of contents.
diff --git a/doc/gettext_foot.html b/doc/gettext_foot.html
index 7d59a83e9..9e75451f4 100644
--- a/doc/gettext_foot.html
+++ b/doc/gettext_foot.html
@@ -1,14 +1,14 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - Footnotes
-GNU gettext tools, version 0.11
+GNU gettext tools, version 0.11.1
Native Language Support Library and Tools
-Edition 0.11, 30 January 2002
+Edition 0.11.1, 5 March 2002
Ulrich Drepper
Jim Meyering
François Pinard
@@ -36,7 +36,7 @@ variables.
Additions are welcome. Send appropriate information to
bug-glibc-manual@gnu.org.
-This document was generated on 31 January 2002 using the
+This document was generated on 7 March 2002 using the
texi2html
translator version 1.52a.
diff --git a/doc/gettext_toc.html b/doc/gettext_toc.html
index 02b145557..c272ae277 100644
--- a/doc/gettext_toc.html
+++ b/doc/gettext_toc.html
@@ -1,14 +1,14 @@
+ from gettext.texi on 7 March 2002 -->
GNU gettext utilities - Table of Contents
-GNU gettext tools, version 0.11
+GNU gettext tools, version 0.11.1
Native Language Support Library and Tools
-Edition 0.11, 30 January 2002
+Edition 0.11.1, 5 March 2002
Ulrich Drepper
Jim Meyering
François Pinard
@@ -186,138 +186,148 @@
- 8.1.2 Operation mode
- 8.1.3 Output file location
- 8.1.4 Output file location in Java mode
-
- 8.1.5 Input file interpretation
-
- 8.1.6 Output details
-
- 8.1.7 Informative output
+
- 8.1.5 Output file location in Tcl mode
+
- 8.1.6 Input file interpretation
+
- 8.1.7 Output details
+
- 8.1.8 Informative output
-
- 8.2 Invoking the
msgunfmt
Program
+ - 8.2 Invoking the
msgunfmt
Program
- - 8.3 The Format of GNU MO Files
-
-
- 9 The User's View
+
- 8.3 The Format of GNU MO Files
+
+
- 9 The User's View
-
- 10 The Programmer's View
+
- 10 The Programmer's View
-
- 11 The Translator's View
+
- 11 The Translator's View
-
- 12 The Maintainer's View
+
- 12 The Maintainer's View
-
- 13 Other Programming Languages
+
- 13 Other Programming Languages
-
- 14 Concluding Remarks
-
-
- A Language Codes
-
- B Country Codes
+
- 14 Concluding Remarks
+
+
- A Language Codes
+
- B Country Codes
+
- Program Index
+
- Option Index
+
- Variable Index
+
- PO Mode Index
+
- Autoconf Macro Index
+
- General Index
-This document was generated on 31 January 2002 using the
+This document was generated on 7 March 2002 using the
texi2html
translator version 1.52a.
diff --git a/doc/version.texi b/doc/version.texi
index e4687f946..450d73e5a 100644
--- a/doc/version.texi
+++ b/doc/version.texi
@@ -1,4 +1,4 @@
-@set UPDATED 30 January 2002
-@set UPDATED-MONTH January 2002
-@set EDITION 0.11
-@set VERSION 0.11
+@set UPDATED 5 March 2002
+@set UPDATED-MONTH March 2002
+@set EDITION 0.11.1
+@set VERSION 0.11.1
diff --git a/intl-java/Makefile.in b/intl-java/Makefile.in
index c15a70dfe..f1ab71fb2 100644
--- a/intl-java/Makefile.in
+++ b/intl-java/Makefile.in
@@ -106,6 +106,7 @@ LD = @LD@
LEX = @LEX@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LIB = @LIB@
+LIBEXPAT = @LIBEXPAT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
@@ -113,6 +114,7 @@ LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTALLOCA = @LTALLOCA@
LTLIB = @LTLIB@
+LTLIBEXPAT = @LTLIBEXPAT@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
diff --git a/lib/Makefile.in b/lib/Makefile.in
index f243a5508..588243fdd 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -107,6 +107,7 @@ LD = @LD@
LEX = @LEX@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LIB = @LIB@
+LIBEXPAT = @LIBEXPAT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
@@ -114,6 +115,7 @@ LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTALLOCA = @LTALLOCA@
LTLIB = @LTLIB@
+LTLIBEXPAT = @LTLIBEXPAT@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
@@ -174,8 +176,10 @@ libgettextlib_la_SOURCES = \
progname.h progname.c \
safe-read.h safe-read.c \
sh-quote.h sh-quote.c \
+ stpncpy.h stpncpy.c \
strtoul.c \
tmpdir.h tmpdir.c \
+ ucs4-utf8.h ucs4-utf16.h \
wait-process.h wait-process.c \
xerror.h xerror.c \
xmalloc.h xmalloc.c xstrdup.c \
@@ -190,15 +194,15 @@ LIBADD_SOURCE = \
memset.c \
mkdtemp.h mkdtemp.c \
pfnmatch.h pfnmatch.c \
- setenv.h setenv.c \
+ setenv.h setenv.c unsetenv.c \
+ libstdarg.h \
stpcpy.h stpcpy.c \
- stpncpy.h stpncpy.c \
strcase.h strcasecmp.c strncasecmp.c \
strcspn.c \
strpbrk.h strpbrk.c \
strstr.h strstr.c \
strtol.c \
- vasprintf.c
+ vasprintf.h vasprintf.c
@@ -231,7 +235,7 @@ noinst_HEADERS = gettext.h
EXTRA_DIST = classpath.c config.charset ref-add.sin ref-del.sin \
$(LIBADD_SOURCE) $(UNUSED_SOURCE) \
stdbool.h.in \
-gen-lbrkprop.c 3level.h
+gen-lbrkprop.c 3level.h Combining.txt
DEFS = -DLIBDIR=\"$(libdir)\" @DEFS@
@@ -259,8 +263,8 @@ am_libgettextlib_la_OBJECTS = argmatch.lo backupfile.lo addext.lo \
getopt1.lo hash.lo javacomp.lo javaexec.lo linebreak.lo \
localcharset.lo mbswidth.lo obstack.lo concatpath.lo \
pipe-bidi.lo pipe-in.lo pipe-out.lo progname.lo safe-read.lo \
- sh-quote.lo strtoul.lo tmpdir.lo wait-process.lo xerror.lo \
- xmalloc.lo xstrdup.lo xsetenv.lo
+ sh-quote.lo stpncpy.lo strtoul.lo tmpdir.lo wait-process.lo \
+ xerror.lo xmalloc.lo xstrdup.lo xsetenv.lo
libgettextlib_la_OBJECTS = $(am_libgettextlib_la_OBJECTS)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
CPPFLAGS = @CPPFLAGS@
@@ -282,8 +286,8 @@ HEADERS = $(noinst_HEADERS)
DIST_COMMON = $(noinst_HEADERS) ChangeLog Makefile.am Makefile.in \
alloca.c getline.c javacomp.sh.in javaexec.sh.in memset.c \
- mkdtemp.c pfnmatch.c setenv.c stpcpy.c stpncpy.c strcasecmp.c \
- strcspn.c strncasecmp.c strpbrk.c strstr.c vasprintf.c
+ mkdtemp.c pfnmatch.c setenv.c stpcpy.c strcasecmp.c strcspn.c \
+ strncasecmp.c strpbrk.c strstr.c unsetenv.c vasprintf.c
SOURCES = $(libgettextlib_la_SOURCES)
all: all-am
@@ -505,7 +509,7 @@ uninstall-am: uninstall-gettextsrcDATA uninstall-info-am \
uninstall-libLTLIBRARIES uninstall-local
-all-local execute.lo javacomp.lo javaexec.lo pipe-bidi.lo pipe-in.lo pipe-out.lo progname.lo wait-process.lo xerror.lo: @STDBOOL_H@
+all-local c-ctype.lo execute.lo javacomp.lo javaexec.lo pipe-bidi.lo pipe-in.lo pipe-out.lo progname.lo tmpdir.lo wait-process.lo xerror.lo: @STDBOOL_H@
stdbool.h: stdbool.h.in
cp $(srcdir)/stdbool.h.in stdbool.h
diff --git a/libuniname/Makefile.in b/libuniname/Makefile.in
index 4e0c8d54f..bd9d9d7df 100644
--- a/libuniname/Makefile.in
+++ b/libuniname/Makefile.in
@@ -107,6 +107,7 @@ LD = @LD@
LEX = @LEX@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LIB = @LIB@
+LIBEXPAT = @LIBEXPAT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
@@ -114,6 +115,7 @@ LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTALLOCA = @LTALLOCA@
LTLIB = @LTLIB@
+LTLIBEXPAT = @LTLIBEXPAT@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
@@ -153,7 +155,7 @@ TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) $(SHELL)
noinst_PROGRAMS = test-names
test_names_LDADD = libuniname.a ../lib/libgettextlib.la
-EXTRA_DIST = gen-uninames UnicodeDataNames.txt
+EXTRA_DIST = $(TESTS) gen-uninames UnicodeDataNames.txt
subdir = libuniname
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
diff --git a/m4/Makefile.in b/m4/Makefile.in
index f7fb16087..1e43d54d4 100644
--- a/m4/Makefile.in
+++ b/m4/Makefile.in
@@ -107,6 +107,7 @@ LD = @LD@
LEX = @LEX@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LIB = @LIB@
+LIBEXPAT = @LIBEXPAT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
@@ -114,6 +115,7 @@ LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTALLOCA = @LTALLOCA@
LTLIB = @LTLIB@
+LTLIBEXPAT = @LTLIBEXPAT@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
diff --git a/man/Makefile.in b/man/Makefile.in
index 346a2f447..b4e152feb 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -106,6 +106,7 @@ LD = @LD@
LEX = @LEX@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LIB = @LIB@
+LIBEXPAT = @LIBEXPAT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
@@ -113,6 +114,7 @@ LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTALLOCA = @LTALLOCA@
LTLIB = @LTLIB@
+LTLIBEXPAT = @LTLIBEXPAT@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
diff --git a/man/bind_textdomain_codeset.3 b/man/bind_textdomain_codeset.3
index a25f24c89..d451be0bb 100644
--- a/man/bind_textdomain_codeset.3
+++ b/man/bind_textdomain_codeset.3
@@ -10,7 +10,7 @@
.\" GNU gettext source code and manual
.\" LI18NUX 2000 Globalization Specification
.\"
-.TH BIND_TEXTDOMAIN_CODESET 3 "May 2001" "GNU gettext 0.11"
+.TH BIND_TEXTDOMAIN_CODESET 3 "May 2001" "GNU gettext 0.11.1"
.SH NAME
bind_textdomain_codeset \- set encoding of message translations
.SH SYNOPSIS
diff --git a/man/bindtextdomain.3 b/man/bindtextdomain.3
index cfbf5a7ba..4b56a286f 100644
--- a/man/bindtextdomain.3
+++ b/man/bindtextdomain.3
@@ -10,7 +10,7 @@
.\" GNU gettext source code and manual
.\" LI18NUX 2000 Globalization Specification
.\"
-.TH BINDTEXTDOMAIN 3 "May 2001" "GNU gettext 0.11"
+.TH BINDTEXTDOMAIN 3 "May 2001" "GNU gettext 0.11.1"
.SH NAME
bindtextdomain \- set directory containing message catalogs
.SH SYNOPSIS
diff --git a/man/gettext.3 b/man/gettext.3
index c721ba53c..ab343d968 100644
--- a/man/gettext.3
+++ b/man/gettext.3
@@ -10,7 +10,7 @@
.\" GNU gettext source code and manual
.\" LI18NUX 2000 Globalization Specification
.\"
-.TH GETTEXT 3 "May 2001" "GNU gettext 0.11"
+.TH GETTEXT 3 "May 2001" "GNU gettext 0.11.1"
.SH NAME
gettext, dgettext, dcgettext \- translate message
.SH SYNOPSIS
diff --git a/man/msgattrib.1 b/man/msgattrib.1
index 872f72be5..4e488f1ac 100644
--- a/man/msgattrib.1
+++ b/man/msgattrib.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH MSGATTRIB "1" "January 2002" "GNU gettext 0.11" GNU
+.TH MSGATTRIB "1" "March 2002" "GNU gettext 0.11" GNU
.SH NAME
msgattrib \- attribute matching and manipulation on message catalog
.SH SYNOPSIS
diff --git a/man/msgcat.1 b/man/msgcat.1
index f05b5574a..2d4662c1b 100644
--- a/man/msgcat.1
+++ b/man/msgcat.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH MSGCAT "1" "January 2002" "GNU gettext 0.11" GNU
+.TH MSGCAT "1" "March 2002" "GNU gettext 0.11" GNU
.SH NAME
msgcat \- combines several message catalogs
.SH SYNOPSIS
diff --git a/man/msgcmp.1 b/man/msgcmp.1
index b4aa9a318..36423d323 100644
--- a/man/msgcmp.1
+++ b/man/msgcmp.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH MSGCMP "1" "January 2002" "GNU gettext 0.11" GNU
+.TH MSGCMP "1" "March 2002" "GNU gettext 0.11" GNU
.SH NAME
msgcmp \- compare message catalog and template
.SH SYNOPSIS
diff --git a/man/msgcomm.1 b/man/msgcomm.1
index 731a4a3a3..73ffd4d8d 100644
--- a/man/msgcomm.1
+++ b/man/msgcomm.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH MSGCOMM "1" "January 2002" "GNU gettext 0.11" GNU
+.TH MSGCOMM "1" "March 2002" "GNU gettext 0.11" GNU
.SH NAME
msgcomm \- match two message catalogs
.SH SYNOPSIS
diff --git a/man/msgconv.1 b/man/msgconv.1
index 5ed7caebf..28e836ebc 100644
--- a/man/msgconv.1
+++ b/man/msgconv.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH MSGCONV "1" "January 2002" "GNU gettext 0.11" GNU
+.TH MSGCONV "1" "March 2002" "GNU gettext 0.11" GNU
.SH NAME
msgconv \- character set conversion for message catalog
.SH SYNOPSIS
diff --git a/man/msgen.1 b/man/msgen.1
index a01b5bb01..e137a687e 100644
--- a/man/msgen.1
+++ b/man/msgen.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH MSGEN "1" "January 2002" "GNU gettext 0.11" GNU
+.TH MSGEN "1" "March 2002" "GNU gettext 0.11" GNU
.SH NAME
msgen \- create English message catalog
.SH SYNOPSIS
diff --git a/man/msgexec.1 b/man/msgexec.1
index 68719294d..d38cf86ce 100644
--- a/man/msgexec.1
+++ b/man/msgexec.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH MSGEXEC "1" "January 2002" "GNU gettext 0.11" GNU
+.TH MSGEXEC "1" "March 2002" "GNU gettext 0.11" GNU
.SH NAME
msgexec \- process translations of message catalog
.SH SYNOPSIS
diff --git a/man/msgfilter.1 b/man/msgfilter.1
index 9a8d0a461..0a8c6ba51 100644
--- a/man/msgfilter.1
+++ b/man/msgfilter.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH MSGFILTER "1" "January 2002" "GNU gettext 0.11" GNU
+.TH MSGFILTER "1" "March 2002" "GNU gettext 0.11" GNU
.SH NAME
msgfilter \- edit translations of message catalog
.SH SYNOPSIS
diff --git a/man/msgfmt.1 b/man/msgfmt.1
index 9ecccb02a..b96e2ae06 100644
--- a/man/msgfmt.1
+++ b/man/msgfmt.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH MSGFMT "1" "January 2002" "GNU gettext 0.11" GNU
+.TH MSGFMT "1" "March 2002" "GNU gettext 0.11" GNU
.SH NAME
msgfmt \- compile message catalog to binary format
.SH SYNOPSIS
@@ -27,6 +27,9 @@ Java mode: generate a Java ResourceBundle class
.TP
\fB\-\-java2\fR
like \fB\-\-java\fR, and assume Java2 (JDK 1.2 or higher)
+.TP
+\fB\-\-tcl\fR
+Tcl mode: generate a tcl/msgcat .msg file
.SS "Output file location:"
.TP
\fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR
@@ -50,6 +53,16 @@ base directory of classes directory hierarchy
The class name is determined by appending the locale name to the resource name,
separated with an underscore. The \fB\-d\fR option is mandatory. The class is
written under the specified directory.
+.SS "Output file location in Tcl mode:"
+.TP
+\fB\-l\fR, \fB\-\-locale\fR=\fILOCALE\fR
+locale name, either language or language_COUNTRY
+.TP
+\fB\-d\fR DIRECTORY
+base directory of .msg message catalogs
+.PP
+The \fB\-l\fR and \fB\-d\fR options are mandatory. The .msg file is written in the
+specified directory.
.SS "Input file interpretation:"
.TP
\fB\-c\fR, \fB\-\-check\fR
diff --git a/man/msgfmt.1.html b/man/msgfmt.1.html
index af779a75a..8baeeab63 100644
--- a/man/msgfmt.1.html
+++ b/man/msgfmt.1.html
@@ -117,6 +117,18 @@ Java mode: generate a Java ResourceBundle class
like --java, and assume Java2 (JDK 1.2 or
higher)
+
+
+
+
+ |
+Tcl mode: generate a tcl/msgcat .msg file |
+
@@ -206,6 +218,44 @@ the resource name, separated with an underscore. The
-d option is mandatory. The class is written under
the specified directory.
+
+
+ |
+Output file location in Tcl mode: |
+
+
+
+
+
+ |
+locale name, either language or
+language_COUNTRY |
+
+
+
+
+
+ |
+base directory of .msg message catalogs |
+
+
+
+ |
+The -l and -d options are mandatory. The .msg
+file is written in the specified directory. |
+
diff --git a/man/msggrep.1 b/man/msggrep.1
index bc09211c4..9662a967e 100644
--- a/man/msggrep.1
+++ b/man/msggrep.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH MSGGREP "1" "January 2002" "GNU gettext 0.11" GNU
+.TH MSGGREP "1" "March 2002" "GNU gettext 0.11" GNU
.SH NAME
msggrep \- pattern matching on message catalog
.SH SYNOPSIS
@@ -30,12 +30,14 @@ The results are written to standard output if no output file is specified
or if it is -.
.SS "Message selection:"
.IP
-[-N SOURCEFILE]... [-M DOMAINNAME]... [-K MSGID-PATTERN] [-T MSGSTR-PATTERN]
+[-N SOURCEFILE]... [-M DOMAINNAME]...
+[-K MSGID-PATTERN] [-T MSGSTR-PATTERN] [-C COMMENT-PATTERN]
.PP
A message is selected if it comes from one of the specified source files,
or if it comes from one of the specified domains,
or if \fB\-K\fR is given and its key (msgid or msgid_plural) matches MSGID-PATTERN,
-or if \fB\-T\fR is given and its translation (msgstr) matches MSGSTR-PATTERN.
+or if \fB\-T\fR is given and its translation (msgstr) matches MSGSTR-PATTERN,
+or if \fB\-C\fR is given and the translator's comment matches COMMENT-PATTERN.
.PP
When more than one selection criterion is specified, the set of selected
messages is the union of the selected messages of each criterion.
diff --git a/man/msggrep.1.html b/man/msggrep.1.html
index 0a36dc172..536c398fb 100644
--- a/man/msggrep.1.html
+++ b/man/msggrep.1.html
@@ -124,7 +124,7 @@ is specified or if it is -.
|
[-N SOURCEFILE]... [-M DOMAINNAME]... [-K MSGID-PATTERN] [-T
-MSGSTR-PATTERN] |
+MSGSTR-PATTERN] [-C COMMENT-PATTERN]
@@ -134,8 +134,9 @@ A message is selected if it comes from one of the specified
source files, or if it comes from one of the specified
domains, or if -K is given and its key (msgid or
msgid_plural) matches MSGID-PATTERN, or if -T is
-given and its translation (msgstr) matches
-MSGSTR-PATTERN.
+given and its translation (msgstr) matches MSGSTR-PATTERN,
+or if -C is given and the translator's comment
+matches COMMENT-PATTERN.
diff --git a/man/msginit.1 b/man/msginit.1
index 637ea7552..0c2b3b83d 100644
--- a/man/msginit.1
+++ b/man/msginit.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH MSGINIT "1" "January 2002" "GNU gettext 0.11" GNU
+.TH MSGINIT "1" "March 2002" "GNU gettext 0.11" GNU
.SH NAME
msginit \- initialize a message catalog
.SH SYNOPSIS
diff --git a/man/msgmerge.1 b/man/msgmerge.1
index 7a210024c..65b0248f4 100644
--- a/man/msgmerge.1
+++ b/man/msgmerge.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH MSGMERGE "1" "January 2002" "GNU gettext 0.11" GNU
+.TH MSGMERGE "1" "March 2002" "GNU gettext 0.11" GNU
.SH NAME
msgmerge \- merge message catalog and template
.SH SYNOPSIS
diff --git a/man/msgunfmt.1 b/man/msgunfmt.1
index 71de25f44..f105a5054 100644
--- a/man/msgunfmt.1
+++ b/man/msgunfmt.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH MSGUNFMT "1" "January 2002" "GNU gettext 0.11" GNU
+.TH MSGUNFMT "1" "March 2002" "GNU gettext 0.11" GNU
.SH NAME
msgunfmt \- uncompile message catalog from binary format
.SH SYNOPSIS
@@ -14,7 +14,10 @@ Mandatory arguments to long options are mandatory for short options too.
.SS "Operation mode:"
.TP
\fB\-j\fR, \fB\-\-java\fR
-Java mode: generate a Java ResourceBundle class
+Java mode: input is a Java ResourceBundle class
+.TP
+\fB\-\-tcl\fR
+Tcl mode: input is a tcl/msgcat .msg file
.SS "Input file location:"
.TP
FILE ...
@@ -31,6 +34,16 @@ locale name, either language or language_COUNTRY
.PP
The class name is determined by appending the locale name to the resource name,
separated with an underscore. The class is located using the CLASSPATH.
+.SS "Input file location in Tcl mode:"
+.TP
+\fB\-l\fR, \fB\-\-locale\fR=\fILOCALE\fR
+locale name, either language or language_COUNTRY
+.TP
+\fB\-d\fR DIRECTORY
+base directory of .msg message catalogs
+.PP
+The \fB\-l\fR and \fB\-d\fR options are mandatory. The .msg file is located in the
+specified directory.
.SS "Output file location:"
.TP
\fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR
diff --git a/man/msgunfmt.1.html b/man/msgunfmt.1.html
index a7a74f13e..5da8f18cb 100644
--- a/man/msgunfmt.1.html
+++ b/man/msgunfmt.1.html
@@ -66,7 +66,19 @@ options too.
cols="2" cellspacing="0" cellpadding="0">
|
-Java mode: generate a Java ResourceBundle class |
+Java mode: input is a Java ResourceBundle class
+
+
+
+
+
+ |
+Tcl mode: input is a tcl/msgcat .msg file |
@@ -132,6 +144,44 @@ The class name is determined by appending the locale name to
the resource name, separated with an underscore. The class
is located using the CLASSPATH.
+
+
+ |
+Input file location in Tcl mode: |
+
+
+
+
+
+ |
+locale name, either language or
+language_COUNTRY |
+
+
+
+
+
+ |
+base directory of .msg message catalogs |
+
+
+
+ |
+The -l and -d options are mandatory. The .msg
+file is located in the specified directory. |
+
diff --git a/man/msguniq.1 b/man/msguniq.1
index 0d467b749..7d01dbe9a 100644
--- a/man/msguniq.1
+++ b/man/msguniq.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH MSGUNIQ "1" "January 2002" "GNU gettext 0.11" GNU
+.TH MSGUNIQ "1" "March 2002" "GNU gettext 0.11" GNU
.SH NAME
msguniq \- unify duplicate translations in message catalog
.SH SYNOPSIS
diff --git a/man/ngettext.3 b/man/ngettext.3
index 86523204b..351c59cbe 100644
--- a/man/ngettext.3
+++ b/man/ngettext.3
@@ -10,7 +10,7 @@
.\" GNU gettext source code and manual
.\" LI18NUX 2000 Globalization Specification
.\"
-.TH NGETTEXT 3 "May 2001" "GNU gettext 0.11"
+.TH NGETTEXT 3 "May 2001" "GNU gettext 0.11.1"
.SH NAME
ngettext, dngettext, dcngettext \- translate message and choose plural form
.SH SYNOPSIS
diff --git a/man/textdomain.3 b/man/textdomain.3
index c8112ea38..9030d39c3 100644
--- a/man/textdomain.3
+++ b/man/textdomain.3
@@ -10,7 +10,7 @@
.\" GNU gettext source code and manual
.\" LI18NUX 2000 Globalization Specification
.\"
-.TH TEXTDOMAIN 3 "May 2001" "GNU gettext 0.11"
+.TH TEXTDOMAIN 3 "May 2001" "GNU gettext 0.11.1"
.SH NAME
textdomain \- set domain for future gettext() calls
.SH SYNOPSIS
diff --git a/man/xgettext.1 b/man/xgettext.1
index 980231aa4..7cc46802a 100644
--- a/man/xgettext.1
+++ b/man/xgettext.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH XGETTEXT "1" "January 2002" "GNU gettext 0.11" GNU
+.TH XGETTEXT "1" "March 2002" "GNU gettext 0.11" GNU
.SH NAME
xgettext \- extract gettext strings from source
.SH SYNOPSIS
@@ -40,8 +40,9 @@ If output file is -, output is written to standard output.
.TP
\fB\-L\fR, \fB\-\-language\fR=\fINAME\fR
recognise the specified language
-(C, C++, ObjectiveC, PO, Lisp, EmacsLisp,
-librep, Java, YCP)
+(C, C++, ObjectiveC, PO, Python, Lisp,
+EmacsLisp, librep, Java, awk, YCP, Tcl,
+RST, Glade)
.TP
\fB\-C\fR, \fB\-\-c\fR++
shorthand for \fB\-\-language\fR=\fIC\fR++
diff --git a/man/xgettext.1.html b/man/xgettext.1.html
index 89c847952..d3571a123 100644
--- a/man/xgettext.1.html
+++ b/man/xgettext.1.html
@@ -164,7 +164,8 @@ output.
|
recognise the specified language (C, C++, ObjectiveC, PO,
-Lisp, EmacsLisp, librep, Java, YCP) |
+Python, Lisp, EmacsLisp, librep, Java, awk, YCP, Tcl, RST,
+Glade)
diff --git a/misc/Makefile.in b/misc/Makefile.in
index 29908691c..3dd2a5438 100644
--- a/misc/Makefile.in
+++ b/misc/Makefile.in
@@ -107,6 +107,7 @@ LD = @LD@
LEX = @LEX@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LIB = @LIB@
+LIBEXPAT = @LIBEXPAT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
@@ -114,6 +115,7 @@ LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTALLOCA = @LTALLOCA@
LTLIB = @LTLIB@
+LTLIBEXPAT = @LTLIBEXPAT@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
diff --git a/po/ca.gmo b/po/ca.gmo
index 8d5966145..c19c01eab 100644
Binary files a/po/ca.gmo and b/po/ca.gmo differ
diff --git a/po/cs.gmo b/po/cs.gmo
index 047e06abb..352c232e3 100644
Binary files a/po/cs.gmo and b/po/cs.gmo differ
diff --git a/po/da.gmo b/po/da.gmo
index 3ac50ba78..14185db29 100644
Binary files a/po/da.gmo and b/po/da.gmo differ
diff --git a/po/de.gmo b/po/de.gmo
index 79d133521..865c6b995 100644
Binary files a/po/de.gmo and b/po/de.gmo differ
diff --git a/po/el.gmo b/po/el.gmo
index 4a382f005..5c1e24ed4 100644
Binary files a/po/el.gmo and b/po/el.gmo differ
diff --git a/po/en@boldquot.gmo b/po/en@boldquot.gmo
index 932375799..19bdf3d92 100644
Binary files a/po/en@boldquot.gmo and b/po/en@boldquot.gmo differ
diff --git a/po/en@quot.gmo b/po/en@quot.gmo
index 79ea652b1..8acc78a30 100644
Binary files a/po/en@quot.gmo and b/po/en@quot.gmo differ
diff --git a/po/es.gmo b/po/es.gmo
index bbd8b2413..ad73857e0 100644
Binary files a/po/es.gmo and b/po/es.gmo differ
diff --git a/po/et.gmo b/po/et.gmo
index 1a04ea757..2b1e0c411 100644
Binary files a/po/et.gmo and b/po/et.gmo differ
diff --git a/po/fr.gmo b/po/fr.gmo
index e8a5a87e2..b53586b97 100644
Binary files a/po/fr.gmo and b/po/fr.gmo differ
diff --git a/po/gettext.pot b/po/gettext.pot
index d00bda0d0..f1d403518 100644
--- a/po/gettext.pot
+++ b/po/gettext.pot
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2002-01-31 15:34+0100\n"
+"POT-Creation-Date: 2002-03-06 15:21+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -29,8 +29,8 @@ msgstr ""
msgid "Valid arguments are:"
msgstr ""
-#: lib/copy-file.c:61 src/file-list.c:57 src/po-lex.c:758 src/read-mo.c:171
-#: src/urlget.c:204 src/xgettext.c:805 src/xgettext.c:818 src/xgettext.c:828
+#: lib/copy-file.c:61 src/file-list.c:57 src/po-lex.c:726 src/read-mo.c:171
+#: src/urlget.c:204 src/xgettext.c:823 src/xgettext.c:836 src/xgettext.c:846
#, c-format
msgid "error while opening \"%s\" for reading"
msgstr ""
@@ -129,7 +129,8 @@ msgstr ""
msgid "Java virtual machine not found, try installing gij or set $JAVA"
msgstr ""
-#: lib/obstack.c:474 lib/xerror.c:72 lib/xmalloc.c:53
+#: lib/obstack.c:474 lib/xerror.c:53 lib/xmalloc.c:53 src/po-lex.c:97
+#: src/po-lex.c:130
msgid "memory exhausted"
msgstr ""
@@ -148,12 +149,12 @@ msgstr ""
msgid "%s subprocess got fatal signal %d"
msgstr ""
-#: src/format-c.c:587 src/format-python.c:506
+#: src/format-c.c:589 src/format-python.c:506
#, c-format
msgid "number of format specifications in 'msgid' and '%s' does not match"
msgstr ""
-#: src/format-c.c:601 src/format-elisp.c:389 src/format-librep.c:353
+#: src/format-c.c:603 src/format-elisp.c:389 src/format-librep.c:353
#: src/format-pascal.c:443 src/format-python.c:520
#, c-format
msgid ""
@@ -233,11 +234,11 @@ msgid ""
"format specifications in 'msgid' and '%s' for argument '%s' are not the same"
msgstr ""
-#: src/gettext.c:135 src/hostname.c:168 src/msgattrib.c:264 src/msgcat.c:229
+#: src/gettext.c:135 src/hostname.c:172 src/msgattrib.c:264 src/msgcat.c:229
#: src/msgcmp.c:133 src/msgcomm.c:232 src/msgconv.c:182 src/msgen.c:170
-#: src/msgexec.c:165 src/msgfilter.c:248 src/msgfmt.c:338 src/msggrep.c:278
-#: src/msginit.c:250 src/msgmerge.c:265 src/msgunfmt.c:182 src/msguniq.c:207
-#: src/ngettext.c:126 src/urlget.c:135 src/xgettext.c:361
+#: src/msgexec.c:165 src/msgfilter.c:248 src/msgfmt.c:351 src/msggrep.c:286
+#: src/msginit.c:251 src/msgmerge.c:265 src/msgunfmt.c:199 src/msguniq.c:207
+#: src/ngettext.c:126 src/urlget.c:135 src/xgettext.c:374
#, c-format, no-wrap
msgid ""
"Copyright (C) %s Free Software Foundation, Inc.\n"
@@ -245,16 +246,16 @@ msgid ""
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
msgstr ""
-#: src/gettext.c:140 src/hostname.c:173 src/msgattrib.c:269 src/msgcat.c:234
+#: src/gettext.c:140 src/hostname.c:177 src/msgattrib.c:269 src/msgcat.c:234
#: src/msgcmp.c:138 src/msgcomm.c:237 src/msgconv.c:187 src/msgen.c:175
-#: src/msgexec.c:170 src/msgfilter.c:253 src/msgfmt.c:343 src/msggrep.c:283
-#: src/msginit.c:255 src/msgmerge.c:270 src/msgunfmt.c:187 src/msguniq.c:212
-#: src/ngettext.c:131 src/urlget.c:140 src/xgettext.c:366
+#: src/msgexec.c:170 src/msgfilter.c:253 src/msgfmt.c:356 src/msggrep.c:291
+#: src/msginit.c:256 src/msgmerge.c:270 src/msgunfmt.c:204 src/msguniq.c:212
+#: src/ngettext.c:131 src/urlget.c:140 src/xgettext.c:379
#, c-format
msgid "Written by %s.\n"
msgstr ""
-#: src/gettext.c:158 src/hostname.c:183 src/msginit.c:265 src/ngettext.c:143
+#: src/gettext.c:158 src/hostname.c:187 src/msginit.c:266 src/ngettext.c:143
msgid "too many arguments"
msgstr ""
@@ -262,11 +263,11 @@ msgstr ""
msgid "missing arguments"
msgstr ""
-#: src/gettext.c:240 src/hostname.c:197 src/msgattrib.c:322 src/msgcat.c:290
+#: src/gettext.c:240 src/hostname.c:201 src/msgattrib.c:322 src/msgcat.c:290
#: src/msgcmp.c:170 src/msgcomm.c:306 src/msgconv.c:241 src/msgen.c:226
-#: src/msgexec.c:223 src/msgfilter.c:346 src/msgfmt.c:484 src/msggrep.c:387
-#: src/msginit.c:341 src/msgmerge.c:380 src/msgunfmt.c:262 src/msguniq.c:269
-#: src/ngettext.c:210 src/urlget.c:164 src/xgettext.c:508
+#: src/msgexec.c:223 src/msgfilter.c:346 src/msgfmt.c:528 src/msggrep.c:397
+#: src/msginit.c:342 src/msgmerge.c:380 src/msgunfmt.c:309 src/msguniq.c:269
+#: src/ngettext.c:210 src/urlget.c:164 src/xgettext.c:525
#, c-format
msgid "Try `%s --help' for more information.\n"
msgstr ""
@@ -309,25 +310,25 @@ msgid ""
"Standard search directory: %s\n"
msgstr ""
-#: src/gettext.c:277 src/hostname.c:227 src/msgattrib.c:402 src/msgcat.c:371
+#: src/gettext.c:277 src/hostname.c:231 src/msgattrib.c:402 src/msgcat.c:371
#: src/msgcmp.c:215 src/msgcomm.c:384 src/msgconv.c:305 src/msgen.c:286
-#: src/msgexec.c:267 src/msgfilter.c:419 src/msgfmt.c:568 src/msggrep.c:473
-#: src/msginit.c:392 src/msgmerge.c:478 src/msgunfmt.c:331 src/msguniq.c:343
-#: src/ngettext.c:244 src/urlget.c:186 src/xgettext.c:602
+#: src/msgexec.c:267 src/msgfilter.c:419 src/msgfmt.c:622 src/msggrep.c:485
+#: src/msginit.c:393 src/msgmerge.c:478 src/msgunfmt.c:388 src/msguniq.c:343
+#: src/ngettext.c:244 src/urlget.c:186 src/xgettext.c:620
msgid "Report bugs to .\n"
msgstr ""
-#: src/hostname.c:202 src/msginit.c:346
+#: src/hostname.c:206 src/msginit.c:347
#, c-format, no-wrap
msgid "Usage: %s [OPTION]\n"
msgstr ""
-#: src/hostname.c:207
+#: src/hostname.c:211
#, no-wrap
msgid "Print the machine's hostname.\n"
msgstr ""
-#: src/hostname.c:212
+#: src/hostname.c:216
#, no-wrap
msgid ""
"Output format:\n"
@@ -337,9 +338,9 @@ msgid ""
" -i, --ip-address addresses for the hostname\n"
msgstr ""
-#: src/hostname.c:221 src/msgattrib.c:396 src/msgcmp.c:209 src/msgconv.c:299
-#: src/msgen.c:280 src/msgexec.c:261 src/msgfilter.c:413 src/msggrep.c:467
-#: src/msginit.c:386 src/urlget.c:180
+#: src/hostname.c:225 src/msgattrib.c:396 src/msgcmp.c:209 src/msgconv.c:299
+#: src/msgen.c:280 src/msgexec.c:261 src/msgfilter.c:413 src/msggrep.c:479
+#: src/msginit.c:387 src/urlget.c:180
#, no-wrap
msgid ""
"Informative output:\n"
@@ -347,26 +348,27 @@ msgid ""
" -V, --version output version information and exit\n"
msgstr ""
-#: src/hostname.c:242 src/hostname.c:249
+#: src/hostname.c:246 src/hostname.c:253
msgid "could not get host name"
msgstr ""
#: src/msgattrib.c:284 src/msgconv.c:202 src/msgexec.c:145 src/msgfilter.c:198
-#: src/msggrep.c:298 src/msginit.c:208 src/msguniq.c:227
+#: src/msggrep.c:306 src/msginit.c:209 src/msguniq.c:227
msgid "at most one input file allowed"
msgstr ""
#: src/msgattrib.c:290 src/msgattrib.c:294 src/msgcat.c:244 src/msgcat.c:248
#: src/msgcomm.c:247 src/msgcomm.c:251 src/msgconv.c:208 src/msgconv.c:212
#: src/msgen.c:197 src/msgen.c:201 src/msgfilter.c:268 src/msgfilter.c:272
-#: src/msgfmt.c:363 src/msggrep.c:304 src/msggrep.c:308 src/msgmerge.c:295
-#: src/msgmerge.c:316 src/msgmerge.c:320 src/msguniq.c:233 src/msguniq.c:237
-#: src/xgettext.c:376 src/xgettext.c:380
+#: src/msgfmt.c:373 src/msgfmt.c:379 src/msgfmt.c:394 src/msggrep.c:312
+#: src/msggrep.c:316 src/msgmerge.c:295 src/msgmerge.c:316 src/msgmerge.c:320
+#: src/msgunfmt.c:214 src/msguniq.c:233 src/msguniq.c:237 src/xgettext.c:389
+#: src/xgettext.c:393
#, c-format
msgid "%s and %s are mutually exclusive"
msgstr ""
-#: src/msgattrib.c:327 src/msgconv.c:246 src/msggrep.c:392 src/msguniq.c:274
+#: src/msgattrib.c:327 src/msgconv.c:246 src/msggrep.c:402 src/msguniq.c:274
#, c-format, no-wrap
msgid "Usage: %s [OPTION] [INPUTFILE]\n"
msgstr ""
@@ -380,13 +382,13 @@ msgstr ""
#: src/msgattrib.c:338 src/msgcat.c:313 src/msgcmp.c:190 src/msgcomm.c:328
#: src/msgconv.c:256 src/msgen.c:244 src/msgexec.c:248 src/msgfilter.c:361
-#: src/msgfmt.c:499 src/msggrep.c:403 src/msginit.c:357 src/msgmerge.c:403
-#: src/msgunfmt.c:277 src/msguniq.c:291
+#: src/msgfmt.c:543 src/msggrep.c:413 src/msginit.c:358 src/msgmerge.c:403
+#: src/msgunfmt.c:324 src/msguniq.c:291
#, no-wrap
msgid "Mandatory arguments to long options are mandatory for short options too.\n"
msgstr ""
-#: src/msgattrib.c:343 src/msgconv.c:261 src/msggrep.c:408 src/msguniq.c:296
+#: src/msgattrib.c:343 src/msgconv.c:261 src/msggrep.c:418 src/msguniq.c:296
#, no-wrap
msgid ""
"Input file location:\n"
@@ -396,7 +398,7 @@ msgid ""
msgstr ""
#: src/msgattrib.c:351 src/msgconv.c:269 src/msgen.c:257 src/msgfilter.c:374
-#: src/msggrep.c:416 src/msgmerge.c:425
+#: src/msggrep.c:426 src/msgmerge.c:425
#, no-wrap
msgid ""
"Output file location:\n"
@@ -450,7 +452,7 @@ msgstr ""
msgid "impossible selection criteria specified (%d < n < %d)"
msgstr ""
-#: src/msgcat.c:295 src/msgcomm.c:311 src/xgettext.c:513
+#: src/msgcat.c:295 src/msgcomm.c:311 src/xgettext.c:530
#, c-format, no-wrap
msgid "Usage: %s [OPTION] [INPUTFILE]...\n"
msgstr ""
@@ -469,7 +471,7 @@ msgid ""
"File positions from all PO files will be cumulated.\n"
msgstr ""
-#: src/msgcat.c:318 src/msgcomm.c:333 src/xgettext.c:529
+#: src/msgcat.c:318 src/msgcomm.c:333 src/xgettext.c:546
#, no-wrap
msgid ""
"Input file location:\n"
@@ -520,7 +522,7 @@ msgid ""
" -F, --sort-by-file sort output by file location\n"
msgstr ""
-#: src/msgcat.c:365 src/msgcomm.c:378 src/msguniq.c:337 src/xgettext.c:596
+#: src/msgcat.c:365 src/msgcomm.c:378 src/msguniq.c:337 src/xgettext.c:614
#, no-wrap
msgid ""
"Informative output:\n"
@@ -585,18 +587,18 @@ msgstr ""
msgid "warning: this message is not used"
msgstr ""
-#: src/msgcmp.c:338 src/po-lex.c:731
+#: src/msgcmp.c:338 src/po-lex.c:699
#, c-format
msgid "found %d fatal error"
msgid_plural "found %d fatal errors"
msgstr[0] ""
msgstr[1] ""
-#: src/msgcmp.c:419 src/msgfmt.c:1364 src/read-po.c:202 src/x-po.c:163
+#: src/msgcmp.c:419 src/msgfmt.c:1457 src/read-po.c:202 src/x-po.c:163
msgid "duplicate message definition"
msgstr ""
-#: src/msgcmp.c:420 src/msgfmt.c:1365 src/read-po.c:203 src/x-po.c:164
+#: src/msgcmp.c:420 src/msgfmt.c:1458 src/read-po.c:203 src/x-po.c:164
msgid "...this is the location of the first definition"
msgstr ""
@@ -676,7 +678,7 @@ msgid ""
" -F, --sort-by-file sort output by file location\n"
msgstr ""
-#: src/msgen.c:186 src/msgfmt.c:354 src/xgettext.c:397
+#: src/msgen.c:186 src/msgfmt.c:367 src/xgettext.c:410
msgid "no input file given"
msgstr ""
@@ -823,54 +825,64 @@ msgstr ""
msgid "%s subprocess terminated with exit code %d"
msgstr ""
-#: src/msgfmt.c:308
+#: src/msgfmt.c:318
#, c-format
msgid "the argument to %s should be a single punctuation character"
msgstr ""
-#: src/msgfmt.c:369
+#: src/msgfmt.c:385 src/msgfmt.c:407 src/msgunfmt.c:243
#, c-format
msgid "%s requires a \"-d directory\" specification"
msgstr ""
-#: src/msgfmt.c:378 src/msgfmt.c:384 src/msgfmt.c:390 src/msgmerge.c:303
-#: src/msgmerge.c:309 src/msgunfmt.c:209 src/msgunfmt.c:215
+#: src/msgfmt.c:400 src/msgunfmt.c:236
+#, c-format
+msgid "%s requires a \"-l locale\" specification"
+msgstr ""
+
+#: src/msgfmt.c:416 src/msgmerge.c:303 src/msgmerge.c:309 src/msgunfmt.c:252
+#: src/msgunfmt.c:258
#, c-format
msgid "%s is only valid with %s"
msgstr ""
-#: src/msgfmt.c:457
+#: src/msgfmt.c:422 src/msgfmt.c:428
+#, c-format
+msgid "%s is only valid with %s or %s"
+msgstr ""
+
+#: src/msgfmt.c:501
#, c-format
msgid "%d translated message"
msgid_plural "%d translated messages"
msgstr[0] ""
msgstr[1] ""
-#: src/msgfmt.c:462
+#: src/msgfmt.c:506
#, c-format
msgid ", %d fuzzy translation"
msgid_plural ", %d fuzzy translations"
msgstr[0] ""
msgstr[1] ""
-#: src/msgfmt.c:467
+#: src/msgfmt.c:511
#, c-format
msgid ", %d untranslated message"
msgid_plural ", %d untranslated messages"
msgstr[0] ""
msgstr[1] ""
-#: src/msgfmt.c:489
+#: src/msgfmt.c:533
#, c-format, no-wrap
msgid "Usage: %s [OPTION] filename.po ...\n"
msgstr ""
-#: src/msgfmt.c:494
+#: src/msgfmt.c:538
#, no-wrap
msgid "Generate binary message catalog from textual translation description.\n"
msgstr ""
-#: src/msgfmt.c:504
+#: src/msgfmt.c:548
#, no-wrap
msgid ""
"Input file location:\n"
@@ -879,15 +891,16 @@ msgid ""
"If input file is -, standard input is read.\n"
msgstr ""
-#: src/msgfmt.c:512
+#: src/msgfmt.c:556
#, no-wrap
msgid ""
"Operation mode:\n"
" -j, --java Java mode: generate a Java ResourceBundle class\n"
" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n"
+" --tcl Tcl mode: generate a tcl/msgcat .msg file\n"
msgstr ""
-#: src/msgfmt.c:519
+#: src/msgfmt.c:564
#, no-wrap
msgid ""
"Output file location:\n"
@@ -896,7 +909,7 @@ msgid ""
"If output file is -, output is written to standard output.\n"
msgstr ""
-#: src/msgfmt.c:527
+#: src/msgfmt.c:572
#, no-wrap
msgid ""
"Output file location in Java mode:\n"
@@ -908,7 +921,17 @@ msgid ""
"written under the specified directory.\n"
msgstr ""
-#: src/msgfmt.c:538
+#: src/msgfmt.c:583
+#, no-wrap
+msgid ""
+"Output file location in Tcl mode:\n"
+" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n"
+" -d DIRECTORY base directory of .msg message catalogs\n"
+"The -l and -d options are mandatory. The .msg file is written in the\n"
+"specified directory.\n"
+msgstr ""
+
+#: src/msgfmt.c:592
#, no-wrap
msgid ""
"Input file interpretation:\n"
@@ -924,7 +947,7 @@ msgid ""
" -f, --use-fuzzy use fuzzy entries in output\n"
msgstr ""
-#: src/msgfmt.c:553
+#: src/msgfmt.c:607
#, c-format, no-wrap
msgid ""
"Output details:\n"
@@ -932,7 +955,7 @@ msgid ""
" --no-hash binary file will not include the hash table\n"
msgstr ""
-#: src/msgfmt.c:560
+#: src/msgfmt.c:614
#, no-wrap
msgid ""
"Informative output:\n"
@@ -942,203 +965,210 @@ msgid ""
" -v, --verbose increase verbosity level\n"
msgstr ""
-#: src/msgfmt.c:720
+#: src/msgfmt.c:774
msgid "plural expression can produce negative values"
msgstr ""
-#: src/msgfmt.c:733
+#: src/msgfmt.c:787
#, c-format
msgid "nplurals = %lu but plural expression can produce values as large as %lu"
msgstr ""
-#: src/msgfmt.c:759
+#: src/msgfmt.c:813
msgid "plural expression can produce division by zero"
msgstr ""
-#: src/msgfmt.c:764
+#: src/msgfmt.c:818
msgid "plural expression can produce integer overflow"
msgstr ""
-#: src/msgfmt.c:769
+#: src/msgfmt.c:823
msgid ""
"plural expression can produce arithmetic exceptions, possibly division by "
"zero"
msgstr ""
-#: src/msgfmt.c:843 src/msgfmt.c:854
+#: src/msgfmt.c:902 src/msgfmt.c:914
msgid "message catalog has plural form translations..."
msgstr ""
-#: src/msgfmt.c:846
+#: src/msgfmt.c:905
msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute"
msgstr ""
-#: src/msgfmt.c:857
+#: src/msgfmt.c:917
msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute"
msgstr ""
-#: src/msgfmt.c:881
+#: src/msgfmt.c:942
msgid "invalid nplurals value"
msgstr ""
-#: src/msgfmt.c:894
+#: src/msgfmt.c:956
msgid "invalid plural expression"
msgstr ""
-#: src/msgfmt.c:912 src/msgfmt.c:927
+#: src/msgfmt.c:975 src/msgfmt.c:990
#, c-format
msgid "nplurals = %lu..."
msgstr ""
-#: src/msgfmt.c:915
+#: src/msgfmt.c:978
#, c-format
msgid "...but some messages have only one plural form"
msgid_plural "...but some messages have only %lu plural forms"
msgstr[0] ""
msgstr[1] ""
-#: src/msgfmt.c:930
+#: src/msgfmt.c:993
#, c-format
msgid "...but some messages have one plural form"
msgid_plural "...but some messages have %lu plural forms"
msgstr[0] ""
msgstr[1] ""
-#: src/msgfmt.c:947
+#: src/msgfmt.c:1023
+#, c-format
+msgid "Try using the following, valid for %s:\n"
+msgstr ""
+
+#: src/msgfmt.c:1036
msgid ""
"message catalog has plural form translations, but lacks a header entry with "
"\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\""
msgstr ""
-#: src/msgfmt.c:985
+#: src/msgfmt.c:1074
msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'"
msgstr ""
-#: src/msgfmt.c:995
+#: src/msgfmt.c:1084
#, c-format
msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'"
msgstr ""
-#: src/msgfmt.c:1007
+#: src/msgfmt.c:1096
msgid "`msgid' and `msgstr' entries do not both begin with '\\n'"
msgstr ""
-#: src/msgfmt.c:1024
+#: src/msgfmt.c:1113
msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'"
msgstr ""
-#: src/msgfmt.c:1034
+#: src/msgfmt.c:1123
#, c-format
msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'"
msgstr ""
-#: src/msgfmt.c:1046
+#: src/msgfmt.c:1135
msgid "`msgid' and `msgstr' entries do not both end with '\\n'"
msgstr ""
-#: src/msgfmt.c:1058
+#: src/msgfmt.c:1147
msgid "plural handling is a GNU gettext extension"
msgstr ""
-#: src/msgfmt.c:1123
+#: src/msgfmt.c:1212
#, c-format
msgid "'%s' is not a valid %s format string, unlike 'msgid'"
msgstr ""
-#: src/msgfmt.c:1158
+#: src/msgfmt.c:1250
#, c-format
msgid "msgstr lacks the keyboard accelerator mark '%c'"
msgstr ""
-#: src/msgfmt.c:1166
+#: src/msgfmt.c:1258
#, c-format
msgid "msgstr has too many keyboard accelerator marks '%c'"
msgstr ""
-#: src/msgfmt.c:1201
+#: src/msgfmt.c:1293
#, c-format
-msgid "headerfield `%s' missing in header"
+msgid "headerfield `%s' missing in header\n"
msgstr ""
-#: src/msgfmt.c:1205
+#: src/msgfmt.c:1297
#, c-format
-msgid "header field `%s' should start at beginning of line"
+msgid "header field `%s' should start at beginning of line\n"
msgstr ""
-#: src/msgfmt.c:1216
-msgid "some header fields still have the initial default value"
+#: src/msgfmt.c:1308
+msgid "some header fields still have the initial default value\n"
msgstr ""
-#: src/msgfmt.c:1228
+#: src/msgfmt.c:1320
#, c-format
-msgid "field `%s' still has initial default value"
+msgid "field `%s' still has initial default value\n"
msgstr ""
-#: src/msgfmt.c:1269
+#: src/msgfmt.c:1362
msgid "warning: PO file header missing or invalid\n"
msgstr ""
-#: src/msgfmt.c:1272
+#: src/msgfmt.c:1365
msgid "warning: charset conversion will not work\n"
msgstr ""
-#: src/msgfmt.c:1282
+#: src/msgfmt.c:1375
msgid "warning: PO file header fuzzy\n"
msgstr ""
-#: src/msgfmt.c:1284
+#: src/msgfmt.c:1377
msgid "warning: older versions of msgfmt will give an error on this\n"
msgstr ""
-#: src/msgfmt.c:1309
+#: src/msgfmt.c:1402
#, c-format
msgid "domain name \"%s\" not suitable as file name"
msgstr ""
-#: src/msgfmt.c:1314
+#: src/msgfmt.c:1407
#, c-format
msgid "domain name \"%s\" not suitable as file name: will use prefix"
msgstr ""
-#: src/msgfmt.c:1325
+#: src/msgfmt.c:1418
#, c-format
msgid "`domain %s' directive ignored"
msgstr ""
-#: src/msgfmt.c:1397
+#: src/msgfmt.c:1490
msgid "empty `msgstr' entry ignored"
msgstr ""
-#: src/msgfmt.c:1398
+#: src/msgfmt.c:1491
msgid "fuzzy `msgstr' entry ignored"
msgstr ""
-#: src/msgfmt.c:1467
+#: src/msgfmt.c:1560
#, c-format
msgid "%s: warning: source file contains fuzzy translation"
msgstr ""
-#: src/msggrep.c:375
+#: src/msggrep.c:385
#, c-format
msgid "option '%c' cannot be used before 'K' or 'T' has been specified"
msgstr ""
-#: src/msggrep.c:397
+#: src/msggrep.c:407
#, no-wrap
msgid ""
"Extracts all messages of a translation catalog that match a given pattern\n"
"or belong to some given source files.\n"
msgstr ""
-#: src/msggrep.c:424
+#: src/msggrep.c:434
#, no-wrap
msgid ""
"Message selection:\n"
-" [-N SOURCEFILE]... [-M DOMAINNAME]... [-K MSGID-PATTERN] [-T MSGSTR-PATTERN]\n"
+" [-N SOURCEFILE]... [-M DOMAINNAME]...\n"
+" [-K MSGID-PATTERN] [-T MSGSTR-PATTERN] [-C COMMENT-PATTERN]\n"
"A message is selected if it comes from one of the specified source files,\n"
"or if it comes from one of the specified domains,\n"
"or if -K is given and its key (msgid or msgid_plural) matches MSGID-PATTERN,\n"
-"or if -T is given and its translation (msgstr) matches MSGSTR-PATTERN.\n"
+"or if -T is given and its translation (msgstr) matches MSGSTR-PATTERN,\n"
+"or if -C is given and the translator's comment matches COMMENT-PATTERN.\n"
"\n"
"When more than one selection criterion is specified, the set of selected\n"
"messages is the union of the selected messages of each criterion.\n"
@@ -1159,7 +1189,7 @@ msgid ""
" -i, --ignore-case ignore case distinctions\n"
msgstr ""
-#: src/msggrep.c:452
+#: src/msggrep.c:464
#, no-wrap
msgid ""
"Output details:\n"
@@ -1175,18 +1205,18 @@ msgid ""
" --sort-by-file sort output by file location\n"
msgstr ""
-#: src/msggrep.c:542
+#: src/msggrep.c:554
msgid "write to grep subprocess failed"
msgstr ""
-#: src/msginit.c:278
+#: src/msginit.c:279
msgid ""
"You are in a language indifferent environment. Please set\n"
"your LANG environment variable, as described in the ABOUT-NLS\n"
"file. This is necessary so you can test your translations.\n"
msgstr ""
-#: src/msginit.c:306
+#: src/msginit.c:307
#, c-format
msgid ""
"Output file %s already exists.\n"
@@ -1194,19 +1224,19 @@ msgid ""
"the output .po file through the --output-file option.\n"
msgstr ""
-#: src/msginit.c:329
+#: src/msginit.c:330
#, c-format
msgid "Created %s.\n"
msgstr ""
-#: src/msginit.c:351
+#: src/msginit.c:352
#, no-wrap
msgid ""
"Creates a new PO file, initializing the meta information with values from the\n"
"user's environment.\n"
msgstr ""
-#: src/msginit.c:362
+#: src/msginit.c:363
#, no-wrap
msgid ""
"Input file location:\n"
@@ -1215,7 +1245,7 @@ msgid ""
"If it is -, standard input is read.\n"
msgstr ""
-#: src/msginit.c:370
+#: src/msginit.c:371
#, no-wrap
msgid ""
"Output file location:\n"
@@ -1224,7 +1254,7 @@ msgid ""
"locale setting. If it is -, the results are written to standard output.\n"
msgstr ""
-#: src/msginit.c:378
+#: src/msginit.c:379
#, no-wrap
msgid ""
"Output details:\n"
@@ -1233,39 +1263,39 @@ msgid ""
" -w, --width=NUMBER set output page width\n"
msgstr ""
-#: src/msginit.c:429
+#: src/msginit.c:430
msgid ""
"Found more than one .pot file.\n"
"Please specify the input .pot file through the --input option.\n"
msgstr ""
-#: src/msginit.c:437 src/msginit.c:442
+#: src/msginit.c:438 src/msginit.c:443
msgid "error reading current directory"
msgstr ""
-#: src/msginit.c:450
+#: src/msginit.c:451
msgid ""
"Found no .pot file in the current directory.\n"
"Please specify the input .pot file through the --input option.\n"
msgstr ""
-#: src/msginit.c:897 src/msginit.c:949 src/msginit.c:1087 src/msginit.c:1154
+#: src/msginit.c:898 src/msginit.c:950 src/msginit.c:1088 src/msginit.c:1155
#: src/read-java.c:80
msgid "fdopen() failed"
msgstr ""
-#: src/msginit.c:902 src/msginit.c:954 src/msginit.c:1092
+#: src/msginit.c:903 src/msginit.c:955 src/msginit.c:1093
#, c-format
msgid "%s subprocess I/O error"
msgstr ""
-#: src/msginit.c:911 src/msginit.c:963 src/msginit.c:1101 src/msginit.c:1168
+#: src/msginit.c:912 src/msginit.c:964 src/msginit.c:1102 src/msginit.c:1169
#: src/read-java.c:90
#, c-format
msgid "%s subprocess failed with exit code %d"
msgstr ""
-#: src/msginit.c:1077
+#: src/msginit.c:1078
msgid ""
"The new message catalog should contain your email address, so that users "
"can\n"
@@ -1277,7 +1307,7 @@ msgstr ""
#. TRANSLATORS: "English" needs to be replaced by your language.
#. For example in it.po write "Traduzioni italiani ...",
#. *not* "Traduzioni inglesi ...".
-#: src/msginit.c:1457
+#: src/msginit.c:1422
#, c-format
msgid "English translations for %s package"
msgstr ""
@@ -1474,29 +1504,30 @@ msgstr ""
msgid " done.\n"
msgstr ""
-#: src/msgunfmt.c:201
+#: src/msgunfmt.c:221 src/msgunfmt.c:230
#, c-format
msgid "%s and explicit file names are mutually exclusive"
msgstr ""
-#: src/msgunfmt.c:267
+#: src/msgunfmt.c:314
#, c-format, no-wrap
msgid "Usage: %s [OPTION] [FILE]...\n"
msgstr ""
-#: src/msgunfmt.c:272
+#: src/msgunfmt.c:319
#, no-wrap
msgid "Convert binary message catalog to Uniforum style .po file.\n"
msgstr ""
-#: src/msgunfmt.c:282
+#: src/msgunfmt.c:329
#, no-wrap
msgid ""
"Operation mode:\n"
-" -j, --java Java mode: generate a Java ResourceBundle class\n"
+" -j, --java Java mode: input is a Java ResourceBundle class\n"
+" --tcl Tcl mode: input is a tcl/msgcat .msg file\n"
msgstr ""
-#: src/msgunfmt.c:288
+#: src/msgunfmt.c:336
#, no-wrap
msgid ""
"Input file location:\n"
@@ -1504,7 +1535,7 @@ msgid ""
"If no input file is given or if it is -, standard input is read.\n"
msgstr ""
-#: src/msgunfmt.c:295
+#: src/msgunfmt.c:343
#, no-wrap
msgid ""
"Input file location in Java mode:\n"
@@ -1514,7 +1545,17 @@ msgid ""
"separated with an underscore. The class is located using the CLASSPATH.\n"
msgstr ""
-#: src/msgunfmt.c:304
+#: src/msgunfmt.c:352
+#, no-wrap
+msgid ""
+"Input file location in Tcl mode:\n"
+" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n"
+" -d DIRECTORY base directory of .msg message catalogs\n"
+"The -l and -d options are mandatory. The .msg file is located in the\n"
+"specified directory.\n"
+msgstr ""
+
+#: src/msgunfmt.c:361
#, no-wrap
msgid ""
"Output file location:\n"
@@ -1523,7 +1564,7 @@ msgid ""
"or if it is -.\n"
msgstr ""
-#: src/msgunfmt.c:312
+#: src/msgunfmt.c:369
#, no-wrap
msgid ""
"Output details:\n"
@@ -1536,7 +1577,7 @@ msgid ""
" -s, --sort-output generate sorted output\n"
msgstr ""
-#: src/msgunfmt.c:324
+#: src/msgunfmt.c:381
#, no-wrap
msgid ""
"Informative output:\n"
@@ -1682,47 +1723,47 @@ msgid "plural form has wrong index"
msgstr ""
#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141
-#: src/po-lex.c:135 src/po-lex.c:176
+#: src/po-lex.c:111 src/po-lex.c:144
msgid "too many errors, aborting"
msgstr ""
-#: src/po-lex.c:547 src/write-po.c:339 src/write-po.c:441
+#: src/po-lex.c:515 src/write-po.c:339 src/write-po.c:441
msgid "invalid multibyte sequence"
msgstr ""
-#: src/po-lex.c:573
+#: src/po-lex.c:541
msgid "incomplete multibyte sequence at end of file"
msgstr ""
-#: src/po-lex.c:583
+#: src/po-lex.c:551
msgid "incomplete multibyte sequence at end of line"
msgstr ""
-#: src/po-lex.c:591
+#: src/po-lex.c:559
msgid "iconv failure"
msgstr ""
-#: src/po-lex.c:789 src/read-mo.c:71 src/read-mo.c:136 src/x-c.c:296
+#: src/po-lex.c:757 src/read-mo.c:71 src/read-mo.c:136 src/x-c.c:296
#: src/x-elisp.c:172 src/x-librep.c:171 src/x-lisp.c:236 src/x-rst.c:227
#: src/x-ycp.c:104
#, c-format
msgid "error while reading \"%s\""
msgstr ""
-#: src/po-lex.c:855
+#: src/po-lex.c:823
#, c-format
msgid "keyword \"%s\" unknown"
msgstr ""
-#: src/po-lex.c:965
+#: src/po-lex.c:933
msgid "invalid control sequence"
msgstr ""
-#: src/po-lex.c:1073
+#: src/po-lex.c:1041
msgid "end-of-file within string"
msgstr ""
-#: src/po-lex.c:1079
+#: src/po-lex.c:1047
msgid "end-of-line within string"
msgstr ""
@@ -1834,7 +1875,7 @@ msgstr ""
msgid "%s:%d: warning: unterminated string literal"
msgstr ""
-#: src/x-po.c:106 src/xgettext.c:616
+#: src/x-po.c:106 src/xgettext.c:634
msgid "this file may not contain domain directives"
msgstr ""
@@ -1853,32 +1894,32 @@ msgstr ""
msgid "%s:%d: invalid string expression"
msgstr ""
-#: src/xgettext.c:384
+#: src/xgettext.c:397
msgid "--join-existing cannot be used when output is written to stdout"
msgstr ""
-#: src/xgettext.c:389
+#: src/xgettext.c:402
msgid "xgettext cannot work without keywords to look for"
msgstr ""
-#: src/xgettext.c:477
+#: src/xgettext.c:490
#, c-format
msgid "warning: file `%s' extension `%s' is unknown; will try C"
msgstr ""
-#: src/xgettext.c:518
+#: src/xgettext.c:535
#, no-wrap
msgid "Extract translatable strings from given input files.\n"
msgstr ""
-#: src/xgettext.c:523
+#: src/xgettext.c:540
#, no-wrap
msgid ""
"Mandatory arguments to long options are mandatory for short options too.\n"
"Similarly for optional arguments.\n"
msgstr ""
-#: src/xgettext.c:538
+#: src/xgettext.c:555
#, no-wrap
msgid ""
"Output file location:\n"
@@ -1888,18 +1929,19 @@ msgid ""
"If output file is -, output is written to standard output.\n"
msgstr ""
-#: src/xgettext.c:547
+#: src/xgettext.c:564
#, no-wrap
msgid ""
"Choice of input file language:\n"
" -L, --language=NAME recognise the specified language\n"
-" (C, C++, ObjectiveC, PO, Lisp, EmacsLisp,\n"
-" librep, Java, YCP)\n"
+" (C, C++, ObjectiveC, PO, Python, Lisp,\n"
+" EmacsLisp, librep, Java, awk, YCP, Tcl,\n"
+" RST, Glade)\n"
" -C, --c++ shorthand for --language=C++\n"
"By default the language is guessed depending on the input file name extension.\n"
msgstr ""
-#: src/xgettext.c:557
+#: src/xgettext.c:575
#, no-wrap
msgid ""
"Operation mode:\n"
@@ -1909,7 +1951,7 @@ msgid ""
" preceding keyword lines) in output file\n"
msgstr ""
-#: src/xgettext.c:566
+#: src/xgettext.c:584
#, no-wrap
msgid ""
"Language=C/C++ specific options:\n"
@@ -1920,7 +1962,7 @@ msgid ""
" --debug more detailed formatstring recognition result\n"
msgstr ""
-#: src/xgettext.c:576
+#: src/xgettext.c:594
#, no-wrap
msgid ""
"Output details:\n"
@@ -1941,18 +1983,18 @@ msgid ""
" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n"
msgstr ""
-#: src/xgettext.c:796
+#: src/xgettext.c:814
msgid "standard input"
msgstr ""
-#: src/xgettext.c:911
+#: src/xgettext.c:929
msgid ""
"Empty msgid. It is reserved by GNU gettext:\n"
"gettext(\"\") returns the header entry with\n"
"meta information, not the empty string.\n"
msgstr ""
-#: src/xgettext.c:1209
+#: src/xgettext.c:1285
#, c-format
msgid "language `%s' unknown"
msgstr ""
diff --git a/po/gl.gmo b/po/gl.gmo
index 5d20749a7..73c7b50be 100644
Binary files a/po/gl.gmo and b/po/gl.gmo differ
diff --git a/po/id.gmo b/po/id.gmo
index 3e208fbf0..dbd62019a 100644
Binary files a/po/id.gmo and b/po/id.gmo differ
diff --git a/po/it.gmo b/po/it.gmo
index f5de2b9b8..3e1fa0e3e 100644
Binary files a/po/it.gmo and b/po/it.gmo differ
diff --git a/po/ja.gmo b/po/ja.gmo
index 601b0f072..78827a213 100644
Binary files a/po/ja.gmo and b/po/ja.gmo differ
diff --git a/po/ko.gmo b/po/ko.gmo
index 7c71809a7..c75cd247b 100644
Binary files a/po/ko.gmo and b/po/ko.gmo differ
diff --git a/po/nl.gmo b/po/nl.gmo
index 3e628a95f..69260788a 100644
Binary files a/po/nl.gmo and b/po/nl.gmo differ
diff --git a/po/nn.gmo b/po/nn.gmo
index 6c73317f1..be462af8e 100644
Binary files a/po/nn.gmo and b/po/nn.gmo differ
diff --git a/po/no.gmo b/po/no.gmo
index 15a4b9df8..5facaf446 100644
Binary files a/po/no.gmo and b/po/no.gmo differ
diff --git a/po/pl.gmo b/po/pl.gmo
index 10b2ef6c3..e34a308a9 100644
Binary files a/po/pl.gmo and b/po/pl.gmo differ
diff --git a/po/pt.gmo b/po/pt.gmo
index 4b2a20f8c..2084c55ad 100644
Binary files a/po/pt.gmo and b/po/pt.gmo differ
diff --git a/po/pt_BR.gmo b/po/pt_BR.gmo
index 44052a415..d2157b7d5 100644
Binary files a/po/pt_BR.gmo and b/po/pt_BR.gmo differ
diff --git a/po/ru.gmo b/po/ru.gmo
index 0077923e7..34f5244ef 100644
Binary files a/po/ru.gmo and b/po/ru.gmo differ
diff --git a/po/sk.gmo b/po/sk.gmo
index 859c6e5a3..ad6e7ae51 100644
Binary files a/po/sk.gmo and b/po/sk.gmo differ
diff --git a/po/sl.gmo b/po/sl.gmo
index 642f3c914..7bc540a81 100644
Binary files a/po/sl.gmo and b/po/sl.gmo differ
diff --git a/po/sv.gmo b/po/sv.gmo
index dce3e00db..fbfb9a331 100644
Binary files a/po/sv.gmo and b/po/sv.gmo differ
diff --git a/po/tr.gmo b/po/tr.gmo
index ab402819a..ba2869c33 100644
Binary files a/po/tr.gmo and b/po/tr.gmo differ
diff --git a/po/zh.gmo b/po/zh.gmo
index f152822a9..339ab411c 100644
Binary files a/po/zh.gmo and b/po/zh.gmo differ
diff --git a/projects/Makefile.in b/projects/Makefile.in
index c3b3f31b0..1ab2c3130 100644
--- a/projects/Makefile.in
+++ b/projects/Makefile.in
@@ -107,6 +107,7 @@ LD = @LD@
LEX = @LEX@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LIB = @LIB@
+LIBEXPAT = @LIBEXPAT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
@@ -114,6 +115,7 @@ LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTALLOCA = @LTALLOCA@
LTLIB = @LTLIB@
+LTLIBEXPAT = @LTLIBEXPAT@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
diff --git a/src/Makefile.in b/src/Makefile.in
index 13ed2bbd5..5fa54c4bf 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -106,6 +106,7 @@ LD = @LD@
LEX = @LEX@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LIB = @LIB@
+LIBEXPAT = @LIBEXPAT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
@@ -113,6 +114,7 @@ LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTALLOCA = @LTALLOCA@
LTLIB = @LTLIB@
+LTLIBEXPAT = @LTLIBEXPAT@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
@@ -154,11 +156,12 @@ noinst_HEADERS = pos.h message.h po-gram.h po-hash.h po-charset.h po-lex.h \
po.h open-po.h read-po.h str-list.h write-po.h dir-list.h file-list.h \
po-gram-gen.h po-hash-gen.h msgl-charset.h msgl-equal.h msgl-iconv.h \
msgl-ascii.h msgl-cat.h msgl-english.h msgfmt.h msgunfmt.h read-mo.h \
-write-mo.h read-java.h write-java.h po-time.h format.h xgettext.h x-c.h \
-x-po.h x-lisp.h x-elisp.h x-librep.h x-java.h x-ycp.h x-rst.h
+write-mo.h read-java.h write-java.h read-tcl.h write-tcl.h po-time.h \
+plural-table.h format.h xgettext.h x-c.h x-po.h x-python.h x-lisp.h \
+x-elisp.h x-librep.h x-java.h x-awk.h x-ycp.h x-tcl.h x-rst.h x-glade.h
-EXTRA_DIST = FILES project-id \
+EXTRA_DIST = FILES project-id msgunfmt.tcl \
gnu/gettext/DumpResource.java gnu/gettext/GetURL.java
@@ -166,11 +169,12 @@ localedir = $(datadir)/locale
jardir = $(datadir)/gettext
projectsdir = $(pkgdatadir)/projects
-INCLUDES = -I. -I$(srcdir) -I.. -I$(top_srcdir)/lib -I../intl \
--I$(top_srcdir)/intl
+INCLUDES = -I. -I$(srcdir) -I.. -I$(top_srcdir)/libuniname \
+-I../lib -I$(top_srcdir)/lib -I../intl -I$(top_srcdir)/intl
DEFS = -DLOCALEDIR=\"$(localedir)\" -DGETTEXTJAR=\"$(jardir)/gettext.jar\" \
--DLIBDIR=\"$(libdir)\" -DPROJECTSDIR=\"$(projectsdir)\" @DEFS@
+-DLIBDIR=\"$(libdir)\" -DGETTEXTDATADIR=\"$(pkgdatadir)\" \
+-DPROJECTSDIR=\"$(projectsdir)\" @DEFS@
LDADD = ../lib/libgettextlib.la @LTLIBINTL@
@@ -191,26 +195,30 @@ open-po.c dir-list.c str-list.c
# xgettext and msgfmt deal with format strings.
FORMAT_SOURCE = format.c \
-format-c.c format-java.c format-lisp.c format-elisp.c format-librep.c \
-format-python.c format-pascal.c format-ycp.c
+format-c.c format-python.c format-lisp.c format-elisp.c format-librep.c \
+format-java.c format-awk.c format-pascal.c format-ycp.c format-tcl.c
# libgettextsrc contains all code that is needed by at least two programs.
libgettextsrc_la_SOURCES = \
$(COMMON_SOURCE) read-po.c write-po.c msgl-ascii.c msgl-iconv.c msgl-equal.c \
msgl-cat.c msgl-english.c file-list.c msgl-charset.c po-time.c plural.c \
-$(FORMAT_SOURCE)
+plural-table.c $(FORMAT_SOURCE)
+# x-python needs table of Unicode character names.
+LIBUNINAME = ../libuniname/libuniname.a
+
# Source dependencies.
gettext_SOURCES = gettext.c
ngettext_SOURCES = ngettext.c
msgcmp_SOURCES = msgcmp.c
-msgfmt_SOURCES = msgfmt.c write-mo.c write-java.c plural-eval.c
+msgfmt_SOURCES = msgfmt.c write-mo.c write-java.c write-tcl.c plural-eval.c
msgmerge_SOURCES = msgmerge.c
-msgunfmt_SOURCES = msgunfmt.c read-mo.c read-java.c
+msgunfmt_SOURCES = msgunfmt.c read-mo.c read-java.c read-tcl.c
xgettext_SOURCES = xgettext.c \
- x-c.c x-po.c x-lisp.c x-elisp.c x-librep.c x-java.l x-ycp.c x-rst.c
+ x-c.c x-po.c x-python.c x-lisp.c x-elisp.c x-librep.c x-java.l x-awk.c \
+ x-ycp.c x-tcl.c x-rst.c x-glade.c
msgattrib_SOURCES = msgattrib.c
msgcat_SOURCES = msgcat.c
@@ -242,7 +250,7 @@ msgcmp_LDADD = libgettextsrc.la
msgfmt_LDADD = libgettextsrc.la
msgmerge_LDADD = libgettextsrc.la
msgunfmt_LDADD = libgettextsrc.la
-xgettext_LDADD = libgettextsrc.la
+xgettext_LDADD = libgettextsrc.la $(LIBUNINAME) @LTLIBEXPAT@
msgattrib_LDADD = libgettextsrc.la
msgcat_LDADD = libgettextsrc.la
msgcomm_LDADD = libgettextsrc.la
@@ -251,7 +259,8 @@ msgen_LDADD = libgettextsrc.la
msgexec_LDADD = libgettextsrc.la
msgfilter_LDADD = libgettextsrc.la
msggrep_LDADD = libgettextsrc.la
-msginit_LDADD = ../intl/localealias.$(OBJEXT) ../intl/localename.$(OBJEXT) \
+msginit_LDADD = ../intl/localealias.@INTL_LIBTOOL_SUFFIX_PREFIX@o \
+ ../intl/localename.@INTL_LIBTOOL_SUFFIX_PREFIX@o \
libgettextsrc.la
msguniq_LDADD = libgettextsrc.la
@@ -274,9 +283,10 @@ am_libgettextsrc_la_OBJECTS = message.lo po.lo po-lex.lo po-gram-gen.lo \
po-hash-gen.lo po-charset.lo open-po.lo dir-list.lo str-list.lo \
read-po.lo write-po.lo msgl-ascii.lo msgl-iconv.lo \
msgl-equal.lo msgl-cat.lo msgl-english.lo file-list.lo \
- msgl-charset.lo po-time.lo plural.lo format.lo format-c.lo \
- format-java.lo format-lisp.lo format-elisp.lo format-librep.lo \
- format-python.lo format-pascal.lo format-ycp.lo
+ msgl-charset.lo po-time.lo plural.lo plural-table.lo format.lo \
+ format-c.lo format-python.lo format-lisp.lo format-elisp.lo \
+ format-librep.lo format-java.lo format-awk.lo format-pascal.lo \
+ format-ycp.lo format-tcl.lo
libgettextsrc_la_OBJECTS = $(am_libgettextsrc_la_OBJECTS)
bin_PROGRAMS = gettext$(EXEEXT) ngettext$(EXEEXT) msgcmp$(EXEEXT) \
msgfmt$(EXEEXT) msgmerge$(EXEEXT) msgunfmt$(EXEEXT) \
@@ -331,7 +341,7 @@ msgfilter_OBJECTS = $(am_msgfilter_OBJECTS)
msgfilter_DEPENDENCIES = libgettextsrc.la
msgfilter_LDFLAGS =
am_msgfmt_OBJECTS = msgfmt.$(OBJEXT) write-mo.$(OBJEXT) \
- write-java.$(OBJEXT) plural-eval.$(OBJEXT)
+ write-java.$(OBJEXT) write-tcl.$(OBJEXT) plural-eval.$(OBJEXT)
msgfmt_OBJECTS = $(am_msgfmt_OBJECTS)
msgfmt_DEPENDENCIES = libgettextsrc.la
msgfmt_LDFLAGS =
@@ -341,15 +351,16 @@ msggrep_DEPENDENCIES = libgettextsrc.la
msggrep_LDFLAGS =
am_msginit_OBJECTS = msginit.$(OBJEXT)
msginit_OBJECTS = $(am_msginit_OBJECTS)
-msginit_DEPENDENCIES = ../intl/localealias.$(OBJEXT) \
- ../intl/localename.$(OBJEXT) libgettextsrc.la
+msginit_DEPENDENCIES = ../intl/localealias.@INTL_LIBTOOL_SUFFIX_PREFIX@o \
+ ../intl/localename.@INTL_LIBTOOL_SUFFIX_PREFIX@o \
+ libgettextsrc.la
msginit_LDFLAGS =
am_msgmerge_OBJECTS = msgmerge.$(OBJEXT)
msgmerge_OBJECTS = $(am_msgmerge_OBJECTS)
msgmerge_DEPENDENCIES = libgettextsrc.la
msgmerge_LDFLAGS =
am_msgunfmt_OBJECTS = msgunfmt.$(OBJEXT) read-mo.$(OBJEXT) \
- read-java.$(OBJEXT)
+ read-java.$(OBJEXT) read-tcl.$(OBJEXT)
msgunfmt_OBJECTS = $(am_msgunfmt_OBJECTS)
msgunfmt_DEPENDENCIES = libgettextsrc.la
msgunfmt_LDFLAGS =
@@ -369,10 +380,12 @@ urlget_LDADD = $(LDADD)
urlget_DEPENDENCIES = ../lib/libgettextlib.la
urlget_LDFLAGS =
am_xgettext_OBJECTS = xgettext.$(OBJEXT) x-c.$(OBJEXT) x-po.$(OBJEXT) \
- x-lisp.$(OBJEXT) x-elisp.$(OBJEXT) x-librep.$(OBJEXT) \
- x-java.$(OBJEXT) x-ycp.$(OBJEXT) x-rst.$(OBJEXT)
+ x-python.$(OBJEXT) x-lisp.$(OBJEXT) x-elisp.$(OBJEXT) \
+ x-librep.$(OBJEXT) x-java.$(OBJEXT) x-awk.$(OBJEXT) \
+ x-ycp.$(OBJEXT) x-tcl.$(OBJEXT) x-rst.$(OBJEXT) \
+ x-glade.$(OBJEXT)
xgettext_OBJECTS = $(am_xgettext_OBJECTS)
-xgettext_DEPENDENCIES = libgettextsrc.la
+xgettext_DEPENDENCIES = libgettextsrc.la ../libuniname/libuniname.a
xgettext_LDFLAGS =
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
CPPFLAGS = @CPPFLAGS@
@@ -758,6 +771,21 @@ uninstall-java-no:
uninstall-java-yes:
$(RM) $(DESTDIR)$(jardir)/gettext.jar
+# Special rules for Tcl auxiliary program.
+
+install-data-local: install-tcl
+install-tcl:
+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
+ $(INSTALL_DATA) $(srcdir)/msgunfmt.tcl $(DESTDIR)$(pkgdatadir)/msgunfmt.tcl
+
+installdirs-local: installdirs-tcl
+installdirs-tcl:
+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
+
+uninstall-local: uninstall-tcl
+uninstall-tcl:
+ $(RM) $(DESTDIR)$(pkgdatadir)/msgunfmt.tcl
+
# One more automake bug.
installdirs: installdirs-local
# Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/src/x-java.c b/src/x-java.c
index 64700869c..493dad6b1 100644
--- a/src/x-java.c
+++ b/src/x-java.c
@@ -832,7 +832,7 @@ YY_RULE_SETUP
char *str;
char_buf *charbuf = create_char_buf ();
- while (1)
+ for (;;)
{
c = input ();
last = input ();
diff --git a/tests/Makefile.in b/tests/Makefile.in
index b03a2bdeb..3696b6523 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -107,6 +107,7 @@ LD = @LD@
LEX = @LEX@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LIB = @LIB@
+LIBEXPAT = @LIBEXPAT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
@@ -114,6 +115,7 @@ LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTALLOCA = @LTALLOCA@
LTLIB = @LTLIB@
+LTLIBEXPAT = @LTLIBEXPAT@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
@@ -157,16 +159,18 @@ TESTS = gettext-1 gettext-2 \
msgfilter-1 msgfilter-2 \
msgfmt-1 msgfmt-2 msgfmt-3 msgfmt-4 msgfmt-5 msgfmt-6 msgfmt-7 \
msgfmt-8 msgfmt-9 msgfmt-10 \
- msggrep-1 msggrep-2 msggrep-3 msggrep-4 \
+ msggrep-1 msggrep-2 msggrep-3 msggrep-4 msggrep-5 \
msgmerge-1 msgmerge-2 msgmerge-3 msgmerge-4 msgmerge-5 msgmerge-6 \
msgmerge-7 msgmerge-8 msgmerge-9 msgmerge-10 msgmerge-11 msgmerge-12 \
msgmerge-13 msgmerge-14 msgmerge-15 msgmerge-16 msgmerge-17 \
msgmerge-18 msgmerge-19 msgmerge-20 \
- msgunfmt-1 \
+ msgunfmt-1 msgunfmt-2 msgunfmt-3 \
msguniq-1 msguniq-2 msguniq-3 \
xgettext-1 xgettext-2 xgettext-3 xgettext-4 xgettext-5 xgettext-6 \
xgettext-7 xgettext-8 xgettext-9 xgettext-10 xgettext-11 xgettext-12 \
xgettext-13 xgettext-14 xgettext-15 xgettext-16 xgettext-17 \
+ xgettext-18 xgettext-19 xgettext-20 xgettext-21 \
+ format-awk-1 format-awk-2 \
format-c-1 format-c-2 \
format-elisp-1 format-elisp-2 \
format-java-1 format-java-2 \
@@ -174,9 +178,10 @@ TESTS = gettext-1 gettext-2 \
format-lisp-1 format-lisp-2 \
format-python-1 format-python-2 \
format-pascal-1 format-pascal-2 \
+ format-tcl-1 format-tcl-2 \
format-ycp-1 format-ycp-2 \
plural-1 plural-2 \
- lang-c lang-c++ lang-objc lang-clisp lang-elisp lang-librep lang-java lang-pascal lang-ycp lang-po lang-rst \
+ lang-c lang-c++ lang-objc lang-python lang-clisp lang-elisp lang-librep lang-java lang-gawk lang-pascal lang-ycp lang-tcl lang-po lang-rst \
rpath-1a rpath-1b \
rpath-2aaa rpath-2aab rpath-2aac rpath-2aad \
rpath-2aba rpath-2abb rpath-2abc rpath-2abd \
@@ -230,7 +235,7 @@ TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) PATH=.:../src:$$PATH \
# Three auxiliary programs used by the tests.
-INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/intl
+INCLUDES = -I.. -I../lib -I$(top_srcdir)/lib -I$(top_srcdir)/intl
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
LDADD = $(LDADD_@USE_INCLUDED_LIBINTL@)
LDADD_yes = ../intl/libintl.la
diff --git a/tests/xg-test1.ok.po b/tests/xg-test1.ok.po
index 019359b4e..87e4d562b 100644
--- a/tests/xg-test1.ok.po
+++ b/tests/xg-test1.ok.po
@@ -66,8 +66,9 @@ msgstr ""
msgid ""
"Choice of input file language:\n"
" -L, --language=NAME recognise the specified language\n"
-" (C, C++, ObjectiveC, PO, Lisp, EmacsLisp,\n"
-" librep, Java, YCP)\n"
+" (C, C++, ObjectiveC, PO, Python, Lisp,\n"
+" EmacsLisp, librep, Java, awk, YCP, Tcl,\n"
+" RST, Glade)\n"
" -C, --c++ shorthand for --language=C++\n"
"By default the language is guessed depending on the input file name extension.\n"
msgstr ""
@@ -149,10 +150,18 @@ msgstr ""
msgid "%s requires a \"-d directory\" specification"
msgstr ""
+#, c-format
+msgid "%s requires a \"-l locale\" specification"
+msgstr ""
+
#, c-format
msgid "%s is only valid with %s"
msgstr ""
+#, c-format
+msgid "%s is only valid with %s or %s"
+msgstr ""
+
#, c-format
msgid "%d translated message"
msgid_plural "%d translated messages"
@@ -196,6 +205,7 @@ msgid ""
"Operation mode:\n"
" -j, --java Java mode: generate a Java ResourceBundle class\n"
" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n"
+" --tcl Tcl mode: generate a tcl/msgcat .msg file\n"
msgstr ""
#, no-wrap
@@ -217,6 +227,15 @@ msgid ""
"written under the specified directory.\n"
msgstr ""
+#, no-wrap
+msgid ""
+"Output file location in Tcl mode:\n"
+" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n"
+" -d DIRECTORY base directory of .msg message catalogs\n"
+"The -l and -d options are mandatory. The .msg file is written in the\n"
+"specified directory.\n"
+msgstr ""
+
#, no-wrap
msgid ""
"Input file interpretation:\n"
@@ -297,6 +316,10 @@ msgid_plural "...but some messages have %lu plural forms"
msgstr[0] ""
msgstr[1] ""
+#, c-format
+msgid "Try using the following, valid for %s:\n"
+msgstr ""
+
msgid ""
"message catalog has plural form translations, but lacks a header entry with "
"\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\""
@@ -338,18 +361,18 @@ msgid "msgstr has too many keyboard accelerator marks '%c'"
msgstr ""
#, c-format
-msgid "headerfield `%s' missing in header"
+msgid "headerfield `%s' missing in header\n"
msgstr ""
#, c-format
-msgid "header field `%s' should start at beginning of line"
+msgid "header field `%s' should start at beginning of line\n"
msgstr ""
-msgid "some header fields still have the initial default value"
+msgid "some header fields still have the initial default value\n"
msgstr ""
#, c-format
-msgid "field `%s' still has initial default value"
+msgid "field `%s' still has initial default value\n"
msgstr ""
msgid "warning: PO file header missing or invalid\n"