diff options
author | Arsen Arsenovi? <arsen@aarsen.me> | 2023-11-15 12:53:04 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-11-15 12:53:04 +0000 |
commit | 862776f26a59516467c98091994c3dac90383159 (patch) | |
tree | b48da9bda94c09314c1a19ee0309126d380762f2 | |
parent | 42fb2f0b0978305e218a9493cde92447583771f1 (diff) | |
download | gdb-862776f26a59516467c98091994c3dac90383159.zip gdb-862776f26a59516467c98091994c3dac90383159.tar.gz gdb-862776f26a59516467c98091994c3dac90383159.tar.bz2 |
Finalized intl-update patches
* intl: Remove directory. Replaced with out-of-tree GNU gettext.
* .gitignore: Add '/gettext*'.
* configure.ac (host_libs): Replace intl with gettext. (hbaseargs, bbaseargs, baseargs): Split baseargs into {h,b}baseargs. (skip_barg): New flag. Skips appending current flag to bbaseargs. <library exemptions>: Exempt --with-libintl-{type,prefix} from target and build machine argument passing.
* configure: Regenerate.
* Makefile.def (host_modules): Replace intl module with gettext module. (configure-ld): Depend on configure-gettext.
* Makefile.in: Regenerate.
* src-release.sh: Remove references to the intl/ directory.
117 files changed, 29987 insertions, 28896 deletions
@@ -72,3 +72,4 @@ stamp-* /mpc* /gmp* /isl* +/gettext* @@ -1,3 +1,22 @@ +2023-11-15 Arsen Arsenović <arsen@aarsen.me> + + * intl: Remove directory. Replaced with out-of-tree GNU + gettext. + * .gitignore: Add '/gettext*'. + * configure.ac (host_libs): Replace intl with gettext. + (hbaseargs, bbaseargs, baseargs): Split baseargs into + {h,b}baseargs. + (skip_barg): New flag. Skips appending current flag to + bbaseargs. + <library exemptions>: Exempt --with-libintl-{type,prefix} from + target and build machine argument passing. + * configure: Regenerate. + * Makefile.def (host_modules): Replace intl module with gettext + module. + (configure-ld): Depend on configure-gettext. + * Makefile.in: Regenerate. + * src-release.sh: Remove references to the intl/ directory. + 2023-07-03 Nick Clifton <nickc@redhat.com> 2.41 Branch Point. diff --git a/Makefile.def b/Makefile.def index 15c068e..792f814 100644 --- a/Makefile.def +++ b/Makefile.def @@ -74,8 +74,14 @@ host_modules= { module= isl; lib_path=.libs; bootstrap=true; host_modules= { module= gold; bootstrap=true; }; host_modules= { module= gprof; }; host_modules= { module= gprofng; }; -// intl acts on 'host_shared' directly, and does not support --with-pic. -host_modules= { module= intl; bootstrap=true; }; +host_modules= { module= gettext; bootstrap=true; no_install=true; + module_srcdir= "gettext/gettext-runtime"; + // We always build gettext with pic, because some packages (e.g. gdbserver) + // need it in some configuratons, which is determined via nontrivial tests. + // Always enabling pic seems to make sense for something tied to + // user-facing output. + extra_configure_flags='--disable-shared --disable-java --disable-csharp --with-pic'; + lib_path=intl/.libs; }; host_modules= { module= tcl; missing=mostlyclean; }; host_modules= { module= itcl; }; @@ -345,7 +351,7 @@ dependencies = { module=all-build-fixincludes; on=all-build-libiberty; }; dependencies = { module=all-build-libcpp; on=all-build-libiberty; }; // Host modules specific to gcc. -dependencies = { module=configure-gcc; on=configure-intl; }; +dependencies = { module=configure-gcc; on=configure-gettext; }; dependencies = { module=configure-gcc; on=all-gmp; }; dependencies = { module=configure-gcc; on=all-mpfr; }; dependencies = { module=configure-gcc; on=all-mpc; }; @@ -357,7 +363,7 @@ dependencies = { module=configure-gcc; on=all-ld; }; dependencies = { module=configure-gcc; on=all-gold; }; dependencies = { module=configure-gcc; on=all-libiconv; }; dependencies = { module=all-gcc; on=all-libiberty; hard=true; }; -dependencies = { module=all-gcc; on=all-intl; }; +dependencies = { module=all-gcc; on=all-gettext; }; dependencies = { module=all-gcc; on=all-mpfr; }; dependencies = { module=all-gcc; on=all-mpc; }; dependencies = { module=all-gcc; on=all-isl; }; @@ -386,10 +392,10 @@ dependencies = { module=install-strip-gcc ; on=install-strip-fixincludes; }; dependencies = { module=install-strip-gcc ; on=install-strip-lto-plugin; }; dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; }; -dependencies = { module=configure-libcpp; on=configure-intl; }; +dependencies = { module=configure-libcpp; on=configure-gettext; }; dependencies = { module=configure-libcpp; on=all-libiconv; }; dependencies = { module=all-libcpp; on=all-libiberty; hard=true; }; -dependencies = { module=all-libcpp; on=all-intl; }; +dependencies = { module=all-libcpp; on=all-gettext; }; dependencies = { module=all-libcpp; on=all-libiconv; }; dependencies = { module=all-fixincludes; on=all-libiberty; }; @@ -411,16 +417,16 @@ dependencies = { module=all-gotools; on=all-target-libgo; }; dependencies = { module=all-utils; on=all-libiberty; }; -dependencies = { module=configure-intl; on=all-libiconv; }; +dependencies = { module=configure-gettext; on=all-libiconv; }; dependencies = { module=configure-mpfr; on=all-gmp; }; dependencies = { module=configure-mpc; on=all-mpfr; }; dependencies = { module=configure-isl; on=all-gmp; }; -dependencies = { module=all-intl; on=all-libiconv; }; +dependencies = { module=all-gettext; on=all-libiconv; }; // Host modules specific to gdb. dependencies = { module=configure-gdb; on=all-gmp; }; dependencies = { module=configure-gdb; on=all-mpfr; }; -dependencies = { module=configure-gdb; on=all-intl; }; +dependencies = { module=configure-gdb; on=all-gettext; }; dependencies = { module=configure-gdb; on=configure-sim; }; dependencies = { module=configure-gdb; on=all-bfd; }; dependencies = { module=configure-gdb; on=all-gnulib; }; @@ -454,17 +460,17 @@ dependencies = { module=all-libgui; on=all-tk; }; dependencies = { module=all-libgui; on=all-itcl; }; dependencies = { module=configure-gdbsupport; on=configure-gnulib; }; -dependencies = { module=configure-gdbsupport; on=configure-intl; }; +dependencies = { module=configure-gdbsupport; on=configure-gettext; }; dependencies = { module=all-gdbsupport; on=all-gnulib; }; -dependencies = { module=all-gdbsupport; on=all-intl; }; +dependencies = { module=all-gdbsupport; on=all-gettext; }; // Host modules specific to binutils. // build libsframe before bfd for encoder/decoder support for linking // SFrame sections dependencies = { module=configure-bfd; on=configure-libiberty; hard=true; }; -dependencies = { module=configure-bfd; on=configure-intl; }; +dependencies = { module=configure-bfd; on=configure-gettext; }; dependencies = { module=all-bfd; on=all-libiberty; }; -dependencies = { module=all-bfd; on=all-intl; }; +dependencies = { module=all-bfd; on=all-gettext; }; dependencies = { module=all-bfd; on=all-zlib; }; dependencies = { module=all-bfd; on=all-libsframe; }; dependencies = { module=configure-opcodes; on=configure-libiberty; hard=true; }; @@ -473,13 +479,13 @@ dependencies = { module=all-opcodes; on=all-libiberty; }; // We must build gas before binutils, gprof, ld and gold to avoid race // condition in the prev-gcc/as script during bootstrap of combined tree // with GCC and binutils. See PR gas/14899 for details. -dependencies = { module=configure-binutils; on=configure-intl; }; +dependencies = { module=configure-binutils; on=configure-gettext; }; dependencies = { module=all-binutils; on=all-libiberty; }; dependencies = { module=all-binutils; on=all-opcodes; }; dependencies = { module=all-binutils; on=all-bfd; }; dependencies = { module=all-binutils; on=all-build-flex; }; dependencies = { module=all-binutils; on=all-build-bison; }; -dependencies = { module=all-binutils; on=all-intl; }; +dependencies = { module=all-binutils; on=all-gettext; }; dependencies = { module=all-binutils; on=all-gas; }; dependencies = { module=all-binutils; on=all-libctf; }; dependencies = { module=all-ld; on=all-libctf; }; @@ -508,51 +514,51 @@ dependencies = { module=configure-opcodes; on=configure-bfd; hard=true; }; dependencies = { module=install-opcodes; on=install-bfd; }; dependencies = { module=install-strip-opcodes; on=install-strip-bfd; }; -dependencies = { module=configure-gas; on=configure-intl; }; +dependencies = { module=configure-gas; on=configure-gettext; }; dependencies = { module=all-gas; on=all-libiberty; }; dependencies = { module=all-gas; on=all-opcodes; }; dependencies = { module=all-gas; on=all-bfd; }; -dependencies = { module=all-gas; on=all-intl; }; -dependencies = { module=configure-gprof; on=configure-intl; }; +dependencies = { module=all-gas; on=all-gettext; }; +dependencies = { module=configure-gprof; on=configure-gettext; }; dependencies = { module=all-gprof; on=all-libiberty; }; dependencies = { module=all-gprof; on=all-bfd; }; dependencies = { module=all-gprof; on=all-opcodes; }; -dependencies = { module=all-gprof; on=all-intl; }; +dependencies = { module=all-gprof; on=all-gettext; }; dependencies = { module=all-gprof; on=all-gas; }; -dependencies = { module=configure-gprofng; on=configure-intl; }; +dependencies = { module=configure-gprofng; on=configure-gettext; }; dependencies = { module=all-gprofng; on=all-libiberty; }; dependencies = { module=all-gprofng; on=all-bfd; }; dependencies = { module=all-gprofng; on=all-opcodes; }; -dependencies = { module=all-gprofng; on=all-intl; }; +dependencies = { module=all-gprofng; on=all-gettext; }; dependencies = { module=all-gprofng; on=all-gas; }; dependencies = { module=install-gprofng; on=install-opcodes; }; dependencies = { module=install-gprofng; on=install-bfd; }; -dependencies = { module=configure-ld; on=configure-intl; }; +dependencies = { module=configure-ld; on=configure-gettext; }; dependencies = { module=all-ld; on=all-libiberty; }; dependencies = { module=all-ld; on=all-bfd; }; dependencies = { module=all-ld; on=all-opcodes; }; dependencies = { module=all-ld; on=all-build-bison; }; dependencies = { module=all-ld; on=all-build-flex; }; -dependencies = { module=all-ld; on=all-intl; }; +dependencies = { module=all-ld; on=all-gettext; }; dependencies = { module=all-ld; on=all-gas; }; dependencies = { module=all-ld; on=all-binutils; }; dependencies = { module=install-ld; on=install-gold; }; dependencies = { module=install-strip-ld; on=install-strip-gold; }; -dependencies = { module=configure-gold; on=configure-intl; }; +dependencies = { module=configure-gold; on=configure-gettext; }; dependencies = { module=all-gold; on=all-libiberty; }; -dependencies = { module=all-gold; on=all-intl; }; +dependencies = { module=all-gold; on=all-gettext; }; dependencies = { module=all-gold; on=all-bfd; }; dependencies = { module=all-gold; on=all-build-bison; }; dependencies = { module=all-gold; on=all-gas; }; dependencies = { module=check-gold; on=all-binutils; }; dependencies = { module=check-gold; on=all-gas; }; -dependencies = { module=configure-opcodes; on=configure-intl; }; +dependencies = { module=configure-opcodes; on=configure-gettext; }; dependencies = { module=all-opcodes; on=all-bfd; }; dependencies = { module=all-opcodes; on=all-libiberty; }; -dependencies = { module=all-opcodes; on=all-intl; }; +dependencies = { module=all-opcodes; on=all-gettext; }; // Other host modules in the 'src' repository. dependencies = { module=all-dejagnu; on=all-tcl; }; @@ -586,8 +592,8 @@ dependencies = { module=install-sid; on=install-tk; }; dependencies = { module=install-strip-sid; on=install-strip-tk; }; dependencies = { module=configure-sim; on=all-gnulib; }; -dependencies = { module=configure-sim; on=configure-intl; }; -dependencies = { module=all-sim; on=all-intl; }; +dependencies = { module=configure-sim; on=configure-gettext; }; +dependencies = { module=all-sim; on=all-gettext; }; dependencies = { module=all-sim; on=all-libiberty; }; dependencies = { module=all-sim; on=all-bfd; }; dependencies = { module=all-sim; on=all-opcodes; }; @@ -602,7 +608,7 @@ dependencies = { module=all-libctf; on=all-bfd; }; dependencies = { module=all-libctf; on=all-zlib; }; // So that checking for ELF support in BFD from libctf configure is possible. dependencies = { module=configure-libctf; on=all-bfd; }; -dependencies = { module=configure-libctf; on=all-intl; }; +dependencies = { module=configure-libctf; on=all-gettext; }; dependencies = { module=configure-libctf; on=all-zlib; }; dependencies = { module=configure-libctf; on=all-libiconv; }; dependencies = { module=check-libctf; on=all-ld; }; @@ -615,13 +621,13 @@ dependencies = { module=distclean-gnulib; on=distclean-gdbserver; }; dependencies = { module=distclean-gnulib; on=distclean-sim; }; // Warning, these are not well tested. -dependencies = { module=all-bison; on=all-intl; }; +dependencies = { module=all-bison; on=all-gettext; }; dependencies = { module=all-bison; on=all-build-texinfo; }; dependencies = { module=all-flex; on=all-build-bison; }; -dependencies = { module=all-flex; on=all-intl; }; +dependencies = { module=all-flex; on=all-gettext; }; dependencies = { module=all-flex; on=all-m4; }; dependencies = { module=all-flex; on=all-build-texinfo; }; -dependencies = { module=all-m4; on=all-intl; }; +dependencies = { module=all-m4; on=all-gettext; }; dependencies = { module=all-m4; on=all-build-texinfo; }; // Target modules. These can also have dependencies on the language diff --git a/Makefile.in b/Makefile.in index efe3565..6903cbb 100644 --- a/Makefile.in +++ b/Makefile.in @@ -763,7 +763,7 @@ TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs: # This is the list of directories that may be needed in RPATH_ENVVAR # so that programs built for the host machine work. -HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl) +HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_gettext) # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch @if gcc @@ -791,6 +791,11 @@ HOST_LIB_PATH_isl = \ $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs: @endif isl +@if gettext +HOST_LIB_PATH_gettext = \ + $$r/$(HOST_SUBDIR)/gettext/intl/.libs:$$r/$(HOST_SUBDIR)/prev-gettext/intl/.libs: +@endif gettext + CXX_FOR_TARGET_FLAG_TO_PASS = \ "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" @@ -1093,7 +1098,7 @@ configure-host: \ maybe-configure-gold \ maybe-configure-gprof \ maybe-configure-gprofng \ - maybe-configure-intl \ + maybe-configure-gettext \ maybe-configure-tcl \ maybe-configure-itcl \ maybe-configure-ld \ @@ -1247,9 +1252,9 @@ all-host: maybe-all-gold @endif gold-no-bootstrap all-host: maybe-all-gprof all-host: maybe-all-gprofng -@if intl-no-bootstrap -all-host: maybe-all-intl -@endif intl-no-bootstrap +@if gettext-no-bootstrap +all-host: maybe-all-gettext +@endif gettext-no-bootstrap all-host: maybe-all-tcl all-host: maybe-all-itcl @if ld-no-bootstrap @@ -1387,7 +1392,7 @@ info-host: maybe-info-isl info-host: maybe-info-gold info-host: maybe-info-gprof info-host: maybe-info-gprofng -info-host: maybe-info-intl +info-host: maybe-info-gettext info-host: maybe-info-tcl info-host: maybe-info-itcl info-host: maybe-info-ld @@ -1478,7 +1483,7 @@ dvi-host: maybe-dvi-isl dvi-host: maybe-dvi-gold dvi-host: maybe-dvi-gprof dvi-host: maybe-dvi-gprofng -dvi-host: maybe-dvi-intl +dvi-host: maybe-dvi-gettext dvi-host: maybe-dvi-tcl dvi-host: maybe-dvi-itcl dvi-host: maybe-dvi-ld @@ -1569,7 +1574,7 @@ pdf-host: maybe-pdf-isl pdf-host: maybe-pdf-gold pdf-host: maybe-pdf-gprof pdf-host: maybe-pdf-gprofng -pdf-host: maybe-pdf-intl +pdf-host: maybe-pdf-gettext pdf-host: maybe-pdf-tcl pdf-host: maybe-pdf-itcl pdf-host: maybe-pdf-ld @@ -1660,7 +1665,7 @@ html-host: maybe-html-isl html-host: maybe-html-gold html-host: maybe-html-gprof html-host: maybe-html-gprofng -html-host: maybe-html-intl +html-host: maybe-html-gettext html-host: maybe-html-tcl html-host: maybe-html-itcl html-host: maybe-html-ld @@ -1751,7 +1756,7 @@ TAGS-host: maybe-TAGS-isl TAGS-host: maybe-TAGS-gold TAGS-host: maybe-TAGS-gprof TAGS-host: maybe-TAGS-gprofng -TAGS-host: maybe-TAGS-intl +TAGS-host: maybe-TAGS-gettext TAGS-host: maybe-TAGS-tcl TAGS-host: maybe-TAGS-itcl TAGS-host: maybe-TAGS-ld @@ -1842,7 +1847,7 @@ install-info-host: maybe-install-info-isl install-info-host: maybe-install-info-gold install-info-host: maybe-install-info-gprof install-info-host: maybe-install-info-gprofng -install-info-host: maybe-install-info-intl +install-info-host: maybe-install-info-gettext install-info-host: maybe-install-info-tcl install-info-host: maybe-install-info-itcl install-info-host: maybe-install-info-ld @@ -1933,7 +1938,7 @@ install-dvi-host: maybe-install-dvi-isl install-dvi-host: maybe-install-dvi-gold install-dvi-host: maybe-install-dvi-gprof install-dvi-host: maybe-install-dvi-gprofng -install-dvi-host: maybe-install-dvi-intl +install-dvi-host: maybe-install-dvi-gettext install-dvi-host: maybe-install-dvi-tcl install-dvi-host: maybe-install-dvi-itcl install-dvi-host: maybe-install-dvi-ld @@ -2024,7 +2029,7 @@ install-pdf-host: maybe-install-pdf-isl install-pdf-host: maybe-install-pdf-gold install-pdf-host: maybe-install-pdf-gprof install-pdf-host: maybe-install-pdf-gprofng -install-pdf-host: maybe-install-pdf-intl +install-pdf-host: maybe-install-pdf-gettext install-pdf-host: maybe-install-pdf-tcl install-pdf-host: maybe-install-pdf-itcl install-pdf-host: maybe-install-pdf-ld @@ -2115,7 +2120,7 @@ install-html-host: maybe-install-html-isl install-html-host: maybe-install-html-gold install-html-host: maybe-install-html-gprof install-html-host: maybe-install-html-gprofng -install-html-host: maybe-install-html-intl +install-html-host: maybe-install-html-gettext install-html-host: maybe-install-html-tcl install-html-host: maybe-install-html-itcl install-html-host: maybe-install-html-ld @@ -2206,7 +2211,7 @@ installcheck-host: maybe-installcheck-isl installcheck-host: maybe-installcheck-gold installcheck-host: maybe-installcheck-gprof installcheck-host: maybe-installcheck-gprofng -installcheck-host: maybe-installcheck-intl +installcheck-host: maybe-installcheck-gettext installcheck-host: maybe-installcheck-tcl installcheck-host: maybe-installcheck-itcl installcheck-host: maybe-installcheck-ld @@ -2297,7 +2302,7 @@ mostlyclean-host: maybe-mostlyclean-isl mostlyclean-host: maybe-mostlyclean-gold mostlyclean-host: maybe-mostlyclean-gprof mostlyclean-host: maybe-mostlyclean-gprofng -mostlyclean-host: maybe-mostlyclean-intl +mostlyclean-host: maybe-mostlyclean-gettext mostlyclean-host: maybe-mostlyclean-tcl mostlyclean-host: maybe-mostlyclean-itcl mostlyclean-host: maybe-mostlyclean-ld @@ -2388,7 +2393,7 @@ clean-host: maybe-clean-isl clean-host: maybe-clean-gold clean-host: maybe-clean-gprof clean-host: maybe-clean-gprofng -clean-host: maybe-clean-intl +clean-host: maybe-clean-gettext clean-host: maybe-clean-tcl clean-host: maybe-clean-itcl clean-host: maybe-clean-ld @@ -2479,7 +2484,7 @@ distclean-host: maybe-distclean-isl distclean-host: maybe-distclean-gold distclean-host: maybe-distclean-gprof distclean-host: maybe-distclean-gprofng -distclean-host: maybe-distclean-intl +distclean-host: maybe-distclean-gettext distclean-host: maybe-distclean-tcl distclean-host: maybe-distclean-itcl distclean-host: maybe-distclean-ld @@ -2570,7 +2575,7 @@ maintainer-clean-host: maybe-maintainer-clean-isl maintainer-clean-host: maybe-maintainer-clean-gold maintainer-clean-host: maybe-maintainer-clean-gprof maintainer-clean-host: maybe-maintainer-clean-gprofng -maintainer-clean-host: maybe-maintainer-clean-intl +maintainer-clean-host: maybe-maintainer-clean-gettext maintainer-clean-host: maybe-maintainer-clean-tcl maintainer-clean-host: maybe-maintainer-clean-itcl maintainer-clean-host: maybe-maintainer-clean-ld @@ -2719,7 +2724,7 @@ check-host: \ maybe-check-gold \ maybe-check-gprof \ maybe-check-gprofng \ - maybe-check-intl \ + maybe-check-gettext \ maybe-check-tcl \ maybe-check-itcl \ maybe-check-ld \ @@ -2857,7 +2862,7 @@ install-host-nogcc: \ maybe-install-gold \ maybe-install-gprof \ maybe-install-gprofng \ - maybe-install-intl \ + maybe-install-gettext \ maybe-install-tcl \ maybe-install-itcl \ maybe-install-ld \ @@ -2913,7 +2918,7 @@ install-host: \ maybe-install-gold \ maybe-install-gprof \ maybe-install-gprofng \ - maybe-install-intl \ + maybe-install-gettext \ maybe-install-tcl \ maybe-install-itcl \ maybe-install-ld \ @@ -3024,7 +3029,7 @@ install-strip-host: \ maybe-install-strip-gold \ maybe-install-strip-gprof \ maybe-install-strip-gprofng \ - maybe-install-strip-intl \ + maybe-install-strip-gettext \ maybe-install-strip-tcl \ maybe-install-strip-itcl \ maybe-install-strip-ld \ @@ -19792,371 +19797,380 @@ maintainer-clean-gprofng: -.PHONY: configure-intl maybe-configure-intl -maybe-configure-intl: +.PHONY: configure-gettext maybe-configure-gettext +maybe-configure-gettext: @if gcc-bootstrap -configure-intl: stage_current +configure-gettext: stage_current @endif gcc-bootstrap -@if intl -maybe-configure-intl: configure-intl -configure-intl: +@if gettext +maybe-configure-gettext: configure-gettext +configure-gettext: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \ + test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \ $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/intl; \ - cd "$(HOST_SUBDIR)/intl" || exit 1; \ + echo Configuring in $(HOST_SUBDIR)/gettext; \ + cd "$(HOST_SUBDIR)/gettext" || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ esac; \ - module_srcdir=intl; \ + module_srcdir=gettext/gettext-runtime; \ $(SHELL) \ $$s/$$module_srcdir/configure \ --srcdir=$${topdir}/$$module_srcdir \ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} \ + --target=${target_alias} --disable-shared --disable-java --disable-csharp --with-pic \ || exit 1 -@endif intl +@endif gettext -.PHONY: configure-stage1-intl maybe-configure-stage1-intl -maybe-configure-stage1-intl: -@if intl-bootstrap -maybe-configure-stage1-intl: configure-stage1-intl -configure-stage1-intl: +.PHONY: configure-stage1-gettext maybe-configure-stage1-gettext +maybe-configure-stage1-gettext: +@if gettext-bootstrap +maybe-configure-stage1-gettext: configure-stage1-gettext +configure-stage1-gettext: @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ + test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \ $(HOST_EXPORTS) \ CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ + echo Configuring stage 1 in $(HOST_SUBDIR)/gettext; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \ + cd $(HOST_SUBDIR)/gettext || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ esac; \ - module_srcdir=intl; \ + module_srcdir=gettext/gettext-runtime; \ $(SHELL) $$s/$$module_srcdir/configure \ --srcdir=$${topdir}/$$module_srcdir \ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ --target=${target_alias} \ \ - $(STAGE1_CONFIGURE_FLAGS) -@endif intl-bootstrap - -.PHONY: configure-stage2-intl maybe-configure-stage2-intl -maybe-configure-stage2-intl: -@if intl-bootstrap -maybe-configure-stage2-intl: configure-stage2-intl -configure-stage2-intl: + $(STAGE1_CONFIGURE_FLAGS) \ + --disable-shared --disable-java --disable-csharp --with-pic +@endif gettext-bootstrap + +.PHONY: configure-stage2-gettext maybe-configure-stage2-gettext +maybe-configure-stage2-gettext: +@if gettext-bootstrap +maybe-configure-stage2-gettext: configure-stage2-gettext +configure-stage2-gettext: @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ + test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ + echo Configuring stage 2 in $(HOST_SUBDIR)/gettext; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \ + cd $(HOST_SUBDIR)/gettext || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ esac; \ - module_srcdir=intl; \ + module_srcdir=gettext/gettext-runtime; \ $(SHELL) $$s/$$module_srcdir/configure \ --srcdir=$${topdir}/$$module_srcdir \ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) -@endif intl-bootstrap - -.PHONY: configure-stage3-intl maybe-configure-stage3-intl -maybe-configure-stage3-intl: -@if intl-bootstrap -maybe-configure-stage3-intl: configure-stage3-intl -configure-stage3-intl: + $(STAGE2_CONFIGURE_FLAGS) \ + --disable-shared --disable-java --disable-csharp --with-pic +@endif gettext-bootstrap + +.PHONY: configure-stage3-gettext maybe-configure-stage3-gettext +maybe-configure-stage3-gettext: +@if gettext-bootstrap +maybe-configure-stage3-gettext: configure-stage3-gettext +configure-stage3-gettext: @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ + test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ + echo Configuring stage 3 in $(HOST_SUBDIR)/gettext; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \ + cd $(HOST_SUBDIR)/gettext || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ esac; \ - module_srcdir=intl; \ + module_srcdir=gettext/gettext-runtime; \ $(SHELL) $$s/$$module_srcdir/configure \ --srcdir=$${topdir}/$$module_srcdir \ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) -@endif intl-bootstrap - -.PHONY: configure-stage4-intl maybe-configure-stage4-intl -maybe-configure-stage4-intl: -@if intl-bootstrap -maybe-configure-stage4-intl: configure-stage4-intl -configure-stage4-intl: + $(STAGE3_CONFIGURE_FLAGS) \ + --disable-shared --disable-java --disable-csharp --with-pic +@endif gettext-bootstrap + +.PHONY: configure-stage4-gettext maybe-configure-stage4-gettext +maybe-configure-stage4-gettext: +@if gettext-bootstrap +maybe-configure-stage4-gettext: configure-stage4-gettext +configure-stage4-gettext: @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ + test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ + echo Configuring stage 4 in $(HOST_SUBDIR)/gettext; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \ + cd $(HOST_SUBDIR)/gettext || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ esac; \ - module_srcdir=intl; \ + module_srcdir=gettext/gettext-runtime; \ $(SHELL) $$s/$$module_srcdir/configure \ --srcdir=$${topdir}/$$module_srcdir \ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) -@endif intl-bootstrap - -.PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl -maybe-configure-stageprofile-intl: -@if intl-bootstrap -maybe-configure-stageprofile-intl: configure-stageprofile-intl -configure-stageprofile-intl: + $(STAGE4_CONFIGURE_FLAGS) \ + --disable-shared --disable-java --disable-csharp --with-pic +@endif gettext-bootstrap + +.PHONY: configure-stageprofile-gettext maybe-configure-stageprofile-gettext +maybe-configure-stageprofile-gettext: +@if gettext-bootstrap +maybe-configure-stageprofile-gettext: configure-stageprofile-gettext +configure-stageprofile-gettext: @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ + test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/intl; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ + echo Configuring stage profile in $(HOST_SUBDIR)/gettext; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \ + cd $(HOST_SUBDIR)/gettext || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ esac; \ - module_srcdir=intl; \ + module_srcdir=gettext/gettext-runtime; \ $(SHELL) $$s/$$module_srcdir/configure \ --srcdir=$${topdir}/$$module_srcdir \ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) -@endif intl-bootstrap - -.PHONY: configure-stagetrain-intl maybe-configure-stagetrain-intl -maybe-configure-stagetrain-intl: -@if intl-bootstrap -maybe-configure-stagetrain-intl: configure-stagetrain-intl -configure-stagetrain-intl: + $(STAGEprofile_CONFIGURE_FLAGS) \ + --disable-shared --disable-java --disable-csharp --with-pic +@endif gettext-bootstrap + +.PHONY: configure-stagetrain-gettext maybe-configure-stagetrain-gettext +maybe-configure-stagetrain-gettext: +@if gettext-bootstrap +maybe-configure-stagetrain-gettext: configure-stagetrain-gettext +configure-stagetrain-gettext: @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGEtrain_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ + test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \ CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \ LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage train in $(HOST_SUBDIR)/intl; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ + echo Configuring stage train in $(HOST_SUBDIR)/gettext; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \ + cd $(HOST_SUBDIR)/gettext || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ esac; \ - module_srcdir=intl; \ + module_srcdir=gettext/gettext-runtime; \ $(SHELL) $$s/$$module_srcdir/configure \ --srcdir=$${topdir}/$$module_srcdir \ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEtrain_CONFIGURE_FLAGS) -@endif intl-bootstrap - -.PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl -maybe-configure-stagefeedback-intl: -@if intl-bootstrap -maybe-configure-stagefeedback-intl: configure-stagefeedback-intl -configure-stagefeedback-intl: + $(STAGEtrain_CONFIGURE_FLAGS) \ + --disable-shared --disable-java --disable-csharp --with-pic +@endif gettext-bootstrap + +.PHONY: configure-stagefeedback-gettext maybe-configure-stagefeedback-gettext +maybe-configure-stagefeedback-gettext: +@if gettext-bootstrap +maybe-configure-stagefeedback-gettext: configure-stagefeedback-gettext +configure-stagefeedback-gettext: @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ + test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ + echo Configuring stage feedback in $(HOST_SUBDIR)/gettext; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \ + cd $(HOST_SUBDIR)/gettext || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ esac; \ - module_srcdir=intl; \ + module_srcdir=gettext/gettext-runtime; \ $(SHELL) $$s/$$module_srcdir/configure \ --srcdir=$${topdir}/$$module_srcdir \ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) -@endif intl-bootstrap - -.PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl -maybe-configure-stageautoprofile-intl: -@if intl-bootstrap -maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl -configure-stageautoprofile-intl: + $(STAGEfeedback_CONFIGURE_FLAGS) \ + --disable-shared --disable-java --disable-csharp --with-pic +@endif gettext-bootstrap + +.PHONY: configure-stageautoprofile-gettext maybe-configure-stageautoprofile-gettext +maybe-configure-stageautoprofile-gettext: +@if gettext-bootstrap +maybe-configure-stageautoprofile-gettext: configure-stageautoprofile-gettext +configure-stageautoprofile-gettext: @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGEautoprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ + test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \ CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \ LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ + echo Configuring stage autoprofile in $(HOST_SUBDIR)/gettext; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \ + cd $(HOST_SUBDIR)/gettext || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ esac; \ - module_srcdir=intl; \ + module_srcdir=gettext/gettext-runtime; \ $(SHELL) $$s/$$module_srcdir/configure \ --srcdir=$${topdir}/$$module_srcdir \ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEautoprofile_CONFIGURE_FLAGS) -@endif intl-bootstrap - -.PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl -maybe-configure-stageautofeedback-intl: -@if intl-bootstrap -maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl -configure-stageautofeedback-intl: + $(STAGEautoprofile_CONFIGURE_FLAGS) \ + --disable-shared --disable-java --disable-csharp --with-pic +@endif gettext-bootstrap + +.PHONY: configure-stageautofeedback-gettext maybe-configure-stageautofeedback-gettext +maybe-configure-stageautofeedback-gettext: +@if gettext-bootstrap +maybe-configure-stageautofeedback-gettext: configure-stageautofeedback-gettext +configure-stageautofeedback-gettext: @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGEautofeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ + test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \ CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \ LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ + echo Configuring stage autofeedback in $(HOST_SUBDIR)/gettext; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \ + cd $(HOST_SUBDIR)/gettext || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ esac; \ - module_srcdir=intl; \ + module_srcdir=gettext/gettext-runtime; \ $(SHELL) $$s/$$module_srcdir/configure \ --srcdir=$${topdir}/$$module_srcdir \ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEautofeedback_CONFIGURE_FLAGS) -@endif intl-bootstrap + $(STAGEautofeedback_CONFIGURE_FLAGS) \ + --disable-shared --disable-java --disable-csharp --with-pic +@endif gettext-bootstrap -.PHONY: all-intl maybe-all-intl -maybe-all-intl: +.PHONY: all-gettext maybe-all-gettext +maybe-all-gettext: @if gcc-bootstrap -all-intl: stage_current +all-gettext: stage_current @endif gcc-bootstrap -@if intl -TARGET-intl=all -maybe-all-intl: all-intl -all-intl: configure-intl +@if gettext +TARGET-gettext=all +maybe-all-gettext: all-gettext +all-gettext: configure-gettext @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/intl && \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ - $(TARGET-intl)) -@endif intl + $(TARGET-gettext)) +@endif gettext -.PHONY: all-stage1-intl maybe-all-stage1-intl -.PHONY: clean-stage1-intl maybe-clean-stage1-intl -maybe-all-stage1-intl: -maybe-clean-stage1-intl: -@if intl-bootstrap -maybe-all-stage1-intl: all-stage1-intl -all-stage1: all-stage1-intl -TARGET-stage1-intl = $(TARGET-intl) -all-stage1-intl: configure-stage1-intl +.PHONY: all-stage1-gettext maybe-all-stage1-gettext +.PHONY: clean-stage1-gettext maybe-clean-stage1-gettext +maybe-all-stage1-gettext: +maybe-clean-stage1-gettext: +@if gettext-bootstrap +maybe-all-stage1-gettext: all-stage1-gettext +all-stage1: all-stage1-gettext +TARGET-stage1-gettext = $(TARGET-gettext) +all-stage1-gettext: configure-stage1-gettext @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGE1_TFLAGS)"; \ $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ \ $(MAKE) $(BASE_FLAGS_TO_PASS) \ CFLAGS="$(STAGE1_CFLAGS)" \ @@ -20169,39 +20183,39 @@ all-stage1-intl: configure-stage1-intl $(EXTRA_HOST_FLAGS) \ $(STAGE1_FLAGS_TO_PASS) \ TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-intl) + $(TARGET-stage1-gettext) -maybe-clean-stage1-intl: clean-stage1-intl -clean-stage1: clean-stage1-intl -clean-stage1-intl: +maybe-clean-stage1-gettext: clean-stage1-gettext +clean-stage1: clean-stage1-gettext +clean-stage1-gettext: @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \ else \ - [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/stage1-gettext/Makefile ] || exit 0; \ $(MAKE) stage1-start; \ fi; \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(EXTRA_HOST_FLAGS) \ $(STAGE1_FLAGS_TO_PASS) clean -@endif intl-bootstrap - - -.PHONY: all-stage2-intl maybe-all-stage2-intl -.PHONY: clean-stage2-intl maybe-clean-stage2-intl -maybe-all-stage2-intl: -maybe-clean-stage2-intl: -@if intl-bootstrap -maybe-all-stage2-intl: all-stage2-intl -all-stage2: all-stage2-intl -TARGET-stage2-intl = $(TARGET-intl) -all-stage2-intl: configure-stage2-intl +@endif gettext-bootstrap + + +.PHONY: all-stage2-gettext maybe-all-stage2-gettext +.PHONY: clean-stage2-gettext maybe-clean-stage2-gettext +maybe-all-stage2-gettext: +maybe-clean-stage2-gettext: +@if gettext-bootstrap +maybe-all-stage2-gettext: all-stage2-gettext +all-stage2: all-stage2-gettext +TARGET-stage2-gettext = $(TARGET-gettext) +all-stage2-gettext: configure-stage2-gettext @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGE2_TFLAGS)"; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ \ $(MAKE) $(BASE_FLAGS_TO_PASS) \ CFLAGS="$(STAGE2_CFLAGS)" \ @@ -20213,38 +20227,38 @@ all-stage2-intl: configure-stage2-intl LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-intl) + $(TARGET-stage2-gettext) -maybe-clean-stage2-intl: clean-stage2-intl -clean-stage2: clean-stage2-intl -clean-stage2-intl: +maybe-clean-stage2-gettext: clean-stage2-gettext +clean-stage2: clean-stage2-gettext +clean-stage2-gettext: @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \ else \ - [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/stage2-gettext/Makefile ] || exit 0; \ $(MAKE) stage2-start; \ fi; \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean -@endif intl-bootstrap - - -.PHONY: all-stage3-intl maybe-all-stage3-intl -.PHONY: clean-stage3-intl maybe-clean-stage3-intl -maybe-all-stage3-intl: -maybe-clean-stage3-intl: -@if intl-bootstrap -maybe-all-stage3-intl: all-stage3-intl -all-stage3: all-stage3-intl -TARGET-stage3-intl = $(TARGET-intl) -all-stage3-intl: configure-stage3-intl +@endif gettext-bootstrap + + +.PHONY: all-stage3-gettext maybe-all-stage3-gettext +.PHONY: clean-stage3-gettext maybe-clean-stage3-gettext +maybe-all-stage3-gettext: +maybe-clean-stage3-gettext: +@if gettext-bootstrap +maybe-all-stage3-gettext: all-stage3-gettext +all-stage3: all-stage3-gettext +TARGET-stage3-gettext = $(TARGET-gettext) +all-stage3-gettext: configure-stage3-gettext @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGE3_TFLAGS)"; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ \ $(MAKE) $(BASE_FLAGS_TO_PASS) \ CFLAGS="$(STAGE3_CFLAGS)" \ @@ -20256,38 +20270,38 @@ all-stage3-intl: configure-stage3-intl LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-intl) + $(TARGET-stage3-gettext) -maybe-clean-stage3-intl: clean-stage3-intl -clean-stage3: clean-stage3-intl -clean-stage3-intl: +maybe-clean-stage3-gettext: clean-stage3-gettext +clean-stage3: clean-stage3-gettext +clean-stage3-gettext: @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \ else \ - [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/stage3-gettext/Makefile ] || exit 0; \ $(MAKE) stage3-start; \ fi; \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean -@endif intl-bootstrap - - -.PHONY: all-stage4-intl maybe-all-stage4-intl -.PHONY: clean-stage4-intl maybe-clean-stage4-intl -maybe-all-stage4-intl: -maybe-clean-stage4-intl: -@if intl-bootstrap -maybe-all-stage4-intl: all-stage4-intl -all-stage4: all-stage4-intl -TARGET-stage4-intl = $(TARGET-intl) -all-stage4-intl: configure-stage4-intl +@endif gettext-bootstrap + + +.PHONY: all-stage4-gettext maybe-all-stage4-gettext +.PHONY: clean-stage4-gettext maybe-clean-stage4-gettext +maybe-all-stage4-gettext: +maybe-clean-stage4-gettext: +@if gettext-bootstrap +maybe-all-stage4-gettext: all-stage4-gettext +all-stage4: all-stage4-gettext +TARGET-stage4-gettext = $(TARGET-gettext) +all-stage4-gettext: configure-stage4-gettext @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGE4_TFLAGS)"; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ \ $(MAKE) $(BASE_FLAGS_TO_PASS) \ CFLAGS="$(STAGE4_CFLAGS)" \ @@ -20299,38 +20313,38 @@ all-stage4-intl: configure-stage4-intl LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-intl) + $(TARGET-stage4-gettext) -maybe-clean-stage4-intl: clean-stage4-intl -clean-stage4: clean-stage4-intl -clean-stage4-intl: +maybe-clean-stage4-gettext: clean-stage4-gettext +clean-stage4: clean-stage4-gettext +clean-stage4-gettext: @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \ else \ - [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/stage4-gettext/Makefile ] || exit 0; \ $(MAKE) stage4-start; \ fi; \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean -@endif intl-bootstrap - - -.PHONY: all-stageprofile-intl maybe-all-stageprofile-intl -.PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl -maybe-all-stageprofile-intl: -maybe-clean-stageprofile-intl: -@if intl-bootstrap -maybe-all-stageprofile-intl: all-stageprofile-intl -all-stageprofile: all-stageprofile-intl -TARGET-stageprofile-intl = $(TARGET-intl) -all-stageprofile-intl: configure-stageprofile-intl +@endif gettext-bootstrap + + +.PHONY: all-stageprofile-gettext maybe-all-stageprofile-gettext +.PHONY: clean-stageprofile-gettext maybe-clean-stageprofile-gettext +maybe-all-stageprofile-gettext: +maybe-clean-stageprofile-gettext: +@if gettext-bootstrap +maybe-all-stageprofile-gettext: all-stageprofile-gettext +all-stageprofile: all-stageprofile-gettext +TARGET-stageprofile-gettext = $(TARGET-gettext) +all-stageprofile-gettext: configure-stageprofile-gettext @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGEprofile_TFLAGS)"; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ \ $(MAKE) $(BASE_FLAGS_TO_PASS) \ CFLAGS="$(STAGEprofile_CFLAGS)" \ @@ -20342,38 +20356,38 @@ all-stageprofile-intl: configure-stageprofile-intl LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-intl) + $(TARGET-stageprofile-gettext) -maybe-clean-stageprofile-intl: clean-stageprofile-intl -clean-stageprofile: clean-stageprofile-intl -clean-stageprofile-intl: +maybe-clean-stageprofile-gettext: clean-stageprofile-gettext +clean-stageprofile: clean-stageprofile-gettext +clean-stageprofile-gettext: @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \ else \ - [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/stageprofile-gettext/Makefile ] || exit 0; \ $(MAKE) stageprofile-start; \ fi; \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean -@endif intl-bootstrap - - -.PHONY: all-stagetrain-intl maybe-all-stagetrain-intl -.PHONY: clean-stagetrain-intl maybe-clean-stagetrain-intl -maybe-all-stagetrain-intl: -maybe-clean-stagetrain-intl: -@if intl-bootstrap -maybe-all-stagetrain-intl: all-stagetrain-intl -all-stagetrain: all-stagetrain-intl -TARGET-stagetrain-intl = $(TARGET-intl) -all-stagetrain-intl: configure-stagetrain-intl +@endif gettext-bootstrap + + +.PHONY: all-stagetrain-gettext maybe-all-stagetrain-gettext +.PHONY: clean-stagetrain-gettext maybe-clean-stagetrain-gettext +maybe-all-stagetrain-gettext: +maybe-clean-stagetrain-gettext: +@if gettext-bootstrap +maybe-all-stagetrain-gettext: all-stagetrain-gettext +all-stagetrain: all-stagetrain-gettext +TARGET-stagetrain-gettext = $(TARGET-gettext) +all-stagetrain-gettext: configure-stagetrain-gettext @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGEtrain_TFLAGS)"; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ \ $(MAKE) $(BASE_FLAGS_TO_PASS) \ CFLAGS="$(STAGEtrain_CFLAGS)" \ @@ -20385,38 +20399,38 @@ all-stagetrain-intl: configure-stagetrain-intl LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ TFLAGS="$(STAGEtrain_TFLAGS)" \ - $(TARGET-stagetrain-intl) + $(TARGET-stagetrain-gettext) -maybe-clean-stagetrain-intl: clean-stagetrain-intl -clean-stagetrain: clean-stagetrain-intl -clean-stagetrain-intl: +maybe-clean-stagetrain-gettext: clean-stagetrain-gettext +clean-stagetrain: clean-stagetrain-gettext +clean-stagetrain-gettext: @if [ $(current_stage) = stagetrain ]; then \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \ else \ - [ -f $(HOST_SUBDIR)/stagetrain-intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/stagetrain-gettext/Makefile ] || exit 0; \ $(MAKE) stagetrain-start; \ fi; \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean -@endif intl-bootstrap - - -.PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl -.PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl -maybe-all-stagefeedback-intl: -maybe-clean-stagefeedback-intl: -@if intl-bootstrap -maybe-all-stagefeedback-intl: all-stagefeedback-intl -all-stagefeedback: all-stagefeedback-intl -TARGET-stagefeedback-intl = $(TARGET-intl) -all-stagefeedback-intl: configure-stagefeedback-intl +@endif gettext-bootstrap + + +.PHONY: all-stagefeedback-gettext maybe-all-stagefeedback-gettext +.PHONY: clean-stagefeedback-gettext maybe-clean-stagefeedback-gettext +maybe-all-stagefeedback-gettext: +maybe-clean-stagefeedback-gettext: +@if gettext-bootstrap +maybe-all-stagefeedback-gettext: all-stagefeedback-gettext +all-stagefeedback: all-stagefeedback-gettext +TARGET-stagefeedback-gettext = $(TARGET-gettext) +all-stagefeedback-gettext: configure-stagefeedback-gettext @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGEfeedback_TFLAGS)"; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ \ $(MAKE) $(BASE_FLAGS_TO_PASS) \ CFLAGS="$(STAGEfeedback_CFLAGS)" \ @@ -20428,38 +20442,38 @@ all-stagefeedback-intl: configure-stagefeedback-intl LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-intl) + $(TARGET-stagefeedback-gettext) -maybe-clean-stagefeedback-intl: clean-stagefeedback-intl -clean-stagefeedback: clean-stagefeedback-intl -clean-stagefeedback-intl: +maybe-clean-stagefeedback-gettext: clean-stagefeedback-gettext +clean-stagefeedback: clean-stagefeedback-gettext +clean-stagefeedback-gettext: @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \ else \ - [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/stagefeedback-gettext/Makefile ] || exit 0; \ $(MAKE) stagefeedback-start; \ fi; \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean -@endif intl-bootstrap - - -.PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl -.PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl -maybe-all-stageautoprofile-intl: -maybe-clean-stageautoprofile-intl: -@if intl-bootstrap -maybe-all-stageautoprofile-intl: all-stageautoprofile-intl -all-stageautoprofile: all-stageautoprofile-intl -TARGET-stageautoprofile-intl = $(TARGET-intl) -all-stageautoprofile-intl: configure-stageautoprofile-intl +@endif gettext-bootstrap + + +.PHONY: all-stageautoprofile-gettext maybe-all-stageautoprofile-gettext +.PHONY: clean-stageautoprofile-gettext maybe-clean-stageautoprofile-gettext +maybe-all-stageautoprofile-gettext: +maybe-clean-stageautoprofile-gettext: +@if gettext-bootstrap +maybe-all-stageautoprofile-gettext: all-stageautoprofile-gettext +all-stageautoprofile: all-stageautoprofile-gettext +TARGET-stageautoprofile-gettext = $(TARGET-gettext) +all-stageautoprofile-gettext: configure-stageautoprofile-gettext @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGEautoprofile_TFLAGS)"; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ $$s/gcc/config/i386/$(AUTO_PROFILE) \ $(MAKE) $(BASE_FLAGS_TO_PASS) \ CFLAGS="$(STAGEautoprofile_CFLAGS)" \ @@ -20471,38 +20485,38 @@ all-stageautoprofile-intl: configure-stageautoprofile-intl LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ TFLAGS="$(STAGEautoprofile_TFLAGS)" \ - $(TARGET-stageautoprofile-intl) + $(TARGET-stageautoprofile-gettext) -maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl -clean-stageautoprofile: clean-stageautoprofile-intl -clean-stageautoprofile-intl: +maybe-clean-stageautoprofile-gettext: clean-stageautoprofile-gettext +clean-stageautoprofile: clean-stageautoprofile-gettext +clean-stageautoprofile-gettext: @if [ $(current_stage) = stageautoprofile ]; then \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \ else \ - [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/stageautoprofile-gettext/Makefile ] || exit 0; \ $(MAKE) stageautoprofile-start; \ fi; \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean -@endif intl-bootstrap - - -.PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl -.PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl -maybe-all-stageautofeedback-intl: -maybe-clean-stageautofeedback-intl: -@if intl-bootstrap -maybe-all-stageautofeedback-intl: all-stageautofeedback-intl -all-stageautofeedback: all-stageautofeedback-intl -TARGET-stageautofeedback-intl = $(TARGET-intl) -all-stageautofeedback-intl: configure-stageautofeedback-intl +@endif gettext-bootstrap + + +.PHONY: all-stageautofeedback-gettext maybe-all-stageautofeedback-gettext +.PHONY: clean-stageautofeedback-gettext maybe-clean-stageautofeedback-gettext +maybe-all-stageautofeedback-gettext: +maybe-clean-stageautofeedback-gettext: +@if gettext-bootstrap +maybe-all-stageautofeedback-gettext: all-stageautofeedback-gettext +all-stageautofeedback: all-stageautofeedback-gettext +TARGET-stageautofeedback-gettext = $(TARGET-gettext) +all-stageautofeedback-gettext: configure-stageautofeedback-gettext @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ TFLAGS="$(STAGEautofeedback_TFLAGS)"; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ \ $(MAKE) $(BASE_FLAGS_TO_PASS) \ CFLAGS="$(STAGEautofeedback_CFLAGS)" \ @@ -20514,88 +20528,76 @@ all-stageautofeedback-intl: configure-stageautofeedback-intl LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \ - $(TARGET-stageautofeedback-intl) + $(TARGET-stageautofeedback-gettext) -maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl -clean-stageautofeedback: clean-stageautofeedback-intl -clean-stageautofeedback-intl: +maybe-clean-stageautofeedback-gettext: clean-stageautofeedback-gettext +clean-stageautofeedback: clean-stageautofeedback-gettext +clean-stageautofeedback-gettext: @if [ $(current_stage) = stageautofeedback ]; then \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \ else \ - [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \ + [ -f $(HOST_SUBDIR)/stageautofeedback-gettext/Makefile ] || exit 0; \ $(MAKE) stageautofeedback-start; \ fi; \ - cd $(HOST_SUBDIR)/intl && \ + cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean -@endif intl-bootstrap +@endif gettext-bootstrap -.PHONY: check-intl maybe-check-intl -maybe-check-intl: -@if intl -maybe-check-intl: check-intl +.PHONY: check-gettext maybe-check-gettext +maybe-check-gettext: +@if gettext +maybe-check-gettext: check-gettext -check-intl: +check-gettext: @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/intl && \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check) -@endif intl +@endif gettext -.PHONY: install-intl maybe-install-intl -maybe-install-intl: -@if intl -maybe-install-intl: install-intl +.PHONY: install-gettext maybe-install-gettext +maybe-install-gettext: +@if gettext +maybe-install-gettext: install-gettext -install-intl: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) install) +install-gettext: -@endif intl +@endif gettext -.PHONY: install-strip-intl maybe-install-strip-intl -maybe-install-strip-intl: -@if intl -maybe-install-strip-intl: install-strip-intl +.PHONY: install-strip-gettext maybe-install-strip-gettext +maybe-install-strip-gettext: +@if gettext +maybe-install-strip-gettext: install-strip-gettext -install-strip-intl: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) +install-strip-gettext: -@endif intl +@endif gettext # Other targets (info, dvi, pdf, etc.) -.PHONY: maybe-info-intl info-intl -maybe-info-intl: -@if intl -maybe-info-intl: info-intl +.PHONY: maybe-info-gettext info-gettext +maybe-info-gettext: +@if gettext +maybe-info-gettext: info-gettext -info-intl: \ - configure-intl - @[ -f ./intl/Makefile ] || exit 0; \ +info-gettext: \ + configure-gettext + @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in intl"; \ - (cd $(HOST_SUBDIR)/intl && \ + echo "Doing info in gettext"; \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20603,24 +20605,24 @@ info-intl: \ info) \ || exit 1 -@endif intl +@endif gettext -.PHONY: maybe-dvi-intl dvi-intl -maybe-dvi-intl: -@if intl -maybe-dvi-intl: dvi-intl +.PHONY: maybe-dvi-gettext dvi-gettext +maybe-dvi-gettext: +@if gettext +maybe-dvi-gettext: dvi-gettext -dvi-intl: \ - configure-intl - @[ -f ./intl/Makefile ] || exit 0; \ +dvi-gettext: \ + configure-gettext + @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in intl"; \ - (cd $(HOST_SUBDIR)/intl && \ + echo "Doing dvi in gettext"; \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20628,24 +20630,24 @@ dvi-intl: \ dvi) \ || exit 1 -@endif intl +@endif gettext -.PHONY: maybe-pdf-intl pdf-intl -maybe-pdf-intl: -@if intl -maybe-pdf-intl: pdf-intl +.PHONY: maybe-pdf-gettext pdf-gettext +maybe-pdf-gettext: +@if gettext +maybe-pdf-gettext: pdf-gettext -pdf-intl: \ - configure-intl - @[ -f ./intl/Makefile ] || exit 0; \ +pdf-gettext: \ + configure-gettext + @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing pdf in intl"; \ - (cd $(HOST_SUBDIR)/intl && \ + echo "Doing pdf in gettext"; \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20653,24 +20655,24 @@ pdf-intl: \ pdf) \ || exit 1 -@endif intl +@endif gettext -.PHONY: maybe-html-intl html-intl -maybe-html-intl: -@if intl -maybe-html-intl: html-intl +.PHONY: maybe-html-gettext html-gettext +maybe-html-gettext: +@if gettext +maybe-html-gettext: html-gettext -html-intl: \ - configure-intl - @[ -f ./intl/Makefile ] || exit 0; \ +html-gettext: \ + configure-gettext + @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing html in intl"; \ - (cd $(HOST_SUBDIR)/intl && \ + echo "Doing html in gettext"; \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20678,24 +20680,24 @@ html-intl: \ html) \ || exit 1 -@endif intl +@endif gettext -.PHONY: maybe-TAGS-intl TAGS-intl -maybe-TAGS-intl: -@if intl -maybe-TAGS-intl: TAGS-intl +.PHONY: maybe-TAGS-gettext TAGS-gettext +maybe-TAGS-gettext: +@if gettext +maybe-TAGS-gettext: TAGS-gettext -TAGS-intl: \ - configure-intl - @[ -f ./intl/Makefile ] || exit 0; \ +TAGS-gettext: \ + configure-gettext + @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in intl"; \ - (cd $(HOST_SUBDIR)/intl && \ + echo "Doing TAGS in gettext"; \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20703,25 +20705,25 @@ TAGS-intl: \ TAGS) \ || exit 1 -@endif intl +@endif gettext -.PHONY: maybe-install-info-intl install-info-intl -maybe-install-info-intl: -@if intl -maybe-install-info-intl: install-info-intl +.PHONY: maybe-install-info-gettext install-info-gettext +maybe-install-info-gettext: +@if gettext +maybe-install-info-gettext: install-info-gettext -install-info-intl: \ - configure-intl \ - info-intl - @[ -f ./intl/Makefile ] || exit 0; \ +install-info-gettext: \ + configure-gettext \ + info-gettext + @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in intl"; \ - (cd $(HOST_SUBDIR)/intl && \ + echo "Doing install-info in gettext"; \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20729,25 +20731,25 @@ install-info-intl: \ install-info) \ || exit 1 -@endif intl +@endif gettext -.PHONY: maybe-install-dvi-intl install-dvi-intl -maybe-install-dvi-intl: -@if intl -maybe-install-dvi-intl: install-dvi-intl +.PHONY: maybe-install-dvi-gettext install-dvi-gettext +maybe-install-dvi-gettext: +@if gettext +maybe-install-dvi-gettext: install-dvi-gettext -install-dvi-intl: \ - configure-intl \ - dvi-intl - @[ -f ./intl/Makefile ] || exit 0; \ +install-dvi-gettext: \ + configure-gettext \ + dvi-gettext + @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-dvi in intl"; \ - (cd $(HOST_SUBDIR)/intl && \ + echo "Doing install-dvi in gettext"; \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20755,25 +20757,25 @@ install-dvi-intl: \ install-dvi) \ || exit 1 -@endif intl +@endif gettext -.PHONY: maybe-install-pdf-intl install-pdf-intl -maybe-install-pdf-intl: -@if intl -maybe-install-pdf-intl: install-pdf-intl +.PHONY: maybe-install-pdf-gettext install-pdf-gettext +maybe-install-pdf-gettext: +@if gettext +maybe-install-pdf-gettext: install-pdf-gettext -install-pdf-intl: \ - configure-intl \ - pdf-intl - @[ -f ./intl/Makefile ] || exit 0; \ +install-pdf-gettext: \ + configure-gettext \ + pdf-gettext + @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-pdf in intl"; \ - (cd $(HOST_SUBDIR)/intl && \ + echo "Doing install-pdf in gettext"; \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20781,25 +20783,25 @@ install-pdf-intl: \ install-pdf) \ || exit 1 -@endif intl +@endif gettext -.PHONY: maybe-install-html-intl install-html-intl -maybe-install-html-intl: -@if intl -maybe-install-html-intl: install-html-intl +.PHONY: maybe-install-html-gettext install-html-gettext +maybe-install-html-gettext: +@if gettext +maybe-install-html-gettext: install-html-gettext -install-html-intl: \ - configure-intl \ - html-intl - @[ -f ./intl/Makefile ] || exit 0; \ +install-html-gettext: \ + configure-gettext \ + html-gettext + @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-html in intl"; \ - (cd $(HOST_SUBDIR)/intl && \ + echo "Doing install-html in gettext"; \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20807,24 +20809,24 @@ install-html-intl: \ install-html) \ || exit 1 -@endif intl +@endif gettext -.PHONY: maybe-installcheck-intl installcheck-intl -maybe-installcheck-intl: -@if intl -maybe-installcheck-intl: installcheck-intl +.PHONY: maybe-installcheck-gettext installcheck-gettext +maybe-installcheck-gettext: +@if gettext +maybe-installcheck-gettext: installcheck-gettext -installcheck-intl: \ - configure-intl - @[ -f ./intl/Makefile ] || exit 0; \ +installcheck-gettext: \ + configure-gettext + @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in intl"; \ - (cd $(HOST_SUBDIR)/intl && \ + echo "Doing installcheck in gettext"; \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20832,23 +20834,23 @@ installcheck-intl: \ installcheck) \ || exit 1 -@endif intl +@endif gettext -.PHONY: maybe-mostlyclean-intl mostlyclean-intl -maybe-mostlyclean-intl: -@if intl -maybe-mostlyclean-intl: mostlyclean-intl +.PHONY: maybe-mostlyclean-gettext mostlyclean-gettext +maybe-mostlyclean-gettext: +@if gettext +maybe-mostlyclean-gettext: mostlyclean-gettext -mostlyclean-intl: - @[ -f ./intl/Makefile ] || exit 0; \ +mostlyclean-gettext: + @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in intl"; \ - (cd $(HOST_SUBDIR)/intl && \ + echo "Doing mostlyclean in gettext"; \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20856,23 +20858,23 @@ mostlyclean-intl: mostlyclean) \ || exit 1 -@endif intl +@endif gettext -.PHONY: maybe-clean-intl clean-intl -maybe-clean-intl: -@if intl -maybe-clean-intl: clean-intl +.PHONY: maybe-clean-gettext clean-gettext +maybe-clean-gettext: +@if gettext +maybe-clean-gettext: clean-gettext -clean-intl: - @[ -f ./intl/Makefile ] || exit 0; \ +clean-gettext: + @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in intl"; \ - (cd $(HOST_SUBDIR)/intl && \ + echo "Doing clean in gettext"; \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20880,23 +20882,23 @@ clean-intl: clean) \ || exit 1 -@endif intl +@endif gettext -.PHONY: maybe-distclean-intl distclean-intl -maybe-distclean-intl: -@if intl -maybe-distclean-intl: distclean-intl +.PHONY: maybe-distclean-gettext distclean-gettext +maybe-distclean-gettext: +@if gettext +maybe-distclean-gettext: distclean-gettext -distclean-intl: - @[ -f ./intl/Makefile ] || exit 0; \ +distclean-gettext: + @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in intl"; \ - (cd $(HOST_SUBDIR)/intl && \ + echo "Doing distclean in gettext"; \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20904,23 +20906,23 @@ distclean-intl: distclean) \ || exit 1 -@endif intl +@endif gettext -.PHONY: maybe-maintainer-clean-intl maintainer-clean-intl -maybe-maintainer-clean-intl: -@if intl -maybe-maintainer-clean-intl: maintainer-clean-intl +.PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext +maybe-maintainer-clean-gettext: +@if gettext +maybe-maintainer-clean-gettext: maintainer-clean-gettext -maintainer-clean-intl: - @[ -f ./intl/Makefile ] || exit 0; \ +maintainer-clean-gettext: + @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in intl"; \ - (cd $(HOST_SUBDIR)/intl && \ + echo "Doing maintainer-clean in gettext"; \ + (cd $(HOST_SUBDIR)/gettext && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20928,7 +20930,7 @@ maintainer-clean-intl: maintainer-clean) \ || exit 1 -@endif intl +@endif gettext @@ -62408,11 +62410,11 @@ stage1-start:: mkdir stage1-gold; \ mv stage1-gold gold @endif gold -@if intl - @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \ - mkdir stage1-intl; \ - mv stage1-intl intl -@endif intl +@if gettext + @cd $(HOST_SUBDIR); [ -d stage1-gettext ] || \ + mkdir stage1-gettext; \ + mv stage1-gettext gettext +@endif gettext @if ld @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \ mkdir stage1-ld; \ @@ -62533,11 +62535,11 @@ stage1-end:: cd $(HOST_SUBDIR); mv gold stage1-gold; \ fi @endif gold -@if intl - @if test -d $(HOST_SUBDIR)/intl; then \ - cd $(HOST_SUBDIR); mv intl stage1-intl; \ +@if gettext + @if test -d $(HOST_SUBDIR)/gettext; then \ + cd $(HOST_SUBDIR); mv gettext stage1-gettext; \ fi -@endif intl +@endif gettext @if ld @if test -d $(HOST_SUBDIR)/ld; then \ cd $(HOST_SUBDIR); mv ld stage1-ld; \ @@ -62712,12 +62714,12 @@ stage2-start:: mv stage2-gold gold; \ mv stage1-gold prev-gold || test -f stage1-lean @endif gold -@if intl - @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \ - mkdir stage2-intl; \ - mv stage2-intl intl; \ - mv stage1-intl prev-intl || test -f stage1-lean -@endif intl +@if gettext + @cd $(HOST_SUBDIR); [ -d stage2-gettext ] || \ + mkdir stage2-gettext; \ + mv stage2-gettext gettext; \ + mv stage1-gettext prev-gettext || test -f stage1-lean +@endif gettext @if ld @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \ mkdir stage2-ld; \ @@ -62862,12 +62864,12 @@ stage2-end:: mv prev-gold stage1-gold; : ; \ fi @endif gold -@if intl - @if test -d $(HOST_SUBDIR)/intl; then \ - cd $(HOST_SUBDIR); mv intl stage2-intl; \ - mv prev-intl stage1-intl; : ; \ +@if gettext + @if test -d $(HOST_SUBDIR)/gettext; then \ + cd $(HOST_SUBDIR); mv gettext stage2-gettext; \ + mv prev-gettext stage1-gettext; : ; \ fi -@endif intl +@endif gettext @if ld @if test -d $(HOST_SUBDIR)/ld; then \ cd $(HOST_SUBDIR); mv ld stage2-ld; \ @@ -63078,12 +63080,12 @@ stage3-start:: mv stage3-gold gold; \ mv stage2-gold prev-gold || test -f stage2-lean @endif gold -@if intl - @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \ - mkdir stage3-intl; \ - mv stage3-intl intl; \ - mv stage2-intl prev-intl || test -f stage2-lean -@endif intl +@if gettext + @cd $(HOST_SUBDIR); [ -d stage3-gettext ] || \ + mkdir stage3-gettext; \ + mv stage3-gettext gettext; \ + mv stage2-gettext prev-gettext || test -f stage2-lean +@endif gettext @if ld @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \ mkdir stage3-ld; \ @@ -63228,12 +63230,12 @@ stage3-end:: mv prev-gold stage2-gold; : ; \ fi @endif gold -@if intl - @if test -d $(HOST_SUBDIR)/intl; then \ - cd $(HOST_SUBDIR); mv intl stage3-intl; \ - mv prev-intl stage2-intl; : ; \ +@if gettext + @if test -d $(HOST_SUBDIR)/gettext; then \ + cd $(HOST_SUBDIR); mv gettext stage3-gettext; \ + mv prev-gettext stage2-gettext; : ; \ fi -@endif intl +@endif gettext @if ld @if test -d $(HOST_SUBDIR)/ld; then \ cd $(HOST_SUBDIR); mv ld stage3-ld; \ @@ -63500,12 +63502,12 @@ stage4-start:: mv stage4-gold gold; \ mv stage3-gold prev-gold || test -f stage3-lean @endif gold -@if intl - @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \ - mkdir stage4-intl; \ - mv stage4-intl intl; \ - mv stage3-intl prev-intl || test -f stage3-lean -@endif intl +@if gettext + @cd $(HOST_SUBDIR); [ -d stage4-gettext ] || \ + mkdir stage4-gettext; \ + mv stage4-gettext gettext; \ + mv stage3-gettext prev-gettext || test -f stage3-lean +@endif gettext @if ld @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \ mkdir stage4-ld; \ @@ -63650,12 +63652,12 @@ stage4-end:: mv prev-gold stage3-gold; : ; \ fi @endif gold -@if intl - @if test -d $(HOST_SUBDIR)/intl; then \ - cd $(HOST_SUBDIR); mv intl stage4-intl; \ - mv prev-intl stage3-intl; : ; \ +@if gettext + @if test -d $(HOST_SUBDIR)/gettext; then \ + cd $(HOST_SUBDIR); mv gettext stage4-gettext; \ + mv prev-gettext stage3-gettext; : ; \ fi -@endif intl +@endif gettext @if ld @if test -d $(HOST_SUBDIR)/ld; then \ cd $(HOST_SUBDIR); mv ld stage4-ld; \ @@ -63910,12 +63912,12 @@ stageprofile-start:: mv stageprofile-gold gold; \ mv stage1-gold prev-gold || test -f stage1-lean @endif gold -@if intl - @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \ - mkdir stageprofile-intl; \ - mv stageprofile-intl intl; \ - mv stage1-intl prev-intl || test -f stage1-lean -@endif intl +@if gettext + @cd $(HOST_SUBDIR); [ -d stageprofile-gettext ] || \ + mkdir stageprofile-gettext; \ + mv stageprofile-gettext gettext; \ + mv stage1-gettext prev-gettext || test -f stage1-lean +@endif gettext @if ld @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \ mkdir stageprofile-ld; \ @@ -64060,12 +64062,12 @@ stageprofile-end:: mv prev-gold stage1-gold; : ; \ fi @endif gold -@if intl - @if test -d $(HOST_SUBDIR)/intl; then \ - cd $(HOST_SUBDIR); mv intl stageprofile-intl; \ - mv prev-intl stage1-intl; : ; \ +@if gettext + @if test -d $(HOST_SUBDIR)/gettext; then \ + cd $(HOST_SUBDIR); mv gettext stageprofile-gettext; \ + mv prev-gettext stage1-gettext; : ; \ fi -@endif intl +@endif gettext @if ld @if test -d $(HOST_SUBDIR)/ld; then \ cd $(HOST_SUBDIR); mv ld stageprofile-ld; \ @@ -64253,12 +64255,12 @@ stagetrain-start:: mv stagetrain-gold gold; \ mv stageprofile-gold prev-gold || test -f stageprofile-lean @endif gold -@if intl - @cd $(HOST_SUBDIR); [ -d stagetrain-intl ] || \ - mkdir stagetrain-intl; \ - mv stagetrain-intl intl; \ - mv stageprofile-intl prev-intl || test -f stageprofile-lean -@endif intl +@if gettext + @cd $(HOST_SUBDIR); [ -d stagetrain-gettext ] || \ + mkdir stagetrain-gettext; \ + mv stagetrain-gettext gettext; \ + mv stageprofile-gettext prev-gettext || test -f stageprofile-lean +@endif gettext @if ld @cd $(HOST_SUBDIR); [ -d stagetrain-ld ] || \ mkdir stagetrain-ld; \ @@ -64403,12 +64405,12 @@ stagetrain-end:: mv prev-gold stageprofile-gold; : ; \ fi @endif gold -@if intl - @if test -d $(HOST_SUBDIR)/intl; then \ - cd $(HOST_SUBDIR); mv intl stagetrain-intl; \ - mv prev-intl stageprofile-intl; : ; \ +@if gettext + @if test -d $(HOST_SUBDIR)/gettext; then \ + cd $(HOST_SUBDIR); mv gettext stagetrain-gettext; \ + mv prev-gettext stageprofile-gettext; : ; \ fi -@endif intl +@endif gettext @if ld @if test -d $(HOST_SUBDIR)/ld; then \ cd $(HOST_SUBDIR); mv ld stagetrain-ld; \ @@ -64596,12 +64598,12 @@ stagefeedback-start:: mv stagefeedback-gold gold; \ mv stagetrain-gold prev-gold || test -f stagetrain-lean @endif gold -@if intl - @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \ - mkdir stagefeedback-intl; \ - mv stagefeedback-intl intl; \ - mv stagetrain-intl prev-intl || test -f stagetrain-lean -@endif intl +@if gettext + @cd $(HOST_SUBDIR); [ -d stagefeedback-gettext ] || \ + mkdir stagefeedback-gettext; \ + mv stagefeedback-gettext gettext; \ + mv stagetrain-gettext prev-gettext || test -f stagetrain-lean +@endif gettext @if ld @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \ mkdir stagefeedback-ld; \ @@ -64746,12 +64748,12 @@ stagefeedback-end:: mv prev-gold stagetrain-gold; : ; \ fi @endif gold -@if intl - @if test -d $(HOST_SUBDIR)/intl; then \ - cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \ - mv prev-intl stagetrain-intl; : ; \ +@if gettext + @if test -d $(HOST_SUBDIR)/gettext; then \ + cd $(HOST_SUBDIR); mv gettext stagefeedback-gettext; \ + mv prev-gettext stagetrain-gettext; : ; \ fi -@endif intl +@endif gettext @if ld @if test -d $(HOST_SUBDIR)/ld; then \ cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \ @@ -64962,12 +64964,12 @@ stageautoprofile-start:: mv stageautoprofile-gold gold; \ mv stage1-gold prev-gold || test -f stage1-lean @endif gold -@if intl - @cd $(HOST_SUBDIR); [ -d stageautoprofile-intl ] || \ - mkdir stageautoprofile-intl; \ - mv stageautoprofile-intl intl; \ - mv stage1-intl prev-intl || test -f stage1-lean -@endif intl +@if gettext + @cd $(HOST_SUBDIR); [ -d stageautoprofile-gettext ] || \ + mkdir stageautoprofile-gettext; \ + mv stageautoprofile-gettext gettext; \ + mv stage1-gettext prev-gettext || test -f stage1-lean +@endif gettext @if ld @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \ mkdir stageautoprofile-ld; \ @@ -65112,12 +65114,12 @@ stageautoprofile-end:: mv prev-gold stage1-gold; : ; \ fi @endif gold -@if intl - @if test -d $(HOST_SUBDIR)/intl; then \ - cd $(HOST_SUBDIR); mv intl stageautoprofile-intl; \ - mv prev-intl stage1-intl; : ; \ +@if gettext + @if test -d $(HOST_SUBDIR)/gettext; then \ + cd $(HOST_SUBDIR); mv gettext stageautoprofile-gettext; \ + mv prev-gettext stage1-gettext; : ; \ fi -@endif intl +@endif gettext @if ld @if test -d $(HOST_SUBDIR)/ld; then \ cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \ @@ -65305,12 +65307,12 @@ stageautofeedback-start:: mv stageautofeedback-gold gold; \ mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean @endif gold -@if intl - @cd $(HOST_SUBDIR); [ -d stageautofeedback-intl ] || \ - mkdir stageautofeedback-intl; \ - mv stageautofeedback-intl intl; \ - mv stageautoprofile-intl prev-intl || test -f stageautoprofile-lean -@endif intl +@if gettext + @cd $(HOST_SUBDIR); [ -d stageautofeedback-gettext ] || \ + mkdir stageautofeedback-gettext; \ + mv stageautofeedback-gettext gettext; \ + mv stageautoprofile-gettext prev-gettext || test -f stageautoprofile-lean +@endif gettext @if ld @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \ mkdir stageautofeedback-ld; \ @@ -65455,12 +65457,12 @@ stageautofeedback-end:: mv prev-gold stageautoprofile-gold; : ; \ fi @endif gold -@if intl - @if test -d $(HOST_SUBDIR)/intl; then \ - cd $(HOST_SUBDIR); mv intl stageautofeedback-intl; \ - mv prev-intl stageautoprofile-intl; : ; \ +@if gettext + @if test -d $(HOST_SUBDIR)/gettext; then \ + cd $(HOST_SUBDIR); mv gettext stageautofeedback-gettext; \ + mv prev-gettext stageautoprofile-gettext; : ; \ fi -@endif intl +@endif gettext @if ld @if test -d $(HOST_SUBDIR)/ld; then \ cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \ @@ -65789,16 +65791,16 @@ all-build-libiberty: maybe-all-build-texinfo all-build-m4: maybe-all-build-texinfo all-build-fixincludes: maybe-all-build-libiberty all-build-libcpp: maybe-all-build-libiberty -configure-gcc: maybe-configure-intl -configure-stage1-gcc: maybe-configure-stage1-intl -configure-stage2-gcc: maybe-configure-stage2-intl -configure-stage3-gcc: maybe-configure-stage3-intl -configure-stage4-gcc: maybe-configure-stage4-intl -configure-stageprofile-gcc: maybe-configure-stageprofile-intl -configure-stagetrain-gcc: maybe-configure-stagetrain-intl -configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl -configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl -configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl +configure-gcc: maybe-configure-gettext +configure-stage1-gcc: maybe-configure-stage1-gettext +configure-stage2-gcc: maybe-configure-stage2-gettext +configure-stage3-gcc: maybe-configure-stage3-gettext +configure-stage4-gcc: maybe-configure-stage4-gettext +configure-stageprofile-gcc: maybe-configure-stageprofile-gettext +configure-stagetrain-gcc: maybe-configure-stagetrain-gettext +configure-stagefeedback-gcc: maybe-configure-stagefeedback-gettext +configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-gettext +configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-gettext configure-gcc: maybe-all-gmp configure-stage1-gcc: maybe-all-stage1-gmp configure-stage2-gcc: maybe-all-stage2-gmp @@ -65909,16 +65911,16 @@ all-stagetrain-gcc: all-stagetrain-libiberty all-stagefeedback-gcc: all-stagefeedback-libiberty all-stageautoprofile-gcc: all-stageautoprofile-libiberty all-stageautofeedback-gcc: all-stageautofeedback-libiberty -all-gcc: maybe-all-intl -all-stage1-gcc: maybe-all-stage1-intl -all-stage2-gcc: maybe-all-stage2-intl -all-stage3-gcc: maybe-all-stage3-intl -all-stage4-gcc: maybe-all-stage4-intl -all-stageprofile-gcc: maybe-all-stageprofile-intl -all-stagetrain-gcc: maybe-all-stagetrain-intl -all-stagefeedback-gcc: maybe-all-stagefeedback-intl -all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl -all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl +all-gcc: maybe-all-gettext +all-stage1-gcc: maybe-all-stage1-gettext +all-stage2-gcc: maybe-all-stage2-gettext +all-stage3-gcc: maybe-all-stage3-gettext +all-stage4-gcc: maybe-all-stage4-gettext +all-stageprofile-gcc: maybe-all-stageprofile-gettext +all-stagetrain-gcc: maybe-all-stagetrain-gettext +all-stagefeedback-gcc: maybe-all-stagefeedback-gettext +all-stageautoprofile-gcc: maybe-all-stageautoprofile-gettext +all-stageautofeedback-gcc: maybe-all-stageautofeedback-gettext all-gcc: maybe-all-mpfr all-stage1-gcc: maybe-all-stage1-mpfr all-stage2-gcc: maybe-all-stage2-mpfr @@ -66153,16 +66155,16 @@ configure-stagetrain-libcpp: configure-stagetrain-libiberty configure-stagefeedback-libcpp: configure-stagefeedback-libiberty configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty -configure-libcpp: maybe-configure-intl -configure-stage1-libcpp: maybe-configure-stage1-intl -configure-stage2-libcpp: maybe-configure-stage2-intl -configure-stage3-libcpp: maybe-configure-stage3-intl -configure-stage4-libcpp: maybe-configure-stage4-intl -configure-stageprofile-libcpp: maybe-configure-stageprofile-intl -configure-stagetrain-libcpp: maybe-configure-stagetrain-intl -configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl -configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl -configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl +configure-libcpp: maybe-configure-gettext +configure-stage1-libcpp: maybe-configure-stage1-gettext +configure-stage2-libcpp: maybe-configure-stage2-gettext +configure-stage3-libcpp: maybe-configure-stage3-gettext +configure-stage4-libcpp: maybe-configure-stage4-gettext +configure-stageprofile-libcpp: maybe-configure-stageprofile-gettext +configure-stagetrain-libcpp: maybe-configure-stagetrain-gettext +configure-stagefeedback-libcpp: maybe-configure-stagefeedback-gettext +configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-gettext +configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-gettext configure-libcpp: maybe-all-libiconv configure-stage1-libcpp: maybe-all-stage1-libiconv configure-stage2-libcpp: maybe-all-stage2-libiconv @@ -66183,16 +66185,16 @@ all-stagetrain-libcpp: all-stagetrain-libiberty all-stagefeedback-libcpp: all-stagefeedback-libiberty all-stageautoprofile-libcpp: all-stageautoprofile-libiberty all-stageautofeedback-libcpp: all-stageautofeedback-libiberty -all-libcpp: maybe-all-intl -all-stage1-libcpp: maybe-all-stage1-intl -all-stage2-libcpp: maybe-all-stage2-intl -all-stage3-libcpp: maybe-all-stage3-intl -all-stage4-libcpp: maybe-all-stage4-intl -all-stageprofile-libcpp: maybe-all-stageprofile-intl -all-stagetrain-libcpp: maybe-all-stagetrain-intl -all-stagefeedback-libcpp: maybe-all-stagefeedback-intl -all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl -all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl +all-libcpp: maybe-all-gettext +all-stage1-libcpp: maybe-all-stage1-gettext +all-stage2-libcpp: maybe-all-stage2-gettext +all-stage3-libcpp: maybe-all-stage3-gettext +all-stage4-libcpp: maybe-all-stage4-gettext +all-stageprofile-libcpp: maybe-all-stageprofile-gettext +all-stagetrain-libcpp: maybe-all-stagetrain-gettext +all-stagefeedback-libcpp: maybe-all-stagefeedback-gettext +all-stageautoprofile-libcpp: maybe-all-stageautoprofile-gettext +all-stageautofeedback-libcpp: maybe-all-stageautofeedback-gettext all-libcpp: maybe-all-libiconv all-stage1-libcpp: maybe-all-stage1-libiconv all-stage2-libcpp: maybe-all-stage2-libiconv @@ -66235,16 +66237,16 @@ all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin all-gotools: maybe-all-target-libgo -configure-intl: maybe-all-libiconv -configure-stage1-intl: maybe-all-stage1-libiconv -configure-stage2-intl: maybe-all-stage2-libiconv -configure-stage3-intl: maybe-all-stage3-libiconv -configure-stage4-intl: maybe-all-stage4-libiconv -configure-stageprofile-intl: maybe-all-stageprofile-libiconv -configure-stagetrain-intl: maybe-all-stagetrain-libiconv -configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv -configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv -configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv +configure-gettext: maybe-all-libiconv +configure-stage1-gettext: maybe-all-stage1-libiconv +configure-stage2-gettext: maybe-all-stage2-libiconv +configure-stage3-gettext: maybe-all-stage3-libiconv +configure-stage4-gettext: maybe-all-stage4-libiconv +configure-stageprofile-gettext: maybe-all-stageprofile-libiconv +configure-stagetrain-gettext: maybe-all-stagetrain-libiconv +configure-stagefeedback-gettext: maybe-all-stagefeedback-libiconv +configure-stageautoprofile-gettext: maybe-all-stageautoprofile-libiconv +configure-stageautofeedback-gettext: maybe-all-stageautofeedback-libiconv configure-mpfr: maybe-all-gmp configure-stage1-mpfr: maybe-all-stage1-gmp configure-stage2-mpfr: maybe-all-stage2-gmp @@ -66275,16 +66277,16 @@ configure-stagetrain-isl: maybe-all-stagetrain-gmp configure-stagefeedback-isl: maybe-all-stagefeedback-gmp configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp -all-intl: maybe-all-libiconv -all-stage1-intl: maybe-all-stage1-libiconv -all-stage2-intl: maybe-all-stage2-libiconv -all-stage3-intl: maybe-all-stage3-libiconv -all-stage4-intl: maybe-all-stage4-libiconv -all-stageprofile-intl: maybe-all-stageprofile-libiconv -all-stagetrain-intl: maybe-all-stagetrain-libiconv -all-stagefeedback-intl: maybe-all-stagefeedback-libiconv -all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv -all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv +all-gettext: maybe-all-libiconv +all-stage1-gettext: maybe-all-stage1-libiconv +all-stage2-gettext: maybe-all-stage2-libiconv +all-stage3-gettext: maybe-all-stage3-libiconv +all-stage4-gettext: maybe-all-stage4-libiconv +all-stageprofile-gettext: maybe-all-stageprofile-libiconv +all-stagetrain-gettext: maybe-all-stagetrain-libiconv +all-stagefeedback-gettext: maybe-all-stagefeedback-libiconv +all-stageautoprofile-gettext: maybe-all-stageautoprofile-libiconv +all-stageautofeedback-gettext: maybe-all-stageautofeedback-libiconv configure-gdb: maybe-configure-sim configure-gdb: maybe-all-gnulib configure-gdb: maybe-all-gdbsupport @@ -66314,16 +66316,16 @@ configure-stagetrain-bfd: configure-stagetrain-libiberty configure-stagefeedback-bfd: configure-stagefeedback-libiberty configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty -configure-bfd: maybe-configure-intl -configure-stage1-bfd: maybe-configure-stage1-intl -configure-stage2-bfd: maybe-configure-stage2-intl -configure-stage3-bfd: maybe-configure-stage3-intl -configure-stage4-bfd: maybe-configure-stage4-intl -configure-stageprofile-bfd: maybe-configure-stageprofile-intl -configure-stagetrain-bfd: maybe-configure-stagetrain-intl -configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl -configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl -configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl +configure-bfd: maybe-configure-gettext +configure-stage1-bfd: maybe-configure-stage1-gettext +configure-stage2-bfd: maybe-configure-stage2-gettext +configure-stage3-bfd: maybe-configure-stage3-gettext +configure-stage4-bfd: maybe-configure-stage4-gettext +configure-stageprofile-bfd: maybe-configure-stageprofile-gettext +configure-stagetrain-bfd: maybe-configure-stagetrain-gettext +configure-stagefeedback-bfd: maybe-configure-stagefeedback-gettext +configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-gettext +configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-gettext all-bfd: maybe-all-libiberty all-stage1-bfd: maybe-all-stage1-libiberty all-stage2-bfd: maybe-all-stage2-libiberty @@ -66334,16 +66336,16 @@ all-stagetrain-bfd: maybe-all-stagetrain-libiberty all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty -all-bfd: maybe-all-intl -all-stage1-bfd: maybe-all-stage1-intl -all-stage2-bfd: maybe-all-stage2-intl -all-stage3-bfd: maybe-all-stage3-intl -all-stage4-bfd: maybe-all-stage4-intl -all-stageprofile-bfd: maybe-all-stageprofile-intl -all-stagetrain-bfd: maybe-all-stagetrain-intl -all-stagefeedback-bfd: maybe-all-stagefeedback-intl -all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl -all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl +all-bfd: maybe-all-gettext +all-stage1-bfd: maybe-all-stage1-gettext +all-stage2-bfd: maybe-all-stage2-gettext +all-stage3-bfd: maybe-all-stage3-gettext +all-stage4-bfd: maybe-all-stage4-gettext +all-stageprofile-bfd: maybe-all-stageprofile-gettext +all-stagetrain-bfd: maybe-all-stagetrain-gettext +all-stagefeedback-bfd: maybe-all-stagefeedback-gettext +all-stageautoprofile-bfd: maybe-all-stageautoprofile-gettext +all-stageautofeedback-bfd: maybe-all-stageautofeedback-gettext all-bfd: maybe-all-zlib all-stage1-bfd: maybe-all-stage1-zlib all-stage2-bfd: maybe-all-stage2-zlib @@ -66384,16 +66386,16 @@ all-stagetrain-opcodes: maybe-all-stagetrain-libiberty all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty -configure-binutils: maybe-configure-intl -configure-stage1-binutils: maybe-configure-stage1-intl -configure-stage2-binutils: maybe-configure-stage2-intl -configure-stage3-binutils: maybe-configure-stage3-intl -configure-stage4-binutils: maybe-configure-stage4-intl -configure-stageprofile-binutils: maybe-configure-stageprofile-intl -configure-stagetrain-binutils: maybe-configure-stagetrain-intl -configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl -configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl -configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl +configure-binutils: maybe-configure-gettext +configure-stage1-binutils: maybe-configure-stage1-gettext +configure-stage2-binutils: maybe-configure-stage2-gettext +configure-stage3-binutils: maybe-configure-stage3-gettext +configure-stage4-binutils: maybe-configure-stage4-gettext +configure-stageprofile-binutils: maybe-configure-stageprofile-gettext +configure-stagetrain-binutils: maybe-configure-stagetrain-gettext +configure-stagefeedback-binutils: maybe-configure-stagefeedback-gettext +configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-gettext +configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-gettext all-binutils: maybe-all-libiberty all-stage1-binutils: maybe-all-stage1-libiberty all-stage2-binutils: maybe-all-stage2-libiberty @@ -66444,16 +66446,16 @@ all-stagetrain-binutils: maybe-all-build-bison all-stagefeedback-binutils: maybe-all-build-bison all-stageautoprofile-binutils: maybe-all-build-bison all-stageautofeedback-binutils: maybe-all-build-bison -all-binutils: maybe-all-intl -all-stage1-binutils: maybe-all-stage1-intl -all-stage2-binutils: maybe-all-stage2-intl -all-stage3-binutils: maybe-all-stage3-intl -all-stage4-binutils: maybe-all-stage4-intl -all-stageprofile-binutils: maybe-all-stageprofile-intl -all-stagetrain-binutils: maybe-all-stagetrain-intl -all-stagefeedback-binutils: maybe-all-stagefeedback-intl -all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl -all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl +all-binutils: maybe-all-gettext +all-stage1-binutils: maybe-all-stage1-gettext +all-stage2-binutils: maybe-all-stage2-gettext +all-stage3-binutils: maybe-all-stage3-gettext +all-stage4-binutils: maybe-all-stage4-gettext +all-stageprofile-binutils: maybe-all-stageprofile-gettext +all-stagetrain-binutils: maybe-all-stagetrain-gettext +all-stagefeedback-binutils: maybe-all-stagefeedback-gettext +all-stageautoprofile-binutils: maybe-all-stageautoprofile-gettext +all-stageautofeedback-binutils: maybe-all-stageautofeedback-gettext all-binutils: maybe-all-gas all-stage1-binutils: maybe-all-stage1-gas all-stage2-binutils: maybe-all-stage2-gas @@ -66516,16 +66518,16 @@ configure-stageautoprofile-opcodes: configure-stageautoprofile-bfd configure-stageautofeedback-opcodes: configure-stageautofeedback-bfd install-opcodes: maybe-install-bfd install-strip-opcodes: maybe-install-strip-bfd -configure-gas: maybe-configure-intl -configure-stage1-gas: maybe-configure-stage1-intl -configure-stage2-gas: maybe-configure-stage2-intl -configure-stage3-gas: maybe-configure-stage3-intl -configure-stage4-gas: maybe-configure-stage4-intl -configure-stageprofile-gas: maybe-configure-stageprofile-intl -configure-stagetrain-gas: maybe-configure-stagetrain-intl -configure-stagefeedback-gas: maybe-configure-stagefeedback-intl -configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl -configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl +configure-gas: maybe-configure-gettext +configure-stage1-gas: maybe-configure-stage1-gettext +configure-stage2-gas: maybe-configure-stage2-gettext +configure-stage3-gas: maybe-configure-stage3-gettext +configure-stage4-gas: maybe-configure-stage4-gettext +configure-stageprofile-gas: maybe-configure-stageprofile-gettext +configure-stagetrain-gas: maybe-configure-stagetrain-gettext +configure-stagefeedback-gas: maybe-configure-stagefeedback-gettext +configure-stageautoprofile-gas: maybe-configure-stageautoprofile-gettext +configure-stageautofeedback-gas: maybe-configure-stageautofeedback-gettext all-gas: maybe-all-libiberty all-stage1-gas: maybe-all-stage1-libiberty all-stage2-gas: maybe-all-stage2-libiberty @@ -66556,28 +66558,28 @@ all-stagetrain-gas: maybe-all-stagetrain-bfd all-stagefeedback-gas: maybe-all-stagefeedback-bfd all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd -all-gas: maybe-all-intl -all-stage1-gas: maybe-all-stage1-intl -all-stage2-gas: maybe-all-stage2-intl -all-stage3-gas: maybe-all-stage3-intl -all-stage4-gas: maybe-all-stage4-intl -all-stageprofile-gas: maybe-all-stageprofile-intl -all-stagetrain-gas: maybe-all-stagetrain-intl -all-stagefeedback-gas: maybe-all-stagefeedback-intl -all-stageautoprofile-gas: maybe-all-stageautoprofile-intl -all-stageautofeedback-gas: maybe-all-stageautofeedback-intl +all-gas: maybe-all-gettext +all-stage1-gas: maybe-all-stage1-gettext +all-stage2-gas: maybe-all-stage2-gettext +all-stage3-gas: maybe-all-stage3-gettext +all-stage4-gas: maybe-all-stage4-gettext +all-stageprofile-gas: maybe-all-stageprofile-gettext +all-stagetrain-gas: maybe-all-stagetrain-gettext +all-stagefeedback-gas: maybe-all-stagefeedback-gettext +all-stageautoprofile-gas: maybe-all-stageautoprofile-gettext +all-stageautofeedback-gas: maybe-all-stageautofeedback-gettext install-gprofng: maybe-install-opcodes install-gprofng: maybe-install-bfd -configure-ld: maybe-configure-intl -configure-stage1-ld: maybe-configure-stage1-intl -configure-stage2-ld: maybe-configure-stage2-intl -configure-stage3-ld: maybe-configure-stage3-intl -configure-stage4-ld: maybe-configure-stage4-intl -configure-stageprofile-ld: maybe-configure-stageprofile-intl -configure-stagetrain-ld: maybe-configure-stagetrain-intl -configure-stagefeedback-ld: maybe-configure-stagefeedback-intl -configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl -configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl +configure-ld: maybe-configure-gettext +configure-stage1-ld: maybe-configure-stage1-gettext +configure-stage2-ld: maybe-configure-stage2-gettext +configure-stage3-ld: maybe-configure-stage3-gettext +configure-stage4-ld: maybe-configure-stage4-gettext +configure-stageprofile-ld: maybe-configure-stageprofile-gettext +configure-stagetrain-ld: maybe-configure-stagetrain-gettext +configure-stagefeedback-ld: maybe-configure-stagefeedback-gettext +configure-stageautoprofile-ld: maybe-configure-stageautoprofile-gettext +configure-stageautofeedback-ld: maybe-configure-stageautofeedback-gettext all-ld: maybe-all-libiberty all-stage1-ld: maybe-all-stage1-libiberty all-stage2-ld: maybe-all-stage2-libiberty @@ -66628,16 +66630,16 @@ all-stagetrain-ld: maybe-all-build-flex all-stagefeedback-ld: maybe-all-build-flex all-stageautoprofile-ld: maybe-all-build-flex all-stageautofeedback-ld: maybe-all-build-flex -all-ld: maybe-all-intl -all-stage1-ld: maybe-all-stage1-intl -all-stage2-ld: maybe-all-stage2-intl -all-stage3-ld: maybe-all-stage3-intl -all-stage4-ld: maybe-all-stage4-intl -all-stageprofile-ld: maybe-all-stageprofile-intl -all-stagetrain-ld: maybe-all-stagetrain-intl -all-stagefeedback-ld: maybe-all-stagefeedback-intl -all-stageautoprofile-ld: maybe-all-stageautoprofile-intl -all-stageautofeedback-ld: maybe-all-stageautofeedback-intl +all-ld: maybe-all-gettext +all-stage1-ld: maybe-all-stage1-gettext +all-stage2-ld: maybe-all-stage2-gettext +all-stage3-ld: maybe-all-stage3-gettext +all-stage4-ld: maybe-all-stage4-gettext +all-stageprofile-ld: maybe-all-stageprofile-gettext +all-stagetrain-ld: maybe-all-stagetrain-gettext +all-stagefeedback-ld: maybe-all-stagefeedback-gettext +all-stageautoprofile-ld: maybe-all-stageautoprofile-gettext +all-stageautofeedback-ld: maybe-all-stageautofeedback-gettext all-ld: maybe-all-gas all-stage1-ld: maybe-all-stage1-gas all-stage2-ld: maybe-all-stage2-gas @@ -66660,16 +66662,16 @@ all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils install-ld: maybe-install-gold install-strip-ld: maybe-install-strip-gold -configure-gold: maybe-configure-intl -configure-stage1-gold: maybe-configure-stage1-intl -configure-stage2-gold: maybe-configure-stage2-intl -configure-stage3-gold: maybe-configure-stage3-intl -configure-stage4-gold: maybe-configure-stage4-intl -configure-stageprofile-gold: maybe-configure-stageprofile-intl -configure-stagetrain-gold: maybe-configure-stagetrain-intl -configure-stagefeedback-gold: maybe-configure-stagefeedback-intl -configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl -configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl +configure-gold: maybe-configure-gettext +configure-stage1-gold: maybe-configure-stage1-gettext +configure-stage2-gold: maybe-configure-stage2-gettext +configure-stage3-gold: maybe-configure-stage3-gettext +configure-stage4-gold: maybe-configure-stage4-gettext +configure-stageprofile-gold: maybe-configure-stageprofile-gettext +configure-stagetrain-gold: maybe-configure-stagetrain-gettext +configure-stagefeedback-gold: maybe-configure-stagefeedback-gettext +configure-stageautoprofile-gold: maybe-configure-stageautoprofile-gettext +configure-stageautofeedback-gold: maybe-configure-stageautofeedback-gettext all-gold: maybe-all-libiberty all-stage1-gold: maybe-all-stage1-libiberty all-stage2-gold: maybe-all-stage2-libiberty @@ -66680,16 +66682,16 @@ all-stagetrain-gold: maybe-all-stagetrain-libiberty all-stagefeedback-gold: maybe-all-stagefeedback-libiberty all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty -all-gold: maybe-all-intl -all-stage1-gold: maybe-all-stage1-intl -all-stage2-gold: maybe-all-stage2-intl -all-stage3-gold: maybe-all-stage3-intl -all-stage4-gold: maybe-all-stage4-intl -all-stageprofile-gold: maybe-all-stageprofile-intl -all-stagetrain-gold: maybe-all-stagetrain-intl -all-stagefeedback-gold: maybe-all-stagefeedback-intl -all-stageautoprofile-gold: maybe-all-stageautoprofile-intl -all-stageautofeedback-gold: maybe-all-stageautofeedback-intl +all-gold: maybe-all-gettext +all-stage1-gold: maybe-all-stage1-gettext +all-stage2-gold: maybe-all-stage2-gettext +all-stage3-gold: maybe-all-stage3-gettext +all-stage4-gold: maybe-all-stage4-gettext +all-stageprofile-gold: maybe-all-stageprofile-gettext +all-stagetrain-gold: maybe-all-stagetrain-gettext +all-stagefeedback-gold: maybe-all-stagefeedback-gettext +all-stageautoprofile-gold: maybe-all-stageautoprofile-gettext +all-stageautofeedback-gold: maybe-all-stageautofeedback-gettext all-gold: maybe-all-bfd all-stage1-gold: maybe-all-stage1-bfd all-stage2-gold: maybe-all-stage2-bfd @@ -66740,16 +66742,16 @@ check-stagetrain-gold: maybe-all-stagetrain-gas check-stagefeedback-gold: maybe-all-stagefeedback-gas check-stageautoprofile-gold: maybe-all-stageautoprofile-gas check-stageautofeedback-gold: maybe-all-stageautofeedback-gas -configure-opcodes: maybe-configure-intl -configure-stage1-opcodes: maybe-configure-stage1-intl -configure-stage2-opcodes: maybe-configure-stage2-intl -configure-stage3-opcodes: maybe-configure-stage3-intl -configure-stage4-opcodes: maybe-configure-stage4-intl -configure-stageprofile-opcodes: maybe-configure-stageprofile-intl -configure-stagetrain-opcodes: maybe-configure-stagetrain-intl -configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl -configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl -configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl +configure-opcodes: maybe-configure-gettext +configure-stage1-opcodes: maybe-configure-stage1-gettext +configure-stage2-opcodes: maybe-configure-stage2-gettext +configure-stage3-opcodes: maybe-configure-stage3-gettext +configure-stage4-opcodes: maybe-configure-stage4-gettext +configure-stageprofile-opcodes: maybe-configure-stageprofile-gettext +configure-stagetrain-opcodes: maybe-configure-stagetrain-gettext +configure-stagefeedback-opcodes: maybe-configure-stagefeedback-gettext +configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-gettext +configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-gettext all-opcodes: maybe-all-bfd all-stage1-opcodes: maybe-all-stage1-bfd all-stage2-opcodes: maybe-all-stage2-bfd @@ -66770,16 +66772,16 @@ all-stagetrain-opcodes: maybe-all-stagetrain-libiberty all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty -all-opcodes: maybe-all-intl -all-stage1-opcodes: maybe-all-stage1-intl -all-stage2-opcodes: maybe-all-stage2-intl -all-stage3-opcodes: maybe-all-stage3-intl -all-stage4-opcodes: maybe-all-stage4-intl -all-stageprofile-opcodes: maybe-all-stageprofile-intl -all-stagetrain-opcodes: maybe-all-stagetrain-intl -all-stagefeedback-opcodes: maybe-all-stagefeedback-intl -all-stageautoprofile-opcodes: maybe-all-stageautoprofile-intl -all-stageautofeedback-opcodes: maybe-all-stageautofeedback-intl +all-opcodes: maybe-all-gettext +all-stage1-opcodes: maybe-all-stage1-gettext +all-stage2-opcodes: maybe-all-stage2-gettext +all-stage3-opcodes: maybe-all-stage3-gettext +all-stage4-opcodes: maybe-all-stage4-gettext +all-stageprofile-opcodes: maybe-all-stageprofile-gettext +all-stagetrain-opcodes: maybe-all-stagetrain-gettext +all-stagefeedback-opcodes: maybe-all-stagefeedback-gettext +all-stageautoprofile-opcodes: maybe-all-stageautoprofile-gettext +all-stageautofeedback-opcodes: maybe-all-stageautofeedback-gettext all-dejagnu: maybe-all-tcl all-dejagnu: maybe-all-expect all-dejagnu: maybe-all-tk @@ -66844,16 +66846,16 @@ configure-stagetrain-libctf: maybe-all-stagetrain-bfd configure-stagefeedback-libctf: maybe-all-stagefeedback-bfd configure-stageautoprofile-libctf: maybe-all-stageautoprofile-bfd configure-stageautofeedback-libctf: maybe-all-stageautofeedback-bfd -configure-libctf: maybe-all-intl -configure-stage1-libctf: maybe-all-stage1-intl -configure-stage2-libctf: maybe-all-stage2-intl -configure-stage3-libctf: maybe-all-stage3-intl -configure-stage4-libctf: maybe-all-stage4-intl -configure-stageprofile-libctf: maybe-all-stageprofile-intl -configure-stagetrain-libctf: maybe-all-stagetrain-intl -configure-stagefeedback-libctf: maybe-all-stagefeedback-intl -configure-stageautoprofile-libctf: maybe-all-stageautoprofile-intl -configure-stageautofeedback-libctf: maybe-all-stageautofeedback-intl +configure-libctf: maybe-all-gettext +configure-stage1-libctf: maybe-all-stage1-gettext +configure-stage2-libctf: maybe-all-stage2-gettext +configure-stage3-libctf: maybe-all-stage3-gettext +configure-stage4-libctf: maybe-all-stage4-gettext +configure-stageprofile-libctf: maybe-all-stageprofile-gettext +configure-stagetrain-libctf: maybe-all-stagetrain-gettext +configure-stagefeedback-libctf: maybe-all-stagefeedback-gettext +configure-stageautoprofile-libctf: maybe-all-stageautoprofile-gettext +configure-stageautofeedback-libctf: maybe-all-stageautofeedback-gettext configure-libctf: maybe-all-zlib configure-stage1-libctf: maybe-all-stage1-zlib configure-stage2-libctf: maybe-all-stage2-zlib @@ -67026,7 +67028,7 @@ all-c++tools: maybe-all-gcc all-utils: maybe-all-libiberty configure-gdb: maybe-all-gmp configure-gdb: maybe-all-mpfr -configure-gdb: maybe-all-intl +configure-gdb: maybe-all-gettext configure-gdb: maybe-all-bfd configure-gdb: maybe-all-libiconv all-gdb: maybe-all-libiberty @@ -67036,33 +67038,33 @@ all-gdb: maybe-all-libdecnumber all-gdb: maybe-all-libctf all-gdb: maybe-all-libbacktrace all-gdbserver: maybe-all-libiberty -configure-gdbsupport: maybe-configure-intl -all-gdbsupport: maybe-all-intl -configure-gprof: maybe-configure-intl +configure-gdbsupport: maybe-configure-gettext +all-gdbsupport: maybe-all-gettext +configure-gprof: maybe-configure-gettext all-gprof: maybe-all-libiberty all-gprof: maybe-all-bfd all-gprof: maybe-all-opcodes -all-gprof: maybe-all-intl +all-gprof: maybe-all-gettext all-gprof: maybe-all-gas -configure-gprofng: maybe-configure-intl +configure-gprofng: maybe-configure-gettext all-gprofng: maybe-all-libiberty all-gprofng: maybe-all-bfd all-gprofng: maybe-all-opcodes -all-gprofng: maybe-all-intl +all-gprofng: maybe-all-gettext all-gprofng: maybe-all-gas all-sid: maybe-all-libiberty all-sid: maybe-all-bfd all-sid: maybe-all-opcodes -configure-sim: maybe-configure-intl -all-sim: maybe-all-intl +configure-sim: maybe-configure-gettext +all-sim: maybe-all-gettext all-sim: maybe-all-libiberty all-sim: maybe-all-bfd all-sim: maybe-all-opcodes all-fastjar: maybe-all-zlib all-fastjar: maybe-all-libiberty -all-bison: maybe-all-intl -all-flex: maybe-all-intl -all-m4: maybe-all-intl +all-bison: maybe-all-gettext +all-flex: maybe-all-gettext +all-m4: maybe-all-gettext configure-target-fastjar: maybe-configure-target-zlib all-target-fastjar: maybe-all-target-zlib configure-target-libgo: maybe-all-target-libstdc++-v3 diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7a0b178..1430698 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,12 @@ +2023-11-15 Arsen Arsenović <arsen@aarsen.me> + + * aclocal.m4: Regenerate. + * configure.ac (SHARED_LIBADD): Use LTLIBINTL rather than + LIBINTL. + * configure: Regenerate. + * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot + temporary file, to suppress xgettext checking charset names. + 2023-11-10 Simon Marchi <simon.marchi@efficios.com> * archures.c (bfd_mach_amdgcn_gfx1100, bfd_mach_amdgcn_gfx1101, diff --git a/bfd/Makefile.in b/bfd/Makefile.in index cf227d0..bac78f4 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -116,9 +116,15 @@ am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \ $(top_srcdir)/../config/bfd64.m4 \ $(top_srcdir)/../config/depstand.m4 \ $(top_srcdir)/../config/gettext-sister.m4 \ + $(top_srcdir)/../config/gettext.m4 \ + $(top_srcdir)/../config/iconv.m4 \ + $(top_srcdir)/../config/intlmacosx.m4 \ $(top_srcdir)/../config/jobserver.m4 \ $(top_srcdir)/../config/largefile.m4 \ $(top_srcdir)/../config/lead-dot.m4 \ + $(top_srcdir)/../config/lib-ld.m4 \ + $(top_srcdir)/../config/lib-link.m4 \ + $(top_srcdir)/../config/lib-prefix.m4 \ $(top_srcdir)/../config/nls.m4 \ $(top_srcdir)/../config/override.m4 \ $(top_srcdir)/../config/pkg.m4 \ @@ -354,9 +360,12 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LARGEFILE_CPPFLAGS = @LARGEFILE_CPPFLAGS@ LD = @LD@ LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBINTL_DEP = @LIBINTL_DEP@ LIBM = @LIBM@ @@ -365,6 +374,8 @@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ diff --git a/bfd/aclocal.m4 b/bfd/aclocal.m4 index e0142ae..4b3fd56 100644 --- a/bfd/aclocal.m4 +++ b/bfd/aclocal.m4 @@ -1171,9 +1171,15 @@ m4_include([../config/acx.m4]) m4_include([../config/bfd64.m4]) m4_include([../config/depstand.m4]) m4_include([../config/gettext-sister.m4]) +m4_include([../config/gettext.m4]) +m4_include([../config/iconv.m4]) +m4_include([../config/intlmacosx.m4]) m4_include([../config/jobserver.m4]) m4_include([../config/largefile.m4]) m4_include([../config/lead-dot.m4]) +m4_include([../config/lib-ld.m4]) +m4_include([../config/lib-link.m4]) +m4_include([../config/lib-prefix.m4]) m4_include([../config/nls.m4]) m4_include([../config/override.m4]) m4_include([../config/pkg.m4]) diff --git a/bfd/config.in b/bfd/config.in index 0ba104f..7458362 100644 --- a/bfd/config.in +++ b/bfd/config.in @@ -24,6 +24,18 @@ language is requested. */ #undef ENABLE_NLS +/* Define to 1 if you have the Mac OS X function + CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES + +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + /* Define to 1 if you have the declaration of `asprintf', and to 0 if you don't. */ #undef HAVE_DECL_ASPRINTF @@ -113,12 +125,18 @@ /* Define to 1 if you have the `getrlimit' function. */ #undef HAVE_GETRLIMIT +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + /* Define to 1 if you have the `getuid' function. */ #undef HAVE_GETUID /* Define if your compiler supports hidden visibility. */ #undef HAVE_HIDDEN +/* Define if you have the iconv() function and it works. */ +#undef HAVE_ICONV + /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H diff --git a/bfd/configure b/bfd/configure index de94019..0513cb5 100755 --- a/bfd/configure +++ b/bfd/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include <unistd.h> #endif" +gt_needs= ac_header_list= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE @@ -662,21 +663,26 @@ zlibdir EXEEXT_FOR_BUILD CC_FOR_BUILD HDEFINES -MSGMERGE -MSGFMT -MKINSTALLDIRS CATOBJEXT GENCAT INSTOBJEXT DATADIRNAME CATALOGS -POSUB -GMSGFMT -XGETTEXT INCINTL LIBINTL_DEP +POSUB +LTLIBINTL LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +INTL_MACOSX_LIBS +MSGMERGE +XGETTEXT +GMSGFMT +MSGFMT USE_NLS +MKINSTALLDIRS bfdincludedir bfdlibdir target_noncanonical @@ -843,6 +849,11 @@ enable_build_warnings enable_maintainer_mode enable_install_libbfd enable_nls +enable_rpath +with_libiconv_prefix +with_libiconv_type +with_libintl_prefix +with_libintl_type with_system_zlib with_zstd ' @@ -1507,6 +1518,7 @@ Optional Features: sometimes confusing) to the casual installer --enable-install-libbfd controls installation of libbfd and related headers --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1521,6 +1533,13 @@ Optional Packages: --with-pkgversion=PKG Use PKG in the version string in place of "GNU Binutils" --with-bugurl=URL Direct users to URL to report a bug + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libiconv-type=TYPE type of library to search for (auto/static/shared) + --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 + --with-libintl-type=TYPE type of library to search for (auto/static/shared) --with-system-zlib use installed libz --with-zstd support zstd compressed debug sections (default=auto) @@ -2482,6 +2501,7 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +gt_needs="$gt_needs " as_fn_append ac_header_list " stdlib.h" as_fn_append ac_header_list " unistd.h" as_fn_append ac_header_list " sys/param.h" @@ -11137,7 +11157,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11140 "configure" +#line 11160 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11243,7 +11263,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11246 "configure" +#line 11266 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12612,19 +12632,1928 @@ bfd_default_target_size=32 # host stuff: ALL_LINGUAS="da es fi fr hr id ja ro ru rw sr sv tr uk vi zh_CN pt" -# If we haven't got the data from the intl directory, -# assume NLS is disabled. -USE_NLS=no -LIBINTL= -LIBINTL_DEP= -INCINTL= -XGETTEXT= -GMSGFMT= -POSUB= - -if test -f ../intl/config.intl; then - . ../intl/config.intl + + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + rm -f messages.po + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test "$GMSGFMT" != ":"; then + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 +$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } + GMSGFMT=":" + fi + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + rm -f messages.po + fi + + ac_config_commands="$ac_config_commands default-1" + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [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 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$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 + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + + + + + + 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-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_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 + + +# Check whether --with-libiconv-type was given. +if test "${with_libiconv_type+set}" = set; then : + withval=$with_libiconv_type; with_libiconv_type=$withval +else + with_libiconv_type=auto +fi + + lib_type=`eval echo \$with_libiconv_type` + + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + 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" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBICONV; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-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 $INCICONV; 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 + INCICONV="${INCICONV}${INCICONV:+ }-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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext" + fi + 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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + +if test -f ../gettext/uninstalled-config.sh; then + relative_builddir='$(top_builddir)/../gettext' + . ../gettext/uninstalled-config.sh +else + # The sister gettext directory doesn't exist and won't collect information on + # using gettext for us. Call a bundled AM_GNU_GETTEXT. + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFPreferences.h> +int +main () +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 +$as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; } +if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFLocale.h> +int +main () +{ +CFLocaleCopyPreferredLanguages(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyPreferredLanguages=yes +else + gt_cv_func_CFLocaleCopyPreferredLanguages=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } + if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + +$as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ + || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" + fi + + + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if eval \${$gt_func_gnugettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libc=yes" +else + eval "$gt_func_gnugettext_libc=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; 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 + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + am_cv_func_iconv_works=no + for ac_iconv_const in '' 'const'; do + if test "$cross_compiling" = yes; then : + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <iconv.h> +#include <string.h> + +#ifndef ICONV_CONST +# define ICONV_CONST $ac_iconv_const +#endif + +int +main () +{ +int result = 0; + /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from + successful returns. This is even documented in + <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 1; + iconv_close (cd_utf8_to_88591); + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\263"; + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 2; + iconv_close (cd_ascii_to_88591); + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + ICONV_CONST char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + result |= 4; + iconv_close (cd_88591_to_utf8); + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + result |= 8; + iconv_close (cd_88591_to_utf8); + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + { + /* Try standardized names. */ + iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); + /* Try IRIX, OSF/1 names. */ + iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); + /* Try AIX names. */ + iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); + /* Try HP-UX names. */ + iconv_t cd4 = iconv_open ("utf8", "eucJP"); + if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) + && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) + result |= 16; + if (cd1 != (iconv_t)(-1)) + iconv_close (cd1); + if (cd2 != (iconv_t)(-1)) + iconv_close (cd2); + if (cd3 != (iconv_t)(-1)) + iconv_close (cd3); + if (cd4 != (iconv_t)(-1)) + iconv_close (cd4); + } + return result; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + test "$am_cv_func_iconv_works" = no || break + done + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + 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-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_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 + + +# Check whether --with-libintl-type was given. +if test "${with_libintl_type+set}" = set; then : + withval=$with_libintl_type; with_libintl_type=$withval +else + with_libintl_type=auto +fi + + lib_type=`eval echo \$with_libintl_type` + + LIBINTL= + LTLIBINTL= + INCINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + 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" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBINTL; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-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 $INCINTL; 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 + INCINTL="${INCINTL}${INCINTL:+ }-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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext" + fi + 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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if eval \${$gt_func_gnugettext_libintl+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" +else + eval "$gt_func_gnugettext_libintl=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" +fi +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; 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 + + fi + + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + + +fi + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } if test x"$USE_NLS" != xyes; then @@ -12683,33 +14612,6 @@ $as_echo "$LINGUAS" >&6; } fi - MKINSTALLDIRS= - if test -n "$ac_aux_dir"; then - case "$ac_aux_dir" in - /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; - *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; - esac - fi - if test -z "$MKINSTALLDIRS"; then - MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 -$as_echo_n "checking whether NLS is requested... " >&6; } - # Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then : - enableval=$enable_nls; USE_NLS=$enableval -else - USE_NLS=yes -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -$as_echo "$USE_NLS" >&6; } - - - @@ -12987,7 +14889,7 @@ $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } rm -f messages.po fi - ac_config_commands="$ac_config_commands default-1" + ac_config_commands="$ac_config_commands default-2" @@ -13793,7 +15695,7 @@ if test "$enable_shared" = "yes"; then fi fi -SHARED_LIBADD="$SHARED_LIBADD $LIBINTL" +SHARED_LIBADD="$SHARED_LIBADD $LTLIBINTL" if test "$enable_shared" = "yes"; then case "${host}" in @@ -16640,6 +18542,13 @@ fi # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it + # from automake. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + _ACEOF @@ -16654,6 +18563,7 @@ do "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "bfd-in3.h") CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;; @@ -18086,6 +19996,107 @@ _LT_EOF ;; esac done ;; + "default-2":C) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.ac. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + GMOFILES= + UPDATEPOFILES= + DUMMYPOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; "default":C) case "$srcdir" in .) srcdirpre= ;; diff --git a/bfd/configure.ac b/bfd/configure.ac index 4267806..ed6e773 100644 --- a/bfd/configure.ac +++ b/bfd/configure.ac @@ -280,7 +280,7 @@ changequote([,])dnl fi fi -SHARED_LIBADD="$SHARED_LIBADD $LIBINTL" +SHARED_LIBADD="$SHARED_LIBADD $LTLIBINTL" if test "$enable_shared" = "yes"; then case "${host}" in diff --git a/bfd/po/bfd.pot b/bfd/po/bfd.pot index bc428da..4f94725 100644 --- a/bfd/po/bfd.pot +++ b/bfd/po/bfd.pot @@ -8,11 +8,10 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: https://sourceware.org/bugzilla/\n" -"POT-Creation-Date: 2023-11-07 17:40-0700\n" +"POT-Creation-Date: 2023-11-15 11:09+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" -"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" @@ -302,8 +301,8 @@ msgstr "" msgid "using multiple gp values" msgstr "" -#: coff-alpha.c:1546 coff-alpha.c:1552 elf.c:10234 elf32-mcore.c:100 -#: elf32-mcore.c:455 elf32-ppc.c:7670 elf32-ppc.c:8858 elf64-ppc.c:16839 +#: coff-alpha.c:1546 coff-alpha.c:1552 elf.c:10268 elf32-mcore.c:100 +#: elf32-mcore.c:455 elf32-ppc.c:7676 elf32-ppc.c:8864 elf64-ppc.c:16839 #, c-format msgid "%pB: %s unsupported" msgstr "" @@ -561,16 +560,16 @@ msgstr "" msgid "<corrupt info> %s" msgstr "" -#: coffgen.c:2796 elflink.c:15168 linker.c:2977 +#: coffgen.c:2796 elflink.c:15197 linker.c:2977 msgid "%F%P: already_linked_table: %E\n" msgstr "" -#: coffgen.c:3138 elflink.c:14108 +#: coffgen.c:3138 elflink.c:14137 #, c-format msgid "removing unused section '%pA' in file '%pB'" msgstr "" -#: coffgen.c:3215 elflink.c:14338 +#: coffgen.c:3215 elflink.c:14367 msgid "warning: gc-sections option ignored" msgstr "" @@ -589,11 +588,11 @@ msgstr "" msgid "%pB: relocs in section `%pA', but it has no contents" msgstr "" -#: cofflink.c:2403 elflink.c:11549 +#: cofflink.c:2403 elflink.c:11578 #, c-format msgid "" -"%X`%s' referenced in section `%pA' of %pB: defined in discarded section " -"`%pA' of %pB\n" +"%X`%s' referenced in section `%pA' of %pB: defined in discarded section `%" +"pA' of %pB\n" msgstr "" #: cofflink.c:2598 @@ -922,7 +921,8 @@ msgid ".eh_frame_hdr refers to overlapping FDEs" msgstr "" #. xgettext:c-format. -#: elf-ifunc.c:144 elfnn-loongarch.c:1285 +#: elf-ifunc.c:144 +#: elfnn-loongarch.c:1285 #, c-format msgid "" "%F%P: dynamic STT_GNU_IFUNC symbol `%s' with pointer equality in `%pB' can " @@ -946,11 +946,12 @@ msgstr "" #: elf32-cris.c:2038 elf32-crx.c:926 elf32-d10v.c:514 elf32-fr30.c:598 #: elf32-frv.c:4053 elf32-ft32.c:496 elf32-h8300.c:527 elf32-iq2000.c:695 #: elf32-lm32.c:1074 elf32-m32c.c:628 elf32-m32r.c:2841 elf32-m68hc1x.c:1275 -#: elf32-mep.c:526 elf32-metag.c:1988 elf32-microblaze.c:1686 elf32-moxie.c:292 -#: elf32-msp430.c:1510 elf32-nds32.c:6097 elf32-or1k.c:1901 elf32-score.c:2738 -#: elf32-score7.c:2549 elf32-spu.c:5089 elf32-tilepro.c:3376 elf32-v850.c:2298 -#: elf32-visium.c:684 elf32-xstormy16.c:934 elf64-mmix.c:1545 -#: elfxx-mips.c:10653 elfxx-tilegx.c:3746 +#: elf32-mep.c:526 elf32-metag.c:1988 elf32-microblaze.c:1686 +#: elf32-moxie.c:292 elf32-msp430.c:1510 elf32-nds32.c:6097 elf32-or1k.c:1901 +#: elf32-score.c:2738 elf32-score7.c:2549 elf32-spu.c:5089 +#: elf32-tilepro.c:3376 elf32-v850.c:2298 elf32-visium.c:684 +#: elf32-xstormy16.c:934 elf64-mmix.c:1545 elfxx-mips.c:10653 +#: elfxx-tilegx.c:3746 msgid "internal error: unsupported relocation error" msgstr "" @@ -966,10 +967,11 @@ msgstr "" #: elf32-fr30.c:606 elf32-frv.c:4061 elf32-ft32.c:504 elf32-h8300.c:535 #: elf32-ip2k.c:1493 elf32-iq2000.c:703 elf32-lm32.c:1082 elf32-m32c.c:636 #: elf32-m32r.c:2849 elf32-m68hc1x.c:1283 elf32-mep.c:534 elf32-metag.c:1996 -#: elf32-microblaze.c:1694 elf32-moxie.c:300 elf32-msp430.c:1518 elf32-mt.c:410 -#: elf32-nds32.c:6105 elf32-or1k.c:1909 elf32-score.c:2751 elf32-score7.c:2557 -#: elf32-spu.c:5097 elf32-tilepro.c:3384 elf32-v850.c:2318 elf32-visium.c:692 -#: elf32-xstormy16.c:942 elf64-bpf.c:351 elf64-mmix.c:1553 elfxx-tilegx.c:3754 +#: elf32-microblaze.c:1694 elf32-moxie.c:300 elf32-msp430.c:1518 +#: elf32-mt.c:410 elf32-nds32.c:6105 elf32-or1k.c:1909 elf32-score.c:2751 +#: elf32-score7.c:2557 elf32-spu.c:5097 elf32-tilepro.c:3384 elf32-v850.c:2318 +#: elf32-visium.c:692 elf32-xstormy16.c:942 elf64-bpf.c:351 elf64-mmix.c:1553 +#: elfxx-tilegx.c:3754 msgid "internal error: unknown error" msgstr "" @@ -985,10 +987,10 @@ msgstr "" #: elf-m10300.c:2093 elf32-arm.c:13398 elf32-i386.c:3490 elf32-m32r.c:2331 #: elf32-m68k.c:3929 elf32-s390.c:3080 elf32-sh.c:3673 elf32-tilepro.c:3275 -#: elf32-xtensa.c:3023 elf64-s390.c:3042 elf64-x86-64.c:4209 elfxx-sparc.c:2917 -#: elfxx-sparc.c:3814 elfxx-tilegx.c:3665 -#: elfnn-aarch64.c:5682 -#: elfnn-aarch64.c:7291 +#: elf32-xtensa.c:3023 elf64-s390.c:3042 elf64-x86-64.c:4209 +#: elfxx-sparc.c:2917 elfxx-sparc.c:3814 elfxx-tilegx.c:3665 +#: elfnn-aarch64.c:5713 +#: elfnn-aarch64.c:7322 #: elfnn-kvx.c:2775 #, c-format msgid "%pB(%pA+%#<PRIx64>): unresolvable %s relocation against symbol `%s'" @@ -1125,7 +1127,7 @@ msgid "%pB: invalid string offset %u >= %<PRIu64> for section `%s'" msgstr "" #: elf.c:517 elf32-arm.c:17731 -#: elfnn-aarch64.c:8291 +#: elfnn-aarch64.c:8322 #: elfnn-loongarch.c:4427 #, c-format msgid "%pB symbol number %lu references nonexistent SHT_SYMTAB_SHNDX section" @@ -1363,169 +1365,181 @@ msgid "" "%pB: error: non-load segment %d includes file header and/or program header" msgstr "" -#: elf.c:7026 +#: elf.c:7034 +#, c-format +msgid "error: %pB has a TLS segment with execute permission" +msgstr "" + +#: elf.c:7040 #, c-format msgid "warning: %pB has a TLS segment with execute permission" msgstr "" -#: elf.c:7032 +#: elf.c:7055 +#, c-format +msgid "error: %pB has a LOAD segment with RWX permissions" +msgstr "" + +#: elf.c:7061 #, c-format msgid "warning: %pB has a LOAD segment with RWX permissions" msgstr "" -#: elf.c:7420 +#: elf.c:7454 #, c-format msgid "%pB: symbol `%s' required but not present" msgstr "" -#: elf.c:7798 +#: elf.c:7832 #, c-format msgid "" "%pB: warning: empty loadable segment detected at vaddr=%#<PRIx64>, is this " "intentional?" msgstr "" -#: elf.c:8458 +#: elf.c:8492 #, c-format msgid "%pB: warning: segment alignment of %#<PRIx64> is too large" msgstr "" -#: elf.c:8966 +#: elf.c:9000 #, c-format msgid "" "%pB: Unable to handle section index %x in ELF symbol. Using ABS instead." msgstr "" -#: elf.c:8996 +#: elf.c:9030 #, c-format msgid "" "unable to find equivalent output section for symbol '%s' from section '%s'" msgstr "" -#: elf.c:9431 +#: elf.c:9465 #, c-format msgid "%pB: .gnu.version_r invalid entry" msgstr "" -#: elf.c:9607 +#: elf.c:9641 #, c-format msgid "%pB: .gnu.version_d invalid entry" msgstr "" -#: elf.c:10107 +#: elf.c:10141 #, c-format msgid "%pB:%pA: error: attempting to write over the end of the section" msgstr "" -#: elf.c:10119 +#: elf.c:10153 #, c-format msgid "%pB:%pA: error: attempting to write section into an empty buffer" msgstr "" -#: elf.c:11047 +#: elf.c:11081 #, c-format msgid "%pB: warning: win32pstatus %s of size %lu bytes is too small" msgstr "" -#: elf.c:11126 +#: elf.c:11160 #, c-format msgid "" "%pB: win32pstatus NOTE_INFO_MODULE of size %lu is too small to contain a " "name of size %u" msgstr "" -#: elf.c:13764 +#: elf.c:13798 msgid "GNU_MBIND section is supported only by GNU and FreeBSD targets" msgstr "" -#: elf.c:13767 +#: elf.c:13801 msgid "symbol type STT_GNU_IFUNC is supported only by GNU and FreeBSD targets" msgstr "" -#: elf.c:13770 +#: elf.c:13804 msgid "" "symbol binding STB_GNU_UNIQUE is supported only by GNU and FreeBSD targets" msgstr "" -#: elf.c:13773 +#: elf.c:13807 msgid "GNU_RETAIN section is supported only by GNU and FreeBSD targets" msgstr "" -#: elf.c:13991 +#: elf.c:14025 #, c-format msgid "%pB(%pA): relocation %zu has invalid symbol index %lu" msgstr "" -#: elf.c:14067 +#: elf.c:14101 #, c-format msgid "" "%pB(%pA): link section cannot be set because the output file does not have a " "symbol table" msgstr "" -#: elf.c:14081 +#: elf.c:14115 #, c-format msgid "%pB(%pA): info section index is invalid" msgstr "" -#: elf.c:14095 +#: elf.c:14129 #, c-format msgid "" "%pB(%pA): info section index cannot be set because the section is not in the " "output" msgstr "" -#: elf.c:14171 +#: elf.c:14205 #, c-format msgid "%pB(%pA): error: secondary reloc section processed twice" msgstr "" -#: elf.c:14183 +#: elf.c:14217 #, c-format msgid "%pB(%pA): error: secondary reloc section has zero sized entries" msgstr "" -#: elf.c:14195 +#: elf.c:14229 #, c-format msgid "%pB(%pA): error: secondary reloc section has non-standard sized entries" msgstr "" -#: elf.c:14209 +#: elf.c:14243 #, c-format msgid "%pB(%pA): error: secondary reloc section is empty!" msgstr "" -#: elf.c:14232 +#: elf.c:14266 #, c-format msgid "%pB(%pA): error: internal relocs missing for secondary reloc section" msgstr "" -#: elf.c:14252 +#: elf.c:14286 #, c-format msgid "%pB(%pA): error: reloc table entry %zu is empty" msgstr "" -#: elf.c:14277 +#: elf.c:14311 #, c-format msgid "%pB(%pA): error: secondary reloc %zu references a missing symbol" msgstr "" -#: elf.c:14295 +#: elf.c:14329 #, c-format msgid "%pB(%pA): error: secondary reloc %zu references a deleted symbol" msgstr "" -#: elf.c:14309 +#: elf.c:14343 #, c-format msgid "%pB(%pA): error: secondary reloc %zu is of an unknown type" msgstr "" #. Ignore init flag - it may not be set, despite the flags field #. containing valid data. +#. Ignore init flag - it may not be set, despite the flags field +#. containing valid data. #: elf32-arc.c:455 elf32-arm.c:15125 elf32-frv.c:6612 elf32-iq2000.c:868 #: elf32-m32c.c:914 elf32-mt.c:560 elf32-rl78.c:1275 elf32-rx.c:3218 #: elf32-visium.c:844 elf64-ppc.c:5513 -#: elfnn-aarch64.c:7521 +#: elfnn-aarch64.c:7552 #, c-format msgid "private flags = 0x%lx:" msgstr "" @@ -1588,8 +1602,8 @@ msgstr "" #: elf32-arc.c:1159 #, c-format msgid "" -"%pB(%pA+%#<PRIx64>): CMEM relocation to `%s' is invalid, 16 MSB should be " -"%#x (value is %#<PRIx64>)" +"%pB(%pA+%#<PRIx64>): CMEM relocation to `%s' is invalid, 16 MSB should be %" +"#x (value is %#<PRIx64>)" msgstr "" #: elf32-arc.c:1170 @@ -1630,7 +1644,8 @@ msgid "%pB(%pA): internal error: unknown error" msgstr "" #: elf32-arc.c:2036 elf32-arc.c:2104 elf32-arm.c:15580 elf32-metag.c:2251 -#: elf32-nds32.c:5543 elfnn-aarch64.c:7928 +#: elf32-nds32.c:5543 +#: elfnn-aarch64.c:7959 #: elfnn-riscv.c:720 #, c-format msgid "" @@ -1666,8 +1681,8 @@ msgstr "" #: elf32-arm.c:4591 #, c-format msgid "" -"ERROR: CMSE stub (%s section) too far (%#<PRIx64>) from destination " -"(%#<PRIx64>)" +"ERROR: CMSE stub (%s section) too far (%#<PRIx64>) from destination (%" +"#<PRIx64>)" msgstr "" #: elf32-arm.c:4760 @@ -1677,7 +1692,8 @@ msgstr "" #: elf32-arm.c:4835 elf32-arm.c:6984 elf32-csky.c:3389 elf32-hppa.c:582 #: elf32-m68hc1x.c:164 elf32-metag.c:1180 elf32-nios2.c:2201 elf64-ppc.c:3907 -#: elf64-ppc.c:14157 elfnn-aarch64.c:3203 +#: elf64-ppc.c:14157 +#: elfnn-aarch64.c:3203 #: elfnn-kvx.c:895 #, c-format msgid "%pB: cannot create stub entry %s" @@ -1847,7 +1863,12 @@ msgid "" "when making a %s; recompile with -fPIC" msgstr "" -#: elf32-arm.c:10649 elf32-arm.c:11066 +#: elf32-arm.c:10649 +#, c-format +msgid "\\%pB: warning: %s BLX instruction targets %s function '%s'" +msgstr "" + +#: elf32-arm.c:11066 #, c-format msgid "%pB: warning: %s BLX instruction targets %s function '%s'" msgstr "" @@ -1908,33 +1929,33 @@ msgid "%pB(%pA+%#<PRIx64>): %s relocation against SEC_MERGE section" msgstr "" #: elf32-arm.c:13343 elf32-m68k.c:3966 elf32-xtensa.c:2761 -#: elfnn-aarch64.c:7018 +#: elfnn-aarch64.c:7049 #: elfnn-kvx.c:2571 #, c-format msgid "%pB(%pA+%#<PRIx64>): %s used with TLS symbol %s" msgstr "" #: elf32-arm.c:13345 elf32-m68k.c:3968 elf32-xtensa.c:2763 -#: elfnn-aarch64.c:7020 +#: elfnn-aarch64.c:7051 #: elfnn-kvx.c:2573 #, c-format msgid "%pB(%pA+%#<PRIx64>): %s used with non-TLS symbol %s" msgstr "" #: elf32-arm.c:13428 elf32-tic6x.c:2649 -#: elfnn-aarch64.c:7355 +#: elfnn-aarch64.c:7386 #: elfnn-kvx.c:2800 msgid "out of range" msgstr "" #: elf32-arm.c:13432 elf32-nios2.c:4511 elf32-pru.c:936 elf32-tic6x.c:2653 -#: elfnn-aarch64.c:7359 +#: elfnn-aarch64.c:7390 #: elfnn-kvx.c:2804 msgid "unsupported relocation" msgstr "" #: elf32-arm.c:13440 elf32-nios2.c:4521 elf32-pru.c:946 elf32-tic6x.c:2661 -#: elfnn-aarch64.c:7367 +#: elfnn-aarch64.c:7398 #: elfnn-kvx.c:2812 msgid "unknown error" msgstr "" @@ -2168,15 +2189,17 @@ msgstr "" msgid " [FDPIC ABI supplement]" msgstr "" -#: elf32-arm.c:15246 elfnn-aarch64.c:7524 +#: elf32-arm.c:15246 +#: elfnn-aarch64.c:7555 #, c-format msgid " <Unrecognised flag bits set>" msgstr "" #: elf32-arm.c:15363 elf32-arm.c:15497 elf32-i386.c:1531 elf32-s390.c:923 -#: elf32-tic6x.c:2724 elf32-tilepro.c:1435 elf32-xtensa.c:1090 elf64-s390.c:845 -#: elf64-x86-64.c:1975 elfxx-sparc.c:1386 elfxx-tilegx.c:1662 elfxx-x86.c:970 -#: elfnn-aarch64.c:7795 +#: elf32-tic6x.c:2724 elf32-tilepro.c:1435 elf32-xtensa.c:1090 +#: elf64-s390.c:845 elf64-x86-64.c:1975 elfxx-sparc.c:1386 elfxx-tilegx.c:1662 +#: elfxx-x86.c:970 +#: elfnn-aarch64.c:7826 #: elfnn-kvx.c:3250 #: elfnn-loongarch.c:637 #: elfnn-riscv.c:764 @@ -2195,7 +2218,7 @@ msgstr "" msgid "errors encountered processing file %pB" msgstr "" -#: elf32-arm.c:17400 elflink.c:13274 elflink.c:13321 +#: elf32-arm.c:17400 elflink.c:13303 elflink.c:13350 #, c-format msgid "could not find section %s" msgstr "" @@ -2308,7 +2331,8 @@ msgid "" "%X%H: %s against `%s': internal error: unexpected relocation result %d\n" msgstr "" -#: elf32-avr.c:3340 elfnn-aarch64.c:3234 +#: elf32-avr.c:3340 +#: elfnn-aarch64.c:3234 #, c-format msgid "cannot create stub entry %s" msgstr "" @@ -2768,8 +2792,8 @@ msgstr "" #: elf32-i386.c:1177 elf64-x86-64.c:1462 #, c-format msgid "" -"%pB: TLS transition from %s to %s against `%s' at %#<PRIx64> in section " -"`%pA' failed" +"%pB: TLS transition from %s to %s against `%s' at %#<PRIx64> in section `%" +"pA' failed" msgstr "" #: elf32-i386.c:1286 @@ -2780,7 +2804,8 @@ msgid "" msgstr "" #: elf32-i386.c:1715 elf32-s390.c:1151 elf32-sh.c:5499 elf32-tilepro.c:1548 -#: elf32-xtensa.c:1263 elf64-s390.c:1083 elfxx-sparc.c:1556 elfxx-tilegx.c:1767 +#: elf32-xtensa.c:1263 elf64-s390.c:1083 elfxx-sparc.c:1556 +#: elfxx-tilegx.c:1767 #: elfnn-loongarch.c:591 #: elfnn-riscv.c:671 #, c-format @@ -2945,8 +2970,8 @@ msgstr "" #: elf32-m68hc1x.c:1197 #, c-format msgid "" -"reference to a banked address [%lx:%04lx] in the normal address space at " -"%04lx" +"reference to a banked address [%lx:%04lx] in the normal address space at %" +"04lx" msgstr "" #: elf32-m68hc1x.c:1233 @@ -3448,30 +3473,34 @@ msgstr "" msgid "%pB: dynamic relocation in read-only section `%pA'\n" msgstr "" -#: elf32-ppc.c:7458 +#: elf32-ppc.c:6511 +msgid "%pB: Adjusting branch at 0x%V towards \"%s\" in section %s\n" +msgstr "" + +#: elf32-ppc.c:7464 msgid "%P: %H: error: %s with unexpected instruction %x\n" msgstr "" -#: elf32-ppc.c:7496 +#: elf32-ppc.c:7502 msgid "%H: fixup branch overflow\n" msgstr "" -#: elf32-ppc.c:7536 elf32-ppc.c:7574 +#: elf32-ppc.c:7542 elf32-ppc.c:7580 #, c-format msgid "%pB(%pA+%#<PRIx64>): error: %s with unexpected instruction %#x" msgstr "" -#: elf32-ppc.c:7638 +#: elf32-ppc.c:7644 #, c-format msgid "%X%H: unsupported bss-plt -fPIC ifunc %s\n" msgstr "" -#: elf32-ppc.c:7674 +#: elf32-ppc.c:7680 #, c-format msgid "%pB: reloc %#x unsupported" msgstr "" -#: elf32-ppc.c:7957 +#: elf32-ppc.c:7963 #, c-format msgid "%H: non-zero addend on %s reloc against `%s'\n" msgstr "" @@ -3484,54 +3513,54 @@ msgstr "" #. local won't have the +32k reloc addend trick marking #. -fPIC code, so the linker won't know whether r30 is #. _GLOBAL_OFFSET_TABLE_ or pointing into a .got2 section. -#: elf32-ppc.c:7989 +#: elf32-ppc.c:7995 #, c-format msgid "%X%H: @local call to ifunc %s\n" msgstr "" -#: elf32-ppc.c:8167 +#: elf32-ppc.c:8173 #, c-format msgid "%H: relocation %s for indirect function %s unsupported\n" msgstr "" -#: elf32-ppc.c:8505 elf32-ppc.c:8536 elf32-ppc.c:8639 elf32-ppc.c:8739 +#: elf32-ppc.c:8511 elf32-ppc.c:8542 elf32-ppc.c:8645 elf32-ppc.c:8745 #, c-format msgid "" "%pB: the target (%s) of a %s relocation is in the wrong output section (%s)" msgstr "" -#: elf32-ppc.c:8917 elf32-ppc.c:8938 +#: elf32-ppc.c:8923 elf32-ppc.c:8944 msgid "%X%P: %H: %s relocation unsupported for bss-plt\n" msgstr "" -#: elf32-ppc.c:9020 +#: elf32-ppc.c:9026 #, c-format msgid "%H: error: %s against `%s' not a multiple of %u\n" msgstr "" -#: elf32-ppc.c:9049 +#: elf32-ppc.c:9055 #, c-format msgid "%H: unresolvable %s relocation against symbol `%s'\n" msgstr "" -#: elf32-ppc.c:9131 +#: elf32-ppc.c:9137 #, c-format msgid "%H: %s reloc against `%s': error %d\n" msgstr "" -#: elf32-ppc.c:10013 +#: elf32-ppc.c:10019 msgid "" "%X%P: text relocations and GNU indirect functions will result in a segfault " "at runtime\n" msgstr "" -#: elf32-ppc.c:10017 elf64-ppc.c:18302 +#: elf32-ppc.c:10023 elf64-ppc.c:18302 msgid "" "%P: warning: text relocations and GNU indirect functions may result in a " "segfault at runtime\n" msgstr "" -#: elf32-ppc.c:10062 +#: elf32-ppc.c:10068 #, c-format msgid "%s not defined in linker created %pA" msgstr "" @@ -3726,8 +3755,8 @@ msgstr "" #: elf32-sh.c:4579 #, c-format msgid "" -"%pB(%pA): offset in relocation for GD->LE translation is too small: " -"%#<PRIx64>" +"%pB(%pA): offset in relocation for GD->LE translation is too small: %" +"#<PRIx64>" msgstr "" #. The backslash is to prevent bogus trigraph detection. @@ -3764,8 +3793,8 @@ msgstr "" #: elf32-sh.c:4668 #, c-format msgid "" -"%pB(%pA): offset in relocation for IE->LE translation is too small: " -"%#<PRIx64>" +"%pB(%pA): offset in relocation for IE->LE translation is too small: %" +"#<PRIx64>" msgstr "" #: elf32-sh.c:4686 @@ -3789,15 +3818,15 @@ msgstr "" #: elf32-sh.c:4817 #, c-format msgid "" -"%pB(%pA): offset in relocation for GD->IE translation is too small: " -"%#<PRIx64>" +"%pB(%pA): offset in relocation for GD->IE translation is too small: %" +"#<PRIx64>" msgstr "" #: elf32-sh.c:4885 #, c-format msgid "" -"%pB(%pA): offset in relocation for LD->LE translation is too small: " -"%#<PRIx64>" +"%pB(%pA): offset in relocation for LD->LE translation is too small: %" +"#<PRIx64>" msgstr "" #: elf32-sh.c:5013 @@ -4064,7 +4093,7 @@ msgid "warning: %pB and %pB differ in whether code is compiled for DSBT" msgstr "" #: elf32-tilepro.c:3627 elfxx-tilegx.c:4017 elfxx-x86.c:2729 -#: elfnn-aarch64.c:9999 +#: elfnn-aarch64.c:10030 #: elfnn-kvx.c:4636 #: elfnn-loongarch.c:4357 #: elfnn-riscv.c:3465 @@ -4435,7 +4464,7 @@ msgstr "" msgid "%pB: .got subsegment exceeds 64K (size %d)" msgstr "" -#: elf64-alpha.c:2680 elflink.c:15430 +#: elf64-alpha.c:2680 elflink.c:15459 #: elfnn-kvx.c:4022 #: elfnn-loongarch.c:1573 #, c-format @@ -4509,96 +4538,114 @@ msgstr "" msgid "%pB(%pA+%#<PRIx64>): cannot reach %s" msgstr "" -#: elf64-ia64-vms.c:600 elfnn-ia64.c:641 +#: elf64-ia64-vms.c:600 +#: elfnn-ia64.c:641 #, c-format msgid "" "%pB: can't relax br at %#<PRIx64> in section `%pA'; please use brl or " "indirect branch" msgstr "" -#: elf64-ia64-vms.c:2032 elfnn-ia64.c:2294 +#: elf64-ia64-vms.c:2032 +#: elfnn-ia64.c:2294 msgid "@pltoff reloc against local symbol" msgstr "" -#: elf64-ia64-vms.c:3278 elfnn-ia64.c:3671 +#: elf64-ia64-vms.c:3278 +#: elfnn-ia64.c:3671 #, c-format msgid "%pB: short data segment overflowed (%#<PRIx64> >= 0x400000)" msgstr "" -#: elf64-ia64-vms.c:3288 elfnn-ia64.c:3681 +#: elf64-ia64-vms.c:3288 +#: elfnn-ia64.c:3681 #, c-format msgid "%pB: __gp does not cover short data segment" msgstr "" -#: elf64-ia64-vms.c:3558 elfnn-ia64.c:3954 +#: elf64-ia64-vms.c:3558 +#: elfnn-ia64.c:3954 #, c-format msgid "%pB: non-pic code with imm relocation against dynamic symbol `%s'" msgstr "" -#: elf64-ia64-vms.c:3622 elfnn-ia64.c:4022 +#: elf64-ia64-vms.c:3622 +#: elfnn-ia64.c:4022 #, c-format msgid "%pB: @gprel relocation against dynamic symbol %s" msgstr "" -#: elf64-ia64-vms.c:3681 elfnn-ia64.c:4085 +#: elf64-ia64-vms.c:3681 +#: elfnn-ia64.c:4085 #, c-format msgid "%pB: linking non-pic code in a position independent executable" msgstr "" -#: elf64-ia64-vms.c:3783 elfnn-ia64.c:4223 +#: elf64-ia64-vms.c:3783 +#: elfnn-ia64.c:4223 #, c-format msgid "%pB: @internal branch to dynamic symbol %s" msgstr "" -#: elf64-ia64-vms.c:3786 elfnn-ia64.c:4226 +#: elf64-ia64-vms.c:3786 +#: elfnn-ia64.c:4226 #, c-format msgid "%pB: speculation fixup to dynamic symbol %s" msgstr "" -#: elf64-ia64-vms.c:3789 elfnn-ia64.c:4229 +#: elf64-ia64-vms.c:3789 +#: elfnn-ia64.c:4229 #, c-format msgid "%pB: @pcrel relocation against dynamic symbol %s" msgstr "" -#: elf64-ia64-vms.c:3913 elfnn-ia64.c:4426 +#: elf64-ia64-vms.c:3913 +#: elfnn-ia64.c:4426 msgid "unsupported reloc" msgstr "" -#: elf64-ia64-vms.c:3950 elfnn-ia64.c:4464 +#: elf64-ia64-vms.c:3950 +#: elfnn-ia64.c:4464 #, c-format msgid "" "%pB: missing TLS section for relocation %s against `%s' at %#<PRIx64> in " "section `%pA'." msgstr "" -#: elf64-ia64-vms.c:3967 elfnn-ia64.c:4481 +#: elf64-ia64-vms.c:3967 +#: elfnn-ia64.c:4481 #, c-format msgid "" -"%pB: Can't relax br (%s) to `%s' at %#<PRIx64> in section `%pA' with size " -"%#<PRIx64> (> 0x1000000)." +"%pB: Can't relax br (%s) to `%s' at %#<PRIx64> in section `%pA' with size %" +"#<PRIx64> (> 0x1000000)." msgstr "" -#: elf64-ia64-vms.c:4263 elfnn-ia64.c:4742 +#: elf64-ia64-vms.c:4263 +#: elfnn-ia64.c:4742 #, c-format msgid "%pB: linking trap-on-NULL-dereference with non-trapping files" msgstr "" -#: elf64-ia64-vms.c:4272 elfnn-ia64.c:4751 +#: elf64-ia64-vms.c:4272 +#: elfnn-ia64.c:4751 #, c-format msgid "%pB: linking big-endian files with little-endian files" msgstr "" -#: elf64-ia64-vms.c:4281 elfnn-ia64.c:4760 +#: elf64-ia64-vms.c:4281 +#: elfnn-ia64.c:4760 #, c-format msgid "%pB: linking 64-bit files with 32-bit files" msgstr "" -#: elf64-ia64-vms.c:4290 elfnn-ia64.c:4769 +#: elf64-ia64-vms.c:4290 +#: elfnn-ia64.c:4769 #, c-format msgid "%pB: linking constant-gp files with non-constant-gp files" msgstr "" -#: elf64-ia64-vms.c:4300 elfnn-ia64.c:4779 +#: elf64-ia64-vms.c:4300 +#: elfnn-ia64.c:4779 #, c-format msgid "%pB: linking auto-pic files with non-auto-pic files" msgstr "" @@ -4618,8 +4665,8 @@ msgstr "" #: elf64-ia64-vms.c:5173 elflink.c:5342 #, c-format msgid "" -"warning: size of symbol `%s' changed from %<PRIu64> in %pB to %<PRIu64> in " -"%pB" +"warning: size of symbol `%s' changed from %<PRIu64> in %pB to %<PRIu64> in %" +"pB" msgstr "" #: elf64-mips.c:4102 @@ -5019,12 +5066,13 @@ msgstr "" msgid "%pB: '%s' accessed both as normal and thread local symbol" msgstr "" -#: elf64-x86-64.c:2844 elfnn-aarch64.c:5723 +#: elf64-x86-64.c:2844 +#: elfnn-aarch64.c:5754 #: elfnn-riscv.c:2305 #, c-format msgid "" -"%pB: relocation %s against STT_GNU_IFUNC symbol `%s' has non-zero addend: " -"%<PRId64>" +"%pB: relocation %s against STT_GNU_IFUNC symbol `%s' has non-zero addend: %" +"<PRId64>" msgstr "" #: elf64-x86-64.c:3104 @@ -5048,7 +5096,7 @@ msgid "" "section `%pA' is out of range" msgstr "" -#: elf64-x86-64.c:3556 elflink.c:13745 +#: elf64-x86-64.c:3556 elflink.c:13774 msgid "%F%P: corrupt input: %pB\n" msgstr "" @@ -5147,8 +5195,8 @@ msgstr "" #: elflink.c:2704 #, c-format msgid "" -"%pB: non-zero symbol index (%#<PRIx64>) for offset %#<PRIx64> in section " -"`%pA' when the object file has no symbol table" +"%pB: non-zero symbol index (%#<PRIx64>) for offset %#<PRIx64> in section `%" +"pA' when the object file has no symbol table" msgstr "" #: elflink.c:2915 @@ -5234,209 +5282,229 @@ msgstr "" msgid "%s: undefined version: %s" msgstr "" -#: elflink.c:7156 +#: elflink.c:7159 +msgid "" +"error: creating an executable stack because of -z execstack command line " +"option" +msgstr "" + +#: elflink.c:7165 msgid "" "warning: enabling an executable stack because of -z execstack command line " "option" msgstr "" -#: elflink.c:7213 +#: elflink.c:7227 +#, c-format +msgid "" +"error: %s: is triggering the generation of an executable stack (because it " +"has an executable .note.GNU-stack section)" +msgstr "" + +#: elflink.c:7233 #, c-format msgid "" "warning: %s: requires executable stack (because the .note.GNU-stack section " "is executable)" msgstr "" -#: elflink.c:7218 +#: elflink.c:7241 +#, c-format +msgid "" +"error: %s: is triggering the generation of an executable stack because it " +"does not have a .note.GNU-stack section" +msgstr "" + +#: elflink.c:7247 #, c-format msgid "warning: %s: missing .note.GNU-stack section implies executable stack" msgstr "" -#: elflink.c:7221 +#: elflink.c:7250 msgid "" "NOTE: This behaviour is deprecated and will be removed in a future version " "of the linker" msgstr "" -#: elflink.c:7375 +#: elflink.c:7404 #, c-format msgid "%pB: .preinit_array section is not allowed in DSO" msgstr "" -#: elflink.c:8966 +#: elflink.c:8995 #, c-format msgid "undefined %s reference in complex symbol: %s" msgstr "" -#: elflink.c:9129 elflink.c:9137 +#: elflink.c:9158 elflink.c:9166 msgid "division by zero" msgstr "" -#: elflink.c:9151 +#: elflink.c:9180 #, c-format msgid "unknown operator '%c' in complex symbol" msgstr "" #. PR 21524: Let the user know if a symbol was removed by garbage collection. -#: elflink.c:9487 +#: elflink.c:9516 #, c-format msgid "" "%pB:%pA: error: relocation references symbol %s which was removed by garbage " "collection" msgstr "" -#: elflink.c:9490 +#: elflink.c:9519 #, c-format msgid "%pB:%pA: error: try relinking with --gc-keep-exported enabled" msgstr "" -#: elflink.c:9741 elflink.c:9759 elflink.c:9798 elflink.c:9816 +#: elflink.c:9770 elflink.c:9788 elflink.c:9827 elflink.c:9845 #, c-format msgid "%pB: unable to sort relocs - they are in more than one size" msgstr "" #. The section size is not divisible by either - #. something is wrong. -#: elflink.c:9775 elflink.c:9832 +#: elflink.c:9804 elflink.c:9861 #, c-format msgid "%pB: unable to sort relocs - they are of an unknown size" msgstr "" -#: elflink.c:9884 +#: elflink.c:9913 msgid "not enough memory to sort relocations" msgstr "" -#: elflink.c:10222 +#: elflink.c:10251 #, c-format msgid "%pB: too many sections: %d (>= %d)" msgstr "" -#: elflink.c:10498 +#: elflink.c:10527 #, c-format msgid "%pB: internal symbol `%s' in %pB is referenced by DSO" msgstr "" -#: elflink.c:10501 +#: elflink.c:10530 #, c-format msgid "%pB: hidden symbol `%s' in %pB is referenced by DSO" msgstr "" -#: elflink.c:10504 +#: elflink.c:10533 #, c-format msgid "%pB: local symbol `%s' in %pB is referenced by DSO" msgstr "" -#: elflink.c:10590 +#: elflink.c:10619 #, c-format msgid "%pB: could not find output section %pA for input section %pA" msgstr "" -#: elflink.c:10744 +#: elflink.c:10773 #, c-format msgid "%pB: protected symbol `%s' isn't defined" msgstr "" -#: elflink.c:10747 +#: elflink.c:10776 #, c-format msgid "%pB: internal symbol `%s' isn't defined" msgstr "" -#: elflink.c:10750 +#: elflink.c:10779 #, c-format msgid "%pB: hidden symbol `%s' isn't defined" msgstr "" -#: elflink.c:10782 +#: elflink.c:10811 #, c-format msgid "%pB: no symbol version section for versioned symbol `%s'" msgstr "" -#: elflink.c:11463 +#: elflink.c:11492 #, c-format msgid "" "error: %pB contains a reloc (%#<PRIx64>) for section %pA that references a " "non-existent global symbol" msgstr "" -#: elflink.c:11933 +#: elflink.c:11962 #, c-format msgid "error: %pB: size of section %pA is not multiple of address size" msgstr "" -#: elflink.c:12210 +#: elflink.c:12239 #, c-format msgid "%pB: no symbol found for import library" msgstr "" -#: elflink.c:12785 +#: elflink.c:12814 msgid "%F%P: %pB: failed to finish relative relocations\n" msgstr "" -#: elflink.c:12862 +#: elflink.c:12891 #, c-format msgid "%pB: file class %s incompatible with %s" msgstr "" -#: elflink.c:13111 +#: elflink.c:13140 #, c-format msgid "%pB: failed to generate import library" msgstr "" -#: elflink.c:13279 +#: elflink.c:13308 #, c-format msgid "warning: %s section has zero size" msgstr "" -#: elflink.c:13327 +#: elflink.c:13356 #, c-format msgid "warning: section '%s' is being made into a note" msgstr "" -#: elflink.c:13421 +#: elflink.c:13450 msgid "%P%X: read-only segment has dynamic relocations\n" msgstr "" -#: elflink.c:13424 +#: elflink.c:13453 msgid "%P: warning: creating DT_TEXTREL in a shared object\n" msgstr "" -#: elflink.c:13427 +#: elflink.c:13456 msgid "%P: warning: creating DT_TEXTREL in a PDE\n" msgstr "" -#: elflink.c:13430 +#: elflink.c:13459 msgid "%P: warning: creating DT_TEXTREL in a PIE\n" msgstr "" -#: elflink.c:13566 +#: elflink.c:13595 msgid "%P%X: can not read symbols: %E\n" msgstr "" -#: elflink.c:13991 +#: elflink.c:14020 msgid "%F%P: %pB(%pA): error: need linked-to section for --gc-sections\n" msgstr "" -#: elflink.c:14469 +#: elflink.c:14498 #, c-format msgid "%pB: %pA+%#<PRIx64>: no symbol found for INHERIT" msgstr "" -#: elflink.c:14510 +#: elflink.c:14539 #, c-format msgid "%pB: section '%pA': corrupt VTENTRY entry" msgstr "" -#: elflink.c:14653 +#: elflink.c:14682 #, c-format msgid "unrecognized INPUT_SECTION_FLAG %s\n" msgstr "" -#: elflink.c:15436 +#: elflink.c:15465 #, c-format msgid "%P: %pB: warning: relocation against `%s' in read-only section `%pA'\n" msgstr "" -#: elflink.c:15525 +#: elflink.c:15554 msgid "" "%P: warning: GNU indirect functions with DT_TEXTREL may result in a segfault " "at runtime; recompile with %s\n" @@ -5448,8 +5516,9 @@ msgid "" "%pB: warning: Weak TLS is implementation defined and may not work as expected" msgstr "" -#: elfxx-aarch64.c:738 elfnn-aarch64.c:10200 -#: elfnn-aarch64.c:10207 +#: elfxx-aarch64.c:738 +#: elfnn-aarch64.c:10231 +#: elfnn-aarch64.c:10238 #, c-format msgid "" "%pB: warning: BTI turned on by -z force-bti when all inputs do not have BTI " @@ -5705,8 +5774,8 @@ msgstr "" #: elfxx-mips.c:15839 #, c-format msgid "" -"warning: %pB uses unknown MSA ABI %d (set by %pB), %pB uses unknown MSA ABI " -"%d" +"warning: %pB uses unknown MSA ABI %d (set by %pB), %pB uses unknown MSA ABI %" +"d" msgstr "" #: elfxx-mips.c:15901 @@ -6076,7 +6145,8 @@ msgstr "" msgid "h" msgstr "" -#: elfxx-sparc.c:3021 elfnn-aarch64.c:5707 +#: elfxx-sparc.c:3021 +#: elfnn-aarch64.c:5738 #, c-format msgid "" "%pB: relocation %s against STT_GNU_IFUNC symbol `%s' isn't handled by %s" @@ -6090,8 +6160,8 @@ msgstr "" #: elfxx-x86.c:536 elfxx-x86.c:3440 #, c-format msgid "" -"%F%P: %pB: copy relocation against non-copyable protected symbol `%s' in " -"%pB\n" +"%F%P: %pB: copy relocation against non-copyable protected symbol `%s' in %" +"pB\n" msgstr "" #: elfxx-x86.c:1043 @@ -6139,8 +6209,8 @@ msgstr "" #: elfxx-x86.c:3193 msgid "" -"%pB: %s (offset: 0x%v, info: 0x%v, addend: 0x%v) against '%s' for section " -"'%pA' in %pB\n" +"%pB: %s (offset: 0x%v, info: 0x%v, addend: 0x%v) against '%s' for section '%" +"pA' in %pB\n" msgstr "" #: elfxx-x86.c:3199 @@ -6489,8 +6559,8 @@ msgstr "" #: mach-o.c:3876 #, c-format msgid "" -"bfd_mach_o_read_symtab_symbol: symbol \"%s\" specified invalid type field " -"0x%x: setting to undefined" +"bfd_mach_o_read_symtab_symbol: symbol \"%s\" specified invalid type field 0x%" +"x: setting to undefined" msgstr "" #: mach-o.c:5075 @@ -6508,7 +6578,7 @@ msgstr "" msgid "unknown header byte-order value %#x" msgstr "" -#: merge.c:1100 +#: merge.c:1118 #, c-format msgid "%pB: access beyond end of merged section (%<PRId64>)" msgstr "" @@ -6657,8 +6727,8 @@ msgstr "" #: mmo.c:3276 #, c-format msgid "" -"%pB: invalid start address for initialized registers of length %<PRId64>: " -"%#<PRIx64>" +"%pB: invalid start address for initialized registers of length %<PRId64>: %" +"#<PRIx64>" msgstr "" #: osf-core.c:127 @@ -9091,17 +9161,17 @@ msgstr "" msgid "unknown attribute for symbol `%s': 0x%02x" msgstr "" -#: elfnn-aarch64.c:5425 +#: elfnn-aarch64.c:5456 #, c-format msgid "%pB: error: erratum 835769 stub out of range (input file too large)" msgstr "" -#: elfnn-aarch64.c:5517 +#: elfnn-aarch64.c:5548 #, c-format msgid "%pB: error: erratum 843419 stub out of range (input file too large)" msgstr "" -#: elfnn-aarch64.c:5530 +#: elfnn-aarch64.c:5561 #, c-format msgid "" "%pB: error: erratum 843419 immediate 0x%<PRIx64> out of range for ADR (input " @@ -9109,19 +9179,19 @@ msgid "" "fix-cortex-a53-843419=full instead" msgstr "" -#: elfnn-aarch64.c:6065 +#: elfnn-aarch64.c:6096 #, c-format msgid "" "%pB: relocation %s against symbol `%s' which may bind externally can not be " "used when making a shared object; recompile with -fPIC" msgstr "" -#: elfnn-aarch64.c:6085 +#: elfnn-aarch64.c:6116 #, c-format msgid "%pB: conditional branch to undefined symbol `%s' not allowed" msgstr "" -#: elfnn-aarch64.c:6173 +#: elfnn-aarch64.c:6204 #: elfnn-kvx.c:2384 #, c-format msgid "" @@ -9129,30 +9199,30 @@ msgid "" "against local symbol" msgstr "" -#: elfnn-aarch64.c:6286 -#: elfnn-aarch64.c:6323 +#: elfnn-aarch64.c:6317 +#: elfnn-aarch64.c:6354 #, c-format msgid "%pB: TLS relocation %s against undefined symbol `%s'" msgstr "" -#: elfnn-aarch64.c:7314 +#: elfnn-aarch64.c:7345 msgid "too many GOT entries for -fpic, please recompile with -fPIC" msgstr "" -#: elfnn-aarch64.c:7342 +#: elfnn-aarch64.c:7373 msgid "" "one possible cause of this error is that the symbol is being referenced in " "the indicated code as if it had a larger alignment than was declared where " "it was defined" msgstr "" -#: elfnn-aarch64.c:7909 +#: elfnn-aarch64.c:7940 #, c-format msgid "" "%pB: relocation %s against `%s' can not be used when making a shared object" msgstr "" -#: elfnn-aarch64.c:8982 +#: elfnn-aarch64.c:9013 #, c-format msgid "%F%P: %pB: copy relocation against non-copyable protected symbol `%s'\n" msgstr "" diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d695d3b..b53a9e9 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,10 @@ +2023-11-15 Arsen Arsenović <arsen@aarsen.me> + + * aclocal.m4: Regenerate. + * configure: Regenerate. + * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot + temporary file, to suppress xgettext checking charset names. + 2023-11-14 Nick Clifton <nickc@redhat.com> PR 31062 diff --git a/binutils/Makefile.in b/binutils/Makefile.in index d9b60ba..a1f6f61 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -142,7 +142,9 @@ am__aclocal_m4_deps = $(top_srcdir)/../bfd/acinclude.m4 \ $(top_srcdir)/../config/depstand.m4 \ $(top_srcdir)/../config/enable.m4 \ $(top_srcdir)/../config/gettext-sister.m4 \ + $(top_srcdir)/../config/gettext.m4 \ $(top_srcdir)/../config/iconv.m4 \ + $(top_srcdir)/../config/intlmacosx.m4 \ $(top_srcdir)/../config/jobserver.m4 \ $(top_srcdir)/../config/largefile.m4 \ $(top_srcdir)/../config/lcmessage.m4 \ @@ -516,6 +518,8 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LARGEFILE_CPPFLAGS = @LARGEFILE_CPPFLAGS@ LD = @LD@ LDFLAGS = @LDFLAGS@ @@ -531,6 +535,7 @@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ diff --git a/binutils/aclocal.m4 b/binutils/aclocal.m4 index 28271f5..1238894 100644 --- a/binutils/aclocal.m4 +++ b/binutils/aclocal.m4 @@ -1190,7 +1190,9 @@ m4_include([../bfd/warning.m4]) m4_include([../config/depstand.m4]) m4_include([../config/enable.m4]) m4_include([../config/gettext-sister.m4]) +m4_include([../config/gettext.m4]) m4_include([../config/iconv.m4]) +m4_include([../config/intlmacosx.m4]) m4_include([../config/jobserver.m4]) m4_include([../config/largefile.m4]) m4_include([../config/lcmessage.m4]) diff --git a/binutils/config.in b/binutils/config.in index 8907a56..a9a9f71 100644 --- a/binutils/config.in +++ b/binutils/config.in @@ -35,6 +35,18 @@ /* Suffix used for executables, if any. */ #undef EXECUTABLE_SUFFIX +/* Define to 1 if you have the Mac OS X function + CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES + +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + /* Define to 1 if you have the declaration of `asprintf', and to 0 if you don't. */ #undef HAVE_DECL_ASPRINTF @@ -79,10 +91,13 @@ /* Define to 1 if you have the `getpagesize' function. */ #undef HAVE_GETPAGESIZE +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + /* Does <utime.h> define struct utimbuf? */ #undef HAVE_GOOD_UTIME_H -/* Define if you have the iconv() function. */ +/* Define if you have the iconv() function and it works. */ #undef HAVE_ICONV /* Define to 1 if you have the <inttypes.h> header file. */ diff --git a/binutils/configure b/binutils/configure index 7806ff2..2f50a9f 100755 --- a/binutils/configure +++ b/binutils/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include <unistd.h> #endif" +gt_needs= ac_header_list= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE @@ -646,8 +647,6 @@ BUILD_WINDRES DLLTOOL_DEFS BUILD_DLLTOOL BUILD_SRCONV -LTLIBICONV -LIBICONV MSGPACK_LIBS MSGPACK_CFLAGS ZSTD_LIBS @@ -663,21 +662,26 @@ GENINSRC_NEVER_TRUE MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE -MSGMERGE -MSGFMT -MKINSTALLDIRS CATOBJEXT GENCAT INSTOBJEXT DATADIRNAME CATALOGS -POSUB -GMSGFMT -XGETTEXT INCINTL LIBINTL_DEP +POSUB +LTLIBINTL LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +INTL_MACOSX_LIBS +MSGMERGE +XGETTEXT +GMSGFMT +MSGFMT USE_NLS +MKINSTALLDIRS LEXLIB LEX_OUTPUT_ROOT LEX @@ -833,13 +837,15 @@ enable_libctf enable_werror enable_build_warnings enable_nls +enable_rpath +with_libiconv_prefix +with_libiconv_type +with_libintl_prefix +with_libintl_type enable_maintainer_mode with_system_zlib with_zstd with_msgpack -enable_rpath -with_libiconv_prefix -with_libiconv_type ' ac_precious_vars='build_alias host_alias @@ -1512,10 +1518,10 @@ Optional Features: --enable-werror treat compile warnings as errors --enable-build-warnings enable build-time compiler warnings --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer - --disable-rpath do not hardcode runtime library paths Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1525,14 +1531,17 @@ Optional Packages: --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-debuginfod Enable debuginfo lookups with debuginfod (auto/yes/no) - --with-system-zlib use installed libz - --with-zstd support zstd compressed debug sections - (default=auto) - --with-msgpack Enable msgpack support (auto/yes/no) --with-gnu-ld assume the C compiler uses GNU ld default=no --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir --with-libiconv-type=TYPE type of library to search for (auto/static/shared) + --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 + --with-libintl-type=TYPE type of library to search for (auto/static/shared) + --with-system-zlib use installed libz + --with-zstd support zstd compressed debug sections + (default=auto) + --with-msgpack Enable msgpack support (auto/yes/no) Some influential environment variables: CC C compiler command @@ -2379,6 +2388,7 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +gt_needs="$gt_needs " as_fn_append ac_header_list " stdlib.h" as_fn_append ac_header_list " unistd.h" as_fn_append ac_header_list " sys/param.h" @@ -10848,7 +10858,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10851 "configure" +#line 10861 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10954,7 +10964,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10957 "configure" +#line 10967 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12461,19 +12471,1928 @@ if test "$LEX" = :; then fi ALL_LINGUAS="bg ca da es fi fr hr id it ja pt ro ru rw sk sr sv tr uk vi zh_CN zh_TW" -# If we haven't got the data from the intl directory, -# assume NLS is disabled. -USE_NLS=no -LIBINTL= -LIBINTL_DEP= -INCINTL= -XGETTEXT= -GMSGFMT= -POSUB= - -if test -f ../intl/config.intl; then - . ../intl/config.intl + + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + rm -f messages.po + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test "$GMSGFMT" != ":"; then + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 +$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } + GMSGFMT=":" + fi + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + rm -f messages.po + fi + + ac_config_commands="$ac_config_commands default-1" + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [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 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$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 + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + + + + + + 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-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_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 + + +# Check whether --with-libiconv-type was given. +if test "${with_libiconv_type+set}" = set; then : + withval=$with_libiconv_type; with_libiconv_type=$withval +else + with_libiconv_type=auto +fi + + lib_type=`eval echo \$with_libiconv_type` + + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + 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" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBICONV; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-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 $INCICONV; 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 + INCICONV="${INCICONV}${INCICONV:+ }-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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext" + fi + 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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + +if test -f ../gettext/uninstalled-config.sh; then + relative_builddir='$(top_builddir)/../gettext' + . ../gettext/uninstalled-config.sh +else + # The sister gettext directory doesn't exist and won't collect information on + # using gettext for us. Call a bundled AM_GNU_GETTEXT. + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFPreferences.h> +int +main () +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 +$as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; } +if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFLocale.h> +int +main () +{ +CFLocaleCopyPreferredLanguages(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyPreferredLanguages=yes +else + gt_cv_func_CFLocaleCopyPreferredLanguages=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } + if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + +$as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ + || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" + fi + + + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if eval \${$gt_func_gnugettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libc=yes" +else + eval "$gt_func_gnugettext_libc=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; 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 + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + am_cv_func_iconv_works=no + for ac_iconv_const in '' 'const'; do + if test "$cross_compiling" = yes; then : + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <iconv.h> +#include <string.h> + +#ifndef ICONV_CONST +# define ICONV_CONST $ac_iconv_const +#endif + +int +main () +{ +int result = 0; + /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from + successful returns. This is even documented in + <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 1; + iconv_close (cd_utf8_to_88591); + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\263"; + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 2; + iconv_close (cd_ascii_to_88591); + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + ICONV_CONST char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + result |= 4; + iconv_close (cd_88591_to_utf8); + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + result |= 8; + iconv_close (cd_88591_to_utf8); + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + { + /* Try standardized names. */ + iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); + /* Try IRIX, OSF/1 names. */ + iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); + /* Try AIX names. */ + iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); + /* Try HP-UX names. */ + iconv_t cd4 = iconv_open ("utf8", "eucJP"); + if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) + && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) + result |= 16; + if (cd1 != (iconv_t)(-1)) + iconv_close (cd1); + if (cd2 != (iconv_t)(-1)) + iconv_close (cd2); + if (cd3 != (iconv_t)(-1)) + iconv_close (cd3); + if (cd4 != (iconv_t)(-1)) + iconv_close (cd4); + } + return result; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + test "$am_cv_func_iconv_works" = no || break + done + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + 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-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_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 + + +# Check whether --with-libintl-type was given. +if test "${with_libintl_type+set}" = set; then : + withval=$with_libintl_type; with_libintl_type=$withval +else + with_libintl_type=auto +fi + + lib_type=`eval echo \$with_libintl_type` + + LIBINTL= + LTLIBINTL= + INCINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + 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" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBINTL; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-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 $INCINTL; 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 + INCINTL="${INCINTL}${INCINTL:+ }-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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext" + fi + 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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if eval \${$gt_func_gnugettext_libintl+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" +else + eval "$gt_func_gnugettext_libintl=no" fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" +fi +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; 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 + + fi + + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + + +fi + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } if test x"$USE_NLS" != xyes; then @@ -12532,33 +14451,6 @@ $as_echo "$LINGUAS" >&6; } fi - MKINSTALLDIRS= - if test -n "$ac_aux_dir"; then - case "$ac_aux_dir" in - /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; - *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; - esac - fi - if test -z "$MKINSTALLDIRS"; then - MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 -$as_echo_n "checking whether NLS is requested... " >&6; } - # Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then : - enableval=$enable_nls; USE_NLS=$enableval -else - USE_NLS=yes -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -$as_echo "$USE_NLS" >&6; } - - - @@ -12836,7 +14728,7 @@ $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } rm -f messages.po fi - ac_config_commands="$ac_config_commands default-1" + ac_config_commands="$ac_config_commands default-2" @@ -13927,460 +15819,15 @@ fi - if test "X$prefix" = "XNONE"; then - acl_final_prefix="$ac_default_prefix" - else - acl_final_prefix="$prefix" - fi - if test "X$exec_prefix" = "XNONE"; then - acl_final_exec_prefix='${prefix}' - else - acl_final_exec_prefix="$exec_prefix" - fi - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" - prefix="$acl_save_prefix" - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -# Prepare PATH_SEPARATOR. -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 -$as_echo_n "checking for ld used by GCC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | [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 - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if ${acl_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - IFS="${IFS= }"; ac_save_ifs="$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 - acl_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some GNU ld's only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break - else - test "$with_gnu_ld" != yes && break - fi - fi - done - IFS="$ac_save_ifs" -else - acl_cv_path_LD="$LD" # Let the user override the test with a path. -fi -fi - -LD="$acl_cv_path_LD" -if test -n "$LD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${acl_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then - acl_cv_prog_gnu_ld=yes -else - acl_cv_prog_gnu_ld=no -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 -$as_echo "$acl_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$acl_cv_prog_gnu_ld - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 -$as_echo_n "checking for shared library run path origin... " >&6; } -if ${acl_cv_rpath+:} false; then : - $as_echo_n "(cached) " >&6 -else - - CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ - ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh - . ./conftest.sh - rm -f ./conftest.sh - acl_cv_rpath=done - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 -$as_echo "$acl_cv_rpath" >&6; } - wl="$acl_cv_wl" - libext="$acl_cv_libext" - shlibext="$acl_cv_shlibext" - hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" - hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" - hardcode_direct="$acl_cv_hardcode_direct" - hardcode_minus_L="$acl_cv_hardcode_minus_L" - # Check whether --enable-rpath was given. -if test "${enable_rpath+set}" = set; then : - enableval=$enable_rpath; : -else - enable_rpath=yes -fi - - - - - - - - - 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-libiconv-prefix was given. -if test "${with_libiconv_prefix+set}" = set; then : - withval=$with_libiconv_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 - - -# Check whether --with-libiconv-type was given. -if test "${with_libiconv_type+set}" = set; then : - withval=$with_libiconv_type; with_libiconv_type=$withval -else - with_libiconv_type=auto -fi - - lib_type=`eval echo \$with_libiconv_type` - - LIBICONV= - LTLIBICONV= - INCICONV= - rpathdirs= - ltrpathdirs= - names_already_handled= - names_next_round='iconv ' - 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" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" - eval value=\"\$LTLIB$uppername\" - test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$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" && test x$lib_type != xstatic; 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 - elif test x$lib_type != xshared; then - 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 $LTLIBICONV; 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" && test x$lib_type != xstatic; 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 - elif test x$lib_type != xshared; then - 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 - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" - if test "X$found_so" != "X"; then - if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$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 - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" - else - if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$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 $LIBICONV; 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 - LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" - fi - if test "$hardcode_minus_L" != no; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" - else - LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" - fi - fi - fi - fi - else - if test "X$found_a" != "X"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" - else - LIBICONV="${LIBICONV}${LIBICONV:+ }-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 $INCICONV; 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 - INCICONV="${INCICONV}${INCICONV:+ }-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 $LIBICONV; 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" + am_save_CPPFLAGS="$CPPFLAGS" - 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 - LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" - fi - fi - haveit= - for x in $LDFLAGS $LTLIBICONV; do + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -14390,101 +15837,15 @@ fi 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 - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" - fi - fi - fi - fi - ;; - -R*) - dir=`echo "X$dep" | sed -e 's/^X-R//'` - if test "$enable_rpath" != no; then - haveit= - for x in $rpathdirs; do - if test "X$x" = "X$dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - rpathdirs="$rpathdirs $dir" - fi - haveit= - for x in $ltrpathdirs; do - if test "X$x" = "X$dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - ltrpathdirs="$ltrpathdirs $dir" - 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$,,'` - ;; - *) - LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" - ;; - esac - done - fi - else - if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" - else - LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext" - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext" - fi - fi - fi + if test "X$x" = "X$element"; then + haveit=yes + break 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" - LIBICONV="${LIBICONV}${LIBICONV:+ }$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" - LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" - done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi - fi - if test "X$ltrpathdirs" != "X"; then - for found_dir in $ltrpathdirs; do - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" - done - fi - - - - - + done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 @@ -14495,39 +15856,12 @@ else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no - am_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $INCICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include <stdlib.h> #include <iconv.h> -int -main () -{ -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - am_cv_func_iconv=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" - - if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then - for _libs in .libs _libs; do - am_save_CPPFLAGS="$CPPFLAGS" - am_save_LIBS="$LIBS" - CPPFLAGS="$CPPFLAGS -I../libiconv/include" - LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> -#include <iconv.h> + int main () { @@ -14539,37 +15873,25 @@ iconv_t cd = iconv_open("",""); } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - INCICONV="-I../libiconv/include" - LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a - LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la - am_cv_lib_iconv=yes - am_cv_func_iconv=yes + am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" - LIBS="$am_save_LIBS" - if test "$am_cv_func_iconv" = "yes"; then - break - fi - done - fi - if test "$am_cv_func_iconv" != yes; then - am_save_CPPFLAGS="$CPPFLAGS" am_save_LIBS="$LIBS" - CPPFLAGS="$CPPFLAGS $INCICONV" LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include <stdlib.h> #include <iconv.h> + int main () { iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); ; return 0; } @@ -14580,7 +15902,6 @@ if ac_fn_c_try_link "$LINENO"; then : fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" LIBS="$am_save_LIBS" fi @@ -14588,39 +15909,181 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 $as_echo "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else -$as_echo "#define HAVE_ICONV 1" >>confdefs.h + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + am_cv_func_iconv_works=no + for ac_iconv_const in '' 'const'; do + if test "$cross_compiling" = yes; then : + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ - fi - if test "$am_cv_lib_iconv" = yes; then +#include <iconv.h> +#include <string.h> - for element in $INCICONV; do - haveit= - for x in $CPPFLAGS; do +#ifndef ICONV_CONST +# define ICONV_CONST $ac_iconv_const +#endif - 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" +int +main () +{ +int result = 0; + /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from + successful returns. This is even documented in + <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 1; + iconv_close (cd_utf8_to_88591); + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\263"; + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 2; + iconv_close (cd_ascii_to_88591); + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + ICONV_CONST char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + result |= 4; + iconv_close (cd_88591_to_utf8); + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + result |= 8; + iconv_close (cd_88591_to_utf8); + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + { + /* Try standardized names. */ + iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); + /* Try IRIX, OSF/1 names. */ + iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); + /* Try AIX names. */ + iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); + /* Try HP-UX names. */ + iconv_t cd4 = iconv_open ("utf8", "eucJP"); + if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) + && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) + result |= 16; + if (cd1 != (iconv_t)(-1)) + iconv_close (cd1); + if (cd2 != (iconv_t)(-1)) + iconv_close (cd2); + if (cd3 != (iconv_t)(-1)) + iconv_close (cd3); + if (cd4 != (iconv_t)(-1)) + iconv_close (cd4); + } + return result; - if test "X$x" = "X$element"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" - fi - done + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + test "$am_cv_func_iconv_works" = no || break + done + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h + fi + if test "$am_cv_lib_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 $as_echo_n "checking how to link with libiconv... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 $as_echo "$LIBICONV" >&6; } else + CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi @@ -14628,13 +16091,12 @@ $as_echo "$LIBICONV" >&6; } if test "$am_cv_func_iconv" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 -$as_echo_n "checking for iconv declaration... " >&6; } - if ${am_cv_proto_iconv+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv is compatible with its POSIX signature" >&5 +$as_echo_n "checking whether iconv is compatible with its POSIX signature... " >&6; } +if ${gl_cv_iconv_nonconst+:} false; then : $as_echo_n "(cached) " >&6 else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <stdlib.h> @@ -14643,11 +16105,7 @@ extern #ifdef __cplusplus "C" #endif -#if defined(__STDC__) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); -#else -size_t iconv(); -#endif int main () @@ -14658,24 +16116,42 @@ main () } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : - am_cv_proto_iconv_arg1="" + gl_cv_iconv_nonconst=yes else - am_cv_proto_iconv_arg1="const" + gl_cv_iconv_nonconst=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" -fi - am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- - }$am_cv_proto_iconv" >&5 -$as_echo "${ac_t:- - }$am_cv_proto_iconv" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_iconv_nonconst" >&5 +$as_echo "$gl_cv_iconv_nonconst" >&6; } + else + gl_cv_iconv_nonconst=yes + fi + if test $gl_cv_iconv_nonconst = yes; then + iconv_arg1="" + else + iconv_arg1="const" + fi cat >>confdefs.h <<_ACEOF -#define ICONV_CONST $am_cv_proto_iconv_arg1 +#define ICONV_CONST $iconv_arg1 _ACEOF + + + if test "$am_func_iconv" = yes; then + if test -n "$LIBICONV"; then + am_cv_func_iconv_summary='yes, in libiconv' + else + am_cv_func_iconv_summary='yes, in libc' + fi + else + if test "$am_cv_func_iconv" = yes; then + am_cv_func_iconv_summary='not working, consider installing GNU libiconv' + else + am_cv_func_iconv_summary='no, consider installing GNU libiconv' + fi fi @@ -15918,6 +17394,13 @@ fi # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it + # from automake. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + _ACEOF @@ -15931,6 +17414,7 @@ do "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;; @@ -17361,6 +18845,107 @@ _LT_EOF ;; esac done ;; + "default-2":C) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.ac. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + GMOFILES= + UPDATEPOFILES= + DUMMYPOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; esac done # for ac_tag diff --git a/binutils/po/binutils.pot b/binutils/po/binutils.pot index 2c33344..c7a0cba 100644 --- a/binutils/po/binutils.pot +++ b/binutils/po/binutils.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: https://sourceware.org/bugzilla/\n" -"POT-Creation-Date: 2023-07-03 11:41+0100\n" +"POT-Creation-Date: 2023-11-15 11:13+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -56,8 +56,8 @@ msgid "" "\n" msgstr "" -#: addr2line.c:111 ar.c:354 ar.c:391 coffdump.c:470 dlltool.c:3801 -#: dllwrap.c:518 elfedit.c:976 objcopy.c:707 objcopy.c:763 readelf.c:5336 +#: addr2line.c:111 ar.c:354 ar.c:391 coffdump.c:470 dlltool.c:3804 +#: dllwrap.c:518 elfedit.c:976 objcopy.c:707 objcopy.c:763 readelf.c:5806 #: size.c:110 srconv.c:1705 strings.c:1361 sysdump.c:655 windmc.c:227 #: windres.c:690 #, c-format @@ -95,12 +95,12 @@ msgstr "" msgid "%s: cannot find section %s" msgstr "" -#: addr2line.c:514 ar.c:748 dlltool.c:3315 nm.c:1973 objcopy.c:6109 -#: objdump.c:5890 size.c:152 strings.c:356 windmc.c:956 windres.c:816 +#: addr2line.c:514 ar.c:748 dlltool.c:3318 nm.c:1978 objcopy.c:6141 +#: objdump.c:5906 size.c:152 strings.c:356 windmc.c:958 windres.c:816 msgid "fatal error: libbfd ABI mismatch" msgstr "" -#: addr2line.c:541 nm.c:1999 objdump.c:5937 readelf.c:5633 +#: addr2line.c:541 nm.c:2004 objdump.c:5956 readelf.c:6110 #, c-format msgid "unknown demangling style `%s'" msgstr "" @@ -370,7 +370,7 @@ msgstr "" msgid "libdeps specified more than once" msgstr "" -#: ar.c:602 ar.c:677 nm.c:2118 +#: ar.c:602 ar.c:677 nm.c:2123 #, c-format msgid "sorry - this program has been built without plugin support\n" msgstr "" @@ -384,7 +384,8 @@ msgid "`u' is only meaningful with the `r' option." msgstr "" #: ar.c:810 -msgid "`u' is not meaningful with the `D' option." +msgid "" +"`u' is not meaningful with the `D' option - replacement will always happen." msgstr "" #: ar.c:813 @@ -459,36 +460,36 @@ msgstr "" msgid "Cannot convert existing thin library %s to normal format" msgstr "" -#: ar.c:1076 ar.c:1176 ar.c:1495 objcopy.c:3706 +#: ar.c:1076 ar.c:1177 ar.c:1499 objcopy.c:3722 #, c-format msgid "internal stat error on %s" msgstr "" -#: ar.c:1095 ar.c:1202 +#: ar.c:1096 ar.c:1204 #, c-format msgid "%s is not a valid archive" msgstr "" -#: ar.c:1123 +#: ar.c:1124 #, c-format msgid "illegal output pathname for archive member: %s, using '%s' instead" msgstr "" -#: ar.c:1250 +#: ar.c:1252 msgid "could not create temporary file whilst writing archive" msgstr "" -#: ar.c:1398 +#: ar.c:1400 #, c-format msgid "No member named `%s'\n" msgstr "" -#: ar.c:1448 +#: ar.c:1450 #, c-format msgid "no entry %s in archive %s!" msgstr "" -#: ar.c:1605 +#: ar.c:1629 #, c-format msgid "%s: no archive map to update" msgstr "" @@ -762,7 +763,7 @@ msgstr "" msgid "Symbol %s, tag %d, number %d" msgstr "" -#: coffdump.c:345 readelf.c:19280 readelf.c:19371 +#: coffdump.c:345 readelf.c:19750 readelf.c:19846 #, c-format msgid "Type" msgstr "" @@ -974,7 +975,7 @@ msgstr "" msgid "%s: is not a COFF format file" msgstr "" -#: cxxfilt.c:124 nm.c:380 objdump.c:460 +#: cxxfilt.c:124 nm.c:380 objdump.c:463 #, c-format msgid "Report bugs to %s.\n" msgstr "" @@ -1145,449 +1146,449 @@ msgstr "" msgid "Sucking in info from %s section in %s" msgstr "" -#: dlltool.c:1549 +#: dlltool.c:1550 #, c-format msgid "Excluding symbol: %s" msgstr "" -#: dlltool.c:1638 dlltool.c:1649 nm.c:1403 nm.c:1412 +#: dlltool.c:1639 dlltool.c:1650 nm.c:1408 nm.c:1417 #, c-format msgid "%s: no symbols" msgstr "" #. FIXME: we ought to read in and block out the base relocations. -#: dlltool.c:1675 +#: dlltool.c:1676 #, c-format msgid "Done reading %s" msgstr "" -#: dlltool.c:1685 +#: dlltool.c:1686 #, c-format msgid "Unable to open object file: %s: %s" msgstr "" -#: dlltool.c:1688 +#: dlltool.c:1689 #, c-format msgid "Scanning object file %s" msgstr "" -#: dlltool.c:1708 +#: dlltool.c:1709 #, c-format msgid "Cannot produce mcore-elf dll from archive file: %s" msgstr "" -#: dlltool.c:1810 +#: dlltool.c:1811 msgid "Adding exports to output file" msgstr "" -#: dlltool.c:1862 +#: dlltool.c:1863 msgid "Added exports to output file" msgstr "" -#: dlltool.c:2030 +#: dlltool.c:2031 #, c-format msgid "Generating export file: %s" msgstr "" -#: dlltool.c:2035 +#: dlltool.c:2036 #, c-format msgid "Unable to open temporary assembler file: %s" msgstr "" -#: dlltool.c:2040 +#: dlltool.c:2041 #, c-format msgid "Opened temporary file: %s" msgstr "" -#: dlltool.c:2216 +#: dlltool.c:2217 msgid "failed to read the number of entries from base file" msgstr "" -#: dlltool.c:2267 +#: dlltool.c:2268 msgid "Generated exports file" msgstr "" -#: dlltool.c:2425 +#: dlltool.c:2426 #, c-format msgid "bfd_open failed open stub file: %s: %s" msgstr "" -#: dlltool.c:2429 +#: dlltool.c:2430 #, c-format msgid "Creating stub file: %s" msgstr "" -#: dlltool.c:2766 +#: dlltool.c:2767 #, c-format msgid "bfd_open failed reopen stub file: %s: %s" msgstr "" -#: dlltool.c:2780 dlltool.c:2859 +#: dlltool.c:2781 dlltool.c:2860 #, c-format msgid "failed to open temporary head file: %s" msgstr "" -#: dlltool.c:2844 dlltool.c:2934 +#: dlltool.c:2845 dlltool.c:2935 #, c-format msgid "failed to open temporary head file: %s: %s" msgstr "" -#: dlltool.c:2949 +#: dlltool.c:2950 #, c-format msgid "failed to open temporary tail file: %s" msgstr "" -#: dlltool.c:2985 +#: dlltool.c:2986 #, c-format msgid "failed to open temporary tail file: %s: %s" msgstr "" -#: dlltool.c:3008 +#: dlltool.c:3009 #, c-format msgid "Can't create .lib file: %s: %s" msgstr "" -#: dlltool.c:3012 +#: dlltool.c:3013 #, c-format msgid "Creating library file: %s" msgstr "" -#: dlltool.c:3102 dlltool.c:3108 +#: dlltool.c:3105 dlltool.c:3111 #, c-format msgid "cannot delete %s: %s" msgstr "" -#: dlltool.c:3114 +#: dlltool.c:3117 msgid "Created lib file" msgstr "" -#: dlltool.c:3320 +#: dlltool.c:3323 #, c-format msgid "Can't open .lib file: %s: %s" msgstr "" -#: dlltool.c:3328 dlltool.c:3350 +#: dlltool.c:3331 dlltool.c:3353 #, c-format msgid "%s is not a library" msgstr "" -#: dlltool.c:3368 +#: dlltool.c:3371 #, c-format msgid "Import library `%s' specifies two or more dlls" msgstr "" -#: dlltool.c:3379 +#: dlltool.c:3382 #, c-format msgid "Unable to determine dll name for `%s' (not an import library?)" msgstr "" -#: dlltool.c:3605 +#: dlltool.c:3608 #, c-format msgid "Warning, ignoring duplicate EXPORT %s %d,%d" msgstr "" -#: dlltool.c:3611 +#: dlltool.c:3614 #, c-format msgid "Error, duplicate EXPORT with ordinals: %s" msgstr "" -#: dlltool.c:3714 +#: dlltool.c:3717 msgid "Processing definitions" msgstr "" -#: dlltool.c:3741 +#: dlltool.c:3744 msgid "Processed definitions" msgstr "" #. xgetext:c-format -#: dlltool.c:3748 dllwrap.c:477 +#: dlltool.c:3751 dllwrap.c:477 #, c-format msgid "Usage %s <option(s)> <object-file(s)>\n" msgstr "" #. xgetext:c-format -#: dlltool.c:3750 +#: dlltool.c:3753 #, c-format msgid "" " -m --machine <machine> Create as DLL for <machine>. [default: %s]\n" msgstr "" -#: dlltool.c:3751 +#: dlltool.c:3754 #, c-format msgid "" " possible <machine>: arm[_interwork], arm64, i386, mcore[-elf]{-le|-" "be}, thumb\n" msgstr "" -#: dlltool.c:3752 +#: dlltool.c:3755 #, c-format msgid " -e --output-exp <outname> Generate an export file.\n" msgstr "" -#: dlltool.c:3753 +#: dlltool.c:3756 #, c-format msgid " -l --output-lib <outname> Generate an interface library.\n" msgstr "" -#: dlltool.c:3754 +#: dlltool.c:3757 #, c-format msgid " -y --output-delaylib <outname> Create a delay-import library.\n" msgstr "" -#: dlltool.c:3755 +#: dlltool.c:3758 #, c-format msgid " --deterministic-libraries\n" msgstr "" -#: dlltool.c:3757 +#: dlltool.c:3760 #, c-format msgid "" " Use zero for timestamps and uids/gids in output " "libraries (default)\n" msgstr "" -#: dlltool.c:3759 +#: dlltool.c:3762 #, c-format msgid "" " Use zero for timestamps and uids/gids in output " "libraries\n" msgstr "" -#: dlltool.c:3760 +#: dlltool.c:3763 #, c-format msgid " --non-deterministic-libraries\n" msgstr "" -#: dlltool.c:3762 +#: dlltool.c:3765 #, c-format msgid "" " Use actual timestamps and uids/gids in output " "libraries\n" msgstr "" -#: dlltool.c:3764 +#: dlltool.c:3767 #, c-format msgid "" " Use actual timestamps and uids/gids in output " "libraries (default)\n" msgstr "" -#: dlltool.c:3765 +#: dlltool.c:3768 #, c-format msgid " -a --add-indirect Add dll indirects to export file.\n" msgstr "" -#: dlltool.c:3766 +#: dlltool.c:3769 #, c-format msgid "" " -D --dllname <name> Name of input dll to put into interface lib.\n" msgstr "" -#: dlltool.c:3767 +#: dlltool.c:3770 #, c-format msgid " -d --input-def <deffile> Name of .def file to be read in.\n" msgstr "" -#: dlltool.c:3768 +#: dlltool.c:3771 #, c-format msgid " -z --output-def <deffile> Name of .def file to be created.\n" msgstr "" -#: dlltool.c:3769 +#: dlltool.c:3772 #, c-format msgid " --export-all-symbols Export all symbols to .def\n" msgstr "" -#: dlltool.c:3770 +#: dlltool.c:3773 #, c-format msgid " --no-export-all-symbols Only export listed symbols\n" msgstr "" -#: dlltool.c:3771 +#: dlltool.c:3774 #, c-format msgid " --exclude-symbols <list> Don't export <list>\n" msgstr "" -#: dlltool.c:3772 +#: dlltool.c:3775 #, c-format msgid " --no-default-excludes Clear default exclude symbols\n" msgstr "" -#: dlltool.c:3773 +#: dlltool.c:3776 #, c-format msgid " -b --base-file <basefile> Read linker generated base file.\n" msgstr "" -#: dlltool.c:3774 +#: dlltool.c:3777 #, c-format msgid " -x --no-idata4 Don't generate idata$4 section.\n" msgstr "" -#: dlltool.c:3775 +#: dlltool.c:3778 #, c-format msgid " -c --no-idata5 Don't generate idata$5 section.\n" msgstr "" -#: dlltool.c:3776 +#: dlltool.c:3779 #, c-format msgid "" " --use-nul-prefixed-import-tables Use zero prefixed idata$4 and idata" "$5.\n" msgstr "" -#: dlltool.c:3777 +#: dlltool.c:3780 #, c-format msgid "" " -U --add-underscore Add underscores to all symbols in interface " "library.\n" msgstr "" -#: dlltool.c:3778 +#: dlltool.c:3781 #, c-format msgid "" " --add-stdcall-underscore Add underscores to stdcall symbols in " "interface library.\n" msgstr "" -#: dlltool.c:3779 +#: dlltool.c:3782 #, c-format msgid "" " --no-leading-underscore All symbols shouldn't be prefixed by an " "underscore.\n" msgstr "" -#: dlltool.c:3780 +#: dlltool.c:3783 #, c-format msgid "" " --leading-underscore All symbols should be prefixed by an " "underscore.\n" msgstr "" -#: dlltool.c:3781 +#: dlltool.c:3784 #, c-format msgid " -k --kill-at Kill @<n> from exported names.\n" msgstr "" -#: dlltool.c:3782 +#: dlltool.c:3785 #, c-format msgid " -A --add-stdcall-alias Add aliases without @<n>.\n" msgstr "" -#: dlltool.c:3783 +#: dlltool.c:3786 #, c-format msgid " -p --ext-prefix-alias <prefix> Add aliases with <prefix>.\n" msgstr "" -#: dlltool.c:3784 +#: dlltool.c:3787 #, c-format msgid " -S --as <name> Use <name> for assembler.\n" msgstr "" -#: dlltool.c:3785 +#: dlltool.c:3788 #, c-format msgid " -f --as-flags <flags> Pass <flags> to the assembler.\n" msgstr "" -#: dlltool.c:3786 +#: dlltool.c:3789 #, c-format msgid "" " -C --compat-implib Create backward compatible import library.\n" msgstr "" -#: dlltool.c:3787 +#: dlltool.c:3790 #, c-format msgid "" " -n --no-delete Keep temp files (repeat for extra " "preservation).\n" msgstr "" -#: dlltool.c:3788 +#: dlltool.c:3791 #, c-format msgid "" " -t --temp-prefix <prefix> Use <prefix> to construct temp file names.\n" msgstr "" -#: dlltool.c:3789 +#: dlltool.c:3792 #, c-format msgid "" " -I --identify <implib> Report the name of the DLL associated with " "<implib>.\n" msgstr "" -#: dlltool.c:3790 +#: dlltool.c:3793 #, c-format msgid "" " --identify-strict Causes --identify to report error when multiple " "DLLs.\n" msgstr "" -#: dlltool.c:3791 +#: dlltool.c:3794 #, c-format msgid " -v --verbose Be verbose.\n" msgstr "" -#: dlltool.c:3792 +#: dlltool.c:3795 #, c-format msgid " -V --version Display the program version.\n" msgstr "" -#: dlltool.c:3793 +#: dlltool.c:3796 #, c-format msgid " -h --help Display this information.\n" msgstr "" -#: dlltool.c:3794 +#: dlltool.c:3797 #, c-format msgid " @<file> Read options from <file>.\n" msgstr "" -#: dlltool.c:3796 +#: dlltool.c:3799 #, c-format msgid "" " -M --mcore-elf <outname> Process mcore-elf object files into <outname>.\n" msgstr "" -#: dlltool.c:3797 +#: dlltool.c:3800 #, c-format msgid " -L --linker <name> Use <name> as the linker.\n" msgstr "" -#: dlltool.c:3798 +#: dlltool.c:3801 #, c-format msgid " -F --linker-flags <flags> Pass <flags> to the linker.\n" msgstr "" -#: dlltool.c:3948 +#: dlltool.c:3951 #, c-format msgid "Unable to open def-file: %s" msgstr "" -#: dlltool.c:3953 +#: dlltool.c:3956 #, c-format msgid "Path components stripped from dllname, '%s'." msgstr "" -#: dlltool.c:4001 +#: dlltool.c:4004 #, c-format msgid "Unable to open base-file: %s" msgstr "" -#: dlltool.c:4039 +#: dlltool.c:4042 #, c-format msgid "Machine '%s' not supported" msgstr "" -#: dlltool.c:4138 +#: dlltool.c:4141 #, c-format msgid "Warning, machine type (%d) not supported for delayimport." msgstr "" -#: dlltool.c:4206 dllwrap.c:206 +#: dlltool.c:4209 dllwrap.c:206 #, c-format msgid "Tried file: %s" msgstr "" -#: dlltool.c:4213 dllwrap.c:213 +#: dlltool.c:4216 dllwrap.c:213 #, c-format msgid "Using file: %s" msgstr "" @@ -1852,20 +1853,20 @@ msgstr "" msgid "DRIVER options : %s\n" msgstr "" -#: dwarf.c:186 +#: dwarf.c:187 msgid "Encoded value extends past end of section\n" msgstr "" -#: dwarf.c:194 +#: dwarf.c:195 #, c-format msgid "Encoded size of %d is too large to read\n" msgstr "" -#: dwarf.c:202 +#: dwarf.c:203 msgid "Encoded size of 0 is too small to read\n" msgstr "" -#: dwarf.c:262 readelf.c:3796 readelf.c:11014 +#: dwarf.c:263 readelf.c:3582 readelf.c:11485 msgid "unknown" msgstr "" @@ -1877,7 +1878,7 @@ msgstr "" #. This macro cannot protect against PTR values derived from user input. #. The C standard sections 6.5.6 and 6.5.8 say attempts to do so using #. pointers is undefined behaviour. -#: dwarf.c:341 +#: dwarf.c:342 #, c-format msgid "internal error: attempt to read %d byte of data in to %d sized variable" msgid_plural "" @@ -1885,52 +1886,52 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: dwarf.c:429 dwarf.c:5352 +#: dwarf.c:430 dwarf.c:5554 msgid "Badly formed extended line op encountered!\n" msgstr "" -#: dwarf.c:435 +#: dwarf.c:436 #, c-format msgid " Extended opcode %d: " msgstr "" -#: dwarf.c:440 +#: dwarf.c:441 #, c-format msgid "" "End of Sequence\n" "\n" msgstr "" -#: dwarf.c:448 +#: dwarf.c:449 #, c-format msgid "Length (%zu) of DW_LNE_set_address op is too long\n" msgstr "" -#: dwarf.c:454 +#: dwarf.c:455 #, c-format msgid "set Address to %#<PRIx64>\n" msgstr "" -#: dwarf.c:461 +#: dwarf.c:462 #, c-format msgid "define new File Table entry\n" msgstr "" -#: dwarf.c:462 dwarf.c:4625 +#: dwarf.c:463 dwarf.c:4827 #, c-format msgid " Entry\tDir\tTime\tSize\tName\n" msgstr "" -#: dwarf.c:483 +#: dwarf.c:484 msgid "DW_LNE_define_file: Bad opcode length\n" msgstr "" -#: dwarf.c:488 +#: dwarf.c:489 #, c-format msgid "set Discriminator to %<PRIu64>\n" msgstr "" -#: dwarf.c:554 +#: dwarf.c:555 #, c-format msgid " UNKNOWN DW_LNE_HP_SFC opcode (%u)\n" msgstr "" @@ -1939,1715 +1940,1683 @@ msgstr "" #. the limited range of the unsigned char data type used #. for op_code. #. && op_code <= DW_LNE_hi_user -#: dwarf.c:571 +#: dwarf.c:572 #, c-format msgid "user defined: " msgstr "" -#: dwarf.c:573 +#: dwarf.c:574 #, c-format msgid "UNKNOWN: " msgstr "" -#: dwarf.c:574 +#: dwarf.c:575 #, c-format msgid "length %d [" msgstr "" -#: dwarf.c:592 dwarf.c:660 +#: dwarf.c:593 dwarf.c:661 msgid "<no .debug_str section>" msgstr "" -#: dwarf.c:596 +#: dwarf.c:597 #, c-format msgid "DW_FORM_strp offset too big: %#<PRIx64>\n" msgstr "" -#: dwarf.c:597 dwarf.c:624 dwarf.c:1811 +#: dwarf.c:598 dwarf.c:625 dwarf.c:1797 msgid "<offset is too big>" msgstr "" -#: dwarf.c:607 +#: dwarf.c:608 msgid "<no NUL byte at end of .debug_str section>" msgstr "" -#: dwarf.c:619 +#: dwarf.c:620 msgid "<no .debug_line_str section>" msgstr "" -#: dwarf.c:623 +#: dwarf.c:624 #, c-format msgid "DW_FORM_line_strp offset too big: %#<PRIx64>\n" msgstr "" -#: dwarf.c:634 +#: dwarf.c:635 msgid "<no NUL byte at end of .debug_line_str section>" msgstr "" -#: dwarf.c:655 +#: dwarf.c:656 msgid "<no .debug_str_offsets.dwo section>" msgstr "" -#: dwarf.c:656 +#: dwarf.c:657 msgid "<no .debug_str_offsets section>" msgstr "" -#: dwarf.c:659 +#: dwarf.c:660 msgid "<no .debug_str.dwo section>" msgstr "" -#: dwarf.c:670 +#: dwarf.c:671 #, c-format msgid "" "string index of %<PRIu64> converts to an offset of %#<PRIx64> which is too " "big for section %s" msgstr "" -#: dwarf.c:674 +#: dwarf.c:675 msgid "<string index too big>" msgstr "" -#: dwarf.c:682 +#: dwarf.c:683 #, c-format msgid "indirect offset too big: %#<PRIx64>\n" msgstr "" -#: dwarf.c:683 +#: dwarf.c:684 msgid "<indirect index offset is too big>" msgstr "" -#: dwarf.c:693 +#: dwarf.c:694 msgid "<no NUL byte at end of section>" msgstr "" -#: dwarf.c:705 +#: dwarf.c:706 msgid "Cannot fetch indexed address: the .debug_addr section is missing\n" msgstr "" -#: dwarf.c:711 dwarf.c:767 +#: dwarf.c:712 #, c-format msgid "Offset into section %s too big: %#<PRIx64>\n" msgstr "" -#: dwarf.c:732 +#: dwarf.c:740 #, c-format msgid "Unable to locate %s section\n" msgstr "" -#: dwarf.c:738 +#: dwarf.c:746 #, c-format msgid "" "Section %s is too small to contain an value indexed from another section!\n" msgstr "" +#: dwarf.c:753 +#, c-format +msgid "Offset of %#<PRIx64> is too big for section %s\n" +msgstr "" + #. Report the missing single zero which ends the section. -#: dwarf.c:1042 +#: dwarf.c:1028 #, c-format msgid "%s section not zero terminated\n" msgstr "" #. PR 17531: file:4bcd9ce9. -#: dwarf.c:1069 +#: dwarf.c:1055 #, c-format msgid "" "Debug info is corrupted, abbrev size (%#<PRIx64>) is larger than abbrev " "section size (%#<PRIx64>)\n" msgstr "" -#: dwarf.c:1076 +#: dwarf.c:1062 #, c-format msgid "" "Debug info is corrupted, abbrev offset (%#<PRIx64>) is larger than abbrev " "section size (%#<PRIx64>)\n" msgstr "" -#: dwarf.c:1109 +#: dwarf.c:1095 #, c-format msgid "User TAG value: %#<PRIx64>" msgstr "" -#: dwarf.c:1112 +#: dwarf.c:1098 #, c-format msgid "Unknown TAG value: %#<PRIx64>" msgstr "" -#: dwarf.c:1133 +#: dwarf.c:1119 #, c-format msgid "Unknown FORM value: %lx" msgstr "" -#: dwarf.c:1151 +#: dwarf.c:1137 #, c-format msgid "Unknown IDX value: %lx" msgstr "" -#: dwarf.c:1165 +#: dwarf.c:1151 #, c-format msgid "%c%<PRIu64> byte block: " msgstr "" -#: dwarf.c:1502 +#: dwarf.c:1488 #, c-format msgid "(DW_OP_call_ref in frame info)" msgstr "" -#: dwarf.c:1525 +#: dwarf.c:1511 #, c-format msgid "size: %<PRIu64> " msgstr "" -#: dwarf.c:1527 +#: dwarf.c:1513 #, c-format msgid "offset: %<PRIu64> " msgstr "" -#: dwarf.c:1543 +#: dwarf.c:1529 #, c-format msgid "DW_OP_GNU_push_tls_address or DW_OP_HP_unknown" msgstr "" -#: dwarf.c:1568 +#: dwarf.c:1554 #, c-format msgid "(%s in frame info)" msgstr "" -#: dwarf.c:1671 +#: dwarf.c:1657 #, c-format msgid "(DW_OP_GNU_variable_value in frame info)" msgstr "" -#: dwarf.c:1724 +#: dwarf.c:1710 #, c-format msgid "(User defined location op %#x)" msgstr "" -#: dwarf.c:1726 +#: dwarf.c:1712 #, c-format msgid "(Unknown location op %#x)" msgstr "" -#: dwarf.c:1780 +#: dwarf.c:1766 msgid "<no links available>" msgstr "" -#: dwarf.c:1804 +#: dwarf.c:1790 msgid "<no NUL byte at end of alt .debug_str section>" msgstr "" -#: dwarf.c:1809 +#: dwarf.c:1795 #, c-format msgid "" "DW_FORM_GNU_strp_alt offset (%#<PRIx64>) too big or no string sections " "available\n" msgstr "" -#: dwarf.c:1832 +#: dwarf.c:1818 #, c-format msgid "Unknown AT value: %lx" msgstr "" -#: dwarf.c:1898 +#: dwarf.c:1884 #, c-format msgid "Corrupt attribute block length: %#<PRIx64>\n" msgstr "" -#: dwarf.c:2080 +#: dwarf.c:2066 #, c-format msgid "" "Unable to resolve ref_addr form: uvalue %lx > section size %<PRIx64> (%s)\n" msgstr "" -#: dwarf.c:2099 +#: dwarf.c:2085 #, c-format msgid "" "Unable to resolve ref form: uvalue %lx + cu_offset %<PRIx64> > CU size %tx\n" msgstr "" -#: dwarf.c:2110 +#: dwarf.c:2096 #, c-format msgid "Unexpected form %lx encountered whilst finding abbreviation for type\n" msgstr "" -#: dwarf.c:2119 +#: dwarf.c:2105 #, c-format msgid "Unable to find abbreviations for CU offset %#lx\n" msgstr "" -#: dwarf.c:2124 +#: dwarf.c:2110 #, c-format msgid "Empty abbreviation list encountered for CU offset %lx\n" msgstr "" -#: dwarf.c:2149 +#: dwarf.c:2135 #, c-format msgid "Unable to find entry for abbreviation %lu\n" msgstr "" -#: dwarf.c:2303 +#: dwarf.c:2289 msgid "corrupt discr_list - not using a block form\n" msgstr "" -#: dwarf.c:2310 +#: dwarf.c:2296 msgid "corrupt discr_list - block not long enough\n" msgstr "" -#: dwarf.c:2345 +#: dwarf.c:2331 #, c-format msgid "corrupt discr_list - unrecognized discriminant byte %#x\n" msgstr "" -#: dwarf.c:2386 +#: dwarf.c:2405 +#, c-format +msgid "implementation defined: %#<PRIx64>" +msgstr "" + +#: dwarf.c:2407 +#, c-format +msgid "unknown: %#<PRIx64>" +msgstr "" + +#: dwarf.c:2438 msgid "Corrupt attribute\n" msgstr "" -#: dwarf.c:2409 +#: dwarf.c:2461 msgid "Internal error: DW_FORM_ref_addr is not supported in DWARF version 1.\n" msgstr "" -#: dwarf.c:2603 +#: dwarf.c:2655 msgid "Block ends prematurely\n" msgstr "" #. We have already displayed the form name. -#: dwarf.c:2638 dwarf.c:2651 dwarf.c:2675 +#: dwarf.c:2690 dwarf.c:2703 dwarf.c:2727 #, c-format msgid "%c(offset: %#<PRIx64>): %s" msgstr "" -#: dwarf.c:2641 +#: dwarf.c:2693 #, c-format msgid "%c(indirect string, offset: %#<PRIx64>): %s" msgstr "" -#: dwarf.c:2654 +#: dwarf.c:2706 #, c-format msgid "%c(indirect line string, offset: %#<PRIx64>): %s" msgstr "" -#: dwarf.c:2678 +#: dwarf.c:2730 #, c-format msgid "%c(indexed string: %#<PRIx64>): %s" msgstr "" #. We have already displayed the form name. -#: dwarf.c:2688 +#: dwarf.c:2740 #, c-format msgid "%c(offset: %#<PRIx64>) %s" msgstr "" -#: dwarf.c:2691 +#: dwarf.c:2743 #, c-format msgid "%c(alt indirect string, offset: %#<PRIx64>) %s" msgstr "" -#: dwarf.c:2743 +#: dwarf.c:2800 #, c-format msgid "loc_offset %<PRIu64> too big\n" msgstr "" -#: dwarf.c:2784 +#: dwarf.c:2838 #, c-format msgid "%c(index: %#<PRIx64>): %#<PRIx64>" msgstr "" -#: dwarf.c:2795 +#: dwarf.c:2849 #, c-format msgid "Unrecognized form: %#lx" msgstr "" -#: dwarf.c:2809 +#: dwarf.c:2863 #, c-format msgid "" "CU @ %#<PRIx64> has multiple loclists_base values (%#<PRIx64> and %#<PRIx64>)" msgstr "" -#: dwarf.c:2816 +#: dwarf.c:2870 #, c-format msgid "" "CU @ %#<PRIx64> has has a negative loclists_base value of %#<PRIx64> - " "treating as zero" msgstr "" -#: dwarf.c:2826 -#, c-format -msgid "" -"CU @ %#<PRIx64> has multiple rnglists_base values (%#<PRIx64> and %#<PRIx64>)" -msgstr "" - -#: dwarf.c:2833 -#, c-format -msgid "" -"CU @ %#<PRIx64> has has a negative rnglists_base value of %#<PRIx64> - " -"treating as zero" -msgstr "" - -#: dwarf.c:2843 +#: dwarf.c:2884 #, c-format msgid "" "CU @ %#<PRIx64> has multiple str_offsets_base values %#<PRIx64> and %" "#<PRIx64>)" msgstr "" -#: dwarf.c:2850 +#: dwarf.c:2891 #, c-format msgid "" "CU @ %#<PRIx64> has has a negative stroffsets_base value of %#<PRIx64> - " "treating as zero" msgstr "" -#: dwarf.c:2915 +#: dwarf.c:2959 msgid "More location offset attributes than DW_AT_GNU_locview attributes\n" msgstr "" -#: dwarf.c:2926 +#: dwarf.c:2970 #, c-format msgid "The number of views (%u) is greater than the number of locations (%u)\n" msgstr "" -#: dwarf.c:2933 +#: dwarf.c:2977 msgid "More DW_AT_GNU_locview attributes than location offset attributes\n" msgstr "" -#: dwarf.c:3009 dwarf.c:3043 dwarf.c:3058 +#: dwarf.c:3066 dwarf.c:3100 dwarf.c:3115 #, c-format msgid "Unsupported form (%s) for attribute %s\n" msgstr "" -#: dwarf.c:3105 +#: dwarf.c:3162 #, c-format msgid "(not inlined)" msgstr "" -#: dwarf.c:3108 +#: dwarf.c:3165 #, c-format msgid "(inlined)" msgstr "" -#: dwarf.c:3111 +#: dwarf.c:3168 #, c-format msgid "(declared as inline but ignored)" msgstr "" -#: dwarf.c:3114 +#: dwarf.c:3171 #, c-format msgid "(declared as inline and inlined)" msgstr "" -#: dwarf.c:3117 -#, c-format -msgid " (Unknown inline attribute value: %#<PRIx64>)" -msgstr "" - #: dwarf.c:3174 #, c-format -msgid "(implementation defined: %#<PRIx64>)" -msgstr "" - -#: dwarf.c:3176 -#, c-format -msgid "(unknown: %#<PRIx64>)" +msgid " (Unknown inline attribute value: %#<PRIx64>)" msgstr "" -#: dwarf.c:3221 +#: dwarf.c:3226 #, c-format msgid "(user defined type)" msgstr "" -#: dwarf.c:3223 +#: dwarf.c:3228 #, c-format msgid "(unknown type)" msgstr "" -#: dwarf.c:3236 +#: dwarf.c:3241 #, c-format msgid "(unknown accessibility)" msgstr "" -#: dwarf.c:3248 +#: dwarf.c:3253 #, c-format msgid "(unknown visibility)" msgstr "" -#: dwarf.c:3261 +#: dwarf.c:3266 #, c-format msgid "(user specified)" msgstr "" -#: dwarf.c:3263 +#: dwarf.c:3268 #, c-format msgid "(unknown endianity)" msgstr "" -#: dwarf.c:3275 +#: dwarf.c:3280 #, c-format msgid "(unknown virtuality)" msgstr "" -#: dwarf.c:3287 +#: dwarf.c:3292 #, c-format msgid "(unknown case)" msgstr "" -#: dwarf.c:3305 +#: dwarf.c:3310 #, c-format msgid "(user defined)" msgstr "" -#: dwarf.c:3307 +#: dwarf.c:3312 #, c-format msgid "(unknown convention)" msgstr "" -#: dwarf.c:3316 +#: dwarf.c:3321 #, c-format msgid "(undefined)" msgstr "" -#: dwarf.c:3326 +#: dwarf.c:3331 #, c-format msgid "(unsigned)" msgstr "" -#: dwarf.c:3327 +#: dwarf.c:3332 #, c-format msgid "(leading overpunch)" msgstr "" -#: dwarf.c:3328 +#: dwarf.c:3333 #, c-format msgid "(trailing overpunch)" msgstr "" -#: dwarf.c:3329 +#: dwarf.c:3334 #, c-format msgid "(leading separate)" msgstr "" -#: dwarf.c:3330 +#: dwarf.c:3335 #, c-format msgid "(trailing separate)" msgstr "" -#: dwarf.c:3331 dwarf.c:3342 +#: dwarf.c:3336 dwarf.c:3347 #, c-format msgid "(unrecognised)" msgstr "" -#: dwarf.c:3339 +#: dwarf.c:3344 #, c-format msgid "(no)" msgstr "" -#: dwarf.c:3340 +#: dwarf.c:3345 #, c-format msgid "(in class)" msgstr "" -#: dwarf.c:3341 +#: dwarf.c:3346 #, c-format msgid "(out of class)" msgstr "" -#: dwarf.c:3380 +#: dwarf.c:3385 #, c-format msgid " (location list)" msgstr "" -#: dwarf.c:3403 dwarf.c:6600 dwarf.c:6805 dwarf.c:6980 +#: dwarf.c:3408 dwarf.c:6802 dwarf.c:7004 dwarf.c:7179 #, c-format msgid " [without DW_AT_frame_base]" msgstr "" -#: dwarf.c:3433 +#: dwarf.c:3438 #, c-format msgid "" "Offset %#<PRIx64> used as value for DW_AT_import attribute of DIE at offset %" "#tx is too big.\n" msgstr "" -#: dwarf.c:3439 +#: dwarf.c:3444 #, c-format msgid "\t[Abbrev Number: %ld" msgstr "" -#: dwarf.c:3534 +#: dwarf.c:3539 #, c-format msgid "" "Raw dump of debug contents of section %s (loaded from %s):\n" "\n" msgstr "" -#: dwarf.c:3537 +#: dwarf.c:3542 #, c-format msgid "" "Raw dump of debug contents of section %s:\n" "\n" msgstr "" -#: dwarf.c:3542 +#: dwarf.c:3547 #, c-format msgid "" "Contents of the %s section (loaded from %s):\n" "\n" msgstr "" -#: dwarf.c:3545 +#: dwarf.c:3550 #, c-format msgid "" "Contents of the %s section:\n" "\n" msgstr "" -#: dwarf.c:3603 +#: dwarf.c:3677 +msgid "Unexpected form in top DIE\n" +msgstr "" + +#: dwarf.c:3708 +msgid "Unexpected form of DW_AT_rnglists_base in the top DIE\n" +msgstr "" + +#: dwarf.c:3718 +msgid "Unexpected form of DW_AT_addr_base in the top DIE\n" +msgstr "" + +#: dwarf.c:3765 #, c-format msgid "Reserved length value (%#<PRIx64>) found in section %s\n" msgstr "" -#: dwarf.c:3613 +#: dwarf.c:3775 #, c-format msgid "" "Corrupt unit length (got %#<PRIx64> expected at most %#tx) in section %s\n" msgstr "" -#: dwarf.c:3623 +#: dwarf.c:3785 #, c-format msgid "No comp units in %s section ?\n" msgstr "" -#: dwarf.c:3637 +#: dwarf.c:3799 #, c-format msgid "Not enough memory for a debug info array of %u entries\n" msgstr "" -#: dwarf.c:3671 +#: dwarf.c:3833 #, c-format msgid "Unable to locate %s section!\n" msgstr "" -#: dwarf.c:3838 +#: dwarf.c:4000 #, c-format msgid "Invalid pointer size (%d) in compunit header, using %d instead\n" msgstr "" -#: dwarf.c:3872 +#: dwarf.c:4034 #, c-format msgid " Compilation Unit @ offset %#<PRIx64>:\n" msgstr "" -#: dwarf.c:3874 +#: dwarf.c:4036 #, c-format msgid " Length: %#<PRIx64> (%s)\n" msgstr "" -#: dwarf.c:3877 +#: dwarf.c:4039 #, c-format msgid " Version: %d\n" msgstr "" -#: dwarf.c:3882 +#: dwarf.c:4044 #, c-format msgid " Unit Type: %s (%x)\n" msgstr "" -#: dwarf.c:3886 +#: dwarf.c:4048 #, c-format msgid " Abbrev Offset: %#<PRIx64>\n" msgstr "" -#: dwarf.c:3888 +#: dwarf.c:4050 #, c-format msgid " Pointer Size: %d\n" msgstr "" -#: dwarf.c:3891 +#: dwarf.c:4053 #, c-format msgid " Signature: %#<PRIx64>\n" msgstr "" -#: dwarf.c:3892 +#: dwarf.c:4054 #, c-format msgid " Type Offset: %#<PRIx64>\n" msgstr "" -#: dwarf.c:3895 +#: dwarf.c:4057 #, c-format msgid " DWO ID: %#<PRIx64>\n" msgstr "" -#: dwarf.c:3901 +#: dwarf.c:4063 #, c-format msgid " Section contributions:\n" msgstr "" -#: dwarf.c:3902 +#: dwarf.c:4064 #, c-format msgid " .debug_abbrev.dwo: %#<PRIx64> %#zx\n" msgstr "" -#: dwarf.c:3904 +#: dwarf.c:4066 #, c-format msgid " .debug_line.dwo: %#<PRIx64> %#zx\n" msgstr "" -#: dwarf.c:3906 +#: dwarf.c:4068 #, c-format msgid " .debug_loc.dwo: %#<PRIx64> %#zx\n" msgstr "" -#: dwarf.c:3908 +#: dwarf.c:4070 #, c-format msgid " .debug_str_offsets.dwo: %#<PRIx64> %#zx\n" msgstr "" -#: dwarf.c:3918 +#: dwarf.c:4080 #, c-format msgid "" "CU at offset %#<PRIx64> contains corrupt or unsupported version number: %d.\n" msgstr "" -#: dwarf.c:3930 +#: dwarf.c:4092 #, c-format msgid "" "CU at offset %#<PRIx64> contains corrupt or unsupported unit type: %d.\n" msgstr "" -#: dwarf.c:3975 +#: dwarf.c:4137 #, c-format msgid " <%d><%lx>: Abbrev Number: 0\n" msgstr "" -#: dwarf.c:3985 +#: dwarf.c:4147 #, c-format msgid "Bogus end-of-siblings marker detected at offset %lx in %s section\n" msgstr "" -#: dwarf.c:3989 +#: dwarf.c:4151 msgid "Further warnings about bogus end-of-sibling markers suppressed\n" msgstr "" -#: dwarf.c:4008 +#: dwarf.c:4174 #, c-format msgid " <%d><%lx>: Abbrev Number: %lu" msgstr "" -#: dwarf.c:4012 +#: dwarf.c:4178 #, c-format msgid " <%d><%lx>: ...\n" msgstr "" -#: dwarf.c:4032 +#: dwarf.c:4198 #, c-format msgid "" "DIE at offset %#lx refers to abbreviation number %lu which does not exist\n" msgstr "" -#: dwarf.c:4107 +#: dwarf.c:4261 +#, c-format +msgid "" +"CU @ %#<PRIx64> has has a negative rnglists_base value of %#<PRIx64> - " +"treating as zero" +msgstr "" + +#: dwarf.c:4309 msgid "DIE has locviews without loclist\n" msgstr "" -#: dwarf.c:4218 +#: dwarf.c:4420 #, c-format msgid "" "The length field (%#<PRIx64>) in the debug_line header is wrong - the " "section is too small\n" msgstr "" -#: dwarf.c:4235 +#: dwarf.c:4437 msgid "Only DWARF version 2, 3, 4 and 5 line info is currently supported.\n" msgstr "" -#: dwarf.c:4247 dwarf.c:7271 dwarf.c:8204 +#: dwarf.c:4449 dwarf.c:7342 dwarf.c:8278 #, c-format msgid "The %s section contains unsupported segment selector size: %d.\n" msgstr "" -#: dwarf.c:4264 +#: dwarf.c:4466 msgid "Invalid maximum operations per insn.\n" msgstr "" -#: dwarf.c:4291 +#: dwarf.c:4493 msgid "Directory Table" msgstr "" -#: dwarf.c:4291 +#: dwarf.c:4493 msgid "File Name Table" msgstr "" -#: dwarf.c:4295 +#: dwarf.c:4497 #, c-format msgid "Unexpectedly large number of columns in the %s (%u)\n" msgstr "" -#: dwarf.c:4305 +#: dwarf.c:4507 #, c-format msgid "%s: Corrupt format description entry\n" msgstr "" -#: dwarf.c:4313 +#: dwarf.c:4515 #, c-format msgid "" "\n" " The %s is empty.\n" msgstr "" -#: dwarf.c:4318 +#: dwarf.c:4521 #, c-format -msgid "%s: Corrupt entry count - expected %#<PRIx64> but none found\n" +msgid "%s: Corrupt entry count %#<PRIx64>\n" msgstr "" -#: dwarf.c:4325 +#: dwarf.c:4527 #, c-format msgid "%s: format count is zero, but the table is not empty\n" msgstr "" -#: dwarf.c:4330 +#: dwarf.c:4532 #, c-format msgid "" "\n" " The %s (offset %#tx, lines %<PRIu64>, columns %u):\n" msgstr "" -#: dwarf.c:4333 +#: dwarf.c:4535 #, c-format msgid " Entry" msgstr "" -#: dwarf.c:4347 +#: dwarf.c:4549 #, c-format msgid "\tName" msgstr "" -#: dwarf.c:4350 +#: dwarf.c:4552 #, c-format msgid "\tDir" msgstr "" -#: dwarf.c:4353 +#: dwarf.c:4555 #, c-format msgid "\tTime" msgstr "" -#: dwarf.c:4356 +#: dwarf.c:4558 #, c-format msgid "\tSize" msgstr "" -#: dwarf.c:4359 +#: dwarf.c:4561 #, c-format msgid "\tMD5\t\t\t" msgstr "" -#: dwarf.c:4362 +#: dwarf.c:4564 #, c-format msgid "\t(Unknown format content type %<PRIu64>)" msgstr "" -#: dwarf.c:4396 +#: dwarf.c:4598 #, c-format msgid "" "\n" "%s: Corrupt entries list\n" msgstr "" -#: dwarf.c:4422 +#: dwarf.c:4624 msgid "corrupt .debug_sup section: size is too small\n" msgstr "" -#: dwarf.c:4429 +#: dwarf.c:4631 msgid "corrupt .debug_sup section: version < 5" msgstr "" -#: dwarf.c:4433 +#: dwarf.c:4635 msgid "corrupt .debug_sup section: is_supplementary not 0 or 1\n" msgstr "" -#: dwarf.c:4437 +#: dwarf.c:4639 msgid "" "corrupt .debug_sup section: filename not empty in supplementary section\n" msgstr "" -#: dwarf.c:4442 +#: dwarf.c:4644 msgid "corrupt .debug_sup section: filename is not NUL terminated\n" msgstr "" -#: dwarf.c:4450 +#: dwarf.c:4652 msgid "corrupt .debug_sup section: bad LEB128 field for checksum length\n" msgstr "" -#: dwarf.c:4456 +#: dwarf.c:4658 msgid "" "corrupt .debug_sup section: checksum length is longer than the remaining " "section length\n" msgstr "" -#: dwarf.c:4461 +#: dwarf.c:4663 #, c-format msgid "" "corrupt .debug_sup section: there are %#<PRIx64> extra, unused bytes at the " "end of the section\n" msgstr "" -#: dwarf.c:4466 +#: dwarf.c:4668 #, c-format msgid " Version: %u\n" msgstr "" -#: dwarf.c:4467 +#: dwarf.c:4669 #, c-format msgid " Is Supp: %u\n" msgstr "" -#: dwarf.c:4468 +#: dwarf.c:4670 #, c-format msgid " Filename: %s\n" msgstr "" -#: dwarf.c:4469 +#: dwarf.c:4671 #, c-format msgid " Checksum Len: %<PRIu64>\n" msgstr "" -#: dwarf.c:4472 +#: dwarf.c:4674 #, c-format msgid " Checksum: " msgstr "" -#: dwarf.c:4520 dwarf.c:4938 +#: dwarf.c:4722 dwarf.c:5140 msgid "" "Partial .debug_line. section encountered without a prior full .debug_line " "section\n" msgstr "" -#: dwarf.c:4533 +#: dwarf.c:4735 #, c-format msgid " Offset: %#tx\n" msgstr "" -#: dwarf.c:4534 +#: dwarf.c:4736 #, c-format msgid " Length: %<PRId64>\n" msgstr "" -#: dwarf.c:4535 +#: dwarf.c:4737 #, c-format msgid " DWARF Version: %d\n" msgstr "" -#: dwarf.c:4538 +#: dwarf.c:4740 #, c-format msgid " Address size (bytes): %d\n" msgstr "" -#: dwarf.c:4539 +#: dwarf.c:4741 #, c-format msgid " Segment selector (bytes): %d\n" msgstr "" -#: dwarf.c:4541 +#: dwarf.c:4743 #, c-format msgid " Prologue Length: %d\n" msgstr "" -#: dwarf.c:4542 +#: dwarf.c:4744 #, c-format msgid " Minimum Instruction Length: %d\n" msgstr "" -#: dwarf.c:4544 +#: dwarf.c:4746 #, c-format msgid " Maximum Ops per Instruction: %d\n" msgstr "" -#: dwarf.c:4545 +#: dwarf.c:4747 #, c-format msgid " Initial value of 'is_stmt': %d\n" msgstr "" -#: dwarf.c:4546 +#: dwarf.c:4748 #, c-format msgid " Line Base: %d\n" msgstr "" -#: dwarf.c:4547 +#: dwarf.c:4749 #, c-format msgid " Line Range: %d\n" msgstr "" -#: dwarf.c:4548 +#: dwarf.c:4750 #, c-format msgid " Opcode Base: %d\n" msgstr "" -#: dwarf.c:4553 dwarf.c:4954 +#: dwarf.c:4755 dwarf.c:5156 msgid "Line range of 0 is invalid, using 1 instead\n" msgstr "" -#: dwarf.c:4565 +#: dwarf.c:4767 msgid "Line Base extends beyond end of section\n" msgstr "" -#: dwarf.c:4569 +#: dwarf.c:4771 #, c-format msgid "" "\n" " Opcodes:\n" msgstr "" -#: dwarf.c:4572 +#: dwarf.c:4774 #, c-format msgid " Opcode %d has %d arg\n" msgid_plural " Opcode %d has %d args\n" msgstr[0] "" msgstr[1] "" -#: dwarf.c:4592 +#: dwarf.c:4794 #, c-format msgid "" "\n" " The Directory Table is empty.\n" msgstr "" -#: dwarf.c:4597 +#: dwarf.c:4799 #, c-format msgid "" "\n" " The Directory Table (offset %#tx):\n" msgstr "" -#: dwarf.c:4620 +#: dwarf.c:4822 #, c-format msgid "" "\n" " The File Name Table is empty.\n" msgstr "" -#: dwarf.c:4623 +#: dwarf.c:4825 #, c-format msgid "" "\n" " The File Name Table (offset %#tx):\n" msgstr "" -#: dwarf.c:4648 +#: dwarf.c:4850 msgid "Corrupt file name table entry\n" msgstr "" -#: dwarf.c:4665 +#: dwarf.c:4867 #, c-format msgid " No Line Number Statements.\n" msgstr "" -#: dwarf.c:4668 +#: dwarf.c:4870 #, c-format msgid " Line Number Statements:\n" msgstr "" -#: dwarf.c:4690 +#: dwarf.c:4892 #, c-format msgid " Special opcode %d: advance Address by %<PRIu64> to %#<PRIx64>%s" msgstr "" -#: dwarf.c:4695 dwarf.c:4716 dwarf.c:4758 dwarf.c:4778 dwarf.c:4826 -#: dwarf.c:4846 +#: dwarf.c:4897 dwarf.c:4918 dwarf.c:4960 dwarf.c:4980 dwarf.c:5028 +#: dwarf.c:5048 msgid " (reset view)" msgstr "" -#: dwarf.c:4710 +#: dwarf.c:4912 #, c-format msgid " Special opcode %d: advance Address by %<PRIu64> to %#<PRIx64>[%d]%s" msgstr "" -#: dwarf.c:4720 +#: dwarf.c:4922 #, c-format msgid " and Line by %d to %d" msgstr "" -#: dwarf.c:4723 dwarf.c:4740 +#: dwarf.c:4925 dwarf.c:4942 #, c-format msgid " (view %u)\n" msgstr "" -#: dwarf.c:4738 +#: dwarf.c:4940 #, c-format msgid " Copy" msgstr "" -#: dwarf.c:4754 +#: dwarf.c:4956 #, c-format msgid " Advance PC by %<PRIu64> to %#<PRIx64>%s\n" msgstr "" -#: dwarf.c:4773 +#: dwarf.c:4975 #, c-format msgid " Advance PC by %<PRIu64> to %#<PRIx64>[%d]%s\n" msgstr "" -#: dwarf.c:4785 +#: dwarf.c:4987 #, c-format msgid " Advance Line by %d to %d\n" msgstr "" -#: dwarf.c:4791 +#: dwarf.c:4993 #, c-format msgid " Set File Name to entry %<PRIu64> in the File Name Table\n" msgstr "" -#: dwarf.c:4798 +#: dwarf.c:5000 #, c-format msgid " Set column to %<PRIu64>\n" msgstr "" -#: dwarf.c:4805 +#: dwarf.c:5007 #, c-format msgid " Set is_stmt to %d\n" msgstr "" -#: dwarf.c:4810 +#: dwarf.c:5012 #, c-format msgid " Set basic block\n" msgstr "" -#: dwarf.c:4822 +#: dwarf.c:5024 #, c-format msgid " Advance PC by constant %<PRIu64> to %#<PRIx64>%s\n" msgstr "" -#: dwarf.c:4841 +#: dwarf.c:5043 #, c-format msgid " Advance PC by constant %<PRIu64> to %#<PRIx64>[%d]%s\n" msgstr "" -#: dwarf.c:4854 +#: dwarf.c:5056 #, c-format msgid " Advance PC by fixed size amount %<PRIu64> to %#<PRIx64>\n" msgstr "" -#: dwarf.c:4861 +#: dwarf.c:5063 #, c-format msgid " Set prologue_end to true\n" msgstr "" -#: dwarf.c:4865 +#: dwarf.c:5067 #, c-format msgid " Set epilogue_begin to true\n" msgstr "" -#: dwarf.c:4870 +#: dwarf.c:5072 #, c-format msgid " Set ISA to %<PRIu64>\n" msgstr "" -#: dwarf.c:4874 dwarf.c:5551 +#: dwarf.c:5076 dwarf.c:5753 #, c-format msgid " Unknown opcode %d with operands: " msgstr "" -#: dwarf.c:4967 +#: dwarf.c:5169 #, c-format msgid "opcode base of %d extends beyond end of section\n" msgstr "" -#: dwarf.c:4982 +#: dwarf.c:5184 #, c-format msgid "Unexpectedly large number of columns in the directory name table (%u)\n" msgstr "" -#: dwarf.c:4994 dwarf.c:5024 dwarf.c:5054 +#: dwarf.c:5196 dwarf.c:5226 dwarf.c:5256 msgid "Corrupt directories list\n" msgstr "" -#: dwarf.c:5002 +#: dwarf.c:5204 #, c-format msgid "number of directories (0x%x) exceeds size of section %s\n" msgstr "" -#: dwarf.c:5062 +#: dwarf.c:5264 #, c-format msgid "Unexpectedly large number of columns in the file name table (%u)\n" msgstr "" -#: dwarf.c:5075 dwarf.c:5106 dwarf.c:5153 +#: dwarf.c:5277 dwarf.c:5308 dwarf.c:5355 msgid "Corrupt file name list\n" msgstr "" -#: dwarf.c:5083 +#: dwarf.c:5285 #, c-format msgid "number of files (0x%x) exceeds size of section %s\n" msgstr "" -#: dwarf.c:5175 +#: dwarf.c:5377 msgid "directory table ends unexpectedly\n" msgstr "" -#: dwarf.c:5215 +#: dwarf.c:5417 msgid "file table ends unexpectedly\n" msgstr "" -#: dwarf.c:5248 +#: dwarf.c:5450 #, c-format msgid "CU: No directory table\n" msgstr "" -#: dwarf.c:5250 +#: dwarf.c:5452 #, c-format msgid "CU: %s:\n" msgstr "" -#: dwarf.c:5260 dwarf.c:5592 readelf.c:6977 readelf.c:7074 readelf.c:7092 -#: readelf.c:7110 readelf.c:7914 readelf.c:12115 readelf.c:12777 -#: readelf.c:12790 readelf.c:18364 readelf.c:18396 +#: dwarf.c:5462 dwarf.c:5794 readelf.c:7451 readelf.c:7547 readelf.c:7564 +#: readelf.c:7581 readelf.c:8385 readelf.c:12586 readelf.c:13248 +#: readelf.c:13261 readelf.c:18834 readelf.c:18866 msgid "<unknown>" msgstr "" -#: dwarf.c:5267 dwarf.c:5478 +#: dwarf.c:5469 dwarf.c:5680 #, c-format msgid "directory index %u >= number of directories %u\n" msgstr "" -#: dwarf.c:5270 dwarf.c:5586 elfcomm.c:762 readelf.c:426 readelf.c:925 -#: readelf.c:8091 readelf.c:8658 readelf.c:10693 readelf.c:13129 -#: readelf.c:13195 readelf.c:13199 readelf.c:13271 readelf.c:13276 -#: readelf.c:17094 readelf.c:17183 readelf.c:17776 readelf.c:17795 -#: readelf.c:17914 readelf.c:18373 readelf.c:19531 readelf.c:19534 +#: dwarf.c:5472 dwarf.c:5788 elfcomm.c:762 readelf.c:906 readelf.c:8562 +#: readelf.c:9129 readelf.c:11164 readelf.c:13555 readelf.c:13621 +#: readelf.c:13625 readelf.c:13739 readelf.c:17564 readelf.c:17653 +#: readelf.c:18246 readelf.c:18265 readelf.c:18384 readelf.c:18843 +#: readelf.c:20006 readelf.c:20009 #, c-format msgid "<corrupt>" msgstr "" -#: dwarf.c:5276 +#: dwarf.c:5478 #, c-format msgid "CU: %s/%s:\n" msgstr "" -#: dwarf.c:5286 +#: dwarf.c:5488 #, c-format msgid "" "File name Line number Starting address " "View Stmt\n" msgstr "" -#: dwarf.c:5288 +#: dwarf.c:5490 #, c-format msgid "" "File name Line number Starting address View " "Stmt\n" msgstr "" -#: dwarf.c:5291 +#: dwarf.c:5493 #, c-format msgid "CU: Empty file name table\n" msgstr "" -#: dwarf.c:5398 +#: dwarf.c:5600 #, c-format msgid "UNKNOWN (%u): length %ld\n" msgstr "" -#: dwarf.c:5448 +#: dwarf.c:5650 #, c-format msgid "" "\n" " [Use file table entry %d]\n" msgstr "" -#: dwarf.c:5452 dwarf.c:5584 +#: dwarf.c:5654 dwarf.c:5786 #, c-format msgid "file index %u >= number of files %u\n" msgstr "" -#: dwarf.c:5454 +#: dwarf.c:5656 #, c-format msgid "" "\n" " <over large file table index %u>" msgstr "" -#: dwarf.c:5468 +#: dwarf.c:5670 #, c-format msgid "" "\n" " [Use file %s in directory table entry %d]\n" msgstr "" -#: dwarf.c:5481 +#: dwarf.c:5683 #, c-format msgid "" "\n" " <over large directory table entry %u>\n" msgstr "" -#: dwarf.c:5547 +#: dwarf.c:5749 #, c-format msgid " Set ISA to %lu\n" msgstr "" -#: dwarf.c:5754 +#: dwarf.c:5956 msgid "no info" msgstr "" -#: dwarf.c:5755 +#: dwarf.c:5957 msgid "type" msgstr "" -#: dwarf.c:5756 +#: dwarf.c:5958 msgid "variable" msgstr "" -#: dwarf.c:5757 +#: dwarf.c:5959 msgid "function" msgstr "" -#: dwarf.c:5758 +#: dwarf.c:5960 msgid "other" msgstr "" -#: dwarf.c:5759 +#: dwarf.c:5961 msgid "unused5" msgstr "" -#: dwarf.c:5760 +#: dwarf.c:5962 msgid "unused6" msgstr "" -#: dwarf.c:5761 +#: dwarf.c:5963 msgid "unused7" msgstr "" -#: dwarf.c:5799 +#: dwarf.c:6001 #, c-format msgid "Debug info is corrupted, %s header at %#lx has length %#<PRIx64>\n" msgstr "" -#: dwarf.c:5814 dwarf.c:7628 +#: dwarf.c:6016 dwarf.c:7710 #, c-format msgid "" ".debug_info offset of %#<PRIx64> in %s section does not point to a CU " "header.\n" msgstr "" -#: dwarf.c:5820 +#: dwarf.c:6022 #, c-format msgid " Length: %<PRId64>\n" msgstr "" -#: dwarf.c:5822 +#: dwarf.c:6024 #, c-format msgid " Version: %d\n" msgstr "" -#: dwarf.c:5824 +#: dwarf.c:6026 #, c-format msgid " Offset into .debug_info section: %#<PRIx64>\n" msgstr "" -#: dwarf.c:5826 +#: dwarf.c:6028 #, c-format msgid " Size of area in .debug_info section: %<PRId64>\n" msgstr "" -#: dwarf.c:5835 +#: dwarf.c:6037 msgid "Only DWARF 2 and 3 pubnames are currently supported\n" msgstr "" -#: dwarf.c:5843 +#: dwarf.c:6045 #, c-format msgid "" "\n" " Offset Kind Name\n" msgstr "" -#: dwarf.c:5845 +#: dwarf.c:6047 #, c-format msgid "" "\n" " Offset\tName\n" msgstr "" -#: dwarf.c:5879 +#: dwarf.c:6081 msgid "s" msgstr "" -#: dwarf.c:5879 +#: dwarf.c:6081 msgid "g" msgstr "" -#: dwarf.c:5937 +#: dwarf.c:6139 #, c-format msgid " DW_MACINFO_start_file - lineno: %d filenum: %d\n" msgstr "" -#: dwarf.c:5943 +#: dwarf.c:6145 #, c-format msgid " DW_MACINFO_end_file\n" msgstr "" -#: dwarf.c:5950 +#: dwarf.c:6152 #, c-format msgid " DW_MACINFO_define - lineno : %d macro : %*s\n" msgstr "" -#: dwarf.c:5960 +#: dwarf.c:6162 #, c-format msgid " DW_MACINFO_undef - lineno : %d macro : %*s\n" msgstr "" -#: dwarf.c:5973 +#: dwarf.c:6175 #, c-format msgid " DW_MACINFO_vendor_ext - constant : %d string : %*s\n" msgstr "" -#: dwarf.c:6117 +#: dwarf.c:6319 #, c-format msgid "" "Expected to find a version number of 4 or 5 in section %s but found %d " "instead\n" msgstr "" -#: dwarf.c:6124 +#: dwarf.c:6326 #, c-format msgid " Offset: %#<PRIx64>\n" msgstr "" -#: dwarf.c:6125 +#: dwarf.c:6327 #, c-format msgid " Version: %d\n" msgstr "" -#: dwarf.c:6126 +#: dwarf.c:6328 #, c-format msgid " Offset size: %d\n" msgstr "" -#: dwarf.c:6130 +#: dwarf.c:6332 #, c-format msgid " Offset into .debug_line: %#<PRIx64>\n" msgstr "" -#: dwarf.c:6144 +#: dwarf.c:6346 #, c-format msgid " Extension opcode arguments:\n" msgstr "" -#: dwarf.c:6151 +#: dwarf.c:6353 #, c-format msgid " DW_MACRO_%02x has no arguments\n" msgstr "" -#: dwarf.c:6154 +#: dwarf.c:6356 #, c-format msgid " DW_MACRO_%02x arguments: " msgstr "" -#: dwarf.c:6180 +#: dwarf.c:6382 #, c-format msgid "Invalid extension opcode form %s\n" msgstr "" -#: dwarf.c:6197 +#: dwarf.c:6399 msgid ".debug_macro section not zero terminated\n" msgstr "" -#: dwarf.c:6211 +#: dwarf.c:6413 #, c-format msgid " DW_MACRO_define - lineno : %d macro : %*s\n" msgstr "" -#: dwarf.c:6221 +#: dwarf.c:6423 #, c-format msgid " DW_MACRO_undef - lineno : %d macro : %*s\n" msgstr "" -#: dwarf.c:6236 +#: dwarf.c:6438 msgid "DW_MACRO_start_file used, but no .debug_line offset provided.\n" msgstr "" -#: dwarf.c:6242 +#: dwarf.c:6444 #, c-format msgid " DW_MACRO_start_file - lineno: %d filenum: %d\n" msgstr "" -#: dwarf.c:6245 +#: dwarf.c:6447 #, c-format msgid " DW_MACRO_start_file - lineno: %d filenum: %d filename: %s%s%s\n" msgstr "" -#: dwarf.c:6253 +#: dwarf.c:6455 #, c-format msgid " DW_MACRO_end_file\n" msgstr "" -#: dwarf.c:6263 +#: dwarf.c:6465 #, c-format msgid " DW_MACRO_define_strp - lineno : %d macro : %s\n" msgstr "" -#: dwarf.c:6274 +#: dwarf.c:6476 #, c-format msgid " DW_MACRO_undef_strp - lineno : %d macro : %s\n" msgstr "" -#: dwarf.c:6280 +#: dwarf.c:6482 #, c-format msgid " DW_MACRO_import - offset : %#<PRIx64>\n" msgstr "" -#: dwarf.c:6287 +#: dwarf.c:6489 #, c-format msgid " DW_MACRO_define_sup - lineno : %d macro offset : %#<PRIx64>\n" msgstr "" -#: dwarf.c:6295 +#: dwarf.c:6497 #, c-format msgid " DW_MACRO_undef_sup - lineno : %d macro offset : %#<PRIx64>\n" msgstr "" -#: dwarf.c:6302 +#: dwarf.c:6504 #, c-format msgid " DW_MACRO_import_sup - offset : %#<PRIx64>\n" msgstr "" -#: dwarf.c:6317 +#: dwarf.c:6519 #, c-format msgid "(with offset %#<PRIx64>) " msgstr "" -#: dwarf.c:6318 +#: dwarf.c:6520 #, c-format msgid "lineno : %d macro : %s\n" msgstr "" -#: dwarf.c:6325 +#: dwarf.c:6527 #, c-format msgid " <Target Specific macro op: %#x - UNHANDLED" msgstr "" -#: dwarf.c:6331 +#: dwarf.c:6533 #, c-format msgid " Unknown macro opcode %02x seen\n" msgstr "" -#: dwarf.c:6342 +#: dwarf.c:6544 #, c-format msgid " DW_MACRO_%02x\n" msgstr "" -#: dwarf.c:6345 +#: dwarf.c:6547 #, c-format msgid " DW_MACRO_%02x -" msgstr "" -#: dwarf.c:6392 +#: dwarf.c:6594 #, c-format msgid " Number TAG (%#<PRIx64>)\n" msgstr "" -#: dwarf.c:6401 +#: dwarf.c:6603 msgid "has children" msgstr "" -#: dwarf.c:6401 +#: dwarf.c:6603 msgid "no children" msgstr "" -#: dwarf.c:6465 +#: dwarf.c:6667 #, c-format msgid "location view pair\n" msgstr "" -#: dwarf.c:6496 +#: dwarf.c:6698 #, c-format msgid "No debug information available for loc lists of entry: %u\n" msgstr "" -#: dwarf.c:6508 dwarf.c:6656 dwarf.c:6873 +#: dwarf.c:6710 dwarf.c:6851 dwarf.c:7072 #, c-format msgid "Invalid pointer size (%d) in debug info for entry %d\n" msgstr "" -#: dwarf.c:6520 dwarf.c:6573 dwarf.c:6582 dwarf.c:6668 dwarf.c:6779 -#: dwarf.c:6787 dwarf.c:6885 dwarf.c:6957 dwarf.c:6965 dwarf.c:7176 -#: dwarf.c:7194 +#: dwarf.c:6722 dwarf.c:6775 dwarf.c:6784 dwarf.c:6863 dwarf.c:6978 +#: dwarf.c:6986 dwarf.c:7084 dwarf.c:7156 dwarf.c:7164 #, c-format msgid "Location list starting at offset %#<PRIx64> is not terminated.\n" msgstr "" -#: dwarf.c:6542 dwarf.c:6696 dwarf.c:6922 dwarf.c:7997 dwarf.c:8062 +#: dwarf.c:6744 dwarf.c:6891 dwarf.c:7121 dwarf.c:8079 dwarf.c:8138 #, c-format msgid "<End of list>\n" msgstr "" -#: dwarf.c:6554 dwarf.c:6705 dwarf.c:6737 dwarf.c:7124 dwarf.c:7155 -#: dwarf.c:8071 dwarf.c:8095 +#: dwarf.c:6756 dwarf.c:6901 dwarf.c:6936 dwarf.c:8147 dwarf.c:8171 #, c-format msgid "(base address)\n" msgstr "" -#: dwarf.c:6568 dwarf.c:6690 dwarf.c:6911 +#: dwarf.c:6770 dwarf.c:6885 dwarf.c:7110 #, c-format msgid "" "views at %8.8<PRIx64> for:\n" " %*s " msgstr "" -#: dwarf.c:6603 dwarf.c:6808 dwarf.c:8016 dwarf.c:8128 +#: dwarf.c:6805 dwarf.c:7007 dwarf.c:8098 dwarf.c:8204 msgid " (start == end)" msgstr "" -#: dwarf.c:6605 dwarf.c:6810 dwarf.c:8018 dwarf.c:8130 +#: dwarf.c:6807 dwarf.c:7009 dwarf.c:8100 dwarf.c:8206 msgid " (start > end)" msgstr "" -#: dwarf.c:6643 -#, c-format -msgid "No debug information available for loclists lists of entry: %u\n" -msgstr "" - -#: dwarf.c:6702 dwarf.c:7121 +#: dwarf.c:6897 #, c-format msgid "(index into .debug_addr) " msgstr "" -#: dwarf.c:6754 +#: dwarf.c:6953 #, c-format msgid "View pair entry in loclist with locviews attribute\n" msgstr "" -#: dwarf.c:6761 +#: dwarf.c:6960 #, c-format msgid "views for:\n" msgstr "" -#: dwarf.c:6766 dwarf.c:7170 +#: dwarf.c:6965 #, c-format msgid "Invalid location list entry type %d\n" msgstr "" -#: dwarf.c:6819 +#: dwarf.c:7018 #, c-format msgid "Trailing view pair not used in a range" msgstr "" -#: dwarf.c:6861 +#: dwarf.c:7060 #, c-format msgid "No debug information for loc lists of entry: %u\n" msgstr "" -#: dwarf.c:6928 +#: dwarf.c:7127 #, c-format msgid "(base address selection entry)\n" msgstr "" -#: dwarf.c:6949 +#: dwarf.c:7148 #, c-format msgid "Unknown location list entry type 0x%x.\n" msgstr "" -#: dwarf.c:7032 +#: dwarf.c:7232 #, c-format -msgid "Table at Offset %#tx\n" +msgid "Table at Offset %#<PRIx64>\n" msgstr "" -#: dwarf.c:7048 dwarf.c:8195 +#: dwarf.c:7248 dwarf.c:8269 #, c-format msgid " Length: %#<PRIx64>\n" msgstr "" -#: dwarf.c:7049 dwarf.c:8196 +#: dwarf.c:7249 dwarf.c:8270 #, c-format msgid " DWARF version: %u\n" msgstr "" -#: dwarf.c:7050 dwarf.c:8197 +#: dwarf.c:7250 dwarf.c:8271 #, c-format msgid " Address size: %u\n" msgstr "" -#: dwarf.c:7051 dwarf.c:8198 +#: dwarf.c:7251 dwarf.c:8272 #, c-format msgid " Segment size: %u\n" msgstr "" -#: dwarf.c:7052 dwarf.c:8199 +#: dwarf.c:7252 dwarf.c:8273 #, c-format msgid " Offset entries: %u\n" msgstr "" -#: dwarf.c:7056 -#, c-format -msgid "The %s section contains a corrupt or unsupported version number: %d.\n" -msgstr "" - -#: dwarf.c:7064 +#: dwarf.c:7256 #, c-format msgid "The %s section contains an unsupported segment selector size: %d.\n" msgstr "" -#: dwarf.c:7072 -#, c-format -msgid "The %s section contains a table without offset\n" -msgstr "" - -#: dwarf.c:7077 +#: dwarf.c:7264 #, c-format msgid "" "\n" " Offset Entries starting at %#tx:\n" msgstr "" -#: dwarf.c:7085 dwarf.c:8229 +#: dwarf.c:7272 dwarf.c:8300 #, c-format msgid " [%6u] %#<PRIx64>\n" msgstr "" -#: dwarf.c:7102 -#, c-format -msgid " Offset Entry %u\n" -msgstr "" - -#: dwarf.c:7114 -#, c-format -msgid "" -"<End of list>\n" -"\n" -msgstr "" - -#: dwarf.c:7185 -msgid "(start == end)" -msgstr "" - -#: dwarf.c:7187 -msgid "(start > end)" -msgstr "" - -#: dwarf.c:7240 dwarf.c:7509 dwarf.c:7726 dwarf.c:7849 dwarf.c:8278 +#: dwarf.c:7311 dwarf.c:7591 dwarf.c:7808 dwarf.c:7931 dwarf.c:8338 #, c-format msgid "" "\n" "The %s section is empty.\n" msgstr "" -#: dwarf.c:7260 +#: dwarf.c:7331 #, c-format msgid "The %s section contains corrupt or unsupported version number: %d.\n" msgstr "" -#: dwarf.c:7287 dwarf.c:7732 dwarf.c:8289 +#: dwarf.c:7358 dwarf.c:7814 dwarf.c:8346 #, c-format msgid "" "Unable to load/parse the .debug_info section, so cannot interpret the %s " "section.\n" msgstr "" -#: dwarf.c:7335 +#: dwarf.c:7406 msgid "No location lists in .debug_info section!\n" msgstr "" -#: dwarf.c:7340 -#, c-format -msgid "" -"Location lists in %s section start at %#<PRIx64> rather than %#<PRIx64>\n" -msgstr "" - -#: dwarf.c:7351 +#: dwarf.c:7414 #, c-format msgid "" " Warning: This section has relocations - addresses seen here may not be " @@ -3655,849 +3624,842 @@ msgid "" "\n" msgstr "" -#: dwarf.c:7353 +#: dwarf.c:7417 dwarf.c:7466 #, c-format msgid " Offset Begin End Expression\n" msgstr "" -#: dwarf.c:7423 dwarf.c:7427 +#: dwarf.c:7505 dwarf.c:7509 #, c-format msgid "There is a hole [%#tx - %#<PRIx64>] in %s section.\n" msgstr "" -#: dwarf.c:7432 +#: dwarf.c:7514 #, c-format msgid "There is an overlap [%#tx - %#<PRIx64>] in %s section.\n" msgstr "" -#: dwarf.c:7440 +#: dwarf.c:7522 #, c-format msgid "Offset %#<PRIx64> is bigger than %s section size.\n" msgstr "" -#: dwarf.c:7447 +#: dwarf.c:7529 #, c-format msgid "View Offset %#<PRIx64> is bigger than %s section size.\n" msgstr "" -#: dwarf.c:7464 +#: dwarf.c:7546 msgid "DWO is not yet supported.\n" msgstr "" -#: dwarf.c:7481 +#: dwarf.c:7563 msgid "Hole and overlap detection requires adjacent view lists and loclists.\n" msgstr "" -#: dwarf.c:7490 +#: dwarf.c:7572 #, c-format msgid "There is %ld unused byte at the end of section %s\n" msgid_plural "There are %ld unused bytes at the end of section %s\n" msgstr[0] "" msgstr[1] "" -#: dwarf.c:7614 +#: dwarf.c:7696 #, c-format msgid "" "Debug info is corrupted, %s header at %#<PRIx64> has length %#<PRIx64>\n" msgstr "" -#: dwarf.c:7642 +#: dwarf.c:7724 msgid "Only DWARF 2 and 3 aranges are currently supported.\n" msgstr "" -#: dwarf.c:7646 +#: dwarf.c:7728 #, c-format msgid " Length: %<PRId64>\n" msgstr "" -#: dwarf.c:7647 +#: dwarf.c:7729 #, c-format msgid " Version: %d\n" msgstr "" -#: dwarf.c:7648 +#: dwarf.c:7730 #, c-format msgid " Offset into .debug_info: %#<PRIx64>\n" msgstr "" -#: dwarf.c:7650 +#: dwarf.c:7732 #, c-format msgid " Pointer Size: %d\n" msgstr "" -#: dwarf.c:7651 +#: dwarf.c:7733 #, c-format msgid " Segment Size: %d\n" msgstr "" -#: dwarf.c:7658 +#: dwarf.c:7740 #, c-format msgid "Invalid address size in %s section!\n" msgstr "" -#: dwarf.c:7668 +#: dwarf.c:7750 msgid "Pointer size + Segment size is not a power of two.\n" msgstr "" -#: dwarf.c:7673 +#: dwarf.c:7755 #, c-format msgid "" "\n" " Address Length\n" msgstr "" -#: dwarf.c:7675 +#: dwarf.c:7757 #, c-format msgid "" "\n" " Address Length\n" msgstr "" -#: dwarf.c:7752 +#: dwarf.c:7834 #, c-format msgid "Corrupt address base (%#<PRIx64>) found in debug section %u\n" msgstr "" -#: dwarf.c:7770 +#: dwarf.c:7852 #, c-format msgid " For compilation unit at offset %#<PRIx64>:\n" msgstr "" -#: dwarf.c:7773 +#: dwarf.c:7855 #, c-format msgid "\tIndex\tAddress\n" msgstr "" -#: dwarf.c:7785 +#: dwarf.c:7867 #, c-format msgid "" "Corrupt %s section: expecting header size of 8 or 16, but found %zd instead\n" msgstr "" -#: dwarf.c:7796 +#: dwarf.c:7878 #, c-format msgid "Corrupt %s section: unit_length field of %#<PRIx64> is invalid\n" msgstr "" -#: dwarf.c:7803 +#: dwarf.c:7885 #, c-format msgid "" "Corrupt %s section: expecting version number 5 in header but found %d " "instead\n" msgstr "" -#: dwarf.c:7818 +#: dwarf.c:7900 #, c-format msgid "Corrupt %s section: address size (%x) is wrong" msgstr "" -#: dwarf.c:7826 +#: dwarf.c:7908 #, c-format msgid "\t%d:\t" msgstr "" -#: dwarf.c:7896 dwarf.c:7920 +#: dwarf.c:7978 dwarf.c:8002 #, c-format msgid " Length: %#<PRIx64>\n" msgstr "" -#: dwarf.c:7897 dwarf.c:7922 +#: dwarf.c:7979 dwarf.c:8004 #, c-format msgid " Index Offset [String]\n" msgstr "" -#: dwarf.c:7905 +#: dwarf.c:7987 #, c-format msgid "Section %s is too small %#<PRIx64>\n" msgstr "" -#: dwarf.c:7913 +#: dwarf.c:7995 #, c-format msgid "Unexpected version number in str_offset header: %#x\n" msgstr "" -#: dwarf.c:7918 +#: dwarf.c:8000 #, c-format msgid "Unexpected value in str_offset header's padding field: %#x\n" msgstr "" -#: dwarf.c:7921 +#: dwarf.c:8003 #, c-format msgid " Version: %#x\n" msgstr "" -#: dwarf.c:8049 +#: dwarf.c:8125 #, c-format msgid "Range list starting at offset %#<PRIx64> is not terminated.\n" msgstr "" -#: dwarf.c:8067 +#: dwarf.c:8143 #, c-format msgid "(base address index) " msgstr "" -#: dwarf.c:8107 +#: dwarf.c:8183 #, c-format msgid "Invalid range list entry type %d\n" msgstr "" -#: dwarf.c:8178 +#: dwarf.c:8251 #, c-format msgid "" "The length field (%#<PRIx64>) in the debug_rnglists header is wrong - the " "section is too small\n" msgstr "" -#: dwarf.c:8194 +#: dwarf.c:8268 #, c-format msgid " Table at Offset: %#<PRIx64>:\n" msgstr "" -#: dwarf.c:8212 +#: dwarf.c:8286 msgid "Only DWARF version 5+ debug_rnglists info is currently supported.\n" msgstr "" -#: dwarf.c:8221 +#: dwarf.c:8293 #, c-format msgid "" "\n" " Offsets starting at %#tx:\n" msgstr "" -#: dwarf.c:8240 -#, c-format -msgid "" -"\n" -" Offset: %#<PRIx64>, Index: %#<PRIx64>\n" -msgstr "" - -#: dwarf.c:8242 dwarf.c:8331 -#, c-format -msgid " Offset Begin End\n" -msgstr "" - #. This can happen when the file was compiled with -gsplit-debug #. which removes references to range lists from the primary .o file. -#: dwarf.c:8302 +#: dwarf.c:8360 #, c-format -msgid "No range lists in .debug_info section.\n" +msgid "No range lists referenced by .debug_info section.\n" msgstr "" -#: dwarf.c:8327 +#: dwarf.c:8389 #, c-format msgid "Range lists in %s section start at %#<PRIx64>\n" msgstr "" -#: dwarf.c:8349 +#: dwarf.c:8394 dwarf.c:8429 +#, c-format +msgid " Offset Begin End\n" +msgstr "" + +#: dwarf.c:8412 #, c-format msgid "Corrupt pointer size (%d) in debug entry at offset %#<PRIx64>\n" msgstr "" -#: dwarf.c:8356 +#: dwarf.c:8419 #, c-format msgid "Corrupt offset (%#<PRIx64>) in range entry %u\n" msgstr "" -#: dwarf.c:8375 +#: dwarf.c:8446 #, c-format msgid "There is a hole [%#tx - %#tx] in %s section.\n" msgstr "" -#: dwarf.c:8381 +#: dwarf.c:8452 #, c-format msgid "There is an overlap [%#tx - %#tx] in %s section.\n" msgstr "" -#: dwarf.c:8456 +#: dwarf.c:8537 #, c-format msgid "Unfeasibly large register number: %u\n" msgstr "" -#: dwarf.c:8470 +#: dwarf.c:8551 #, c-format msgid "Out of memory allocating %u columns in dwarf frame arrays\n" msgstr "" -#: dwarf.c:8936 +#: dwarf.c:9017 msgid "No terminator for augmentation name\n" msgstr "" -#: dwarf.c:8954 +#: dwarf.c:9035 #, c-format msgid "Invalid pointer size (%d) in CIE data\n" msgstr "" -#: dwarf.c:8962 +#: dwarf.c:9043 #, c-format msgid "Invalid segment size (%d) in CIE data\n" msgstr "" -#: dwarf.c:8998 dwarf.c:9370 +#: dwarf.c:9079 dwarf.c:9451 #, c-format msgid "Augmentation data too long: %#<PRIx64>, expected at most %#tx\n" msgstr "" -#: dwarf.c:9083 +#: dwarf.c:9164 #, c-format msgid " Augmentation data: " msgstr "" -#: dwarf.c:9099 +#: dwarf.c:9180 msgid "bad register: " msgstr "" -#: dwarf.c:9270 +#: dwarf.c:9351 msgid "Failed to read CIE information\n" msgstr "" -#: dwarf.c:9281 dwarf.c:9302 dwarf.c:9331 +#: dwarf.c:9362 dwarf.c:9383 dwarf.c:9412 msgid "Invalid max register\n" msgstr "" #. PR 17512: file: 9e196b3e. -#: dwarf.c:9346 +#: dwarf.c:9427 #, c-format msgid "Probably corrupt segment size: %d - using 4 instead\n" msgstr "" #. Ideally translate "invalid " to 8 chars, trailing space #. is optional. -#: dwarf.c:9390 +#: dwarf.c:9471 #, c-format msgid "cie=invalid " msgstr "" -#: dwarf.c:9824 +#: dwarf.c:9905 msgid "Invalid column number in saved frame state\n" msgstr "" -#: dwarf.c:9874 dwarf.c:9898 +#: dwarf.c:9955 dwarf.c:9979 #, c-format msgid " %s: <corrupt len %<PRIu64>>\n" msgstr "" -#: dwarf.c:10042 +#: dwarf.c:10123 #, c-format msgid " DW_CFA_??? (User defined call frame op: %#x)\n" msgstr "" -#: dwarf.c:10044 +#: dwarf.c:10125 #, c-format msgid "Unsupported or unknown Dwarf Call Frame Instruction number: %#x\n" msgstr "" -#: dwarf.c:10148 +#: dwarf.c:10229 #, c-format msgid "Debug info is corrupted, %s header at %#tx has length %#<PRIx64>\n" msgstr "" -#: dwarf.c:10157 +#: dwarf.c:10238 #, c-format msgid "Version %d\n" msgstr "" -#: dwarf.c:10163 +#: dwarf.c:10244 msgid "Only DWARF version 5 .debug_names is currently supported.\n" msgstr "" -#: dwarf.c:10170 +#: dwarf.c:10251 #, c-format msgid "Padding field of .debug_names must be 0 (found 0x%x)\n" msgstr "" -#: dwarf.c:10175 +#: dwarf.c:10256 msgid "Compilation unit count must be >= 1 in .debug_names\n" msgstr "" -#: dwarf.c:10186 +#: dwarf.c:10267 #, c-format msgid "" "Augmentation string length %u must be rounded up to a multiple of 4 in ." "debug_names.\n" msgstr "" -#: dwarf.c:10194 +#: dwarf.c:10275 #, c-format msgid "Augmentation string:" msgstr "" -#: dwarf.c:10221 +#: dwarf.c:10302 #, c-format msgid "CU table:\n" msgstr "" -#: dwarf.c:10234 +#: dwarf.c:10315 #, c-format msgid "TU table:\n" msgstr "" -#: dwarf.c:10247 +#: dwarf.c:10328 #, c-format msgid "Foreign TU table:\n" msgstr "" -#: dwarf.c:10256 +#: dwarf.c:10337 #, c-format msgid "[%3u] " msgstr "" -#: dwarf.c:10267 +#: dwarf.c:10348 #, c-format msgid "" "Entry pool offset (%#<PRIx64>) exceeds unit size %#tx for unit %#tx in the " "debug_names\n" msgstr "" -#: dwarf.c:10294 +#: dwarf.c:10375 #, c-format msgid "Used %zu of %lu bucket.\n" msgid_plural "Used %zu of %lu buckets.\n" msgstr[0] "" msgstr[1] "" -#: dwarf.c:10323 +#: dwarf.c:10404 #, c-format msgid "" "Out of %<PRIu64> items there are %zu bucket clashes (longest of %zu " "entries).\n" msgstr "" -#: dwarf.c:10328 +#: dwarf.c:10409 #, c-format msgid "" "The name_count (%<PRIu64>) is not the same as the used bucket_count (%zu) + " "the hash clash count (%zu)" msgstr "" -#: dwarf.c:10366 +#: dwarf.c:10447 #, c-format msgid "" "Duplicate abbreviation tag %<PRIu64> in unit %#tx in the debug_names " "section\n" msgstr "" -#: dwarf.c:10388 dwarf.c:10669 +#: dwarf.c:10469 dwarf.c:10750 #, c-format msgid "" "\n" "Symbol table:\n" msgstr "" -#: dwarf.c:10440 +#: dwarf.c:10521 #, c-format msgid "" "Undefined abbreviation tag %<PRId64> in unit %#tx in the debug_names " "section\n" msgstr "" -#: dwarf.c:10471 +#: dwarf.c:10552 #, c-format msgid " <no entries>" msgstr "" -#: dwarf.c:10503 +#: dwarf.c:10584 msgid "The debuglink filename is corrupt/missing\n" msgstr "" -#: dwarf.c:10507 +#: dwarf.c:10588 #, c-format msgid " Separate debug info file: %s\n" msgstr "" -#: dwarf.c:10518 +#: dwarf.c:10599 msgid "CRC offset missing/truncated\n" msgstr "" -#: dwarf.c:10524 +#: dwarf.c:10605 #, c-format msgid " CRC value: %#x\n" msgstr "" -#: dwarf.c:10528 +#: dwarf.c:10609 #, c-format msgid "There are %#<PRIx64> extraneous bytes at the end of the section\n" msgstr "" -#: dwarf.c:10543 +#: dwarf.c:10624 #, c-format msgid "Build-ID is too short (%#zx bytes)\n" msgstr "" -#: dwarf.c:10547 +#: dwarf.c:10628 #, c-format msgid " Build-ID (%#zx bytes):" msgstr "" -#: dwarf.c:10576 +#: dwarf.c:10657 #, c-format msgid "Truncated header in the %s section.\n" msgstr "" -#: dwarf.c:10581 +#: dwarf.c:10662 #, c-format msgid "Version %lu\n" msgstr "" -#: dwarf.c:10587 +#: dwarf.c:10668 #, c-format msgid "Unsupported version %lu.\n" msgstr "" -#: dwarf.c:10591 +#: dwarf.c:10672 msgid "The address table data in version 3 may be wrong.\n" msgstr "" -#: dwarf.c:10593 +#: dwarf.c:10674 msgid "Version 4 does not support case insensitive lookups.\n" msgstr "" -#: dwarf.c:10595 +#: dwarf.c:10676 msgid "Version 5 does not include inlined functions.\n" msgstr "" -#: dwarf.c:10597 +#: dwarf.c:10678 msgid "Version 6 does not include symbol attributes.\n" msgstr "" -#: dwarf.c:10619 +#: dwarf.c:10700 #, c-format msgid "Corrupt header in the %s section.\n" msgstr "" -#: dwarf.c:10634 +#: dwarf.c:10715 #, c-format msgid "" "\n" "CU table:\n" msgstr "" -#: dwarf.c:10644 +#: dwarf.c:10725 #, c-format msgid "" "\n" "TU table:\n" msgstr "" -#: dwarf.c:10657 +#: dwarf.c:10738 #, c-format msgid "" "\n" "Address table:\n" msgstr "" -#: dwarf.c:10684 +#: dwarf.c:10765 #, c-format msgid "[%3u] <corrupt offset: %x>" msgstr "" -#: dwarf.c:10685 +#: dwarf.c:10766 #, c-format msgid "Corrupt name offset of 0x%x found for symbol table slot %d\n" msgstr "" -#: dwarf.c:10696 +#: dwarf.c:10777 #, c-format msgid "<invalid CU vector offset: %x>\n" msgstr "" -#: dwarf.c:10697 +#: dwarf.c:10778 #, c-format msgid "Corrupt CU vector offset of 0x%x found for symbol table slot %d\n" msgstr "" -#: dwarf.c:10708 +#: dwarf.c:10789 #, c-format msgid "Invalid number of CUs (0x%x) for symbol table slot %d\n" msgstr "" -#: dwarf.c:10733 +#: dwarf.c:10814 msgid "static" msgstr "" -#: dwarf.c:10733 +#: dwarf.c:10814 msgid "global" msgstr "" -#: dwarf.c:10839 +#: dwarf.c:10920 #, c-format msgid "Section %s is empty\n" msgstr "" -#: dwarf.c:10845 +#: dwarf.c:10926 #, c-format msgid "Section %s is too small to contain a CU/TU header\n" msgstr "" -#: dwarf.c:10864 +#: dwarf.c:10945 #, c-format msgid " Version: %u\n" msgstr "" -#: dwarf.c:10866 +#: dwarf.c:10947 #, c-format msgid " Number of columns: %u\n" msgstr "" -#: dwarf.c:10867 +#: dwarf.c:10948 #, c-format msgid " Number of used entries: %u\n" msgstr "" -#: dwarf.c:10868 +#: dwarf.c:10949 #, c-format msgid "" " Number of slots: %u\n" "\n" msgstr "" -#: dwarf.c:10875 +#: dwarf.c:10956 #, c-format msgid "Section %s is too small for %u slot\n" msgid_plural "Section %s is too small for %u slots\n" msgstr[0] "" msgstr[1] "" -#: dwarf.c:10908 +#: dwarf.c:10989 msgid "Section index pool located before start of section\n" msgstr "" -#: dwarf.c:10912 +#: dwarf.c:10993 #, c-format msgid " [%3d] Signature: %#<PRIx64> Sections: " msgstr "" -#: dwarf.c:10918 +#: dwarf.c:10999 #, c-format msgid "Section %s too small for shndx pool\n" msgstr "" -#: dwarf.c:10961 +#: dwarf.c:11042 #, c-format msgid "Section %s too small for offset and size tables\n" msgstr "" -#: dwarf.c:10968 +#: dwarf.c:11049 #, c-format msgid " Offset table\n" msgstr "" -#: dwarf.c:10970 dwarf.c:11057 +#: dwarf.c:11051 dwarf.c:11138 msgid "signature" msgstr "" -#: dwarf.c:10970 dwarf.c:11057 +#: dwarf.c:11051 dwarf.c:11138 msgid "dwo_id" msgstr "" -#: dwarf.c:11009 +#: dwarf.c:11090 #, c-format msgid "Row index (%u) is larger than number of used entries (%u)\n" msgstr "" -#: dwarf.c:11037 dwarf.c:11108 +#: dwarf.c:11118 dwarf.c:11189 #, c-format msgid "Overlarge Dwarf section index detected: %u\n" msgstr "" -#: dwarf.c:11055 +#: dwarf.c:11136 #, c-format msgid " Size table\n" msgstr "" -#: dwarf.c:11094 +#: dwarf.c:11175 #, c-format msgid "Too many rows/columns in DWARF index section %s\n" msgstr "" -#: dwarf.c:11123 +#: dwarf.c:11204 #, c-format msgid " Unsupported version (%d)\n" msgstr "" -#: dwarf.c:11195 +#: dwarf.c:11276 #, c-format msgid "Displaying the debug contents of section %s is not yet supported.\n" msgstr "" -#: dwarf.c:11226 +#: dwarf.c:11307 #, c-format msgid "" "Attempt to allocate an array with an excessive number of elements: %" "#<PRIx64>\n" msgstr "" -#: dwarf.c:11244 +#: dwarf.c:11325 #, c-format msgid "" "Attempt to re-allocate an array with an excessive number of elements: %" "#<PRIx64>\n" msgstr "" -#: dwarf.c:11260 +#: dwarf.c:11341 #, c-format msgid "" "Attempt to allocate a zero'ed array with an excessive number of elements: %" "#<PRIx64>\n" msgstr "" -#: dwarf.c:11358 +#: dwarf.c:11439 #, c-format msgid "Unable to reopen separate debug info file: %s\n" msgstr "" -#: dwarf.c:11370 +#: dwarf.c:11451 #, c-format msgid "Separate debug info file %s found, but CRC does not match - ignoring\n" msgstr "" -#: dwarf.c:11549 +#: dwarf.c:11630 #, c-format msgid "Corrupt debuglink section: %s\n" msgstr "" -#: dwarf.c:11588 +#: dwarf.c:11669 msgid "Out of memory" msgstr "" #. Failed to find the file. -#: dwarf.c:11664 +#: dwarf.c:11745 #, c-format msgid "could not find separate debug file '%s'\n" msgstr "" -#: dwarf.c:11666 dwarf.c:11671 dwarf.c:11677 dwarf.c:11681 dwarf.c:11686 -#: dwarf.c:11689 dwarf.c:11692 dwarf.c:11695 +#: dwarf.c:11747 dwarf.c:11752 dwarf.c:11758 dwarf.c:11762 dwarf.c:11767 +#: dwarf.c:11770 dwarf.c:11773 dwarf.c:11776 #, c-format msgid "tried: %s\n" msgstr "" -#: dwarf.c:11705 +#: dwarf.c:11786 #, c-format msgid "tried: DEBUGINFOD_URLS=%s\n" msgstr "" -#: dwarf.c:11733 +#: dwarf.c:11814 #, c-format msgid "failed to open separate debug file: %s\n" msgstr "" -#: dwarf.c:11742 +#: dwarf.c:11823 #, c-format msgid "" "\n" "%s: Found separate debug info file: %s\n" msgstr "" -#: dwarf.c:11765 +#: dwarf.c:11846 msgid "Out of memory allocating dwo filename\n" msgstr "" -#: dwarf.c:11771 +#: dwarf.c:11852 #, c-format msgid "Unable to load dwo file: %s\n" msgstr "" #. FIXME: We should check the dwo_id. -#: dwarf.c:11778 +#: dwarf.c:11859 #, c-format msgid "" "%s: Found separate debug object file: %s\n" "\n" msgstr "" -#: dwarf.c:11810 +#: dwarf.c:11891 msgid "Unable to load the .note.gnu.build-id section\n" msgstr "" -#: dwarf.c:11816 +#: dwarf.c:11897 msgid ".note.gnu.build-id section is corrupt/empty\n" msgstr "" -#: dwarf.c:11837 +#: dwarf.c:11918 msgid ".note.gnu.build-id data size is too small\n" msgstr "" -#: dwarf.c:11843 +#: dwarf.c:11924 msgid ".note.gnu.build-id data size is too big\n" msgstr "" -#: dwarf.c:11904 +#: dwarf.c:11985 msgid ".debug_sup section is corrupt/empty\n" msgstr "" -#: dwarf.c:11914 +#: dwarf.c:11995 msgid "filename in .debug_sup section is corrupt\n" msgstr "" -#: dwarf.c:11929 +#: dwarf.c:12010 msgid "unable to construct path for supplementary debug file" msgstr "" -#: dwarf.c:11943 +#: dwarf.c:12024 msgid "out of memory constructing filename for .debug_sup link\n" msgstr "" -#: dwarf.c:11951 +#: dwarf.c:12032 #, c-format msgid "unable to open file '%s' referenced from .debug_sup section\n" msgstr "" -#: dwarf.c:11956 +#: dwarf.c:12037 #, c-format msgid "" "%s: Found supplementary debug file: %s\n" "\n" msgstr "" -#: dwarf.c:12057 +#: dwarf.c:12138 msgid "Multiple DWO_NAMEs encountered for the same CU\n" msgstr "" -#: dwarf.c:12069 +#: dwarf.c:12150 msgid "multiple DWO_IDs encountered for the same CU\n" msgstr "" -#: dwarf.c:12074 +#: dwarf.c:12155 msgid "Unexpected DWO INFO type" msgstr "" -#: dwarf.c:12089 +#: dwarf.c:12170 #, c-format msgid "" "The %s section contains link(s) to dwo file(s):\n" "\n" msgstr "" -#: dwarf.c:12094 +#: dwarf.c:12175 #, c-format msgid " Name: %s\n" msgstr "" -#: dwarf.c:12095 +#: dwarf.c:12176 #, c-format msgid " Directory: %s\n" msgstr "" -#: dwarf.c:12095 +#: dwarf.c:12176 msgid "<not-found>" msgstr "" -#: dwarf.c:12097 +#: dwarf.c:12178 #, c-format msgid " ID: " msgstr "" -#: dwarf.c:12099 +#: dwarf.c:12180 #, c-format msgid " ID: <not specified>\n" msgstr "" -#: dwarf.c:12256 +#: dwarf.c:12337 #, c-format msgid "Unrecognized debug option '%s'\n" msgstr "" -#: dwarf.c:12300 +#: dwarf.c:12381 #, c-format msgid "Unrecognized debug letter option '%c'\n" msgstr "" @@ -4595,7 +4557,7 @@ msgstr "" #. PR 24049 - we cannot use filedata->file_name as this will #. have already been freed. -#: elfcomm.c:504 elfcomm.c:738 elfedit.c:613 readelf.c:22892 +#: elfcomm.c:504 elfcomm.c:738 elfedit.c:613 readelf.c:23371 #, c-format msgid "%s: failed to read archive header\n" msgstr "" @@ -4642,7 +4604,7 @@ msgstr "" msgid "%s: failed to seek to next file name\n" msgstr "" -#: elfcomm.c:743 elfedit.c:620 readelf.c:22899 +#: elfcomm.c:743 elfedit.c:620 readelf.c:23378 #, c-format msgid "%s: did not find a valid archive header\n" msgstr "" @@ -4728,12 +4690,12 @@ msgstr "" msgid "%s: Failed to seek to ELF header\n" msgstr "" -#: elfedit.c:604 readelf.c:22880 +#: elfedit.c:604 readelf.c:23359 #, c-format msgid "%s: failed to seek to next archive header\n" msgstr "" -#: elfedit.c:635 elfedit.c:644 readelf.c:22912 readelf.c:22921 +#: elfedit.c:635 elfedit.c:644 readelf.c:23391 readelf.c:23400 #, c-format msgid "%s: bad archive file name\n" msgstr "" @@ -4748,22 +4710,22 @@ msgstr "" msgid "%s: failed to seek to archive member\n" msgstr "" -#: elfedit.c:735 readelf.c:23040 +#: elfedit.c:735 readelf.c:23519 #, c-format msgid "'%s': No such file\n" msgstr "" -#: elfedit.c:737 readelf.c:23042 +#: elfedit.c:737 readelf.c:23521 #, c-format msgid "Could not locate '%s'. System error message: %s\n" msgstr "" -#: elfedit.c:758 readelf.c:23049 +#: elfedit.c:758 readelf.c:23528 #, c-format msgid "'%s' is not an ordinary file\n" msgstr "" -#: elfedit.c:784 readelf.c:23071 +#: elfedit.c:784 readelf.c:23550 #, c-format msgid "%s: Failed to read file's magic number\n" msgstr "" @@ -4893,7 +4855,7 @@ msgstr "" msgid " -C, --demangle[=STYLE] Decode mangled/processed symbol names\n" msgstr "" -#: nm.c:303 readelf.c:5217 +#: nm.c:303 readelf.c:5683 msgid " STYLE can be " msgstr "" @@ -5086,17 +5048,17 @@ msgstr "" msgid "%s: invalid output format" msgstr "" -#: nm.c:451 readelf.c:12698 readelf.c:12741 +#: nm.c:451 readelf.c:13169 readelf.c:13212 #, c-format msgid "<processor specific>: %d" msgstr "" -#: nm.c:453 readelf.c:12705 readelf.c:12758 +#: nm.c:453 readelf.c:13176 readelf.c:13229 #, c-format msgid "<OS specific>: %d" msgstr "" -#: nm.c:455 readelf.c:12708 readelf.c:12761 +#: nm.c:455 readelf.c:13179 readelf.c:13232 #, c-format msgid "<unknown>: %d" msgstr "" @@ -5106,19 +5068,19 @@ msgstr "" msgid "<unknown>: %d/%d" msgstr "" -#: nm.c:742 +#: nm.c:747 #, c-format msgid "" "\n" "Archive index:\n" msgstr "" -#: nm.c:796 nm.c:1469 +#: nm.c:801 nm.c:1474 #, c-format msgid "%s: plugin needed to handle lto object" msgstr "" -#: nm.c:1680 +#: nm.c:1685 #, c-format msgid "" "\n" @@ -5127,7 +5089,7 @@ msgid "" "\n" msgstr "" -#: nm.c:1682 +#: nm.c:1687 #, c-format msgid "" "\n" @@ -5136,7 +5098,7 @@ msgid "" "\n" msgstr "" -#: nm.c:1684 nm.c:1745 +#: nm.c:1689 nm.c:1750 #, c-format msgid "" "Name Value Class Type Size Line " @@ -5144,7 +5106,7 @@ msgid "" "\n" msgstr "" -#: nm.c:1687 nm.c:1748 +#: nm.c:1692 nm.c:1753 #, c-format msgid "" "Name Value Class Type " @@ -5152,7 +5114,7 @@ msgid "" "\n" msgstr "" -#: nm.c:1741 +#: nm.c:1746 #, c-format msgid "" "\n" @@ -5161,7 +5123,7 @@ msgid "" "\n" msgstr "" -#: nm.c:1743 +#: nm.c:1748 #, c-format msgid "" "\n" @@ -5170,25 +5132,25 @@ msgid "" "\n" msgstr "" -#: nm.c:1824 +#: nm.c:1829 #, c-format msgid "Print width has not been initialized (%d)" msgstr "" -#: nm.c:2089 objdump.c:6229 readelf.c:5667 strings.c:314 +#: nm.c:2094 objdump.c:6248 readelf.c:6144 strings.c:314 #, c-format msgid "invalid argument to -U/--unicode: %s" msgstr "" -#: nm.c:2107 +#: nm.c:2112 msgid "Only -X 32_64 is supported" msgstr "" -#: nm.c:2139 +#: nm.c:2144 msgid "Using the --size-sort and --undefined-only options together" msgstr "" -#: nm.c:2140 +#: nm.c:2145 msgid "will produce no output, since undefined symbols have no size." msgstr "" @@ -5445,672 +5407,684 @@ msgid "" " -o <file> Place stripped output into <file>\n" msgstr "" -#: objcopy.c:814 +#: objcopy.c:815 #, c-format msgid "unrecognized section flag `%s'" msgstr "" -#: objcopy.c:815 objcopy.c:887 +#: objcopy.c:816 objcopy.c:890 #, c-format msgid "supported flags: %s" msgstr "" -#: objcopy.c:886 +#: objcopy.c:889 #, c-format msgid "unrecognized symbol flag `%s'" msgstr "" -#: objcopy.c:945 +#: objcopy.c:948 #, c-format msgid "error: %s both copied and removed" msgstr "" -#: objcopy.c:951 +#: objcopy.c:954 #, c-format msgid "error: %s both sets and alters VMA" msgstr "" -#: objcopy.c:957 +#: objcopy.c:960 #, c-format msgid "error: %s both sets and alters LMA" msgstr "" -#: objcopy.c:1120 +#: objcopy.c:1123 #, c-format msgid "cannot open '%s': %s" msgstr "" -#: objcopy.c:1123 objcopy.c:5167 +#: objcopy.c:1126 objcopy.c:5199 #, c-format msgid "%s: fread failed" msgstr "" -#: objcopy.c:1196 +#: objcopy.c:1199 #, c-format msgid "%s:%d: Ignoring rubbish found on this line" msgstr "" -#: objcopy.c:1368 +#: objcopy.c:1371 #, c-format msgid "error: section %s matches both remove and copy options" msgstr "" -#: objcopy.c:1371 +#: objcopy.c:1374 #, c-format msgid "error: section %s matches both update and remove options" msgstr "" -#: objcopy.c:1546 +#: objcopy.c:1549 #, c-format msgid "Section %s not found" msgstr "" -#: objcopy.c:1596 +#: objcopy.c:1599 msgid "redefining symbols does not work on LTO-compiled object files" msgstr "" -#: objcopy.c:1708 +#: objcopy.c:1711 #, c-format msgid "not stripping symbol `%s' because it is named in a relocation" msgstr "" -#: objcopy.c:1769 +#: objcopy.c:1772 #, c-format msgid "'before=%s' not found" msgstr "" -#: objcopy.c:1808 +#: objcopy.c:1811 #, c-format msgid "%s: Multiple redefinition of symbol \"%s\"" msgstr "" -#: objcopy.c:1812 +#: objcopy.c:1815 #, c-format msgid "%s: Symbol \"%s\" is target of more than one redefinition" msgstr "" -#: objcopy.c:1839 +#: objcopy.c:1842 #, c-format msgid "couldn't open symbol redefinition file %s (error: %s)" msgstr "" -#: objcopy.c:1917 +#: objcopy.c:1920 #, c-format msgid "%s:%d: garbage found at end of line" msgstr "" -#: objcopy.c:1920 +#: objcopy.c:1923 #, c-format msgid "%s:%d: missing new symbol name" msgstr "" -#: objcopy.c:1930 +#: objcopy.c:1933 #, c-format msgid "%s:%d: premature end of file" msgstr "" -#: objcopy.c:1956 +#: objcopy.c:1959 #, c-format msgid "stat returns negative size for `%s'" msgstr "" -#: objcopy.c:1968 +#: objcopy.c:1971 #, c-format msgid "copy from `%s' [unknown] to `%s' [unknown]\n" msgstr "" -#: objcopy.c:2213 +#: objcopy.c:2216 #, c-format msgid "%s[%s]: Cannot merge - there are relocations against this section" msgstr "" -#: objcopy.c:2235 +#: objcopy.c:2238 msgid "corrupt GNU build attribute note: description size not a factor of 4" msgstr "" -#: objcopy.c:2242 +#: objcopy.c:2245 msgid "corrupt GNU build attribute note: wrong note type" msgstr "" -#: objcopy.c:2248 +#: objcopy.c:2251 msgid "corrupt GNU build attribute note: note too big" msgstr "" -#: objcopy.c:2254 +#: objcopy.c:2257 msgid "corrupt GNU build attribute note: name too small" msgstr "" -#: objcopy.c:2277 +#: objcopy.c:2280 msgid "corrupt GNU build attribute note: unsupported version" msgstr "" -#: objcopy.c:2311 +#: objcopy.c:2314 msgid "corrupt GNU build attribute note: bad description size" msgstr "" -#: objcopy.c:2347 +#: objcopy.c:2350 msgid "corrupt GNU build attribute note: name not NUL terminated" msgstr "" -#: objcopy.c:2359 +#: objcopy.c:2362 msgid "corrupt GNU build attribute notes: excess data at end" msgstr "" -#: objcopy.c:2366 +#: objcopy.c:2369 msgid "bad GNU build attribute notes: no known versions detected" msgstr "" #. This happens with glibc. No idea why. -#: objcopy.c:2370 +#: objcopy.c:2373 #, c-format msgid "%s[%s]: Warning: version note missing - assuming version 3" msgstr "" -#: objcopy.c:2380 +#: objcopy.c:2383 msgid "bad GNU build attribute notes: multiple different versions" msgstr "" -#: objcopy.c:2630 +#: objcopy.c:2633 #, c-format msgid "%s[%s]: Note - dropping 'share' flag as output format is not COFF" msgstr "" +#: objcopy.c:2645 +#, c-format +msgid "%s[%s]: 'large' flag is ELF x86-64 specific" +msgstr "" + #. PR 17636: Call non-fatal so that we return to our parent who #. may need to tidy temporary files. -#: objcopy.c:2675 +#: objcopy.c:2691 #, c-format msgid "unable to change endianness of '%s'" msgstr "" -#: objcopy.c:2682 +#: objcopy.c:2698 #, c-format msgid "unable to modify '%s' due to errors" msgstr "" -#: objcopy.c:2695 +#: objcopy.c:2711 #, c-format msgid "error: the input file '%s' has no sections" msgstr "" -#: objcopy.c:2723 +#: objcopy.c:2739 #, c-format msgid "" "--compress-debug-sections=[zlib|zlib-gnu|zlib-gabi|zstd] is unsupported on `%" "s'" msgstr "" -#: objcopy.c:2731 +#: objcopy.c:2747 #, c-format msgid "--elf-stt-common=[yes|no] is unsupported on `%s'" msgstr "" -#: objcopy.c:2738 +#: objcopy.c:2754 #, c-format msgid "--strip-section-headers is unsupported on `%s'" msgstr "" -#: objcopy.c:2745 +#: objcopy.c:2761 #, c-format msgid "copy from `%s' [%s] to `%s' [%s]\n" msgstr "" -#: objcopy.c:2793 +#: objcopy.c:2809 #, c-format msgid "Input file `%s' ignores binary architecture parameter." msgstr "" -#: objcopy.c:2809 +#: objcopy.c:2825 #, c-format msgid "Unable to recognise the format of the input file `%s'" msgstr "" -#: objcopy.c:2812 +#: objcopy.c:2828 #, c-format msgid "Output file cannot represent architecture `%s'" msgstr "" -#: objcopy.c:2878 +#: objcopy.c:2894 #, c-format msgid "warning: file alignment (0x%<PRIx64>) > section alignment (0x%<PRIx64>)" msgstr "" -#: objcopy.c:2947 +#: objcopy.c:2963 #, c-format msgid "can't add section '%s'" msgstr "" -#: objcopy.c:2961 +#: objcopy.c:2977 #, c-format msgid "can't create section `%s'" msgstr "" -#: objcopy.c:3009 +#: objcopy.c:3025 #, c-format msgid "error: %s not found, can't be updated" msgstr "" -#: objcopy.c:3049 +#: objcopy.c:3065 msgid "warning: could not load note section" msgstr "" -#: objcopy.c:3065 +#: objcopy.c:3081 msgid "warning: failed to set merged notes size" msgstr "" -#: objcopy.c:3091 +#: objcopy.c:3107 #, c-format msgid "can't dump section '%s' - it does not exist" msgstr "" -#: objcopy.c:3099 +#: objcopy.c:3115 msgid "can't dump section - it has no contents" msgstr "" -#: objcopy.c:3111 +#: objcopy.c:3127 msgid "could not open section dump file" msgstr "" -#: objcopy.c:3119 +#: objcopy.c:3135 #, c-format msgid "error writing section contents to %s (error: %s)" msgstr "" -#: objcopy.c:3129 +#: objcopy.c:3145 msgid "could not retrieve section contents" msgstr "" -#: objcopy.c:3143 +#: objcopy.c:3159 #, c-format msgid "%s: debuglink section already exists" msgstr "" -#: objcopy.c:3155 +#: objcopy.c:3171 #, c-format msgid "cannot create debug link section `%s'" msgstr "" -#: objcopy.c:3249 +#: objcopy.c:3265 msgid "Can't fill gap after section" msgstr "" -#: objcopy.c:3274 +#: objcopy.c:3290 msgid "can't add padding" msgstr "" -#: objcopy.c:3452 +#: objcopy.c:3468 msgid "error: failed to locate merged notes" msgstr "" -#: objcopy.c:3461 +#: objcopy.c:3477 msgid "error: failed to merge notes" msgstr "" -#: objcopy.c:3470 +#: objcopy.c:3486 msgid "error: failed to copy merged notes into output" msgstr "" -#: objcopy.c:3487 +#: objcopy.c:3503 #, c-format msgid "%s: Could not find any mergeable note sections" msgstr "" -#: objcopy.c:3496 +#: objcopy.c:3512 #, c-format msgid "cannot fill debug link section `%s'" msgstr "" -#: objcopy.c:3557 +#: objcopy.c:3573 msgid "error copying private BFD data" msgstr "" -#: objcopy.c:3568 +#: objcopy.c:3584 #, c-format msgid "this target does not support %lu alternative machine codes" msgstr "" -#: objcopy.c:3572 +#: objcopy.c:3588 msgid "treating that number as an absolute e_machine value instead" msgstr "" -#: objcopy.c:3576 +#: objcopy.c:3592 msgid "ignoring the alternative value" msgstr "" -#: objcopy.c:3622 +#: objcopy.c:3640 msgid "sorry: copying thin archives is not currently supported" msgstr "" -#: objcopy.c:3629 objcopy.c:3684 +#: objcopy.c:3647 objcopy.c:3700 #, c-format msgid "cannot create tempdir for archive copying (error: %s)" msgstr "" -#: objcopy.c:3665 +#: objcopy.c:3681 #, c-format msgid "illegal pathname found in archive member: %s" msgstr "" -#: objcopy.c:3719 +#: objcopy.c:3735 msgid "Unable to recognise the format of file" msgstr "" -#: objcopy.c:3839 +#: objcopy.c:3857 #, c-format msgid "error: the input file '%s' is empty" msgstr "" -#: objcopy.c:3874 +#: objcopy.c:3892 msgid "--compress-debug-sections=zstd: binutils is not built with zstd support" msgstr "" -#: objcopy.c:3929 +#: objcopy.c:3948 #, c-format msgid "--add-gnu-debuglink ignored for archive %s" msgstr "" -#: objcopy.c:4026 +#: objcopy.c:4046 #, c-format msgid "Multiple renames of section %s" msgstr "" -#: objcopy.c:4072 +#: objcopy.c:4092 msgid "error in private header data" msgstr "" -#: objcopy.c:4173 objcopy.c:4181 +#: objcopy.c:4205 objcopy.c:4213 msgid "failed to create output section" msgstr "" -#: objcopy.c:4190 +#: objcopy.c:4222 msgid "failed to set size" msgstr "" -#: objcopy.c:4206 +#: objcopy.c:4238 msgid "failed to set vma" msgstr "" -#: objcopy.c:4233 +#: objcopy.c:4265 msgid "failed to set alignment" msgstr "" -#: objcopy.c:4262 +#: objcopy.c:4294 msgid "failed to copy private data" msgstr "" -#: objcopy.c:4419 +#: objcopy.c:4451 msgid "relocation count is negative" msgstr "" #. User must pad the section up in order to do this. -#: objcopy.c:4506 +#: objcopy.c:4538 #, c-format msgid "" "cannot reverse bytes: length of section %s must be evenly divisible by %d" msgstr "" -#: objcopy.c:4716 +#: objcopy.c:4748 msgid "can't create debugging section" msgstr "" -#: objcopy.c:4730 +#: objcopy.c:4762 msgid "can't set debugging section contents" msgstr "" -#: objcopy.c:4740 +#: objcopy.c:4772 #, c-format msgid "don't know how to write debugging information for %s" msgstr "" -#: objcopy.c:4932 +#: objcopy.c:4964 msgid "could not create temporary file to hold stripped copy" msgstr "" -#: objcopy.c:5006 +#: objcopy.c:5038 #, c-format msgid "%s: bad version in PE subsystem" msgstr "" -#: objcopy.c:5036 +#: objcopy.c:5068 #, c-format msgid "unknown PE subsystem: %s" msgstr "" -#: objcopy.c:5120 objcopy.c:5396 objcopy.c:5476 objcopy.c:5614 objcopy.c:5646 -#: objcopy.c:5709 objcopy.c:5713 objcopy.c:5733 +#: objcopy.c:5152 objcopy.c:5428 objcopy.c:5508 objcopy.c:5646 objcopy.c:5678 +#: objcopy.c:5741 objcopy.c:5745 objcopy.c:5765 #, c-format msgid "bad format for %s" msgstr "" -#: objcopy.c:5149 +#: objcopy.c:5181 #, c-format msgid "cannot open: %s: %s" msgstr "" -#: objcopy.c:5204 +#: objcopy.c:5236 msgid "byte number must be non-negative" msgstr "" -#: objcopy.c:5210 +#: objcopy.c:5242 #, c-format msgid "architecture %s unknown" msgstr "" -#: objcopy.c:5218 +#: objcopy.c:5250 msgid "interleave must be positive" msgstr "" -#: objcopy.c:5227 +#: objcopy.c:5259 msgid "interleave width must be positive" msgstr "" -#: objcopy.c:5551 +#: objcopy.c:5583 #, c-format msgid "unrecognized --compress-debug-sections type `%s'" msgstr "" -#: objcopy.c:5572 +#: objcopy.c:5604 #, c-format msgid "unrecognized --elf-stt-common= option `%s'" msgstr "" -#: objcopy.c:5583 +#: objcopy.c:5615 #, c-format msgid "Warning: truncating gap-fill from 0x%<PRIx64> to 0x%x" msgstr "" -#: objcopy.c:5669 +#: objcopy.c:5701 msgid "bad format for --set-section-alignment: argument needed" msgstr "" -#: objcopy.c:5673 +#: objcopy.c:5705 msgid "bad format for --set-section-alignment: numeric argument needed" msgstr "" #. Number has more than on 1, i.e. wasn't a power of 2. -#: objcopy.c:5685 +#: objcopy.c:5717 msgid "bad format for --set-section-alignment: alignment is not a power of two" msgstr "" -#: objcopy.c:5792 +#: objcopy.c:5824 #, c-format msgid "unknown long section names option '%s'" msgstr "" -#: objcopy.c:5815 +#: objcopy.c:5847 msgid "unable to parse alternative machine code" msgstr "" -#: objcopy.c:5864 +#: objcopy.c:5896 msgid "number of bytes to reverse must be positive and even" msgstr "" -#: objcopy.c:5867 +#: objcopy.c:5899 #, c-format msgid "Warning: ignoring previous --reverse-bytes value of %d" msgstr "" -#: objcopy.c:5882 +#: objcopy.c:5914 #, c-format msgid "%s: invalid reserve value for --heap" msgstr "" -#: objcopy.c:5888 +#: objcopy.c:5920 #, c-format msgid "%s: invalid commit value for --heap" msgstr "" -#: objcopy.c:5913 +#: objcopy.c:5945 #, c-format msgid "%s: invalid reserve value for --stack" msgstr "" -#: objcopy.c:5919 +#: objcopy.c:5951 #, c-format msgid "%s: invalid commit value for --stack" msgstr "" -#: objcopy.c:5937 +#: objcopy.c:5969 msgid "error: verilog data width must be 1, 2, 4, 8 or 16" msgstr "" -#: objcopy.c:5955 +#: objcopy.c:5987 msgid "--globalize-symbol(s) is incompatible with -G/--keep-global-symbol(s)" msgstr "" -#: objcopy.c:5967 +#: objcopy.c:5999 msgid "interleave start byte must be set with --byte" msgstr "" -#: objcopy.c:5970 +#: objcopy.c:6002 msgid "byte number must be less than interleave" msgstr "" -#: objcopy.c:5973 +#: objcopy.c:6005 msgid "interleave width must be less than or equal to interleave - byte`" msgstr "" -#: objcopy.c:5996 +#: objcopy.c:6028 #, c-format msgid "unknown input EFI target: %s" msgstr "" -#: objcopy.c:6006 +#: objcopy.c:6038 #, c-format msgid "unknown output EFI target: %s" msgstr "" -#: objcopy.c:6030 +#: objcopy.c:6062 #, c-format msgid "" "warning: could not create temporary file whilst copying '%s', (error: %s)" msgstr "" -#: objcopy.c:6062 objcopy.c:6070 +#: objcopy.c:6094 objcopy.c:6102 #, c-format msgid "%s %s%c0x%<PRIx64> never used" msgstr "" -#: objdump.c:253 +#: objdump.c:254 #, c-format msgid "Usage: %s <option(s)> <file(s)>\n" msgstr "" -#: objdump.c:254 +#: objdump.c:255 #, c-format msgid " Display information from object <file(s)>.\n" msgstr "" -#: objdump.c:255 +#: objdump.c:256 #, c-format msgid " At least one of the following switches must be given:\n" msgstr "" -#: objdump.c:256 +#: objdump.c:257 #, c-format msgid " -a, --archive-headers Display archive header information\n" msgstr "" -#: objdump.c:258 +#: objdump.c:259 #, c-format msgid "" " -f, --file-headers Display the contents of the overall file header\n" msgstr "" -#: objdump.c:260 +#: objdump.c:261 #, c-format msgid "" " -p, --private-headers Display object format specific file header " "contents\n" msgstr "" -#: objdump.c:262 +#: objdump.c:263 #, c-format msgid " -P, --private=OPT,OPT... Display object format specific contents\n" msgstr "" -#: objdump.c:264 +#: objdump.c:265 #, c-format msgid "" " -h, --[section-]headers Display the contents of the section headers\n" msgstr "" -#: objdump.c:266 +#: objdump.c:267 #, c-format msgid " -x, --all-headers Display the contents of all headers\n" msgstr "" -#: objdump.c:268 +#: objdump.c:269 #, c-format msgid "" " -d, --disassemble Display assembler contents of executable " "sections\n" msgstr "" -#: objdump.c:270 +#: objdump.c:271 #, c-format msgid " -D, --disassemble-all Display assembler contents of all sections\n" msgstr "" -#: objdump.c:272 +#: objdump.c:273 #, c-format msgid " --disassemble=<sym> Display assembler contents from <sym>\n" msgstr "" -#: objdump.c:274 +#: objdump.c:275 #, c-format msgid " -S, --source Intermix source code with disassembly\n" msgstr "" -#: objdump.c:276 +#: objdump.c:277 #, c-format msgid " --source-comment[=<txt>] Prefix lines of source code with <txt>\n" msgstr "" -#: objdump.c:278 +#: objdump.c:279 #, c-format msgid "" " -s, --full-contents Display the full contents of all sections " "requested\n" msgstr "" -#: objdump.c:280 +#: objdump.c:281 +#, c-format +msgid "" +" -Z, --decompress Decompress section(s) before displaying their " +"contents\n" +msgstr "" + +#: objdump.c:283 #, c-format msgid " -g, --debugging Display debug information in object file\n" msgstr "" -#: objdump.c:282 +#: objdump.c:285 #, c-format msgid "" " -e, --debugging-tags Display debug information using ctags style\n" msgstr "" -#: objdump.c:284 +#: objdump.c:287 #, c-format msgid "" " -G, --stabs Display (in raw form) any STABS info in the file\n" msgstr "" -#: objdump.c:286 +#: objdump.c:289 #, c-format msgid "" " -W, --dwarf[a/=abbrev, A/=addr, r/=aranges, c/=cu_index, L/=decodedline,\n" @@ -6121,14 +6095,14 @@ msgid "" " Display the contents of DWARF debug sections\n" msgstr "" -#: objdump.c:293 +#: objdump.c:296 #, c-format msgid "" " -Wk,--dwarf=links Display the contents of sections that link to\n" " separate debuginfo files\n" msgstr "" -#: objdump.c:297 +#: objdump.c:300 #, c-format msgid "" " -WK,--dwarf=follow-links\n" @@ -6136,21 +6110,21 @@ msgid "" "(default)\n" msgstr "" -#: objdump.c:300 +#: objdump.c:303 #, c-format msgid "" " -WN,--dwarf=no-follow-links\n" " Do not follow links to separate debug info files\n" msgstr "" -#: objdump.c:304 +#: objdump.c:307 #, c-format msgid "" " -WK,--dwarf=follow-links\n" " Follow links to separate debug info files\n" msgstr "" -#: objdump.c:307 +#: objdump.c:310 #, c-format msgid "" " -WN,--dwarf=no-follow-links\n" @@ -6158,7 +6132,7 @@ msgid "" " (default)\n" msgstr "" -#: objdump.c:313 +#: objdump.c:316 #, c-format msgid "" " -WD --dwarf=use-debuginfod\n" @@ -6166,7 +6140,7 @@ msgid "" "servers (default)\n" msgstr "" -#: objdump.c:316 +#: objdump.c:319 #, c-format msgid "" " -WE --dwarf=do-not-use-debuginfod\n" @@ -6174,154 +6148,154 @@ msgid "" "servers\n" msgstr "" -#: objdump.c:320 +#: objdump.c:323 #, c-format msgid "" " -L, --process-links Display the contents of non-debug sections in\n" " separate debuginfo files. (Implies -WK)\n" msgstr "" -#: objdump.c:324 +#: objdump.c:327 #, c-format msgid "" " --ctf[=SECTION] Display CTF info from SECTION, (default `.ctf')\n" msgstr "" -#: objdump.c:327 +#: objdump.c:330 #, c-format msgid "" " --sframe[=SECTION] Display SFrame info from SECTION, (default '." "sframe')\n" msgstr "" -#: objdump.c:329 +#: objdump.c:332 #, c-format msgid "" " -t, --syms Display the contents of the symbol table(s)\n" msgstr "" -#: objdump.c:331 +#: objdump.c:334 #, c-format msgid "" " -T, --dynamic-syms Display the contents of the dynamic symbol table\n" msgstr "" -#: objdump.c:333 +#: objdump.c:336 #, c-format msgid " -r, --reloc Display the relocation entries in the file\n" msgstr "" -#: objdump.c:335 +#: objdump.c:338 #, c-format msgid "" " -R, --dynamic-reloc Display the dynamic relocation entries in the " "file\n" msgstr "" -#: objdump.c:337 +#: objdump.c:340 #, c-format msgid " @<file> Read options from <file>\n" msgstr "" -#: objdump.c:339 +#: objdump.c:342 #, c-format msgid " -v, --version Display this program's version number\n" msgstr "" -#: objdump.c:341 +#: objdump.c:344 #, c-format msgid "" " -i, --info List object formats and architectures supported\n" msgstr "" -#: objdump.c:343 +#: objdump.c:346 #, c-format msgid " -H, --help Display this information\n" msgstr "" -#: objdump.c:350 +#: objdump.c:353 #, c-format msgid "" "\n" " The following switches are optional:\n" msgstr "" -#: objdump.c:351 +#: objdump.c:354 #, c-format msgid "" " -b, --target=BFDNAME Specify the target object format as " "BFDNAME\n" msgstr "" -#: objdump.c:353 +#: objdump.c:356 #, c-format msgid "" " -m, --architecture=MACHINE Specify the target architecture as MACHINE\n" msgstr "" -#: objdump.c:355 +#: objdump.c:358 #, c-format msgid "" " -j, --section=NAME Only display information for section NAME\n" msgstr "" -#: objdump.c:357 +#: objdump.c:360 #, c-format msgid " -M, --disassembler-options=OPT Pass text OPT on to the disassembler\n" msgstr "" -#: objdump.c:359 +#: objdump.c:362 #, c-format msgid "" " -EB --endian=big Assume big endian format when " "disassembling\n" msgstr "" -#: objdump.c:361 +#: objdump.c:364 #, c-format msgid "" " -EL --endian=little Assume little endian format when " "disassembling\n" msgstr "" -#: objdump.c:363 +#: objdump.c:366 #, c-format msgid "" " --file-start-context Include context from start of file (with -" "S)\n" msgstr "" -#: objdump.c:365 +#: objdump.c:368 #, c-format msgid "" " -I, --include=DIR Add DIR to search list for source files\n" msgstr "" -#: objdump.c:367 +#: objdump.c:370 #, c-format msgid "" " -l, --line-numbers Include line numbers and filenames in " "output\n" msgstr "" -#: objdump.c:369 +#: objdump.c:372 #, c-format msgid "" " -F, --file-offsets Include file offsets when displaying " "information\n" msgstr "" -#: objdump.c:371 +#: objdump.c:374 #, c-format msgid "" " -C, --demangle[=STYLE] Decode mangled/processed symbol names\n" msgstr "" -#: objdump.c:373 +#: objdump.c:376 msgid " STYLE can be " msgstr "" -#: objdump.c:375 +#: objdump.c:378 #, c-format msgid "" " --recurse-limit Enable a limit on recursion whilst " @@ -6329,20 +6303,20 @@ msgid "" " (default)\n" msgstr "" -#: objdump.c:378 +#: objdump.c:381 #, c-format msgid "" " --no-recurse-limit Disable a limit on recursion whilst " "demangling\n" msgstr "" -#: objdump.c:380 +#: objdump.c:383 #, c-format msgid "" " -w, --wide Format output for more than 80 columns\n" msgstr "" -#: objdump.c:382 +#: objdump.c:385 #, c-format msgid "" " -U[d|l|i|x|e|h] Controls the display of UTF-8 unicode " @@ -6350,169 +6324,169 @@ msgid "" " --unicode=[default|locale|invalid|hex|escape|highlight]\n" msgstr "" -#: objdump.c:385 +#: objdump.c:388 #, c-format msgid "" " -z, --disassemble-zeroes Do not skip blocks of zeroes when " "disassembling\n" msgstr "" -#: objdump.c:387 +#: objdump.c:390 #, c-format msgid "" " --start-address=ADDR Only process data whose address is >= ADDR\n" msgstr "" -#: objdump.c:389 +#: objdump.c:392 #, c-format msgid "" " --stop-address=ADDR Only process data whose address is < ADDR\n" msgstr "" -#: objdump.c:391 +#: objdump.c:394 #, c-format msgid "" " --no-addresses Do not print address alongside disassembly\n" msgstr "" -#: objdump.c:393 +#: objdump.c:396 #, c-format msgid "" " --prefix-addresses Print complete address alongside " "disassembly\n" msgstr "" -#: objdump.c:395 +#: objdump.c:398 #, c-format msgid "" " --[no-]show-raw-insn Display hex alongside symbolic disassembly\n" msgstr "" -#: objdump.c:397 +#: objdump.c:400 #, c-format msgid "" " --insn-width=WIDTH Display WIDTH bytes on a single line for -" "d\n" msgstr "" -#: objdump.c:399 +#: objdump.c:402 #, c-format msgid "" " --adjust-vma=OFFSET Add OFFSET to all displayed section " "addresses\n" msgstr "" -#: objdump.c:401 +#: objdump.c:404 #, c-format msgid "" " --show-all-symbols When disassembling, display all symbols at " "a given address\n" msgstr "" -#: objdump.c:403 +#: objdump.c:406 #, c-format msgid "" " --special-syms Include special symbols in symbol dumps\n" msgstr "" -#: objdump.c:405 +#: objdump.c:408 #, c-format msgid "" " --inlines Print all inlines for source line (with -" "l)\n" msgstr "" -#: objdump.c:407 +#: objdump.c:410 #, c-format msgid " --prefix=PREFIX Add PREFIX to absolute paths for -S\n" msgstr "" -#: objdump.c:409 +#: objdump.c:412 #, c-format msgid " --prefix-strip=LEVEL Strip initial directory names for -S\n" msgstr "" -#: objdump.c:411 +#: objdump.c:414 #, c-format msgid "" " --dwarf-depth=N Do not display DIEs at depth N or greater\n" msgstr "" -#: objdump.c:413 +#: objdump.c:416 #, c-format msgid " --dwarf-start=N Display DIEs starting at offset N\n" msgstr "" -#: objdump.c:415 +#: objdump.c:418 #, c-format msgid "" " --dwarf-check Make additional dwarf consistency checks.\n" msgstr "" -#: objdump.c:418 +#: objdump.c:421 #, c-format msgid "" " --ctf-parent=NAME Use CTF archive member NAME as the CTF " "parent\n" msgstr "" -#: objdump.c:421 +#: objdump.c:424 #, c-format msgid "" " --visualize-jumps Visualize jumps by drawing ASCII art lines\n" msgstr "" -#: objdump.c:423 +#: objdump.c:426 #, c-format msgid " --visualize-jumps=color Use colors in the ASCII art\n" msgstr "" -#: objdump.c:425 +#: objdump.c:428 #, c-format msgid "" " --visualize-jumps=extended-color\n" " Use extended 8-bit color codes\n" msgstr "" -#: objdump.c:428 +#: objdump.c:431 #, c-format msgid " --visualize-jumps=off Disable jump visualization\n" msgstr "" -#: objdump.c:431 +#: objdump.c:434 #, c-format msgid "" " --disassembler-color=off Disable disassembler color output.\n" msgstr "" -#: objdump.c:433 +#: objdump.c:436 #, c-format msgid "" " --disassembler-color=terminal Enable disassembler color output if " "displaying on a terminal. (default)\n" msgstr "" -#: objdump.c:436 +#: objdump.c:439 #, c-format msgid "" " --disassembler-color=off Disable disassembler color output. " "(default)\n" msgstr "" -#: objdump.c:438 +#: objdump.c:441 #, c-format msgid "" " --disassembler-color=terminal Enable disassembler color output if " "displaying on a terminal.\n" msgstr "" -#: objdump.c:441 +#: objdump.c:444 #, c-format msgid "" " --disassembler-color=on Enable disassembler color output.\n" msgstr "" -#: objdump.c:443 +#: objdump.c:446 #, c-format msgid "" " --disassembler-color=extended Use 8-bit colors in disassembler " @@ -6520,299 +6494,306 @@ msgid "" "\n" msgstr "" -#: objdump.c:454 +#: objdump.c:457 #, c-format msgid "" "\n" "Options supported for -P/--private switch:\n" msgstr "" -#: objdump.c:819 +#: objdump.c:828 #, c-format msgid "section '%s' mentioned in a -j option, but not found in any input file" msgstr "" -#: objdump.c:974 +#: objdump.c:986 #, c-format msgid "Sections:\n" msgstr "" -#: objdump.c:980 +#: objdump.c:992 #, c-format msgid "Idx %-*s Size %-*s%-*sFile off Algn" msgstr "" -#: objdump.c:986 +#: objdump.c:998 #, c-format msgid " Flags" msgstr "" -#: objdump.c:1003 +#: objdump.c:1015 #, c-format msgid "failed to read symbol table from: %s" msgstr "" -#: objdump.c:1005 objdump.c:5406 objdump.c:5458 +#: objdump.c:1017 objdump.c:5422 objdump.c:5474 msgid "error message was" msgstr "" -#: objdump.c:1034 +#: objdump.c:1046 #, c-format msgid "%s: not a dynamic object" msgstr "" -#: objdump.c:1639 objdump.c:1667 +#: objdump.c:1651 objdump.c:1679 #, c-format msgid " (File Offset: 0x%lx)" msgstr "" -#: objdump.c:2065 +#: objdump.c:2077 #, c-format msgid "source file %s is more recent than object file\n" msgstr "" -#: objdump.c:2434 +#: objdump.c:2446 msgid "disassembly color not correctly selected" msgstr "" -#: objdump.c:3308 +#: objdump.c:3320 #, c-format msgid "\t... (skipping %lu zeroes, resuming at file offset: 0x%lx)\n" msgstr "" -#: objdump.c:3447 +#: objdump.c:3459 #, c-format msgid "disassemble_fn returned length %d" msgstr "" -#: objdump.c:3784 objdump.c:5023 +#: objdump.c:3796 objdump.c:5039 #, c-format msgid "Reading section %s failed because: %s" msgstr "" -#: objdump.c:3805 +#: objdump.c:3817 #, c-format msgid "" "\n" "Disassembly of section %s:\n" msgstr "" -#: objdump.c:4123 +#: objdump.c:4135 #, c-format msgid "can't use supplied machine %s" msgstr "" -#: objdump.c:4146 +#: objdump.c:4158 #, c-format msgid "can't disassemble for architecture %s\n" msgstr "" -#: objdump.c:4239 +#: objdump.c:4252 #, c-format msgid "" "\n" "Section '%s' has an invalid size: %#<PRIx64>.\n" msgstr "" -#: objdump.c:4284 +#: objdump.c:4297 #, c-format msgid "" "\n" "Can't get contents for section '%s'.\n" msgstr "" -#: objdump.c:4442 +#: objdump.c:4455 #, c-format msgid "File %s does not contain any dwarf debug information\n" msgstr "" -#: objdump.c:4478 +#: objdump.c:4491 #, c-format msgid "" "No %s section present\n" "\n" msgstr "" -#: objdump.c:4487 +#: objdump.c:4500 #, c-format msgid "reading %s section of %s failed: %s" msgstr "" -#: objdump.c:4525 +#: objdump.c:4538 #, c-format msgid "" "Contents of %s section:\n" "\n" msgstr "" -#: objdump.c:4667 +#: objdump.c:4680 #, c-format msgid "architecture: %s, " msgstr "" -#: objdump.c:4670 +#: objdump.c:4683 #, c-format msgid "flags 0x%08x:\n" msgstr "" -#: objdump.c:4683 +#: objdump.c:4696 #, c-format msgid "" "\n" "start address 0x" msgstr "" -#: objdump.c:4733 readelf.c:15868 +#: objdump.c:4746 readelf.c:16338 #, c-format msgid "%s: %s" msgstr "" -#: objdump.c:4733 readelf.c:15868 +#: objdump.c:4746 readelf.c:16338 msgid "warning" msgstr "" -#: objdump.c:4733 readelf.c:15868 +#: objdump.c:4746 readelf.c:16338 msgid "error" msgstr "" -#: objdump.c:4739 readelf.c:15873 +#: objdump.c:4752 readelf.c:16343 #, c-format msgid "CTF error: cannot get CTF errors: `%s'" msgstr "" -#: objdump.c:4763 readelf.c:15895 +#: objdump.c:4776 readelf.c:16365 #, c-format msgid "" "\n" "CTF archive member: %s:\n" msgstr "" -#: objdump.c:4783 +#: objdump.c:4796 #, c-format msgid "Iteration failed: %s, %s" msgstr "" -#: objdump.c:4825 objdump.c:4834 +#: objdump.c:4838 objdump.c:4847 #, c-format msgid "CTF open failure: %s" msgstr "" -#: objdump.c:4841 +#: objdump.c:4854 #, c-format msgid "Contents of CTF section %s:\n" msgstr "" -#: objdump.c:4848 +#: objdump.c:4861 #, c-format msgid "CTF archive member open failure: %s" msgstr "" -#: objdump.c:4893 readelf.c:16069 +#: objdump.c:4906 readelf.c:16539 #, c-format msgid "Contents of the SFrame section %s:" msgstr "" -#: objdump.c:4907 +#: objdump.c:4920 #, c-format msgid "warning: private headers incomplete: %s" msgstr "" -#: objdump.c:4925 +#: objdump.c:4938 msgid "option -P/--private not supported by this file" msgstr "" -#: objdump.c:4949 +#: objdump.c:4962 #, c-format msgid "target specific dump '%s' not supported" msgstr "" -#: objdump.c:5015 +#: objdump.c:5028 #, c-format msgid "Contents of section %s:" msgstr "" -#: objdump.c:5017 +#: objdump.c:5030 #, c-format msgid " (Starting at file offset: 0x%lx)" msgstr "" -#: objdump.c:5127 +#: objdump.c:5035 readelf.c:16042 +#, c-format +msgid "" +" NOTE: This section is compressed, but its contents have NOT been expanded " +"for this dump.\n" +msgstr "" + +#: objdump.c:5143 #, c-format msgid "no symbols\n" msgstr "" -#: objdump.c:5134 +#: objdump.c:5150 #, c-format msgid "no information for symbol number %ld\n" msgstr "" -#: objdump.c:5137 +#: objdump.c:5153 #, c-format msgid "could not determine the type of symbol number %ld\n" msgstr "" -#: objdump.c:5404 objdump.c:5456 +#: objdump.c:5420 objdump.c:5472 #, c-format msgid "failed to read relocs in: %s" msgstr "" -#: objdump.c:5587 +#: objdump.c:5603 #, c-format msgid "" "\n" "%s: file format %s\n" msgstr "" -#: objdump.c:5697 +#: objdump.c:5713 #, c-format msgid "%s: printing debugging information failed" msgstr "" -#: objdump.c:5787 +#: objdump.c:5803 #, c-format msgid "In archive %s:\n" msgstr "" #. Prevent corrupted files from spinning us into an #. infinite loop. 100 is an arbitrary heuristic. -#: objdump.c:5792 +#: objdump.c:5808 msgid "Archive nesting is too deep" msgstr "" -#: objdump.c:5797 +#: objdump.c:5813 #, c-format msgid "In nested archive %s:\n" msgstr "" -#: objdump.c:5958 +#: objdump.c:5977 msgid "error: the start address should be before the end address" msgstr "" -#: objdump.c:5963 +#: objdump.c:5982 msgid "error: the stop address should be after the start address" msgstr "" -#: objdump.c:5975 +#: objdump.c:5994 msgid "error: prefix strip must be non-negative" msgstr "" -#: objdump.c:5980 +#: objdump.c:5999 msgid "error: instruction width must be positive" msgstr "" -#: objdump.c:6002 +#: objdump.c:6021 msgid "unrecognized argument to --visualize-option" msgstr "" -#: objdump.c:6022 +#: objdump.c:6041 msgid "unrecognized argument to --disassembler-color" msgstr "" -#: objdump.c:6033 +#: objdump.c:6052 msgid "unrecognized -E option" msgstr "" -#: objdump.c:6044 +#: objdump.c:6063 #, c-format msgid "unrecognized --endian type `%s'" msgstr "" @@ -6849,7 +6830,7 @@ msgid "" "type\n" msgstr "" -#: od-macho.c:74 +#: od-macho.c:75 #, c-format msgid "" "For Mach-O files:\n" @@ -6867,233 +6848,233 @@ msgid "" " dyld_info Display dyld information\n" msgstr "" -#: od-macho.c:313 +#: od-macho.c:314 msgid "Mach-O header:\n" msgstr "" -#: od-macho.c:314 +#: od-macho.c:315 #, c-format msgid " magic : %08lx\n" msgstr "" -#: od-macho.c:315 +#: od-macho.c:316 #, c-format msgid " cputype : %08lx (%s)\n" msgstr "" -#: od-macho.c:317 +#: od-macho.c:318 #, c-format msgid " cpusubtype: %08lx\n" msgstr "" -#: od-macho.c:318 +#: od-macho.c:319 #, c-format msgid " filetype : %08lx (%s)\n" msgstr "" -#: od-macho.c:321 +#: od-macho.c:322 #, c-format msgid " ncmds : %08lx (%lu)\n" msgstr "" -#: od-macho.c:322 +#: od-macho.c:323 #, c-format msgid " sizeofcmds: %08lx (%lu)\n" msgstr "" -#: od-macho.c:323 +#: od-macho.c:324 #, c-format msgid " flags : %08lx (" msgstr "" -#: od-macho.c:325 +#: od-macho.c:326 msgid ")\n" msgstr "" -#: od-macho.c:326 +#: od-macho.c:327 #, c-format msgid " reserved : %08x\n" msgstr "" -#: od-macho.c:345 +#: od-macho.c:346 msgid "Segments and Sections:\n" msgstr "" -#: od-macho.c:346 +#: od-macho.c:347 msgid " #: Segment name Section name Address\n" msgstr "" -#: od-macho.c:988 +#: od-macho.c:989 msgid "cannot read rebase dyld info" msgstr "" -#: od-macho.c:993 +#: od-macho.c:994 msgid "cannot read bind dyld info" msgstr "" -#: od-macho.c:998 +#: od-macho.c:999 msgid "cannot read weak bind dyld info" msgstr "" -#: od-macho.c:1003 +#: od-macho.c:1004 msgid "cannot read lazy bind dyld info" msgstr "" -#: od-macho.c:1008 +#: od-macho.c:1009 msgid "cannot read export symbols dyld info" msgstr "" -#: od-macho.c:1088 od-macho.c:1098 od-macho.c:1172 od-macho.c:1224 +#: od-macho.c:1089 od-macho.c:1099 od-macho.c:1173 od-macho.c:1225 #, c-format msgid " [bad block length]\n" msgstr "" -#: od-macho.c:1092 +#: od-macho.c:1093 #, c-format msgid " %u index entry:\n" msgid_plural " %u index entries:\n" msgstr[0] "" msgstr[1] "" -#: od-macho.c:1108 +#: od-macho.c:1109 #, c-format msgid " index entry %u: type: %08x, offset: %08x\n" msgstr "" -#: od-macho.c:1179 +#: od-macho.c:1180 #, c-format msgid " version: %08x\n" msgstr "" -#: od-macho.c:1180 +#: od-macho.c:1181 #, c-format msgid " flags: %08x\n" msgstr "" -#: od-macho.c:1181 +#: od-macho.c:1182 #, c-format msgid " hash offset: %08x\n" msgstr "" -#: od-macho.c:1183 +#: od-macho.c:1184 #, c-format msgid " ident offset: %08x (- %08x)\n" msgstr "" -#: od-macho.c:1185 +#: od-macho.c:1186 #, c-format msgid " identity: %s\n" msgstr "" -#: od-macho.c:1186 +#: od-macho.c:1187 #, c-format msgid " nbr special slots: %08x (at offset %08x)\n" msgstr "" -#: od-macho.c:1189 +#: od-macho.c:1190 #, c-format msgid " nbr code slots: %08x\n" msgstr "" -#: od-macho.c:1190 +#: od-macho.c:1191 #, c-format msgid " code limit: %08x\n" msgstr "" -#: od-macho.c:1191 +#: od-macho.c:1192 #, c-format msgid " hash size: %02x\n" msgstr "" -#: od-macho.c:1192 +#: od-macho.c:1193 #, c-format msgid " hash type: %02x (%s)\n" msgstr "" -#: od-macho.c:1195 +#: od-macho.c:1196 #, c-format msgid " spare1: %02x\n" msgstr "" -#: od-macho.c:1196 +#: od-macho.c:1197 #, c-format msgid " page size: %02x\n" msgstr "" -#: od-macho.c:1197 +#: od-macho.c:1198 #, c-format msgid " spare2: %08x\n" msgstr "" -#: od-macho.c:1199 +#: od-macho.c:1200 #, c-format msgid " scatter offset: %08x\n" msgstr "" -#: od-macho.c:1211 +#: od-macho.c:1212 #, c-format msgid " [truncated block]\n" msgstr "" -#: od-macho.c:1219 +#: od-macho.c:1220 #, c-format msgid " magic : %08x (%s)\n" msgstr "" -#: od-macho.c:1221 +#: od-macho.c:1222 #, c-format msgid " length: %08x\n" msgstr "" -#: od-macho.c:1252 +#: od-macho.c:1253 msgid "cannot read code signature data" msgstr "" -#: od-macho.c:1280 +#: od-macho.c:1281 msgid "cannot read segment split info" msgstr "" -#: od-macho.c:1286 +#: od-macho.c:1287 msgid "segment split info is not nul terminated" msgstr "" -#: od-macho.c:1294 +#: od-macho.c:1295 #, c-format msgid " 32 bit pointers:\n" msgstr "" -#: od-macho.c:1297 +#: od-macho.c:1298 #, c-format msgid " 64 bit pointers:\n" msgstr "" -#: od-macho.c:1300 +#: od-macho.c:1301 #, c-format msgid " PPC hi-16:\n" msgstr "" -#: od-macho.c:1303 +#: od-macho.c:1304 #, c-format msgid " Unhandled location type %u\n" msgstr "" -#: od-macho.c:1327 +#: od-macho.c:1328 msgid "cannot read function starts" msgstr "" -#: od-macho.c:1391 +#: od-macho.c:1392 msgid "cannot read data_in_code" msgstr "" -#: od-macho.c:1429 +#: od-macho.c:1430 msgid "cannot read twolevel hints" msgstr "" -#: od-macho.c:1497 +#: od-macho.c:1498 msgid "cannot read build tools" msgstr "" -#: od-pe.c:214 +#: od-pe.c:215 #, c-format msgid "" "For PE files:\n" @@ -7101,406 +7082,406 @@ msgid "" " sections Display the section headers\n" msgstr "" -#: od-pe.c:256 +#: od-pe.c:257 #, c-format msgid "unknown: 0x%x" msgstr "" -#: od-pe.c:272 +#: od-pe.c:273 #, c-format msgid "" "\n" " File header not present\n" msgstr "" -#: od-pe.c:275 +#: od-pe.c:276 #, c-format msgid "" "\n" " File Header (at offset 0):\n" msgstr "" -#: od-pe.c:281 +#: od-pe.c:282 #, c-format msgid "Bytes on Last Page:\t\t%d\n" msgstr "" -#: od-pe.c:284 +#: od-pe.c:285 #, c-format msgid "Pages In File:\t\t\t%d\n" msgstr "" -#: od-pe.c:287 +#: od-pe.c:288 #, c-format msgid "Relocations:\t\t\t%d\n" msgstr "" -#: od-pe.c:290 +#: od-pe.c:291 #, c-format msgid "Size of header in paragraphs:\t%d\n" msgstr "" -#: od-pe.c:293 +#: od-pe.c:294 #, c-format msgid "Min extra paragraphs needed:\t%d\n" msgstr "" -#: od-pe.c:296 +#: od-pe.c:297 #, c-format msgid "Max extra paragraphs needed:\t%d\n" msgstr "" -#: od-pe.c:299 +#: od-pe.c:300 #, c-format msgid "Initial (relative) SS value:\t%d\n" msgstr "" -#: od-pe.c:302 +#: od-pe.c:303 #, c-format msgid "Initial SP value:\t\t%d\n" msgstr "" -#: od-pe.c:305 +#: od-pe.c:306 #, c-format msgid "Checksum:\t\t\t%#x\n" msgstr "" -#: od-pe.c:308 +#: od-pe.c:309 #, c-format msgid "Initial IP value:\t\t%d\n" msgstr "" -#: od-pe.c:311 +#: od-pe.c:312 #, c-format msgid "Initial (relative) CS value:\t%d\n" msgstr "" -#: od-pe.c:314 +#: od-pe.c:315 #, c-format msgid "File address of reloc table:\t%d\n" msgstr "" -#: od-pe.c:317 +#: od-pe.c:318 #, c-format msgid "Overlay number:\t\t\t%d\n" msgstr "" -#: od-pe.c:320 +#: od-pe.c:321 #, c-format msgid "OEM identifier:\t\t\t%d\n" msgstr "" -#: od-pe.c:323 +#: od-pe.c:324 #, c-format msgid "OEM information:\t\t%#x\n" msgstr "" -#: od-pe.c:326 +#: od-pe.c:327 #, c-format msgid "File address of new exe header:\t%#lx\n" msgstr "" -#: od-pe.c:357 +#: od-pe.c:358 #, c-format msgid "Stub message:\t\t\t" msgstr "" -#: od-pe.c:371 +#: od-pe.c:372 #, c-format msgid "" "\n" " Image Header (at offset %#lx):\n" msgstr "" -#: od-pe.c:379 +#: od-pe.c:380 #, c-format msgid "Machine Number:\t\t\t%#x\t\t- %s\n" msgstr "" -#: od-pe.c:382 +#: od-pe.c:383 #, c-format msgid "Number of sections:\t\t\\%d\n" msgstr "" -#: od-pe.c:385 +#: od-pe.c:386 #, c-format msgid "Time/Date:\t\t\t%#08lx\t- " msgstr "" -#: od-pe.c:387 od-xcoff.c:421 readelf.c:20592 +#: od-pe.c:388 od-xcoff.c:422 readelf.c:21069 #, c-format msgid "not set\n" msgstr "" -#: od-pe.c:395 +#: od-pe.c:396 #, c-format msgid "Symbol table offset:\t\t%#08lx\n" msgstr "" -#: od-pe.c:397 +#: od-pe.c:398 #, c-format msgid "Number of symbols:\t\t\\%ld\n" msgstr "" -#: od-pe.c:401 +#: od-pe.c:402 #, c-format msgid "Optional header size:\t\t%#x\n" msgstr "" -#: od-pe.c:404 +#: od-pe.c:405 #, c-format msgid "Flags:\t\t\t\t0x%04x\t\t- " msgstr "" -#: od-pe.c:412 +#: od-pe.c:413 #, c-format msgid "" "\n" " Optional 64-bit AOUT Header (at offset %#lx):\n" msgstr "" -#: od-pe.c:419 +#: od-pe.c:420 #, c-format msgid "error: unable to read AOUT and PE+ headers\n" msgstr "" -#: od-pe.c:423 od-pe.c:508 +#: od-pe.c:424 od-pe.c:509 #, c-format msgid "Magic:\t\t\t\t%x\t\t- %s\n" msgstr "" -#: od-pe.c:424 od-pe.c:509 readelf.c:18455 readelf.c:18524 +#: od-pe.c:425 od-pe.c:510 readelf.c:18925 readelf.c:18994 msgid "Unknown" msgstr "" -#: od-pe.c:426 od-pe.c:511 +#: od-pe.c:427 od-pe.c:512 #, c-format msgid "Version:\t\t\t%x\n" msgstr "" -#: od-pe.c:429 od-pe.c:514 +#: od-pe.c:430 od-pe.c:515 #, c-format msgid "Text Size:\t\t\t%#lx\n" msgstr "" -#: od-pe.c:431 od-pe.c:516 +#: od-pe.c:432 od-pe.c:517 #, c-format msgid "Data Size:\t\t\t%#lx\n" msgstr "" -#: od-pe.c:433 od-pe.c:518 +#: od-pe.c:434 od-pe.c:519 #, c-format msgid "BSS Size:\t\t\t%#lx\n" msgstr "" -#: od-pe.c:435 od-pe.c:520 +#: od-pe.c:436 od-pe.c:521 #, c-format msgid "Entry Point:\t\t\t%#lx\n" msgstr "" -#: od-pe.c:437 od-pe.c:522 +#: od-pe.c:438 od-pe.c:523 #, c-format msgid "Text Start:\t\t\t%#lx\n" msgstr "" #. There is no data_start field in the PE+ standard header. -#: od-pe.c:441 +#: od-pe.c:442 #, c-format msgid "" "\n" " Optional PE+ Header (at offset %#lx):\n" msgstr "" -#: od-pe.c:444 od-pe.c:540 +#: od-pe.c:445 od-pe.c:541 #, c-format msgid "Image Base:\t\t\t%#lx\n" msgstr "" -#: od-pe.c:446 od-pe.c:542 +#: od-pe.c:447 od-pe.c:543 #, c-format msgid "Section Alignment:\t\t%#lx\n" msgstr "" -#: od-pe.c:448 od-pe.c:544 +#: od-pe.c:449 od-pe.c:545 #, c-format msgid "File Alignment:\t\t\t%#lx\n" msgstr "" -#: od-pe.c:450 od-pe.c:546 +#: od-pe.c:451 od-pe.c:547 #, c-format msgid "Major OS Version:\t\t%d\n" msgstr "" -#: od-pe.c:452 od-pe.c:548 +#: od-pe.c:453 od-pe.c:549 #, c-format msgid "Minor OS ersion:\t\t%d\n" msgstr "" -#: od-pe.c:454 od-pe.c:550 +#: od-pe.c:455 od-pe.c:551 #, c-format msgid "Major Image Version:\t\t%d\n" msgstr "" -#: od-pe.c:456 od-pe.c:552 +#: od-pe.c:457 od-pe.c:553 #, c-format msgid "Minor Image Version:\t\t%d\n" msgstr "" -#: od-pe.c:458 od-pe.c:554 +#: od-pe.c:459 od-pe.c:555 #, c-format msgid "Major Subsystem Version:\t%d\n" msgstr "" -#: od-pe.c:460 od-pe.c:556 +#: od-pe.c:461 od-pe.c:557 #, c-format msgid "Minor Subsystem Version:\t%d\n" msgstr "" -#: od-pe.c:462 od-pe.c:558 +#: od-pe.c:463 od-pe.c:559 #, c-format msgid "Size Of Image:\t\t\t%#lx\n" msgstr "" -#: od-pe.c:464 od-pe.c:560 +#: od-pe.c:465 od-pe.c:561 #, c-format msgid "Size Of Headers:\t\t%#lx\n" msgstr "" -#: od-pe.c:466 od-pe.c:562 +#: od-pe.c:467 od-pe.c:563 #, c-format msgid "CheckSum:\t\t\t%#lx\n" msgstr "" -#: od-pe.c:468 od-pe.c:564 +#: od-pe.c:469 od-pe.c:565 #, c-format msgid "Subsystem:\t\t\t%d\n" msgstr "" #. FIXME: Decode the characteristics. -#: od-pe.c:471 od-pe.c:567 +#: od-pe.c:472 od-pe.c:568 #, c-format msgid "DllCharacteristics:\t\t%#x\n" msgstr "" -#: od-pe.c:473 od-pe.c:569 +#: od-pe.c:474 od-pe.c:570 #, c-format msgid "Size Of Stack Reserve:\t\t%#lx\n" msgstr "" -#: od-pe.c:475 od-pe.c:571 +#: od-pe.c:476 od-pe.c:572 #, c-format msgid "Size Of Stack Commit:\t\t%#lx\n" msgstr "" -#: od-pe.c:477 od-pe.c:573 +#: od-pe.c:478 od-pe.c:574 #, c-format msgid "Size Of Heap Reserve:\t\t%#lx\n" msgstr "" -#: od-pe.c:479 od-pe.c:575 +#: od-pe.c:480 od-pe.c:576 #, c-format msgid "Size Of Heap Commit:\t\t%#lx\n" msgstr "" -#: od-pe.c:481 od-pe.c:577 +#: od-pe.c:482 od-pe.c:578 #, c-format msgid "Loader Flags:\t\t\t%#lx\n" msgstr "" -#: od-pe.c:483 od-pe.c:579 +#: od-pe.c:484 od-pe.c:580 #, c-format msgid "Number Of Rva and Sizes:\t%#lx\n" msgstr "" -#: od-pe.c:499 +#: od-pe.c:500 #, c-format msgid "" "\n" " Optional 32-bit AOUT Header (at offset %#lx, size %d):\n" msgstr "" -#: od-pe.c:504 +#: od-pe.c:505 #, c-format msgid "error: unable to seek to/read AOUT header\n" msgstr "" -#: od-pe.c:524 +#: od-pe.c:525 #, c-format msgid "Data Start:\t\t\t%#lx\n" msgstr "" -#: od-pe.c:531 +#: od-pe.c:532 #, c-format msgid "" "\n" " Optional PE Header (at offset %#lx):\n" msgstr "" -#: od-pe.c:537 +#: od-pe.c:538 #, c-format msgid "error: unable to seek to/read PE header\n" msgstr "" -#: od-pe.c:587 +#: od-pe.c:588 #, c-format msgid "" "\n" "Unsupported size of Optional Header\n" msgstr "" -#: od-pe.c:590 +#: od-pe.c:591 #, c-format msgid "" "\n" " Optional header not present\n" msgstr "" -#: od-pe.c:610 +#: od-pe.c:611 #, c-format msgid "" "\n" "Section headers (at offset 0x%08x):\n" msgstr "" -#: od-pe.c:614 +#: od-pe.c:615 #, c-format msgid " No section headers\n" msgstr "" -#: od-pe.c:619 +#: od-pe.c:620 msgid "cannot seek to section headers start\n" msgstr "" -#: od-pe.c:637 od-xcoff.c:534 od-xcoff.c:546 od-xcoff.c:601 +#: od-pe.c:638 od-xcoff.c:535 od-xcoff.c:547 od-xcoff.c:602 msgid "cannot read section header" msgstr "" -#: od-pe.c:654 +#: od-pe.c:655 #, c-format msgid " %08x " msgstr "" -#: od-pe.c:656 +#: od-pe.c:657 #, c-format msgid "" "\n" " Flags: %08x: " msgstr "" -#: od-pe.c:694 +#: od-pe.c:695 msgid "cannot seek to/read file header" msgstr "" -#: od-pe.c:714 +#: od-pe.c:715 #, c-format msgid "cannot seek to/read image header at offset %#x" msgstr "" -#: od-pe.c:737 +#: od-pe.c:738 msgid "cannot seek to/read image header" msgstr "" -#: od-xcoff.c:77 +#: od-xcoff.c:78 #, c-format msgid "" "For XCOFF files:\n" @@ -7518,412 +7499,412 @@ msgid "" " ldinfo Display loader info in core files\n" msgstr "" -#: od-xcoff.c:418 +#: od-xcoff.c:419 #, c-format msgid " nbr sections: %d\n" msgstr "" -#: od-xcoff.c:419 +#: od-xcoff.c:420 #, c-format msgid " time and date: 0x%08x - " msgstr "" -#: od-xcoff.c:428 +#: od-xcoff.c:429 #, c-format msgid " symbols off: 0x%08x\n" msgstr "" -#: od-xcoff.c:429 +#: od-xcoff.c:430 #, c-format msgid " nbr symbols: %d\n" msgstr "" -#: od-xcoff.c:430 +#: od-xcoff.c:431 #, c-format msgid " opt hdr sz: %d\n" msgstr "" -#: od-xcoff.c:431 +#: od-xcoff.c:432 #, c-format msgid " flags: 0x%04x " msgstr "" -#: od-xcoff.c:445 +#: od-xcoff.c:446 #, c-format msgid "Auxiliary header:\n" msgstr "" -#: od-xcoff.c:448 +#: od-xcoff.c:449 #, c-format msgid " No aux header\n" msgstr "" -#: od-xcoff.c:453 +#: od-xcoff.c:454 #, c-format msgid "warning: optional header size too large (> %d)\n" msgstr "" -#: od-xcoff.c:459 +#: od-xcoff.c:460 msgid "cannot read auxhdr" msgstr "" -#: od-xcoff.c:524 +#: od-xcoff.c:525 #, c-format msgid "Section headers (at %u+%u=0x%08x to 0x%08x):\n" msgstr "" -#: od-xcoff.c:529 +#: od-xcoff.c:530 #, c-format msgid " No section header\n" msgstr "" -#: od-xcoff.c:560 +#: od-xcoff.c:561 #, c-format msgid " Flags: %08x " msgstr "" -#: od-xcoff.c:568 +#: od-xcoff.c:569 #, c-format msgid "overflow - nreloc: %u, nlnno: %u\n" msgstr "" -#: od-xcoff.c:589 od-xcoff.c:924 od-xcoff.c:980 +#: od-xcoff.c:590 od-xcoff.c:925 od-xcoff.c:981 msgid "cannot read section headers" msgstr "" -#: od-xcoff.c:648 +#: od-xcoff.c:649 msgid "cannot read strings table length" msgstr "" -#: od-xcoff.c:664 +#: od-xcoff.c:665 msgid "cannot read strings table" msgstr "" -#: od-xcoff.c:672 +#: od-xcoff.c:673 msgid "cannot read symbol table" msgstr "" -#: od-xcoff.c:687 +#: od-xcoff.c:688 msgid "cannot read symbol entry" msgstr "" -#: od-xcoff.c:722 +#: od-xcoff.c:723 msgid "cannot read symbol aux entry" msgstr "" -#: od-xcoff.c:744 +#: od-xcoff.c:745 #, c-format msgid "Symbols table (strtable at 0x%08x)" msgstr "" -#: od-xcoff.c:749 +#: od-xcoff.c:750 #, c-format msgid "" ":\n" " No symbols\n" msgstr "" -#: od-xcoff.c:755 +#: od-xcoff.c:756 #, c-format msgid " (no strings):\n" msgstr "" -#: od-xcoff.c:757 +#: od-xcoff.c:758 #, c-format msgid " (strings size: %08x):\n" msgstr "" #. Translators: 'sc' is for storage class, 'off' for offset. -#: od-xcoff.c:771 +#: od-xcoff.c:772 #, c-format msgid " # sc value section type aux name/off\n" msgstr "" #. Section length, number of relocs and line number. -#: od-xcoff.c:823 +#: od-xcoff.c:824 #, c-format msgid " scnlen: %08x nreloc: %-6u nlinno: %-6u\n" msgstr "" #. Section length and number of relocs. -#: od-xcoff.c:830 +#: od-xcoff.c:831 #, c-format msgid " scnlen: %08x nreloc: %-6u\n" msgstr "" -#: od-xcoff.c:893 +#: od-xcoff.c:894 #, c-format msgid "offset: %08x" msgstr "" -#: od-xcoff.c:936 +#: od-xcoff.c:937 #, c-format msgid "Relocations for %s (%u)\n" msgstr "" -#: od-xcoff.c:939 +#: od-xcoff.c:940 msgid "cannot read relocations" msgstr "" -#: od-xcoff.c:952 +#: od-xcoff.c:953 msgid "cannot read relocation entry" msgstr "" -#: od-xcoff.c:992 +#: od-xcoff.c:993 #, c-format msgid "Line numbers for %s (%u)\n" msgstr "" -#: od-xcoff.c:995 +#: od-xcoff.c:996 msgid "cannot read line numbers" msgstr "" #. Line number, symbol index and physical address. -#: od-xcoff.c:999 +#: od-xcoff.c:1000 #, c-format msgid "lineno symndx/paddr\n" msgstr "" -#: od-xcoff.c:1007 +#: od-xcoff.c:1008 msgid "cannot read line number entry" msgstr "" -#: od-xcoff.c:1050 +#: od-xcoff.c:1051 #, c-format msgid "no .loader section in file\n" msgstr "" -#: od-xcoff.c:1056 +#: od-xcoff.c:1057 #, c-format msgid "section .loader is too short\n" msgstr "" -#: od-xcoff.c:1063 +#: od-xcoff.c:1064 #, c-format msgid "Loader header:\n" msgstr "" -#: od-xcoff.c:1065 +#: od-xcoff.c:1066 #, c-format msgid " version: %u\n" msgstr "" -#: od-xcoff.c:1068 +#: od-xcoff.c:1069 #, c-format msgid " Unhandled version\n" msgstr "" -#: od-xcoff.c:1073 +#: od-xcoff.c:1074 #, c-format msgid " nbr symbols: %u\n" msgstr "" -#: od-xcoff.c:1075 +#: od-xcoff.c:1076 #, c-format msgid " nbr relocs: %u\n" msgstr "" #. Import string table length. -#: od-xcoff.c:1077 +#: od-xcoff.c:1078 #, c-format msgid " import strtab len: %u\n" msgstr "" -#: od-xcoff.c:1080 +#: od-xcoff.c:1081 #, c-format msgid " nbr import files: %u\n" msgstr "" -#: od-xcoff.c:1082 +#: od-xcoff.c:1083 #, c-format msgid " import file off: %u\n" msgstr "" -#: od-xcoff.c:1084 +#: od-xcoff.c:1085 #, c-format msgid " string table len: %u\n" msgstr "" -#: od-xcoff.c:1086 +#: od-xcoff.c:1087 #, c-format msgid " string table off: %u\n" msgstr "" -#: od-xcoff.c:1089 +#: od-xcoff.c:1090 #, c-format msgid "Dynamic symbols:\n" msgstr "" -#: od-xcoff.c:1096 +#: od-xcoff.c:1097 #, c-format msgid " %4u %08x %3u " msgstr "" -#: od-xcoff.c:1109 +#: od-xcoff.c:1110 #, c-format msgid " %3u %3u " msgstr "" -#: od-xcoff.c:1118 +#: od-xcoff.c:1119 #, c-format msgid "(bad offset: %u)" msgstr "" -#: od-xcoff.c:1125 +#: od-xcoff.c:1126 #, c-format msgid "Dynamic relocs:\n" msgstr "" -#: od-xcoff.c:1165 +#: od-xcoff.c:1166 #, c-format msgid "Import files:\n" msgstr "" -#: od-xcoff.c:1197 +#: od-xcoff.c:1198 #, c-format msgid "no .except section in file\n" msgstr "" -#: od-xcoff.c:1205 +#: od-xcoff.c:1206 #, c-format msgid "Exception table:\n" msgstr "" -#: od-xcoff.c:1240 +#: od-xcoff.c:1241 #, c-format msgid "no .typchk section in file\n" msgstr "" -#: od-xcoff.c:1247 +#: od-xcoff.c:1248 #, c-format msgid "Type-check section:\n" msgstr "" -#: od-xcoff.c:1294 +#: od-xcoff.c:1295 #, c-format msgid " address beyond section size\n" msgstr "" -#: od-xcoff.c:1304 +#: od-xcoff.c:1305 #, c-format msgid " tags at %08x\n" msgstr "" -#: od-xcoff.c:1382 +#: od-xcoff.c:1383 #, c-format msgid " number of CTL anchors: %u\n" msgstr "" -#: od-xcoff.c:1401 +#: od-xcoff.c:1402 #, c-format msgid " Name (len: %u): " msgstr "" -#: od-xcoff.c:1404 +#: od-xcoff.c:1405 #, c-format msgid "[truncated]\n" msgstr "" -#: od-xcoff.c:1423 +#: od-xcoff.c:1424 #, c-format msgid " (end of tags at %08x)\n" msgstr "" -#: od-xcoff.c:1426 +#: od-xcoff.c:1427 #, c-format msgid " no tags found\n" msgstr "" -#: od-xcoff.c:1430 +#: od-xcoff.c:1431 #, c-format msgid " Truncated .text section\n" msgstr "" -#: od-xcoff.c:1515 +#: od-xcoff.c:1516 #, c-format msgid "TOC:\n" msgstr "" -#: od-xcoff.c:1558 +#: od-xcoff.c:1559 #, c-format msgid "Nbr entries: %-8u Size: %08x (%u)\n" msgstr "" -#: od-xcoff.c:1642 +#: od-xcoff.c:1643 msgid "cannot read header" msgstr "" -#: od-xcoff.c:1650 +#: od-xcoff.c:1651 #, c-format msgid "File header:\n" msgstr "" -#: od-xcoff.c:1651 +#: od-xcoff.c:1652 #, c-format msgid " magic: 0x%04x (0%04o) " msgstr "" -#: od-xcoff.c:1655 +#: od-xcoff.c:1656 #, c-format msgid "(WRMAGIC: writable text segments)" msgstr "" -#: od-xcoff.c:1658 +#: od-xcoff.c:1659 #, c-format msgid "(ROMAGIC: readonly sharablee text segments)" msgstr "" -#: od-xcoff.c:1661 +#: od-xcoff.c:1662 #, c-format msgid "(TOCMAGIC: readonly text segments and TOC)" msgstr "" -#: od-xcoff.c:1664 +#: od-xcoff.c:1665 #, c-format msgid "unknown magic" msgstr "" -#: od-xcoff.c:1672 od-xcoff.c:1814 +#: od-xcoff.c:1673 od-xcoff.c:1815 #, c-format msgid " Unhandled magic\n" msgstr "" -#: od-xcoff.c:1738 +#: od-xcoff.c:1739 msgid "cannot read loader info table" msgstr "" -#: od-xcoff.c:1770 +#: od-xcoff.c:1771 #, c-format msgid "" "\n" "ldinfo dump not supported in 32 bits environments\n" msgstr "" -#: od-xcoff.c:1788 +#: od-xcoff.c:1789 msgid "cannot core read header" msgstr "" -#: od-xcoff.c:1795 +#: od-xcoff.c:1796 #, c-format msgid "Core header:\n" msgstr "" -#: od-xcoff.c:1796 +#: od-xcoff.c:1797 #, c-format msgid " version: 0x%08x " msgstr "" -#: od-xcoff.c:1800 +#: od-xcoff.c:1801 #, c-format msgid "(dumpx format - aix4.3 / 32 bits)" msgstr "" -#: od-xcoff.c:1803 +#: od-xcoff.c:1804 #, c-format msgid "(dumpxx format - aix5.0 / 64 bits)" msgstr "" -#: od-xcoff.c:1806 +#: od-xcoff.c:1807 #, c-format msgid "unknown format" msgstr "" @@ -7977,389 +7958,398 @@ msgstr "" msgid "Last stabs entries before error:\n" msgstr "" -#: readelf.c:422 -msgid "<none>" -msgstr "" - -#: readelf.c:424 -msgid "<no-strings>" -msgstr "" - -#: readelf.c:497 +#: readelf.c:502 #, c-format msgid "" "Size overflow prevents reading %<PRIu64> elements of size %<PRIu64> for %s\n" msgstr "" -#: readelf.c:510 +#: readelf.c:515 #, c-format msgid "Reading %<PRIu64> bytes extends past end of file for %s\n" msgstr "" -#: readelf.c:519 +#: readelf.c:524 #, c-format msgid "Unable to seek to %#<PRIx64> for %s\n" msgstr "" -#: readelf.c:533 +#: readelf.c:538 #, c-format msgid "Out of memory allocating %<PRIu64> bytes for %s\n" msgstr "" -#: readelf.c:544 +#: readelf.c:549 #, c-format msgid "Unable to read in %<PRIu64> bytes of %s\n" msgstr "" -#: readelf.c:1153 +#: readelf.c:900 +msgid "<internal error>" +msgstr "" + +#: readelf.c:902 +msgid "<none>" +msgstr "" + +#: readelf.c:904 +msgid "<no-strings>" +msgstr "" + +#: readelf.c:1039 +#, c-format +msgid "BAD[0x%lx]" +msgstr "" + +#: readelf.c:1261 msgid "Don't know about relocations on this machine architecture\n" msgstr "" -#: readelf.c:1180 readelf.c:1280 +#: readelf.c:1288 readelf.c:1388 msgid "32-bit relocation data" msgstr "" -#: readelf.c:1192 readelf.c:1222 readelf.c:1291 readelf.c:1320 readelf.c:1394 +#: readelf.c:1300 readelf.c:1330 readelf.c:1399 readelf.c:1428 readelf.c:1502 msgid "out of memory parsing relocs\n" msgstr "" -#: readelf.c:1210 readelf.c:1309 +#: readelf.c:1318 readelf.c:1417 msgid "64-bit relocation data" msgstr "" -#: readelf.c:1368 +#: readelf.c:1476 msgid "RELR relocation data" msgstr "" -#: readelf.c:1508 +#: readelf.c:1616 #, c-format msgid " %<PRIu64> offset\n" msgid_plural " %<PRIu64> offsets\n" msgstr[0] "" msgstr[1] "" -#: readelf.c:1522 +#: readelf.c:1630 #, c-format msgid "" " Offset Info Type Sym. Value Symbol's Name + Addend\n" msgstr "" -#: readelf.c:1524 +#: readelf.c:1632 #, c-format msgid " Offset Info Type Sym.Value Sym. Name + Addend\n" msgstr "" -#: readelf.c:1529 +#: readelf.c:1637 #, c-format msgid " Offset Info Type Sym. Value Symbol's Name\n" msgstr "" -#: readelf.c:1531 +#: readelf.c:1639 #, c-format msgid " Offset Info Type Sym.Value Sym. Name\n" msgstr "" -#: readelf.c:1539 +#: readelf.c:1647 #, c-format msgid "" " Offset Info Type Symbol's Value " "Symbol's Name + Addend\n" msgstr "" -#: readelf.c:1541 +#: readelf.c:1649 #, c-format msgid "" " Offset Info Type Sym. Value Sym. Name + " "Addend\n" msgstr "" -#: readelf.c:1546 +#: readelf.c:1654 #, c-format msgid "" " Offset Info Type Symbol's Value " "Symbol's Name\n" msgstr "" -#: readelf.c:1548 +#: readelf.c:1656 #, c-format msgid "" " Offset Info Type Sym. Value Sym. Name\n" msgstr "" -#: readelf.c:1922 readelf.c:2116 readelf.c:2124 +#: readelf.c:2036 readelf.c:2195 readelf.c:2203 #, c-format msgid "unrecognized: %-7lx" msgstr "" -#: readelf.c:1948 +#: readelf.c:2062 #, c-format msgid "<unknown addend: %<PRIx64>>" msgstr "" -#: readelf.c:1957 +#: readelf.c:2071 #, c-format msgid " bad symbol index: %08lx in reloc\n" msgstr "" -#: readelf.c:2062 +#: readelf.c:2141 #, c-format msgid "<string table index: %3ld>" msgstr "" -#: readelf.c:2065 +#: readelf.c:2144 #, c-format msgid "<corrupt string table index: %3ld>\n" msgstr "" -#: readelf.c:2585 +#: readelf.c:2683 #, c-format msgid "Processor Specific: %lx" msgstr "" -#: readelf.c:2612 +#: readelf.c:2710 #, c-format msgid "Operating System specific: %lx" msgstr "" -#: readelf.c:2616 readelf.c:4722 +#: readelf.c:2714 readelf.c:5183 #, c-format msgid "<unknown>: %lx" msgstr "" -#: readelf.c:2716 +#: readelf.c:2814 msgid "NONE (None)" msgstr "" -#: readelf.c:2717 +#: readelf.c:2815 msgid "REL (Relocatable file)" msgstr "" -#: readelf.c:2718 +#: readelf.c:2816 msgid "EXEC (Executable file)" msgstr "" -#: readelf.c:2721 +#: readelf.c:2819 msgid "DYN (Position-Independent Executable file)" msgstr "" -#: readelf.c:2723 +#: readelf.c:2821 msgid "DYN (Shared object file)" msgstr "" -#: readelf.c:2724 +#: readelf.c:2822 msgid "CORE (Core file)" msgstr "" -#: readelf.c:2728 +#: readelf.c:2826 #, c-format msgid "Processor Specific: (%x)" msgstr "" -#: readelf.c:2730 +#: readelf.c:2828 #, c-format msgid "OS Specific: (%x)" msgstr "" -#: readelf.c:2732 +#: readelf.c:2830 #, c-format msgid "<unknown>: %x" msgstr "" #. Please keep this switch table sorted by increasing EM_ value. #. 0 -#: readelf.c:2746 readelf.c:18453 readelf.c:18464 +#: readelf.c:2844 readelf.c:18923 readelf.c:18934 msgid "None" msgstr "" -#: readelf.c:2994 +#: readelf.c:3092 #, c-format msgid "<unknown>: 0x%x" msgstr "" -#: readelf.c:3280 +#: readelf.c:3379 msgid ", <unknown>" msgstr "" -#: readelf.c:3615 +#: readelf.c:3546 #, c-format -msgid ", <unknown AMDGPU GPU type: %#x>" +msgid "Unrecognised IA64 VMS Command Code: %x\n" msgstr "" -#: readelf.c:3666 -#, c-format -msgid ", <unknown xnack value: %#x>" +#: readelf.c:3583 +msgid "unknown mac" msgstr "" -#: readelf.c:3692 -#, c-format -msgid ", <unknown sramecc value: %#x>" +#: readelf.c:3667 +msgid ", <unknown MeP cpu type>" msgstr "" -#: readelf.c:3701 readelf.c:3890 -#, c-format -msgid ", unknown flags bits: %#x" +#: readelf.c:3688 +msgid "<unknown MeP copro type>" msgstr "" -#: readelf.c:3797 -msgid "unknown mac" +#: readelf.c:3700 readelf.c:4649 +#, c-format +msgid ", unknown flags bits: %#x" msgstr "" -#: readelf.c:3869 -msgid ", <unknown MeP cpu type>" +#: readelf.c:3809 +msgid ", unknown CPU" msgstr "" -#: readelf.c:3879 -msgid "<unknown MeP copro type>" +#: readelf.c:3834 +msgid ", unknown ABI" msgstr "" -#: readelf.c:3899 -msgid ", relocatable" +#: readelf.c:3883 readelf.c:4330 +msgid ", unknown ISA" msgstr "" -#: readelf.c:3902 -msgid ", relocatable-lib" +#: readelf.c:3892 +msgid ": architecture variant: " msgstr "" -#: readelf.c:3984 -msgid ", unknown v850 architecture variant" +#: readelf.c:3941 +msgid ": unknown" msgstr "" -#: readelf.c:4053 -msgid ", unknown CPU" +#: readelf.c:3946 +msgid ": unknown extra flag bits also present" msgstr "" -#: readelf.c:4068 -msgid ", unknown ABI" +#: readelf.c:4469 +msgid ", unknown v850 architecture variant" msgstr "" -#: readelf.c:4093 readelf.c:4167 -msgid ", unknown ISA" +#: readelf.c:4502 +msgid ", unknown" msgstr "" -#: readelf.c:4277 +#: readelf.c:4568 #, c-format -msgid "Unrecognised IA64 VMS Command Code: %x\n" +msgid ", <unknown AMDGPU GPU type: %#x>" msgstr "" -#: readelf.c:4343 -msgid ": architecture variant: " +#: readelf.c:4616 +#, c-format +msgid ", <unknown xnack value: %#x>" msgstr "" -#: readelf.c:4362 -msgid ": unknown" +#: readelf.c:4641 +#, c-format +msgid ", <unknown sramecc value: %#x>" msgstr "" -#: readelf.c:4366 -msgid ": unknown extra flag bits also present" +#: readelf.c:4714 +msgid ", relocatable" msgstr "" -#: readelf.c:4380 -msgid ", unknown" +#: readelf.c:4717 +msgid ", relocatable-lib" msgstr "" -#: readelf.c:4457 +#: readelf.c:4917 msgid "Standalone App" msgstr "" -#: readelf.c:4466 +#: readelf.c:4926 msgid "Bare-metal C6000" msgstr "" -#: readelf.c:4476 readelf.c:5730 readelf.c:5746 readelf.c:19889 -#: readelf.c:19989 readelf.c:20036 readelf.c:20073 readelf.c:20134 -#: readelf.c:20161 readelf.c:20183 +#: readelf.c:4936 readelf.c:6207 readelf.c:6223 readelf.c:20366 +#: readelf.c:20466 readelf.c:20513 readelf.c:20550 readelf.c:20611 +#: readelf.c:20638 readelf.c:20660 #, c-format msgid "<unknown: %x>" msgstr "" #. This message is probably going to be displayed in a 15 #. character wide field, so put the hex value first. -#: readelf.c:5092 +#: readelf.c:5555 #, c-format msgid "%08x: <unknown>" msgstr "" -#: readelf.c:5182 +#: readelf.c:5648 #, c-format msgid "Usage: readelf <option(s)> elf-file(s)\n" msgstr "" -#: readelf.c:5183 +#: readelf.c:5649 #, c-format msgid " Display information about the contents of ELF format files\n" msgstr "" -#: readelf.c:5184 +#: readelf.c:5650 #, c-format msgid " Options are:\n" msgstr "" -#: readelf.c:5185 +#: readelf.c:5651 #, c-format msgid " -a --all Equivalent to: -h -l -S -s -r -d -V -A -I\n" msgstr "" -#: readelf.c:5187 +#: readelf.c:5653 #, c-format msgid " -h --file-header Display the ELF file header\n" msgstr "" -#: readelf.c:5189 +#: readelf.c:5655 #, c-format msgid " -l --program-headers Display the program headers\n" msgstr "" -#: readelf.c:5191 +#: readelf.c:5657 #, c-format msgid " --segments An alias for --program-headers\n" msgstr "" -#: readelf.c:5193 +#: readelf.c:5659 #, c-format msgid " -S --section-headers Display the sections' header\n" msgstr "" -#: readelf.c:5195 +#: readelf.c:5661 #, c-format msgid " --sections An alias for --section-headers\n" msgstr "" -#: readelf.c:5197 +#: readelf.c:5663 #, c-format msgid " -g --section-groups Display the section groups\n" msgstr "" -#: readelf.c:5199 +#: readelf.c:5665 #, c-format msgid " -t --section-details Display the section details\n" msgstr "" -#: readelf.c:5201 +#: readelf.c:5667 #, c-format msgid " -e --headers Equivalent to: -h -l -S\n" msgstr "" -#: readelf.c:5203 +#: readelf.c:5669 #, c-format msgid " -s --syms Display the symbol table\n" msgstr "" -#: readelf.c:5205 +#: readelf.c:5671 #, c-format msgid " --symbols An alias for --syms\n" msgstr "" -#: readelf.c:5207 +#: readelf.c:5673 #, c-format msgid " --dyn-syms Display the dynamic symbol table\n" msgstr "" -#: readelf.c:5209 +#: readelf.c:5675 #, c-format msgid " --lto-syms Display LTO symbol tables\n" msgstr "" -#: readelf.c:5211 +#: readelf.c:5677 #, c-format msgid "" " --sym-base=[0|8|10|16] \n" @@ -8367,29 +8357,29 @@ msgid "" " mixed (the default), octal, decimal, hexadecimal.\n" msgstr "" -#: readelf.c:5215 +#: readelf.c:5681 #, c-format msgid " -C --demangle[=STYLE] Decode mangled/processed symbol names\n" msgstr "" -#: readelf.c:5219 +#: readelf.c:5685 #, c-format msgid "" " --no-demangle Do not demangle low-level symbol names. (default)\n" msgstr "" -#: readelf.c:5221 +#: readelf.c:5687 #, c-format msgid "" " --recurse-limit Enable a demangling recursion limit. (default)\n" msgstr "" -#: readelf.c:5223 +#: readelf.c:5689 #, c-format msgid " --no-recurse-limit Disable a demangling recursion limit\n" msgstr "" -#: readelf.c:5225 +#: readelf.c:5691 #, c-format msgid "" " -U[dlexhi] --unicode=[default|locale|escape|hex|highlight|invalid]\n" @@ -8402,57 +8392,71 @@ msgid "" " \"{hex sequences}\"\n" msgstr "" -#: readelf.c:5231 +#: readelf.c:5697 +#, c-format +msgid "" +" -X --extra-sym-info Display extra information when showing symbols\n" +msgstr "" + +#: readelf.c:5699 +#, c-format +msgid "" +" --no-extra-sym-info Do not display extra information when showing " +"symbols (default)\n" +msgstr "" + +#: readelf.c:5701 #, c-format -msgid " -n --notes Display the core notes (if present)\n" +msgid "" +" -n --notes Display the contents of note sections (if present)\n" msgstr "" -#: readelf.c:5233 +#: readelf.c:5703 #, c-format msgid " -r --relocs Display the relocations (if present)\n" msgstr "" -#: readelf.c:5235 +#: readelf.c:5705 #, c-format msgid " -u --unwind Display the unwind info (if present)\n" msgstr "" -#: readelf.c:5237 +#: readelf.c:5707 #, c-format msgid " -d --dynamic Display the dynamic section (if present)\n" msgstr "" -#: readelf.c:5239 +#: readelf.c:5709 #, c-format msgid " -V --version-info Display the version sections (if present)\n" msgstr "" -#: readelf.c:5241 +#: readelf.c:5711 #, c-format msgid "" " -A --arch-specific Display architecture specific information (if any)\n" msgstr "" -#: readelf.c:5243 +#: readelf.c:5713 #, c-format msgid " -c --archive-index Display the symbol/file index in an archive\n" msgstr "" -#: readelf.c:5245 +#: readelf.c:5715 #, c-format msgid "" " -D --use-dynamic Use the dynamic section info when displaying " "symbols\n" msgstr "" -#: readelf.c:5247 +#: readelf.c:5717 #, c-format msgid "" " -L --lint|--enable-checks\n" " Display warning messages for possible problems\n" msgstr "" -#: readelf.c:5250 +#: readelf.c:5720 #, c-format msgid "" " -x --hex-dump=<number|name>\n" @@ -8460,7 +8464,7 @@ msgid "" "bytes\n" msgstr "" -#: readelf.c:5253 +#: readelf.c:5723 #, c-format msgid "" " -p --string-dump=<number|name>\n" @@ -8468,7 +8472,7 @@ msgid "" "strings\n" msgstr "" -#: readelf.c:5256 +#: readelf.c:5726 #, c-format msgid "" " -R --relocated-dump=<number|name>\n" @@ -8476,12 +8480,12 @@ msgid "" "name>\n" msgstr "" -#: readelf.c:5259 +#: readelf.c:5729 #, c-format msgid " -z --decompress Decompress section before dumping it\n" msgstr "" -#: readelf.c:5261 +#: readelf.c:5731 #, c-format msgid "" " -w --debug-dump[a/=abbrev, A/=addr, r/=aranges, c/=cu_index, L/" @@ -8496,7 +8500,7 @@ msgid "" " Display the contents of DWARF debug sections\n" msgstr "" -#: readelf.c:5268 +#: readelf.c:5738 #, c-format msgid "" " -wk --debug-dump=links Display the contents of sections that link to " @@ -8504,7 +8508,7 @@ msgid "" " debuginfo files\n" msgstr "" -#: readelf.c:5271 +#: readelf.c:5741 #, c-format msgid "" " -P --process-links Display the contents of non-debug sections in " @@ -8512,7 +8516,7 @@ msgid "" " debuginfo files. (Implies -wK)\n" msgstr "" -#: readelf.c:5275 +#: readelf.c:5745 #, c-format msgid "" " -wK --debug-dump=follow-links\n" @@ -8520,21 +8524,21 @@ msgid "" "(default)\n" msgstr "" -#: readelf.c:5278 +#: readelf.c:5748 #, c-format msgid "" " -wN --debug-dump=no-follow-links\n" " Do not follow links to separate debug info files\n" msgstr "" -#: readelf.c:5282 +#: readelf.c:5752 #, c-format msgid "" " -wK --debug-dump=follow-links\n" " Follow links to separate debug info files\n" msgstr "" -#: readelf.c:5285 +#: readelf.c:5755 #, c-format msgid "" " -wN --debug-dump=no-follow-links\n" @@ -8542,7 +8546,7 @@ msgid "" " (default)\n" msgstr "" -#: readelf.c:5291 +#: readelf.c:5761 #, c-format msgid "" " -wD --debug-dump=use-debuginfod\n" @@ -8550,7 +8554,7 @@ msgid "" "(default)\n" msgstr "" -#: readelf.c:5294 +#: readelf.c:5764 #, c-format msgid "" " -wE --debug-dump=do-not-use-debuginfod\n" @@ -8558,28 +8562,28 @@ msgid "" "servers\n" msgstr "" -#: readelf.c:5298 +#: readelf.c:5768 #, c-format msgid " --dwarf-depth=N Do not display DIEs at depth N or greater\n" msgstr "" -#: readelf.c:5300 +#: readelf.c:5770 #, c-format msgid " --dwarf-start=N Display DIEs starting at offset N\n" msgstr "" -#: readelf.c:5303 +#: readelf.c:5773 #, c-format msgid " --ctf=<number|name> Display CTF info from section <number|name>\n" msgstr "" -#: readelf.c:5305 +#: readelf.c:5775 #, c-format msgid "" " --ctf-parent=<name> Use CTF archive member <name> as the CTF parent\n" msgstr "" -#: readelf.c:5307 +#: readelf.c:5777 #, c-format msgid "" " --ctf-symbols=<number|name>\n" @@ -8587,7 +8591,7 @@ msgid "" "symtab\n" msgstr "" -#: readelf.c:5310 +#: readelf.c:5780 #, c-format msgid "" " --ctf-strings=<number|name>\n" @@ -8595,651 +8599,651 @@ msgid "" "strtab\n" msgstr "" -#: readelf.c:5314 +#: readelf.c:5784 #, c-format msgid "" " --sframe[=NAME] Display SFrame info from section NAME, (default '." "sframe')\n" msgstr "" -#: readelf.c:5318 +#: readelf.c:5788 #, c-format msgid "" " -i --instruction-dump=<number|name>\n" " Disassemble the contents of section <number|name>\n" msgstr "" -#: readelf.c:5322 +#: readelf.c:5792 #, c-format msgid " -I --histogram Display histogram of bucket list lengths\n" msgstr "" -#: readelf.c:5324 +#: readelf.c:5794 #, c-format msgid " -W --wide Allow output width to exceed 80 characters\n" msgstr "" -#: readelf.c:5326 +#: readelf.c:5796 #, c-format msgid "" " -T --silent-truncation If a symbol name is truncated, do not add [...] " "suffix\n" msgstr "" -#: readelf.c:5328 +#: readelf.c:5798 #, c-format msgid " @<file> Read options from <file>\n" msgstr "" -#: readelf.c:5330 +#: readelf.c:5800 #, c-format msgid " -H --help Display this information\n" msgstr "" -#: readelf.c:5332 +#: readelf.c:5802 #, c-format msgid " -v --version Display the version number of readelf\n" msgstr "" -#: readelf.c:5358 readelf.c:5389 readelf.c:5393 +#: readelf.c:5828 readelf.c:5859 readelf.c:5863 msgid "Out of memory allocating dump request table.\n" msgstr "" -#: readelf.c:5653 +#: readelf.c:6130 msgid "Missing arg to -U/--unicode" msgstr "" -#: readelf.c:5692 +#: readelf.c:6169 #, c-format msgid "Invalid option '-%c'\n" msgstr "" -#: readelf.c:5726 readelf.c:5742 readelf.c:12089 +#: readelf.c:6203 readelf.c:6219 readelf.c:12560 msgid "none" msgstr "" -#: readelf.c:5743 +#: readelf.c:6220 msgid "2's complement, little endian" msgstr "" -#: readelf.c:5744 +#: readelf.c:6221 msgid "2's complement, big endian" msgstr "" -#: readelf.c:5777 +#: readelf.c:6254 msgid "This is a LLVM bitcode file - try using llvm-bcanalyzer\n" msgstr "" -#: readelf.c:5778 +#: readelf.c:6255 msgid "" -"This is a LLVM bitcode file - try extracing and then using llvm-bcanalyzer\n" +"This is a LLVM bitcode file - try extracting and then using llvm-bcanalyzer\n" msgstr "" -#: readelf.c:5781 +#: readelf.c:6258 msgid "" "This is a GO binary file - try using 'go tool objdump' or 'go tool nm'\n" msgstr "" -#: readelf.c:5805 +#: readelf.c:6282 msgid "Not an ELF file - it has the wrong magic bytes at the start\n" msgstr "" -#: readelf.c:5827 +#: readelf.c:6304 #, c-format msgid "ELF Header in linked file '%s':\n" msgstr "" -#: readelf.c:5829 +#: readelf.c:6306 #, c-format msgid "ELF Header:\n" msgstr "" -#: readelf.c:5830 +#: readelf.c:6307 #, c-format msgid " Magic: " msgstr "" -#: readelf.c:5834 +#: readelf.c:6311 #, c-format msgid " Class: %s\n" msgstr "" -#: readelf.c:5836 +#: readelf.c:6313 #, c-format msgid " Data: %s\n" msgstr "" -#: readelf.c:5838 +#: readelf.c:6315 #, c-format msgid " Version: %d%s\n" msgstr "" -#: readelf.c:5841 +#: readelf.c:6318 msgid " (current)" msgstr "" -#: readelf.c:5843 +#: readelf.c:6320 msgid " <unknown>" msgstr "" -#: readelf.c:5845 +#: readelf.c:6322 #, c-format msgid " OS/ABI: %s\n" msgstr "" -#: readelf.c:5847 +#: readelf.c:6324 #, c-format msgid " ABI Version: %d\n" msgstr "" -#: readelf.c:5849 +#: readelf.c:6326 #, c-format msgid " Type: %s\n" msgstr "" -#: readelf.c:5851 +#: readelf.c:6328 #, c-format msgid " Machine: %s\n" msgstr "" -#: readelf.c:5853 +#: readelf.c:6330 #, c-format msgid " Version: 0x%lx\n" msgstr "" -#: readelf.c:5856 +#: readelf.c:6333 #, c-format msgid " Entry point address: " msgstr "" -#: readelf.c:5858 +#: readelf.c:6335 #, c-format msgid "" "\n" " Start of program headers: " msgstr "" -#: readelf.c:5860 +#: readelf.c:6337 #, c-format msgid "" " (bytes into file)\n" " Start of section headers: " msgstr "" -#: readelf.c:5862 +#: readelf.c:6339 #, c-format msgid " (bytes into file)\n" msgstr "" -#: readelf.c:5864 +#: readelf.c:6341 #, c-format msgid " Flags: 0x%lx%s\n" msgstr "" -#: readelf.c:5867 +#: readelf.c:6344 #, c-format msgid " Size of this header: %u (bytes)\n" msgstr "" -#: readelf.c:5869 +#: readelf.c:6346 #, c-format msgid " Size of program headers: %u (bytes)\n" msgstr "" -#: readelf.c:5871 +#: readelf.c:6348 #, c-format msgid " Number of program headers: %u" msgstr "" -#: readelf.c:5878 +#: readelf.c:6355 #, c-format msgid " Size of section headers: %u (bytes)\n" msgstr "" -#: readelf.c:5880 +#: readelf.c:6357 #, c-format msgid " Number of section headers: %u" msgstr "" -#: readelf.c:5888 +#: readelf.c:6365 #, c-format msgid " Section header string table index: %u" msgstr "" -#: readelf.c:5900 +#: readelf.c:6377 #, c-format msgid " <corrupt: out of range>" msgstr "" -#: readelf.c:5944 readelf.c:5991 +#: readelf.c:6421 readelf.c:6468 msgid "" "The e_phentsize field in the ELF header is less than the size of an ELF " "program header\n" msgstr "" -#: readelf.c:5948 readelf.c:5995 +#: readelf.c:6425 readelf.c:6472 msgid "" "The e_phentsize field in the ELF header is larger than the size of an ELF " "program header\n" msgstr "" -#: readelf.c:5951 readelf.c:5998 +#: readelf.c:6428 readelf.c:6475 msgid "program headers" msgstr "" -#: readelf.c:6037 +#: readelf.c:6514 #, c-format msgid "Too many program headers - %#x - the file is not that big\n" msgstr "" -#: readelf.c:6046 +#: readelf.c:6523 #, c-format msgid "Out of memory reading %u program headers\n" msgstr "" -#: readelf.c:6076 +#: readelf.c:6553 msgid "" "possibly corrupt ELF header - it has a non-zero program header offset, but " "no program headers\n" msgstr "" -#: readelf.c:6081 +#: readelf.c:6558 #, c-format msgid "" "\n" "There are no program headers in linked file '%s'.\n" msgstr "" -#: readelf.c:6084 +#: readelf.c:6561 #, c-format msgid "" "\n" "There are no program headers in this file.\n" msgstr "" -#: readelf.c:6095 +#: readelf.c:6572 #, c-format msgid "" "\n" "Elf file type is %s\n" msgstr "" -#: readelf.c:6096 +#: readelf.c:6573 #, c-format msgid "Entry point 0x%<PRIx64>\n" msgstr "" -#: readelf.c:6098 +#: readelf.c:6575 #, c-format msgid "There is %d program header, starting at offset %<PRIu64>\n" msgid_plural "There are %d program headers, starting at offset %<PRIu64>\n" msgstr[0] "" msgstr[1] "" -#: readelf.c:6113 readelf.c:6115 +#: readelf.c:6590 readelf.c:6592 #, c-format msgid "" "\n" "Program Headers:\n" msgstr "" -#: readelf.c:6119 +#: readelf.c:6596 #, c-format msgid "" " Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align\n" msgstr "" -#: readelf.c:6122 +#: readelf.c:6599 #, c-format msgid "" " Type Offset VirtAddr PhysAddr FileSiz " "MemSiz Flg Align\n" msgstr "" -#: readelf.c:6126 +#: readelf.c:6603 #, c-format msgid " Type Offset VirtAddr PhysAddr\n" msgstr "" -#: readelf.c:6128 +#: readelf.c:6605 #, c-format msgid " FileSiz MemSiz Flags Align\n" msgstr "" -#: readelf.c:6226 +#: readelf.c:6703 msgid "LOAD segments must be sorted in order of increasing VirtAddr\n" msgstr "" -#: readelf.c:6229 +#: readelf.c:6706 msgid "the segment's file size is larger than its memory size\n" msgstr "" -#: readelf.c:6236 +#: readelf.c:6713 msgid "the PHDR segment must occur before any LOAD segment\n" msgstr "" -#: readelf.c:6254 +#: readelf.c:6731 msgid "the PHDR segment is not covered by a LOAD segment\n" msgstr "" -#: readelf.c:6260 +#: readelf.c:6737 msgid "more than one dynamic segment\n" msgstr "" -#: readelf.c:6279 +#: readelf.c:6756 msgid "no .dynamic section in the dynamic segment\n" msgstr "" -#: readelf.c:6298 +#: readelf.c:6775 msgid "the .dynamic section is not the same as the dynamic segment\n" msgstr "" -#: readelf.c:6309 +#: readelf.c:6786 msgid "the dynamic segment offset + size exceeds the size of the file\n" msgstr "" -#: readelf.c:6322 +#: readelf.c:6799 msgid "Unable to find program interpreter name\n" msgstr "" -#: readelf.c:6333 +#: readelf.c:6810 #, c-format msgid " [Requesting program interpreter: %s]\n" msgstr "" -#: readelf.c:6344 +#: readelf.c:6821 #, c-format msgid "" "\n" " Section to Segment mapping:\n" msgstr "" -#: readelf.c:6345 +#: readelf.c:6822 #, c-format msgid " Segment Sections...\n" msgstr "" -#: readelf.c:6387 readelf.c:11374 +#: readelf.c:6864 readelf.c:11845 msgid "Cannot interpret virtual addresses without program headers.\n" msgstr "" -#: readelf.c:6403 +#: readelf.c:6880 #, c-format msgid "Virtual address %#<PRIx64> not located in any PT_LOAD segment.\n" msgstr "" -#: readelf.c:6435 readelf.c:6505 +#: readelf.c:6912 readelf.c:6982 msgid "" "The e_shentsize field in the ELF header is less than the size of an ELF " "section header\n" msgstr "" -#: readelf.c:6439 readelf.c:6510 +#: readelf.c:6916 readelf.c:6987 msgid "" "The e_shentsize field in the ELF header is larger than the size of an ELF " "section header\n" msgstr "" -#: readelf.c:6443 readelf.c:6515 +#: readelf.c:6920 readelf.c:6992 msgid "section headers" msgstr "" -#: readelf.c:6452 readelf.c:6524 +#: readelf.c:6929 readelf.c:7001 #, c-format msgid "Out of memory reading %u section headers\n" msgstr "" -#: readelf.c:6472 readelf.c:6544 +#: readelf.c:6949 readelf.c:7021 #, c-format msgid "Section %u has an out of range sh_link value of %u\n" msgstr "" -#: readelf.c:6474 readelf.c:6546 +#: readelf.c:6951 readelf.c:7023 #, c-format msgid "Section %u has an out of range sh_info value of %u\n" msgstr "" -#: readelf.c:6588 readelf.c:6705 +#: readelf.c:7065 readelf.c:7182 #, c-format msgid "Section %s has an invalid sh_entsize of %#<PRIx64>\n" msgstr "" -#: readelf.c:6596 readelf.c:6713 readelf.c:13404 +#: readelf.c:7073 readelf.c:7190 readelf.c:13867 #, c-format msgid "Section %s has an invalid sh_size of %#<PRIx64>\n" msgstr "" -#: readelf.c:6606 readelf.c:6723 +#: readelf.c:7083 readelf.c:7200 #, c-format msgid "" "Size (%#<PRIx64>) of section %s is not a multiple of its sh_entsize (%" "#<PRIx64>)\n" msgstr "" -#: readelf.c:6615 readelf.c:6732 readelf.c:15965 +#: readelf.c:7092 readelf.c:7209 readelf.c:16435 msgid "symbols" msgstr "" -#: readelf.c:6627 readelf.c:6744 +#: readelf.c:7104 readelf.c:7221 msgid "" "Multiple symbol table index sections associated with the same symbol " "section\n" msgstr "" -#: readelf.c:6634 readelf.c:6751 +#: readelf.c:7111 readelf.c:7228 msgid "symbol table section indices" msgstr "" -#: readelf.c:6641 readelf.c:6758 +#: readelf.c:7118 readelf.c:7235 #, c-format msgid "Index section %s has an sh_size of %#<PRIx64> - expected %#<PRIx64>\n" msgstr "" -#: readelf.c:6653 readelf.c:6770 +#: readelf.c:7130 readelf.c:7247 #, c-format msgid "Out of memory reading %<PRIu64> symbols\n" msgstr "" -#: readelf.c:6976 readelf.c:7073 readelf.c:7091 readelf.c:7109 +#: readelf.c:7450 readelf.c:7546 readelf.c:7563 readelf.c:7580 msgid "Internal error: not enough buffer room for section flag info" msgstr "" -#: readelf.c:7116 +#: readelf.c:7588 #, c-format msgid "UNKNOWN (%*.*lx)" msgstr "" -#: readelf.c:7136 readelf.c:7151 +#: readelf.c:7607 readelf.c:7622 msgid "Compressed section is too small even for a compression header\n" msgstr "" -#: readelf.c:7173 +#: readelf.c:7644 msgid "" "possibly corrupt ELF file header - it has a non-zero section header offset, " "but no section headers\n" msgstr "" -#: readelf.c:7178 +#: readelf.c:7649 #, c-format msgid "" "\n" "There are no sections in this file.\n" msgstr "" -#: readelf.c:7186 readelf.c:21961 +#: readelf.c:7657 readelf.c:22438 #, c-format msgid "In linked file '%s': " msgstr "" -#: readelf.c:7188 +#: readelf.c:7659 #, c-format msgid "There is %d section header, starting at offset %#<PRIx64>:\n" msgid_plural "There are %d section headers, starting at offset %#<PRIx64>:\n" msgstr[0] "" msgstr[1] "" -#: readelf.c:7210 readelf.c:7886 readelf.c:8087 readelf.c:13700 -#: readelf.c:16371 +#: readelf.c:7681 readelf.c:8357 readelf.c:8558 readelf.c:14209 +#: readelf.c:16841 msgid "string table" msgstr "" -#: readelf.c:7272 +#: readelf.c:7743 #, c-format msgid "Section %d has invalid sh_entsize of %<PRIx64>\n" msgstr "" -#: readelf.c:7274 +#: readelf.c:7745 #, c-format msgid "(Using the expected size of %<PRIx64> for the rest of this dump)\n" msgstr "" -#: readelf.c:7298 +#: readelf.c:7769 msgid "File contains multiple dynamic symbol tables\n" msgstr "" -#: readelf.c:7313 +#: readelf.c:7784 msgid "File contains multiple dynamic string tables\n" msgstr "" -#: readelf.c:7319 +#: readelf.c:7790 msgid "dynamic strings" msgstr "" -#: readelf.c:7347 readelf.c:7353 +#: readelf.c:7818 readelf.c:7824 #, c-format msgid "Section '%s': zero-sized relocation section\n" msgstr "" -#: readelf.c:7366 +#: readelf.c:7837 #, c-format msgid "Section '%s': has a size of zero - is this intended ?\n" msgstr "" -#: readelf.c:7450 +#: readelf.c:7921 #, c-format msgid "" "\n" "Section Headers in linked file '%s':\n" msgstr "" -#: readelf.c:7452 +#: readelf.c:7923 #, c-format msgid "" "\n" "Section Headers:\n" msgstr "" -#: readelf.c:7454 +#: readelf.c:7925 #, c-format msgid "" "\n" "Section Header:\n" msgstr "" -#: readelf.c:7460 readelf.c:7471 readelf.c:7482 +#: readelf.c:7931 readelf.c:7942 readelf.c:7953 #, c-format msgid " [Nr] Name\n" msgstr "" -#: readelf.c:7461 +#: readelf.c:7932 #, c-format msgid " Type Addr Off Size ES Lk Inf Al\n" msgstr "" -#: readelf.c:7465 +#: readelf.c:7936 #, c-format msgid "" " [Nr] Name Type Addr Off Size ES Flg Lk " "Inf Al\n" msgstr "" -#: readelf.c:7472 +#: readelf.c:7943 #, c-format msgid " Type Address Off Size ES Lk Inf Al\n" msgstr "" -#: readelf.c:7476 +#: readelf.c:7947 #, c-format msgid "" " [Nr] Name Type Address Off Size ES " "Flg Lk Inf Al\n" msgstr "" -#: readelf.c:7483 +#: readelf.c:7954 #, c-format msgid " Type Address Offset Link\n" msgstr "" -#: readelf.c:7484 +#: readelf.c:7955 #, c-format msgid " Size EntSize Info Align\n" msgstr "" -#: readelf.c:7488 +#: readelf.c:7959 #, c-format msgid " [Nr] Name Type Address Offset\n" msgstr "" -#: readelf.c:7489 +#: readelf.c:7960 #, c-format msgid " Size EntSize Flags Link Info Align\n" msgstr "" -#: readelf.c:7494 +#: readelf.c:7965 #, c-format msgid " Flags\n" msgstr "" -#: readelf.c:7523 +#: readelf.c:7994 #, c-format msgid "[%2u]: Link field (%u) should index a symtab section.\n" msgstr "" -#: readelf.c:7536 +#: readelf.c:8007 #, c-format msgid "[%2u]: Link field (%u) should index a string section.\n" msgstr "" -#: readelf.c:7544 readelf.c:7555 +#: readelf.c:8015 readelf.c:8026 #, c-format msgid "[%2u]: Unexpected value (%u) in link field.\n" msgstr "" -#: readelf.c:7582 +#: readelf.c:8053 #, c-format msgid "[%2u]: Info field (%u) should index a relocatable section.\n" msgstr "" -#: readelf.c:7593 readelf.c:7620 +#: readelf.c:8064 readelf.c:8091 #, c-format msgid "[%2u]: Unexpected value (%u) in info field.\n" msgstr "" -#: readelf.c:7615 +#: readelf.c:8086 #, c-format msgid "[%2u]: Expected link to another section in info field" msgstr "" -#: readelf.c:7630 +#: readelf.c:8101 #, c-format msgid "Size of section %u is larger than the entire file!\n" msgstr "" -#: readelf.c:7699 +#: readelf.c:8170 #, c-format msgid "section %u: sh_link value of %u is larger than the number of sections\n" msgstr "" -#: readelf.c:7800 +#: readelf.c:8271 msgid "compression header" msgstr "" -#: readelf.c:7805 +#: readelf.c:8276 #, c-format msgid " [<corrupt>]\n" msgstr "" -#: readelf.c:7813 +#: readelf.c:8284 #, c-format msgid " [<unknown>: 0x%x], " msgstr "" @@ -9247,7 +9251,7 @@ msgstr "" #. The ordering of the letters shown here matches the ordering of the #. corresponding SHF_xxx values, and hence the order in which these #. letters will be displayed to the user. -#: readelf.c:7828 +#: readelf.c:8299 #, c-format msgid "" "Key to Flags:\n" @@ -9257,189 +9261,189 @@ msgid "" " " msgstr "" -#: readelf.c:7836 +#: readelf.c:8307 #, c-format msgid "R (retain), " msgstr "" -#: readelf.c:7839 +#: readelf.c:8310 #, c-format msgid "D (mbind), " msgstr "" -#: readelf.c:7847 +#: readelf.c:8318 #, c-format msgid "l (large), " msgstr "" -#: readelf.c:7849 +#: readelf.c:8320 #, c-format msgid "y (purecode), " msgstr "" -#: readelf.c:7851 +#: readelf.c:8322 #, c-format msgid "v (VLE), " msgstr "" -#: readelf.c:7876 +#: readelf.c:8347 msgid "Bad sh_link in symbol table section\n" msgstr "" -#: readelf.c:7911 +#: readelf.c:8382 msgid "<OS specific>" msgstr "" -#: readelf.c:7912 +#: readelf.c:8383 msgid "<PROC specific>" msgstr "" -#: readelf.c:7941 +#: readelf.c:8412 #, c-format msgid "" "\n" "There are no sections group in linked file '%s'.\n" msgstr "" -#: readelf.c:7944 readelf.c:7983 +#: readelf.c:8415 readelf.c:8454 #, c-format msgid "" "\n" "There are no section groups in this file.\n" msgstr "" -#: readelf.c:7951 +#: readelf.c:8422 msgid "Section headers are not available!\n" msgstr "" -#: readelf.c:7962 +#: readelf.c:8433 #, c-format msgid "Out of memory reading %u section group headers\n" msgstr "" -#: readelf.c:7980 +#: readelf.c:8451 #, c-format msgid "" "\n" "There are no section groups in linked file '%s'.\n" msgstr "" -#: readelf.c:7994 +#: readelf.c:8465 #, c-format msgid "Out of memory reading %zu groups\n" msgstr "" -#: readelf.c:8006 +#: readelf.c:8477 #, c-format msgid "Section groups in linked file '%s'\n" msgstr "" -#: readelf.c:8027 +#: readelf.c:8498 #, c-format msgid "Bad sh_link in group section `%s'\n" msgstr "" -#: readelf.c:8040 +#: readelf.c:8511 #, c-format msgid "Corrupt header in group section `%s'\n" msgstr "" -#: readelf.c:8046 readelf.c:8057 +#: readelf.c:8517 readelf.c:8528 #, c-format msgid "Bad sh_info in group section `%s'\n" msgstr "" -#: readelf.c:8097 +#: readelf.c:8568 #, c-format msgid "" "Section %s has sh_entsize (%#<PRIx64>) which is larger than its size (%" "#<PRIx64>)\n" msgstr "" -#: readelf.c:8107 +#: readelf.c:8578 msgid "section data" msgstr "" -#: readelf.c:8118 +#: readelf.c:8589 #, c-format msgid "" "\n" "%sgroup section [%5u] `%s' [%s] contains %u sections:\n" msgstr "" -#: readelf.c:8121 +#: readelf.c:8592 #, c-format msgid " [Index] Name\n" msgstr "" -#: readelf.c:8139 +#: readelf.c:8610 #, c-format msgid "section [%5u] in group section [%5u] > maximum section [%5u]\n" msgstr "" -#: readelf.c:8142 +#: readelf.c:8613 msgid "" "Further error messages about overlarge group section indices suppressed\n" msgstr "" -#: readelf.c:8155 +#: readelf.c:8626 #, c-format msgid "section [%5u] in group section [%5u] already in group section [%5u]\n" msgstr "" -#: readelf.c:8159 +#: readelf.c:8630 msgid "" "Further error messages about already contained group sections suppressed\n" msgstr "" -#: readelf.c:8171 +#: readelf.c:8642 #, c-format msgid "section 0 in group section [%5u]\n" msgstr "" -#: readelf.c:8238 +#: readelf.c:8709 msgid "dynamic section image fixups" msgstr "" -#: readelf.c:8246 +#: readelf.c:8717 #, c-format msgid "corrupt library name index of %#<PRIx64> found in dynamic entry" msgstr "" -#: readelf.c:8251 +#: readelf.c:8722 #, c-format msgid "" "\n" "Image fixups for needed library #%<PRId64>: %s - ident: %<PRIx64>\n" msgstr "" -#: readelf.c:8255 +#: readelf.c:8726 #, c-format msgid "Seg Offset Type SymVec DataType\n" msgstr "" -#: readelf.c:8289 +#: readelf.c:8760 msgid "dynamic section image relocations" msgstr "" -#: readelf.c:8293 +#: readelf.c:8764 #, c-format msgid "" "\n" "Image relocs\n" msgstr "" -#: readelf.c:8295 +#: readelf.c:8766 #, c-format msgid "" "Seg Offset Type Addend Seg Sym Off\n" msgstr "" -#: readelf.c:8350 +#: readelf.c:8821 msgid "dynamic string section" msgstr "" -#: readelf.c:8454 +#: readelf.c:8925 #, c-format msgid "" "\n" @@ -9447,157 +9451,157 @@ msgid "" "bytes:\n" msgstr "" -#: readelf.c:8459 +#: readelf.c:8930 #, c-format msgid "" "\n" "'%s' relocation section at offset %#<PRIx64> contains %<PRId64> bytes:\n" msgstr "" -#: readelf.c:8481 +#: readelf.c:8952 #, c-format msgid "" "\n" "There are no dynamic relocations in linked file '%s'.\n" msgstr "" -#: readelf.c:8484 +#: readelf.c:8955 #, c-format msgid "" "\n" "There are no dynamic relocations in this file.\n" msgstr "" -#: readelf.c:8511 +#: readelf.c:8982 #, c-format msgid "" "\n" "In linked file '%s' relocation section " msgstr "" -#: readelf.c:8514 +#: readelf.c:8985 #, c-format msgid "" "\n" "Relocation section " msgstr "" -#: readelf.c:8522 +#: readelf.c:8993 #, c-format msgid " at offset %#<PRIx64> contains %<PRIu64> entry:\n" msgid_plural " at offset %#<PRIx64> contains %<PRId64> entries:\n" msgstr[0] "" msgstr[1] "" -#: readelf.c:8573 +#: readelf.c:9044 #, c-format msgid "" "\n" "There are no static relocations in linked file '%s'." msgstr "" -#: readelf.c:8576 +#: readelf.c:9047 #, c-format msgid "" "\n" "There are no static relocations in this file." msgstr "" -#: readelf.c:8577 +#: readelf.c:9048 #, c-format msgid "" "\n" "To see the dynamic relocations add --use-dynamic to the command line.\n" msgstr "" -#: readelf.c:8585 +#: readelf.c:9056 #, c-format msgid "" "\n" "There are no relocations in linked file '%s'.\n" msgstr "" -#: readelf.c:8588 +#: readelf.c:9059 #, c-format msgid "" "\n" "There are no relocations in this file.\n" msgstr "" -#: readelf.c:8756 +#: readelf.c:9227 #, c-format msgid "Invalid section %u in table entry %td\n" msgstr "" -#: readelf.c:8768 +#: readelf.c:9239 #, c-format msgid "Invalid offset %<PRIx64> in table entry %td\n" msgstr "" -#: readelf.c:8786 +#: readelf.c:9257 #, c-format msgid "\tUnknown version.\n" msgstr "" -#: readelf.c:8849 readelf.c:9287 +#: readelf.c:9320 readelf.c:9758 msgid "unwind table" msgstr "" -#: readelf.c:8900 readelf.c:9370 +#: readelf.c:9371 readelf.c:9841 #, c-format msgid "Skipping unknown relocation type: %u\n" msgstr "" -#: readelf.c:8906 readelf.c:9377 +#: readelf.c:9377 readelf.c:9848 #, c-format msgid "Skipping unexpected relocation type: %s\n" msgstr "" -#: readelf.c:8915 readelf.c:9384 +#: readelf.c:9386 readelf.c:9855 #, c-format msgid "Skipping reloc with overlarge offset: %#<PRIx64>\n" msgstr "" -#: readelf.c:8923 readelf.c:9392 +#: readelf.c:9394 readelf.c:9863 #, c-format msgid "Skipping reloc with invalid symbol index: %u\n" msgstr "" -#: readelf.c:8971 readelf.c:9439 readelf.c:10550 +#: readelf.c:9442 readelf.c:9910 readelf.c:11021 msgid "Multiple symbol tables encountered\n" msgstr "" -#: readelf.c:8986 readelf.c:9455 readelf.c:10565 +#: readelf.c:9457 readelf.c:9926 readelf.c:11036 #, c-format msgid "" "\n" "There are no unwind sections in this file.\n" msgstr "" -#: readelf.c:9072 +#: readelf.c:9543 #, c-format msgid "" "\n" "Could not find unwind info section for " msgstr "" -#: readelf.c:9084 +#: readelf.c:9555 msgid "unwind info" msgstr "" -#: readelf.c:9087 +#: readelf.c:9558 #, c-format msgid "" "\n" "Unwind section " msgstr "" -#: readelf.c:9094 +#: readelf.c:9565 #, c-format msgid " at offset %#<PRIx64> contains %<PRIu64> entries:\n" msgstr "" -#: readelf.c:9464 readelf.c:10572 +#: readelf.c:9935 readelf.c:11043 #, c-format msgid "" "\n" @@ -9608,204 +9612,204 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:9597 +#: readelf.c:10068 msgid "unwind data" msgstr "" -#: readelf.c:9669 +#: readelf.c:10140 #, c-format msgid "Skipping unexpected relocation at offset %#<PRIx64>\n" msgstr "" -#: readelf.c:9691 +#: readelf.c:10162 #, c-format msgid "Unknown section relocation type %d encountered\n" msgstr "" -#: readelf.c:9699 +#: readelf.c:10170 #, c-format msgid "Bad symbol index in unwind relocation (%<PRIu64> > %<PRIu64>)\n" msgstr "" -#: readelf.c:9715 +#: readelf.c:10186 #, c-format msgid "Skipping unknown ARM relocation type: %d\n" msgstr "" -#: readelf.c:9725 +#: readelf.c:10196 #, c-format msgid "Skipping unexpected ARM relocation type %s\n" msgstr "" -#: readelf.c:9734 +#: readelf.c:10205 #, c-format msgid "Skipping unknown C6000 relocation type: %d\n" msgstr "" -#: readelf.c:9744 +#: readelf.c:10215 #, c-format msgid "Skipping unexpected C6000 relocation type %s\n" msgstr "" #. This function currently only supports ARM and TI unwinders. -#: readelf.c:9753 +#: readelf.c:10224 msgid "Only TI and ARM unwinders are currently supported\n" msgstr "" -#: readelf.c:9816 +#: readelf.c:10287 #, c-format msgid "[Truncated opcode]\n" msgstr "" -#: readelf.c:9864 readelf.c:10084 +#: readelf.c:10335 readelf.c:10555 #, c-format msgid "Refuse to unwind" msgstr "" -#: readelf.c:9887 +#: readelf.c:10358 #, c-format msgid " [Reserved]" msgstr "" -#: readelf.c:9915 +#: readelf.c:10386 #, c-format msgid " finish" msgstr "" -#: readelf.c:9920 readelf.c:10017 +#: readelf.c:10391 readelf.c:10488 #, c-format msgid "[Spare]" msgstr "" -#: readelf.c:9954 +#: readelf.c:10425 msgid "corrupt change to vsp\n" msgstr "" -#: readelf.c:9980 +#: readelf.c:10451 #, c-format msgid " pop {ra_auth_code}" msgstr "" -#: readelf.c:9982 +#: readelf.c:10453 #, c-format msgid " vsp as modifier for PAC validation" msgstr "" -#: readelf.c:10039 readelf.c:10196 +#: readelf.c:10510 readelf.c:10667 #, c-format msgid " [unsupported opcode]" msgstr "" -#: readelf.c:10132 +#: readelf.c:10603 #, c-format msgid "pop frame {" msgstr "" -#: readelf.c:10135 +#: readelf.c:10606 #, c-format msgid "*corrupt* - no registers specified" msgstr "" -#: readelf.c:10149 +#: readelf.c:10620 msgid "[pad]" msgstr "" -#: readelf.c:10178 +#: readelf.c:10649 msgid "Corrupt stack pointer adjustment detected\n" msgstr "" -#: readelf.c:10185 +#: readelf.c:10656 #, c-format msgid "sp = sp + %<PRId64>" msgstr "" -#: readelf.c:10260 +#: readelf.c:10731 #, c-format msgid " Personality routine: " msgstr "" -#: readelf.c:10292 +#: readelf.c:10763 #, c-format msgid " [Truncated data]\n" msgstr "" -#: readelf.c:10316 +#: readelf.c:10787 #, c-format msgid "Corrupt ARM compact model table entry: %x \n" msgstr "" -#: readelf.c:10321 +#: readelf.c:10792 #, c-format msgid " Compact model index: %d\n" msgstr "" -#: readelf.c:10347 +#: readelf.c:10818 msgid "Unknown ARM compact model index encountered\n" msgstr "" -#: readelf.c:10348 +#: readelf.c:10819 #, c-format msgid " [reserved]\n" msgstr "" -#: readelf.c:10363 +#: readelf.c:10834 #, c-format msgid " Restore stack from frame pointer\n" msgstr "" -#: readelf.c:10365 +#: readelf.c:10836 #, c-format msgid " Stack increment %d\n" msgstr "" -#: readelf.c:10366 +#: readelf.c:10837 #, c-format msgid " Registers restored: " msgstr "" -#: readelf.c:10371 +#: readelf.c:10842 #, c-format msgid " Return register: %s\n" msgstr "" -#: readelf.c:10375 +#: readelf.c:10846 #, c-format msgid " [reserved (%d)]\n" msgstr "" -#: readelf.c:10379 +#: readelf.c:10850 #, c-format msgid "" "Unsupported architecture type %d encountered when decoding unwind table\n" msgstr "" -#: readelf.c:10434 +#: readelf.c:10905 #, c-format msgid "corrupt index table entry: %x\n" msgstr "" -#: readelf.c:10473 +#: readelf.c:10944 #, c-format msgid "Unwind entry contains corrupt offset (%#<PRIx64>) into section %s\n" msgstr "" -#: readelf.c:10489 +#: readelf.c:10960 #, c-format msgid "Could not locate .ARM.extab section containing %#<PRIx64>.\n" msgstr "" -#: readelf.c:10533 +#: readelf.c:11004 #, c-format msgid "" "Unsupported architecture type %d encountered when processing unwind table\n" msgstr "" -#: readelf.c:10595 +#: readelf.c:11066 #, c-format msgid "No processor specific unwind information to decode\n" msgstr "" -#: readelf.c:10625 +#: readelf.c:11096 #, c-format msgid "" "\n" @@ -9813,80 +9817,80 @@ msgid "" "supported.\n" msgstr "" -#: readelf.c:10652 +#: readelf.c:11123 #, c-format msgid "NONE" msgstr "" -#: readelf.c:10677 +#: readelf.c:11148 #, c-format msgid "Interface Version: %s" msgstr "" -#: readelf.c:10680 +#: readelf.c:11151 #, c-format msgid "Interface Version: <corrupt: %<PRIx64>>" msgstr "" -#: readelf.c:10698 +#: readelf.c:11169 #, c-format msgid "Time Stamp: %s" msgstr "" -#: readelf.c:10887 readelf.c:10937 +#: readelf.c:11358 readelf.c:11408 msgid "dynamic section" msgstr "" -#: readelf.c:10907 readelf.c:10958 readelf.c:11066 +#: readelf.c:11378 readelf.c:11429 readelf.c:11537 #, c-format msgid "Out of memory allocating space for %<PRIu64> dynamic entries\n" msgstr "" -#: readelf.c:11032 +#: readelf.c:11503 #, c-format msgid "Size overflow prevents reading %<PRIu64> elements of size %u\n" msgstr "" -#: readelf.c:11042 +#: readelf.c:11513 #, c-format msgid "Invalid number of dynamic entries: %<PRIu64>\n" msgstr "" -#: readelf.c:11050 +#: readelf.c:11521 #, c-format msgid "Out of memory reading %<PRIu64> dynamic entries\n" msgstr "" -#: readelf.c:11057 +#: readelf.c:11528 #, c-format msgid "Unable to read in %<PRIu64> bytes of dynamic data\n" msgstr "" -#: readelf.c:11107 readelf.c:11161 readelf.c:11185 readelf.c:11218 -#: readelf.c:11244 readelf.c:11263 +#: readelf.c:11578 readelf.c:11632 readelf.c:11656 readelf.c:11689 +#: readelf.c:11715 readelf.c:11734 msgid "Unable to seek to start of dynamic information\n" msgstr "" -#: readelf.c:11113 readelf.c:11167 +#: readelf.c:11584 readelf.c:11638 msgid "Failed to read in number of buckets\n" msgstr "" -#: readelf.c:11119 +#: readelf.c:11590 msgid "Failed to read in number of chains\n" msgstr "" -#: readelf.c:11226 +#: readelf.c:11697 msgid "Failed to determine last chain length\n" msgstr "" -#: readelf.c:11326 +#: readelf.c:11797 #, c-format msgid "" "\n" "There is no dynamic section in linked file '%s'.\n" msgstr "" -#: readelf.c:11329 +#: readelf.c:11800 #, c-format msgid "" "\n" @@ -9894,49 +9898,49 @@ msgid "" msgstr "" #. See PR 21379 for a reproducer. -#: readelf.c:11389 +#: readelf.c:11860 msgid "Invalid PT_LOAD entry\n" msgstr "" -#: readelf.c:11415 +#: readelf.c:11886 msgid "the .dynsym section doesn't match the DT_SYMTAB and DT_SYMENT tags\n" msgstr "" -#: readelf.c:11425 +#: readelf.c:11896 msgid "Corrupt DT_SYMTAB dynamic entry\n" msgstr "" -#: readelf.c:11461 +#: readelf.c:11932 msgid "the .dynstr section doesn't match the DT_STRTAB and DT_STRSZ tags\n" msgstr "" -#: readelf.c:11466 +#: readelf.c:11937 msgid "dynamic string table" msgstr "" -#: readelf.c:11469 +#: readelf.c:11940 msgid "Corrupt DT_STRTAB dynamic entry\n" msgstr "" -#: readelf.c:11494 +#: readelf.c:11965 #, c-format msgid "Bad value (%d) for SYMINENT entry\n" msgstr "" -#: readelf.c:11513 +#: readelf.c:11984 msgid "symbol information" msgstr "" -#: readelf.c:11519 +#: readelf.c:11990 msgid "Multiple dynamic symbol information sections found\n" msgstr "" -#: readelf.c:11525 +#: readelf.c:11996 #, c-format msgid "Out of memory allocating %<PRIu64> bytes for dynamic symbol info\n" msgstr "" -#: readelf.c:11549 +#: readelf.c:12020 #, c-format msgid "" "\n" @@ -9949,7 +9953,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:11556 +#: readelf.c:12027 #, c-format msgid "" "\n" @@ -9960,87 +9964,87 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:11563 +#: readelf.c:12034 #, c-format msgid " Tag Type Name/Value\n" msgstr "" -#: readelf.c:11597 +#: readelf.c:12068 #, c-format msgid "Auxiliary library" msgstr "" -#: readelf.c:11601 +#: readelf.c:12072 #, c-format msgid "Filter library" msgstr "" -#: readelf.c:11605 +#: readelf.c:12076 #, c-format msgid "Configuration file" msgstr "" -#: readelf.c:11609 +#: readelf.c:12080 #, c-format msgid "Dependency audit library" msgstr "" -#: readelf.c:11613 +#: readelf.c:12084 #, c-format msgid "Audit library" msgstr "" -#: readelf.c:11632 readelf.c:11660 readelf.c:11688 readelf.c:12028 +#: readelf.c:12103 readelf.c:12131 readelf.c:12159 readelf.c:12499 #, c-format msgid "Flags:" msgstr "" -#: readelf.c:11635 readelf.c:11663 readelf.c:11690 readelf.c:12030 +#: readelf.c:12106 readelf.c:12134 readelf.c:12161 readelf.c:12501 #, c-format msgid " None\n" msgstr "" -#: readelf.c:11897 +#: readelf.c:12368 #, c-format msgid "Shared library: [%s]" msgstr "" -#: readelf.c:11901 +#: readelf.c:12372 #, c-format msgid " program interpreter" msgstr "" -#: readelf.c:11905 +#: readelf.c:12376 #, c-format msgid "Library soname: [%s]" msgstr "" -#: readelf.c:11909 +#: readelf.c:12380 #, c-format msgid "Library rpath: [%s]" msgstr "" -#: readelf.c:11913 +#: readelf.c:12384 #, c-format msgid "Library runpath: [%s]" msgstr "" -#: readelf.c:11950 +#: readelf.c:12421 #, c-format msgid " (bytes)\n" msgstr "" -#: readelf.c:11981 +#: readelf.c:12452 #, c-format msgid "Not needed object: [%s]\n" msgstr "" -#: readelf.c:12006 +#: readelf.c:12477 #, c-format msgid "<corrupt time val: %<PRIx64>" msgstr "" -#: readelf.c:12149 +#: readelf.c:12620 #, c-format msgid "" "\n" @@ -10052,7 +10056,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:12156 +#: readelf.c:12627 #, c-format msgid "" "\n" @@ -10063,71 +10067,71 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:12164 readelf.c:12310 readelf.c:12475 +#: readelf.c:12635 readelf.c:12781 readelf.c:12946 #, c-format msgid " Addr: 0x%016<PRIx64>" msgstr "" -#: readelf.c:12165 readelf.c:12311 readelf.c:12476 +#: readelf.c:12636 readelf.c:12782 readelf.c:12947 #, c-format msgid " Offset: 0x%08<PRIx64> Link: %u (%s)\n" msgstr "" -#: readelf.c:12171 +#: readelf.c:12642 msgid "version definition section" msgstr "" -#: readelf.c:12200 +#: readelf.c:12671 #, c-format msgid " %#06zx: Rev: %d Flags: %s" msgstr "" -#: readelf.c:12203 +#: readelf.c:12674 #, c-format msgid " Index: %d Cnt: %d " msgstr "" -#: readelf.c:12220 +#: readelf.c:12691 #, c-format msgid "Name: %s\n" msgstr "" -#: readelf.c:12223 +#: readelf.c:12694 #, c-format msgid "Name index: %ld\n" msgstr "" -#: readelf.c:12232 +#: readelf.c:12703 #, c-format msgid "Invalid vda_next field of %lx\n" msgstr "" -#: readelf.c:12252 +#: readelf.c:12723 #, c-format msgid " %#06zx: Parent %d: %s\n" msgstr "" -#: readelf.c:12256 +#: readelf.c:12727 #, c-format msgid " %#06zx: Parent %d, name index: %ld\n" msgstr "" -#: readelf.c:12261 +#: readelf.c:12732 #, c-format msgid " Version def aux past end of section\n" msgstr "" -#: readelf.c:12268 +#: readelf.c:12739 #, c-format msgid "Invalid vd_next field of %lx\n" msgstr "" -#: readelf.c:12279 +#: readelf.c:12750 #, c-format msgid " Version definition past end of section\n" msgstr "" -#: readelf.c:12295 +#: readelf.c:12766 #, c-format msgid "" "\n" @@ -10138,7 +10142,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:12302 +#: readelf.c:12773 #, c-format msgid "" "\n" @@ -10149,68 +10153,68 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:12318 +#: readelf.c:12789 msgid "Version Needs section" msgstr "" -#: readelf.c:12343 +#: readelf.c:12814 #, c-format msgid " %#06zx: Version: %d" msgstr "" -#: readelf.c:12346 +#: readelf.c:12817 #, c-format msgid " File: %s" msgstr "" -#: readelf.c:12349 +#: readelf.c:12820 #, c-format msgid " File: %lx" msgstr "" -#: readelf.c:12351 +#: readelf.c:12822 #, c-format msgid " Cnt: %d\n" msgstr "" -#: readelf.c:12374 +#: readelf.c:12845 #, c-format msgid " %#06zx: Name: %s" msgstr "" -#: readelf.c:12377 +#: readelf.c:12848 #, c-format msgid " %#06zx: Name index: %lx" msgstr "" -#: readelf.c:12380 +#: readelf.c:12851 #, c-format msgid " Flags: %s Version: %d\n" msgstr "" -#: readelf.c:12386 +#: readelf.c:12857 #, c-format msgid "Invalid vna_next field of %lx\n" msgstr "" -#: readelf.c:12399 +#: readelf.c:12870 msgid "Missing Version Needs auxiliary information\n" msgstr "" -#: readelf.c:12404 +#: readelf.c:12875 #, c-format msgid "Invalid vn_next field of %lx\n" msgstr "" -#: readelf.c:12414 +#: readelf.c:12885 msgid "Missing Version Needs information\n" msgstr "" -#: readelf.c:12452 +#: readelf.c:12923 msgid "version string table" msgstr "" -#: readelf.c:12460 +#: readelf.c:12931 #, c-format msgid "" "\n" @@ -10223,7 +10227,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:12467 +#: readelf.c:12938 #, c-format msgid "" "\n" @@ -10234,210 +10238,229 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:12485 +#: readelf.c:12956 msgid "version symbol data" msgstr "" -#: readelf.c:12505 +#: readelf.c:12976 msgid "*invalid*" msgstr "" -#: readelf.c:12513 +#: readelf.c:12984 msgid " 0 (*local*) " msgstr "" -#: readelf.c:12517 +#: readelf.c:12988 msgid " 1 (*global*) " msgstr "" -#: readelf.c:12528 +#: readelf.c:12999 msgid "invalid index into symbol array\n" msgstr "" -#: readelf.c:12551 readelf.c:13148 +#: readelf.c:13022 readelf.c:13574 msgid "version need" msgstr "" -#: readelf.c:12562 +#: readelf.c:13033 msgid "version need aux (2)" msgstr "" -#: readelf.c:12609 readelf.c:13092 +#: readelf.c:13080 readelf.c:13518 msgid "version def" msgstr "" -#: readelf.c:12637 readelf.c:13123 +#: readelf.c:13108 readelf.c:13549 msgid "version def aux" msgstr "" -#: readelf.c:12645 +#: readelf.c:13116 msgid "*both*" msgstr "" -#: readelf.c:12677 +#: readelf.c:13148 #, c-format msgid "" "\n" "No version information found in linked file '%s'.\n" msgstr "" -#: readelf.c:12680 +#: readelf.c:13151 #, c-format msgid "" "\n" "No version information found in this file.\n" msgstr "" -#: readelf.c:12776 +#: readelf.c:13247 #, c-format msgid "Unrecognized visibility value: %u\n" msgstr "" -#: readelf.c:12789 +#: readelf.c:13260 #, c-format msgid "Unrecognized alpha specific other value: %u\n" msgstr "" -#: readelf.c:12866 +#: readelf.c:13337 #, c-format msgid "Unrecognized IA64 VMS ST Function type: %d\n" msgstr "" -#: readelf.c:12890 +#: readelf.c:13361 #, c-format msgid "Unrecognized IA64 VMS ST Linkage: %d\n" msgstr "" -#: readelf.c:12916 +#: readelf.c:13387 #, c-format msgid "<localentry>: %d" msgstr "" -#: readelf.c:12930 +#: readelf.c:13401 msgid " VARIANT_CC" msgstr "" -#: readelf.c:12981 +#: readelf.c:13452 #, c-format msgid "<other>: %x" msgstr "" -#: readelf.c:13021 -#, c-format -msgid "bad section index[%3d]" -msgstr "" - -#: readelf.c:13054 +#: readelf.c:13480 msgid "version data" msgstr "" -#: readelf.c:13166 +#: readelf.c:13592 msgid "version need aux (3)" msgstr "" -#: readelf.c:13320 +#: readelf.c:13783 #, c-format msgid "local symbol %<PRIu64> found at index >= %s's sh_info value of %u\n" msgstr "" -#: readelf.c:13339 +#: readelf.c:13802 #, c-format msgid "Unknown LTO symbol definition encountered: %u\n" msgstr "" -#: readelf.c:13358 +#: readelf.c:13821 #, c-format msgid "Unknown LTO symbol visibility encountered: %u\n" msgstr "" -#: readelf.c:13376 +#: readelf.c:13839 #, c-format msgid "Unknown LTO symbol type encountered: %u\n" msgstr "" -#: readelf.c:13392 +#: readelf.c:13855 #, c-format msgid "" "\n" "The LTO Symbol table section '%s' in linked file '%s' is empty!\n" msgstr "" -#: readelf.c:13396 +#: readelf.c:13859 #, c-format msgid "" "\n" "LTO Symbol table '%s' is empty!\n" msgstr "" -#: readelf.c:13411 +#: readelf.c:13874 msgid "LTO symbols" msgstr "" -#: readelf.c:13429 +#: readelf.c:13892 #, c-format msgid "LTO Symbol extension table '%s' is empty!\n" msgstr "" -#: readelf.c:13435 +#: readelf.c:13898 msgid "LTO ext symbol data" msgstr "" -#: readelf.c:13440 +#: readelf.c:13903 msgid "Unexpected version number in symbol extension table\n" msgstr "" -#: readelf.c:13449 +#: readelf.c:13912 #, c-format msgid "" "\n" "In linked file '%s': " msgstr "" -#: readelf.c:13456 +#: readelf.c:13919 #, c-format msgid "LTO Symbol table '%s' and extension table '%s' contain:\n" msgstr "" -#: readelf.c:13461 +#: readelf.c:13924 #, c-format msgid "LTO Symbol table '%s'\n" msgstr "" -#: readelf.c:13463 +#: readelf.c:13926 #, c-format msgid " and extension table '%s' contain:\n" msgstr "" -#: readelf.c:13468 +#: readelf.c:13931 #, c-format msgid "LTO Symbol table '%s' contains:\n" msgstr "" -#: readelf.c:13473 +#: readelf.c:13936 #, c-format msgid "" " Comdat_Key Kind Visibility Size Slot Type Section " "Name\n" msgstr "" -#: readelf.c:13475 +#: readelf.c:13938 #, c-format msgid " Comdat_Key Kind Visibility Size Slot Name\n" msgstr "" -#: readelf.c:13522 +#: readelf.c:13985 msgid "Ran out of LTO symbol extension data\n" msgstr "" -#: readelf.c:13542 +#: readelf.c:14005 msgid "Data remains in the LTO symbol extension table\n" msgstr "" -#: readelf.c:13552 +#: readelf.c:14015 msgid "Buffer overrun encountered whilst decoding LTO symbol table\n" msgstr "" -#: readelf.c:13604 +#: readelf.c:14057 +#, c-format +msgid "" +" Num: Value Size Type Bind Vis+Other Ndx(SecName) Name [+ " +"Version Info]\n" +msgstr "" + +#: readelf.c:14063 readelf.c:14069 +#, c-format +msgid " Num: Value Size Type Bind Vis Ndx Name\n" +msgstr "" + +#: readelf.c:14078 +#, c-format +msgid "" +" Num: Value Size Type Bind Vis+Other Ndx(SecName) Name [+ " +"Version Info]\n" +msgstr "" + +#: readelf.c:14085 readelf.c:14091 +#, c-format +msgid " Num: Value Size Type Bind Vis Ndx Name\n" +msgstr "" + +#: readelf.c:14118 #, c-format msgid "" "\n" @@ -10448,7 +10471,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:13614 +#: readelf.c:14128 #, c-format msgid "" "\n" @@ -10459,24 +10482,14 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:13622 readelf.c:13679 -#, c-format -msgid " Num: Value Size Type Bind Vis Ndx Name\n" -msgstr "" - -#: readelf.c:13624 readelf.c:13681 -#, c-format -msgid " Num: Value Size Type Bind Vis Ndx Name\n" -msgstr "" - -#: readelf.c:13653 +#: readelf.c:14165 #, c-format msgid "" "\n" "Symbol table '%s' has a sh_entsize of zero!\n" msgstr "" -#: readelf.c:13661 +#: readelf.c:14173 #, c-format msgid "" "\n" @@ -10487,7 +10500,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:13670 +#: readelf.c:14182 #, c-format msgid "" "\n" @@ -10498,14 +10511,14 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:13715 +#: readelf.c:14224 #, c-format msgid "" "\n" "Dynamic symbol information is not available for displaying symbols.\n" msgstr "" -#: readelf.c:13728 +#: readelf.c:14237 #, c-format msgid "" "\n" @@ -10516,24 +10529,24 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:13738 +#: readelf.c:14247 msgid "Out of memory allocating space for histogram buckets\n" msgstr "" -#: readelf.c:13744 readelf.c:13821 +#: readelf.c:14253 readelf.c:14330 #, c-format msgid " Length Number %% of total Coverage\n" msgstr "" -#: readelf.c:13754 +#: readelf.c:14263 msgid "histogram chain is corrupt\n" msgstr "" -#: readelf.c:13766 +#: readelf.c:14275 msgid "Out of memory allocating space for histogram counts\n" msgstr "" -#: readelf.c:13806 +#: readelf.c:14315 #, c-format msgid "" "\n" @@ -10544,15 +10557,15 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:13817 +#: readelf.c:14326 msgid "Out of memory allocating space for gnu histogram buckets\n" msgstr "" -#: readelf.c:13844 +#: readelf.c:14353 msgid "Out of memory allocating space for gnu histogram counts\n" msgstr "" -#: readelf.c:13910 +#: readelf.c:14419 #, c-format msgid "" "\n" @@ -10565,7 +10578,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:13917 +#: readelf.c:14426 #, c-format msgid "" "\n" @@ -10576,241 +10589,234 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:13925 +#: readelf.c:14434 #, c-format msgid " Num: Name BoundTo Flags\n" msgstr "" -#: readelf.c:13932 +#: readelf.c:14441 #, c-format msgid "<corrupt index>" msgstr "" -#: readelf.c:13937 +#: readelf.c:14446 #, c-format msgid "<corrupt: %19ld>" msgstr "" -#: readelf.c:14029 +#: readelf.c:14538 #, c-format msgid "LoongArch ULEB128 field at 0x%lx contains invalid ULEB128 value\n" msgstr "" -#: readelf.c:14034 readelf.c:14088 readelf.c:14139 readelf.c:14185 -#: readelf.c:14199 readelf.c:14243 +#: readelf.c:14543 readelf.c:14597 readelf.c:14648 readelf.c:14694 +#: readelf.c:14708 readelf.c:14752 #, c-format msgid "%s reloc contains invalid symbol index %<PRIu64>\n" msgstr "" -#: readelf.c:14135 +#: readelf.c:14644 #, c-format msgid "MSP430 ULEB128 field at %#<PRIx64> contains invalid ULEB128 value\n" msgstr "" #. PR 21137 -#: readelf.c:14150 +#: readelf.c:14659 #, c-format msgid "MSP430 sym diff reloc contains invalid offset: %#<PRIx64>\n" msgstr "" -#: readelf.c:14162 +#: readelf.c:14671 msgid "Unhandled MSP430 reloc type found after SYM_DIFF reloc\n" msgstr "" -#: readelf.c:14209 +#: readelf.c:14718 #, c-format msgid "MN10300 sym diff reloc contains invalid offset: %#<PRIx64>\n" msgstr "" -#: readelf.c:14220 +#: readelf.c:14729 msgid "Unhandled MN10300 reloc type found after SYM_DIFF reloc\n" msgstr "" -#: readelf.c:14262 readelf.c:14272 +#: readelf.c:14771 readelf.c:14781 #, c-format msgid "RL78 sym diff reloc contains invalid offset: %#<PRIx64>\n" msgstr "" -#: readelf.c:14491 +#: readelf.c:15004 #, c-format msgid "" "Missing knowledge of 32-bit reloc types used in DWARF sections of machine " "number %d\n" msgstr "" -#: readelf.c:15207 +#: readelf.c:15739 #, c-format msgid "unable to apply unsupported reloc type %d to section %s\n" msgstr "" -#: readelf.c:15216 +#: readelf.c:15748 #, c-format msgid "skipping invalid relocation offset %#<PRIx64> in section %s\n" msgstr "" -#: readelf.c:15226 +#: readelf.c:15758 #, c-format msgid "skipping invalid relocation symbol index %#<PRIx64> in section %s\n" msgstr "" -#: readelf.c:15250 +#: readelf.c:15782 #, c-format msgid "skipping unexpected symbol type %s in section %s relocation %tu\n" msgstr "" -#: readelf.c:15328 +#: readelf.c:15860 #, c-format msgid "" "\n" "Assembly dump of section %s\n" msgstr "" -#: readelf.c:15346 +#: readelf.c:15878 #, c-format msgid "Section '%s' has no data to dump.\n" msgstr "" -#: readelf.c:15352 +#: readelf.c:15884 msgid "section contents" msgstr "" -#: readelf.c:15375 +#: readelf.c:15907 #, c-format msgid "Uncompressed section size is suspiciously large: 0x%<PRIu64>\n" msgstr "" -#: readelf.c:15451 +#: readelf.c:15998 readelf.c:16608 #, c-format -msgid "" -"\n" -"String dump of section '%s' in linked file %s:\n" +msgid "section '%s' has unsupported compress type: %d\n" msgstr "" -#: readelf.c:15455 +#: readelf.c:16031 readelf.c:16645 #, c-format -msgid "" -"\n" -"String dump of section '%s':\n" +msgid "Unable to decompress section %s\n" msgstr "" -#: readelf.c:15483 readelf.c:15706 readelf.c:16138 +#: readelf.c:16070 #, c-format -msgid "section '%s' has unsupported compress type: %d\n" +msgid "" +" NOTE: This section has relocations against it, but these have NOT been " +"applied to this dump.\n" msgstr "" -#: readelf.c:15515 readelf.c:15740 readelf.c:16175 +#: readelf.c:16097 #, c-format -msgid "Unable to decompress section %s\n" +msgid "" +"\n" +"String dump of section '%s' in linked file %s:\n" msgstr "" -#: readelf.c:15540 +#: readelf.c:16101 #, c-format msgid "" -" Note: This section has relocations against it, but these have NOT been " -"applied to this dump.\n" +"\n" +"String dump of section '%s':\n" msgstr "" -#: readelf.c:15633 readelf.c:17169 readelf.c:17209 readelf.c:17247 -#: readelf.c:17294 readelf.c:17325 readelf.c:18931 readelf.c:18963 +#: readelf.c:16197 readelf.c:17639 readelf.c:17679 readelf.c:17717 +#: readelf.c:17764 readelf.c:17795 readelf.c:19401 readelf.c:19433 #, c-format msgid "<corrupt>\n" msgstr "" -#: readelf.c:15641 +#: readelf.c:16205 #, c-format msgid " No strings found in this section." msgstr "" -#: readelf.c:15674 +#: readelf.c:16237 #, c-format msgid "" "\n" "Hex dump of section '%s' in linked file %s:\n" msgstr "" -#: readelf.c:15678 +#: readelf.c:16241 #, c-format msgid "" "\n" "Hex dump of section '%s':\n" msgstr "" -#: readelf.c:15773 -#, c-format -msgid "" -" NOTE: This section has relocations against it, but these have NOT been " -"applied to this dump.\n" -msgstr "" - -#: readelf.c:15915 +#: readelf.c:16385 #, c-format msgid "Iteration failed: %s, %s\n" msgstr "" -#: readelf.c:15959 +#: readelf.c:16429 #, c-format msgid "No symbol section named %s\n" msgstr "" -#: readelf.c:15975 +#: readelf.c:16445 #, c-format msgid "No string table section named %s\n" msgstr "" -#: readelf.c:15982 +#: readelf.c:16452 msgid "strings" msgstr "" -#: readelf.c:15995 readelf.c:16007 +#: readelf.c:16465 readelf.c:16477 #, c-format msgid "CTF open failure: %s\n" msgstr "" -#: readelf.c:16014 +#: readelf.c:16484 #, c-format msgid "" "\n" "Dump of CTF section '%s' in linked file %s:\n" msgstr "" -#: readelf.c:16018 +#: readelf.c:16488 #, c-format msgid "" "\n" "Dump of CTF section '%s':\n" msgstr "" -#: readelf.c:16026 +#: readelf.c:16496 #, c-format msgid "CTF member open failure: %s\n" msgstr "" -#: readelf.c:16053 +#: readelf.c:16523 msgid "Section name must be provided \n" msgstr "" -#: readelf.c:16065 +#: readelf.c:16535 #, c-format msgid "SFrame decode failure: %s\n" msgstr "" -#: readelf.c:16095 +#: readelf.c:16565 #, c-format msgid "%s section data" msgstr "" -#: readelf.c:16119 +#: readelf.c:16589 #, c-format msgid "compressed section %s is too small to contain a compression header\n" msgstr "" -#: readelf.c:16251 readelf.c:16278 readelf.c:16303 +#: readelf.c:16721 readelf.c:16748 readelf.c:16773 #, c-format msgid "" "malformed note encountered in section %s whilst scanning for build-id note\n" msgstr "" -#: readelf.c:16431 +#: readelf.c:16901 #, c-format msgid "" "\n" @@ -10821,539 +10827,539 @@ msgstr "" #. which has the NOBITS type - the bits in the file will be random. #. This can happen when a file containing a .eh_frame section is #. stripped with the --only-keep-debug command line option. -#: readelf.c:16440 +#: readelf.c:16910 #, c-format msgid "section '%s' has the NOBITS type - its contents are unreliable.\n" msgstr "" -#: readelf.c:16490 +#: readelf.c:16960 #, c-format msgid "Unrecognized debug section: %s\n" msgstr "" -#: readelf.c:16520 +#: readelf.c:16990 #, c-format msgid "Section '%s' was not dumped because it does not exist\n" msgstr "" -#: readelf.c:16598 +#: readelf.c:17068 #, c-format msgid "Section %d was not dumped because it does not exist!\n" msgstr "" -#: readelf.c:16654 +#: readelf.c:17124 msgid "<corrupt tag>\n" msgstr "" -#: readelf.c:16669 +#: readelf.c:17139 #, c-format msgid "<corrupt string tag>" msgstr "" -#: readelf.c:16703 +#: readelf.c:17173 #, c-format msgid "Absent/Non standard\n" msgstr "" -#: readelf.c:16706 +#: readelf.c:17176 #, c-format msgid "Bare metal/mwdt\n" msgstr "" -#: readelf.c:16709 +#: readelf.c:17179 #, c-format msgid "Bare metal/newlib\n" msgstr "" -#: readelf.c:16712 +#: readelf.c:17182 #, c-format msgid "Linux/uclibc\n" msgstr "" -#: readelf.c:16715 +#: readelf.c:17185 #, c-format msgid "Linux/glibc\n" msgstr "" -#: readelf.c:16718 readelf.c:16797 +#: readelf.c:17188 readelf.c:17267 #, c-format msgid "Unknown\n" msgstr "" -#: readelf.c:16730 readelf.c:16760 readelf.c:16788 +#: readelf.c:17200 readelf.c:17230 readelf.c:17258 #, c-format msgid "Absent\n" msgstr "" -#: readelf.c:16772 +#: readelf.c:17242 msgid "yes" msgstr "" -#: readelf.c:16772 +#: readelf.c:17242 msgid "no" msgstr "" -#: readelf.c:16809 readelf.c:16816 +#: readelf.c:17279 readelf.c:17286 msgid "default" msgstr "" -#: readelf.c:16810 +#: readelf.c:17280 msgid "smallest" msgstr "" -#: readelf.c:16815 +#: readelf.c:17285 msgid "OPTFP" msgstr "" -#: readelf.c:17036 readelf.c:17049 readelf.c:17067 readelf.c:17588 -#: readelf.c:17867 readelf.c:17879 readelf.c:17891 +#: readelf.c:17506 readelf.c:17519 readelf.c:17537 readelf.c:18058 +#: readelf.c:18337 readelf.c:18349 readelf.c:18361 #, c-format msgid "None\n" msgstr "" -#: readelf.c:17037 +#: readelf.c:17507 #, c-format msgid "Application\n" msgstr "" -#: readelf.c:17038 +#: readelf.c:17508 #, c-format msgid "Realtime\n" msgstr "" -#: readelf.c:17039 +#: readelf.c:17509 #, c-format msgid "Microcontroller\n" msgstr "" -#: readelf.c:17040 +#: readelf.c:17510 #, c-format msgid "Application or Realtime\n" msgstr "" -#: readelf.c:17050 readelf.c:17069 readelf.c:17640 readelf.c:17657 -#: readelf.c:17728 readelf.c:17748 readelf.c:20602 +#: readelf.c:17520 readelf.c:17539 readelf.c:18110 readelf.c:18127 +#: readelf.c:18198 readelf.c:18218 readelf.c:21079 #, c-format msgid "8-byte\n" msgstr "" -#: readelf.c:17051 readelf.c:17731 readelf.c:17751 readelf.c:20601 +#: readelf.c:17521 readelf.c:18201 readelf.c:18221 readelf.c:21078 #, c-format msgid "4-byte\n" msgstr "" -#: readelf.c:17055 readelf.c:17073 +#: readelf.c:17525 readelf.c:17543 #, c-format msgid "8-byte and up to %d-byte extended\n" msgstr "" -#: readelf.c:17068 +#: readelf.c:17538 #, c-format msgid "8-byte, except leaf SP\n" msgstr "" -#: readelf.c:17084 readelf.c:17166 readelf.c:17766 +#: readelf.c:17554 readelf.c:17636 readelf.c:18236 #, c-format msgid "flag = %d, vendor = " msgstr "" -#: readelf.c:17105 +#: readelf.c:17575 #, c-format msgid "True\n" msgstr "" -#: readelf.c:17125 +#: readelf.c:17595 #, c-format msgid "<unknown: %d>\n" msgstr "" -#: readelf.c:17170 +#: readelf.c:17640 msgid "corrupt vendor attribute\n" msgstr "" -#: readelf.c:17220 +#: readelf.c:17690 #, c-format msgid "unspecified hard/soft float\n" msgstr "" -#: readelf.c:17223 +#: readelf.c:17693 #, c-format msgid "hard float\n" msgstr "" -#: readelf.c:17226 +#: readelf.c:17696 #, c-format msgid "soft float\n" msgstr "" -#: readelf.c:17258 +#: readelf.c:17728 #, c-format msgid "unspecified hard/soft float, " msgstr "" -#: readelf.c:17261 +#: readelf.c:17731 #, c-format msgid "hard float, " msgstr "" -#: readelf.c:17264 +#: readelf.c:17734 #, c-format msgid "soft float, " msgstr "" -#: readelf.c:17267 +#: readelf.c:17737 #, c-format msgid "single-precision hard float, " msgstr "" -#: readelf.c:17274 +#: readelf.c:17744 #, c-format msgid "unspecified long double\n" msgstr "" -#: readelf.c:17277 +#: readelf.c:17747 #, c-format msgid "128-bit IBM long double\n" msgstr "" -#: readelf.c:17280 +#: readelf.c:17750 #, c-format msgid "64-bit long double\n" msgstr "" -#: readelf.c:17283 +#: readelf.c:17753 #, c-format msgid "128-bit IEEE long double\n" msgstr "" -#: readelf.c:17305 readelf.c:17336 +#: readelf.c:17775 readelf.c:17806 #, c-format msgid "unspecified\n" msgstr "" -#: readelf.c:17308 +#: readelf.c:17778 #, c-format msgid "generic\n" msgstr "" -#: readelf.c:17342 +#: readelf.c:17812 #, c-format msgid "memory\n" msgstr "" -#: readelf.c:17369 +#: readelf.c:17839 #, c-format msgid "any\n" msgstr "" -#: readelf.c:17372 +#: readelf.c:17842 #, c-format msgid "software\n" msgstr "" -#: readelf.c:17375 +#: readelf.c:17845 #, c-format msgid "hardware\n" msgstr "" -#: readelf.c:17498 +#: readelf.c:17968 #, c-format msgid "Hard or soft float\n" msgstr "" -#: readelf.c:17501 +#: readelf.c:17971 #, c-format msgid "Hard float (double precision)\n" msgstr "" -#: readelf.c:17504 +#: readelf.c:17974 #, c-format msgid "Hard float (single precision)\n" msgstr "" -#: readelf.c:17507 +#: readelf.c:17977 #, c-format msgid "Soft float\n" msgstr "" -#: readelf.c:17510 +#: readelf.c:17980 #, c-format msgid "Hard float (MIPS32r2 64-bit FPU 12 callee-saved)\n" msgstr "" -#: readelf.c:17513 +#: readelf.c:17983 #, c-format msgid "Hard float (32-bit CPU, Any FPU)\n" msgstr "" -#: readelf.c:17516 +#: readelf.c:17986 #, c-format msgid "Hard float (32-bit CPU, 64-bit FPU)\n" msgstr "" -#: readelf.c:17519 +#: readelf.c:17989 #, c-format msgid "Hard float compat (32-bit CPU, 64-bit FPU)\n" msgstr "" -#: readelf.c:17522 +#: readelf.c:17992 #, c-format msgid "NaN 2008 compatibility\n" msgstr "" -#: readelf.c:17555 +#: readelf.c:18025 #, c-format msgid "Any MSA or not\n" msgstr "" -#: readelf.c:17558 +#: readelf.c:18028 #, c-format msgid "128-bit MSA\n" msgstr "" -#: readelf.c:17620 +#: readelf.c:18090 #, c-format msgid "Not used\n" msgstr "" -#: readelf.c:17623 +#: readelf.c:18093 #, c-format msgid "2 bytes\n" msgstr "" -#: readelf.c:17626 +#: readelf.c:18096 #, c-format msgid "4 bytes\n" msgstr "" -#: readelf.c:17643 readelf.c:17660 readelf.c:17734 readelf.c:17754 +#: readelf.c:18113 readelf.c:18130 readelf.c:18204 readelf.c:18224 #, c-format msgid "16-byte\n" msgstr "" -#: readelf.c:17674 +#: readelf.c:18144 #, c-format msgid "DSBT addressing not used\n" msgstr "" -#: readelf.c:17677 +#: readelf.c:18147 #, c-format msgid "DSBT addressing used\n" msgstr "" -#: readelf.c:17691 +#: readelf.c:18161 #, c-format msgid "Data addressing position-dependent\n" msgstr "" -#: readelf.c:17694 +#: readelf.c:18164 #, c-format msgid "Data addressing position-independent, GOT near DP\n" msgstr "" -#: readelf.c:17697 +#: readelf.c:18167 #, c-format msgid "Data addressing position-independent, GOT far from DP\n" msgstr "" -#: readelf.c:17711 +#: readelf.c:18181 #, c-format msgid "Code addressing position-dependent\n" msgstr "" -#: readelf.c:17714 +#: readelf.c:18184 #, c-format msgid "Code addressing position-independent\n" msgstr "" -#: readelf.c:17868 +#: readelf.c:18338 #, c-format msgid "MSP430\n" msgstr "" -#: readelf.c:17869 +#: readelf.c:18339 #, c-format msgid "MSP430X\n" msgstr "" -#: readelf.c:17880 readelf.c:17892 +#: readelf.c:18350 readelf.c:18362 #, c-format msgid "Small\n" msgstr "" -#: readelf.c:17881 readelf.c:17893 +#: readelf.c:18351 readelf.c:18363 #, c-format msgid "Large\n" msgstr "" -#: readelf.c:17894 +#: readelf.c:18364 #, c-format msgid "Restricted Large\n" msgstr "" -#: readelf.c:17900 +#: readelf.c:18370 #, c-format msgid " <unknown tag %<PRId64>>: " msgstr "" -#: readelf.c:17946 +#: readelf.c:18416 #, c-format msgid "Any Region\n" msgstr "" -#: readelf.c:17949 +#: readelf.c:18419 #, c-format msgid "Lower Region Only\n" msgstr "" -#: readelf.c:18015 +#: readelf.c:18485 #, c-format msgid "No unaligned access\n" msgstr "" -#: readelf.c:18018 +#: readelf.c:18488 #, c-format msgid "Unaligned access\n" msgstr "" -#: readelf.c:18024 +#: readelf.c:18494 #, c-format msgid "%<PRIu64>-bytes\n" msgstr "" -#: readelf.c:18166 +#: readelf.c:18636 msgid "attributes" msgstr "" -#: readelf.c:18178 +#: readelf.c:18648 #, c-format msgid "Unknown attributes version '%c'(%d) - expecting 'A'\n" msgstr "" -#: readelf.c:18197 +#: readelf.c:18667 msgid "Tag section ends prematurely\n" msgstr "" -#: readelf.c:18206 +#: readelf.c:18676 #, c-format msgid "Bad attribute length (%u > %u)\n" msgstr "" -#: readelf.c:18214 +#: readelf.c:18684 #, c-format msgid "Attribute length of %u is too small\n" msgstr "" -#: readelf.c:18225 +#: readelf.c:18695 msgid "Corrupt attribute section name\n" msgstr "" -#: readelf.c:18230 +#: readelf.c:18700 #, c-format msgid "Attribute Section: " msgstr "" -#: readelf.c:18257 +#: readelf.c:18727 msgid "Unused bytes at end of section\n" msgstr "" -#: readelf.c:18267 +#: readelf.c:18737 #, c-format msgid "Bad subsection length (%u > %u)\n" msgstr "" -#: readelf.c:18275 +#: readelf.c:18745 #, c-format msgid "Bad subsection length (%u < 6)\n" msgstr "" -#: readelf.c:18290 +#: readelf.c:18760 #, c-format msgid "File Attributes\n" msgstr "" -#: readelf.c:18293 +#: readelf.c:18763 #, c-format msgid "Section Attributes:" msgstr "" -#: readelf.c:18296 +#: readelf.c:18766 #, c-format msgid "Symbol Attributes:" msgstr "" -#: readelf.c:18309 +#: readelf.c:18779 #, c-format msgid "Unknown tag: %d\n" msgstr "" -#: readelf.c:18330 +#: readelf.c:18800 #, c-format msgid " Unknown attribute:\n" msgstr "" -#: readelf.c:18372 +#: readelf.c:18842 msgid "MIPS GOT entry extends beyond the end of available data\n" msgstr "" -#: readelf.c:18571 +#: readelf.c:19041 msgid "Corrupt MIPS ABI Flags section.\n" msgstr "" -#: readelf.c:18577 +#: readelf.c:19047 msgid "MIPS ABI Flags section" msgstr "" -#: readelf.c:18636 readelf.c:19219 +#: readelf.c:19106 readelf.c:19689 msgid "Global Offset Table data" msgstr "" -#: readelf.c:18640 +#: readelf.c:19110 #, c-format msgid "" "\n" "Static GOT:\n" msgstr "" -#: readelf.c:18641 readelf.c:19224 +#: readelf.c:19111 readelf.c:19694 #, c-format msgid " Canonical gp value: " msgstr "" -#: readelf.c:18655 readelf.c:19228 readelf.c:19358 +#: readelf.c:19125 readelf.c:19698 readelf.c:19833 #, c-format msgid " Reserved entries:\n" msgstr "" -#: readelf.c:18656 +#: readelf.c:19126 #, c-format msgid " %*s %10s %*s\n" msgstr "" -#: readelf.c:18657 readelf.c:18687 readelf.c:19230 readelf.c:19258 -#: readelf.c:19276 readelf.c:19360 readelf.c:19369 +#: readelf.c:19127 readelf.c:19157 readelf.c:19700 readelf.c:19728 +#: readelf.c:19746 readelf.c:19835 readelf.c:19844 msgid "Address" msgstr "" -#: readelf.c:18657 readelf.c:18687 readelf.c:19230 readelf.c:19258 -#: readelf.c:19277 +#: readelf.c:19127 readelf.c:19157 readelf.c:19700 readelf.c:19728 +#: readelf.c:19747 msgid "Access" msgstr "" -#: readelf.c:18658 readelf.c:18688 +#: readelf.c:19128 readelf.c:19158 msgid "Value" msgstr "" -#: readelf.c:18685 readelf.c:19256 +#: readelf.c:19155 readelf.c:19726 #, c-format msgid " Local entries:\n" msgstr "" -#: readelf.c:18767 readelf.c:19475 +#: readelf.c:19237 readelf.c:19950 msgid "liblist section data" msgstr "" -#: readelf.c:18770 +#: readelf.c:19240 #, c-format msgid "" "\n" @@ -11364,38 +11370,38 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:18774 +#: readelf.c:19244 msgid "" " Library Time Stamp Checksum Version Flags\n" msgstr "" -#: readelf.c:18800 +#: readelf.c:19270 #, c-format msgid "<corrupt: %9ld>" msgstr "" -#: readelf.c:18805 +#: readelf.c:19275 msgid " NONE" msgstr "" -#: readelf.c:18855 +#: readelf.c:19325 msgid "No MIPS_OPTIONS header found\n" msgstr "" -#: readelf.c:18861 +#: readelf.c:19331 msgid "The MIPS options section is too small.\n" msgstr "" -#: readelf.c:18866 +#: readelf.c:19336 msgid "options" msgstr "" -#: readelf.c:18885 +#: readelf.c:19355 #, c-format msgid "Invalid size (%u) for MIPS option\n" msgstr "" -#: readelf.c:18894 +#: readelf.c:19364 #, c-format msgid "" "\n" @@ -11406,28 +11412,28 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:18932 readelf.c:18964 +#: readelf.c:19402 readelf.c:19434 msgid "Truncated MIPS REGINFO option\n" msgstr "" -#: readelf.c:19100 +#: readelf.c:19570 msgid "conflict list found without a dynamic symbol table\n" msgstr "" -#: readelf.c:19108 +#: readelf.c:19578 #, c-format msgid "Overlarge number of conflicts detected: %zx\n" msgstr "" -#: readelf.c:19116 +#: readelf.c:19586 msgid "Out of memory allocating space for dynamic conflicts\n" msgstr "" -#: readelf.c:19126 readelf.c:19144 +#: readelf.c:19596 readelf.c:19614 msgid "conflict" msgstr "" -#: readelf.c:19157 +#: readelf.c:19627 #, c-format msgid "" "\n" @@ -11438,125 +11444,125 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:19161 +#: readelf.c:19631 msgid " Num: Index Value Name" msgstr "" -#: readelf.c:19168 +#: readelf.c:19638 #, c-format msgid "<corrupt symbol index>" msgstr "" -#: readelf.c:19179 readelf.c:19306 readelf.c:19394 +#: readelf.c:19649 readelf.c:19781 readelf.c:19869 #, c-format msgid "<corrupt: %14ld>" msgstr "" -#: readelf.c:19202 +#: readelf.c:19672 #, c-format msgid "" "The GOT symbol offset (%<PRIu64>) is greater than the symbol table size (%" "<PRIu64>)\n" msgstr "" -#: readelf.c:19212 +#: readelf.c:19682 #, c-format msgid "Too many GOT symbols: %<PRIu64>\n" msgstr "" -#: readelf.c:19223 +#: readelf.c:19693 #, c-format msgid "" "\n" "Primary GOT:\n" msgstr "" -#: readelf.c:19229 +#: readelf.c:19699 #, c-format msgid " %*s %10s %*s Purpose\n" msgstr "" -#: readelf.c:19231 readelf.c:19259 readelf.c:19278 readelf.c:19360 -#: readelf.c:19370 +#: readelf.c:19701 readelf.c:19729 readelf.c:19748 readelf.c:19835 +#: readelf.c:19845 msgid "Initial" msgstr "" -#: readelf.c:19233 +#: readelf.c:19703 #, c-format msgid " Lazy resolver\n" msgstr "" -#: readelf.c:19248 +#: readelf.c:19718 #, c-format msgid " Module pointer (GNU extension)\n" msgstr "" -#: readelf.c:19274 +#: readelf.c:19744 #, c-format msgid " Global entries:\n" msgstr "" -#: readelf.c:19279 readelf.c:19371 +#: readelf.c:19749 readelf.c:19846 msgid "Sym.Val." msgstr "" #. Note for translators: "Ndx" = abbreviated form of "Index". -#: readelf.c:19282 readelf.c:19371 +#: readelf.c:19752 readelf.c:19846 msgid "Ndx" msgstr "" -#: readelf.c:19282 readelf.c:19371 +#: readelf.c:19752 readelf.c:19846 msgid "Name" msgstr "" -#: readelf.c:19292 +#: readelf.c:19762 #, c-format msgid "<no dynamic symbols>" msgstr "" -#: readelf.c:19309 +#: readelf.c:19784 #, c-format msgid "<symbol index %zu exceeds number of dynamic symbols>" msgstr "" -#: readelf.c:19350 +#: readelf.c:19825 msgid "Procedure Linkage Table data" msgstr "" -#: readelf.c:19359 +#: readelf.c:19834 #, c-format msgid " %*s %*s Purpose\n" msgstr "" -#: readelf.c:19362 +#: readelf.c:19837 #, c-format msgid " PLT lazy resolver\n" msgstr "" -#: readelf.c:19364 +#: readelf.c:19839 #, c-format msgid " Module pointer\n" msgstr "" -#: readelf.c:19367 +#: readelf.c:19842 #, c-format msgid " Entries:\n" msgstr "" -#: readelf.c:19381 +#: readelf.c:19856 #, c-format msgid "<corrupt symbol index: %<PRIu64>>" msgstr "" -#: readelf.c:19420 +#: readelf.c:19895 msgid "NDS32 elf flags section" msgstr "" -#: readelf.c:19486 +#: readelf.c:19961 msgid "liblist string table" msgstr "" -#: readelf.c:19498 +#: readelf.c:19973 #, c-format msgid "" "\n" @@ -11567,469 +11573,473 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:19506 +#: readelf.c:19981 msgid " Library Time Stamp Checksum Version Flags" msgstr "" -#: readelf.c:19556 +#: readelf.c:20031 msgid "NT_AUXV (auxiliary vector)" msgstr "" -#: readelf.c:19558 +#: readelf.c:20033 msgid "NT_PRSTATUS (prstatus structure)" msgstr "" -#: readelf.c:19560 +#: readelf.c:20035 msgid "NT_FPREGSET (floating point registers)" msgstr "" -#: readelf.c:19562 +#: readelf.c:20037 msgid "NT_PRPSINFO (prpsinfo structure)" msgstr "" -#: readelf.c:19564 +#: readelf.c:20039 msgid "NT_TASKSTRUCT (task structure)" msgstr "" -#: readelf.c:19566 +#: readelf.c:20041 msgid "NT_GDB_TDESC (GDB XML target description)" msgstr "" -#: readelf.c:19568 +#: readelf.c:20043 msgid "NT_PRXFPREG (user_xfpregs structure)" msgstr "" -#: readelf.c:19570 +#: readelf.c:20045 msgid "NT_PPC_VMX (ppc Altivec registers)" msgstr "" -#: readelf.c:19572 +#: readelf.c:20047 msgid "NT_PPC_VSX (ppc VSX registers)" msgstr "" -#: readelf.c:19574 +#: readelf.c:20049 msgid "NT_PPC_TAR (ppc TAR register)" msgstr "" -#: readelf.c:19576 +#: readelf.c:20051 msgid "NT_PPC_PPR (ppc PPR register)" msgstr "" -#: readelf.c:19578 +#: readelf.c:20053 msgid "NT_PPC_DSCR (ppc DSCR register)" msgstr "" -#: readelf.c:19580 +#: readelf.c:20055 msgid "NT_PPC_EBB (ppc EBB registers)" msgstr "" -#: readelf.c:19582 +#: readelf.c:20057 msgid "NT_PPC_PMU (ppc PMU registers)" msgstr "" -#: readelf.c:19584 +#: readelf.c:20059 msgid "NT_PPC_TM_CGPR (ppc checkpointed GPR registers)" msgstr "" -#: readelf.c:19586 +#: readelf.c:20061 msgid "NT_PPC_TM_CFPR (ppc checkpointed floating point registers)" msgstr "" -#: readelf.c:19588 +#: readelf.c:20063 msgid "NT_PPC_TM_CVMX (ppc checkpointed Altivec registers)" msgstr "" -#: readelf.c:19590 +#: readelf.c:20065 msgid "NT_PPC_TM_CVSX (ppc checkpointed VSX registers)" msgstr "" -#: readelf.c:19592 +#: readelf.c:20067 msgid "NT_PPC_TM_SPR (ppc TM special purpose registers)" msgstr "" -#: readelf.c:19594 +#: readelf.c:20069 msgid "NT_PPC_TM_CTAR (ppc checkpointed TAR register)" msgstr "" -#: readelf.c:19596 +#: readelf.c:20071 msgid "NT_PPC_TM_CPPR (ppc checkpointed PPR register)" msgstr "" -#: readelf.c:19598 +#: readelf.c:20073 msgid "NT_PPC_TM_CDSCR (ppc checkpointed DSCR register)" msgstr "" -#: readelf.c:19600 +#: readelf.c:20075 msgid "NT_386_TLS (x86 TLS information)" msgstr "" -#: readelf.c:19602 +#: readelf.c:20077 msgid "NT_386_IOPERM (x86 I/O permissions)" msgstr "" -#: readelf.c:19604 +#: readelf.c:20079 msgid "NT_X86_XSTATE (x86 XSAVE extended state)" msgstr "" -#: readelf.c:19606 +#: readelf.c:20081 msgid "NT_X86_CET (x86 CET state)" msgstr "" -#: readelf.c:19608 +#: readelf.c:20083 msgid "NT_S390_HIGH_GPRS (s390 upper register halves)" msgstr "" -#: readelf.c:19610 +#: readelf.c:20085 msgid "NT_S390_TIMER (s390 timer register)" msgstr "" -#: readelf.c:19612 +#: readelf.c:20087 msgid "NT_S390_TODCMP (s390 TOD comparator register)" msgstr "" -#: readelf.c:19614 +#: readelf.c:20089 msgid "NT_S390_TODPREG (s390 TOD programmable register)" msgstr "" -#: readelf.c:19616 +#: readelf.c:20091 msgid "NT_S390_CTRS (s390 control registers)" msgstr "" -#: readelf.c:19618 +#: readelf.c:20093 msgid "NT_S390_PREFIX (s390 prefix register)" msgstr "" -#: readelf.c:19620 +#: readelf.c:20095 msgid "NT_S390_LAST_BREAK (s390 last breaking event address)" msgstr "" -#: readelf.c:19622 +#: readelf.c:20097 msgid "NT_S390_SYSTEM_CALL (s390 system call restart data)" msgstr "" -#: readelf.c:19624 +#: readelf.c:20099 msgid "NT_S390_TDB (s390 transaction diagnostic block)" msgstr "" -#: readelf.c:19626 +#: readelf.c:20101 msgid "NT_S390_VXRS_LOW (s390 vector registers 0-15 upper half)" msgstr "" -#: readelf.c:19628 +#: readelf.c:20103 msgid "NT_S390_VXRS_HIGH (s390 vector registers 16-31)" msgstr "" -#: readelf.c:19630 +#: readelf.c:20105 msgid "NT_S390_GS_CB (s390 guarded-storage registers)" msgstr "" -#: readelf.c:19632 +#: readelf.c:20107 msgid "NT_S390_GS_BC (s390 guarded-storage broadcast control)" msgstr "" -#: readelf.c:19634 +#: readelf.c:20109 msgid "NT_ARM_VFP (arm VFP registers)" msgstr "" -#: readelf.c:19636 +#: readelf.c:20111 msgid "NT_ARM_TLS (AArch TLS registers)" msgstr "" -#: readelf.c:19638 +#: readelf.c:20113 msgid "NT_ARM_HW_BREAK (AArch hardware breakpoint registers)" msgstr "" -#: readelf.c:19640 +#: readelf.c:20115 msgid "NT_ARM_HW_WATCH (AArch hardware watchpoint registers)" msgstr "" -#: readelf.c:19642 +#: readelf.c:20117 msgid "NT_ARM_SYSTEM_CALL (AArch system call number)" msgstr "" -#: readelf.c:19644 +#: readelf.c:20119 msgid "NT_ARM_SVE (AArch SVE registers)" msgstr "" -#: readelf.c:19646 +#: readelf.c:20121 msgid "NT_ARM_PAC_MASK (AArch pointer authentication code masks)" msgstr "" -#: readelf.c:19648 +#: readelf.c:20123 msgid "NT_ARM_PACA_KEYS (ARM pointer authentication address keys)" msgstr "" -#: readelf.c:19650 +#: readelf.c:20125 msgid "NT_ARM_PACG_KEYS (ARM pointer authentication generic keys)" msgstr "" -#: readelf.c:19652 +#: readelf.c:20127 msgid "NT_ARM_TAGGED_ADDR_CTRL (AArch tagged address control)" msgstr "" -#: readelf.c:19654 +#: readelf.c:20129 msgid "NT_ARM_SSVE (AArch64 streaming SVE registers)" msgstr "" -#: readelf.c:19656 +#: readelf.c:20131 msgid "NT_ARM_ZA (AArch64 SME ZA register)" msgstr "" -#: readelf.c:19658 +#: readelf.c:20133 +msgid "NT_ARM_ZT (AArch64 SME2 ZT registers)" +msgstr "" + +#: readelf.c:20135 msgid "NT_ARM_PAC_ENABLED_KEYS (AArch64 pointer authentication enabled keys)" msgstr "" -#: readelf.c:19660 +#: readelf.c:20137 msgid "NT_ARC_V2 (ARC HS accumulator/extra registers)" msgstr "" -#: readelf.c:19662 +#: readelf.c:20139 msgid "NT_RISCV_CSR (RISC-V control and status registers)" msgstr "" -#: readelf.c:19664 +#: readelf.c:20141 msgid "NT_PSTATUS (pstatus structure)" msgstr "" -#: readelf.c:19666 +#: readelf.c:20143 msgid "NT_FPREGS (floating point registers)" msgstr "" -#: readelf.c:19668 +#: readelf.c:20145 msgid "NT_PSINFO (psinfo structure)" msgstr "" -#: readelf.c:19670 +#: readelf.c:20147 msgid "NT_LWPSTATUS (lwpstatus_t structure)" msgstr "" -#: readelf.c:19672 +#: readelf.c:20149 msgid "NT_LWPSINFO (lwpsinfo_t structure)" msgstr "" -#: readelf.c:19674 +#: readelf.c:20151 msgid "NT_WIN32PSTATUS (win32_pstatus structure)" msgstr "" -#: readelf.c:19676 +#: readelf.c:20153 msgid "NT_SIGINFO (siginfo_t data)" msgstr "" -#: readelf.c:19678 +#: readelf.c:20155 msgid "NT_FILE (mapped files)" msgstr "" -#: readelf.c:19686 +#: readelf.c:20163 msgid "NT_VERSION (version)" msgstr "" -#: readelf.c:19688 +#: readelf.c:20165 msgid "NT_ARCH (architecture)" msgstr "" -#: readelf.c:19690 +#: readelf.c:20167 msgid "OPEN" msgstr "" -#: readelf.c:19692 +#: readelf.c:20169 msgid "func" msgstr "" -#: readelf.c:19694 +#: readelf.c:20171 msgid "GO BUILDID" msgstr "" -#: readelf.c:19696 +#: readelf.c:20173 msgid "FDO_PACKAGING_METADATA" msgstr "" -#: readelf.c:19701 readelf.c:19818 readelf.c:20007 readelf.c:20575 -#: readelf.c:20745 readelf.c:20874 readelf.c:21002 +#: readelf.c:20178 readelf.c:20295 readelf.c:20484 readelf.c:21052 +#: readelf.c:21222 readelf.c:21351 readelf.c:21479 #, c-format msgid "Unknown note type: (0x%08x)" msgstr "" -#: readelf.c:19721 +#: readelf.c:20198 #, c-format msgid " Cannot decode 64-bit note in 32-bit build\n" msgstr "" -#: readelf.c:19728 +#: readelf.c:20205 msgid " Malformed note - too short for header\n" msgstr "" -#: readelf.c:19737 +#: readelf.c:20214 msgid " Malformed note - does not end with \\0\n" msgstr "" -#: readelf.c:19750 +#: readelf.c:20227 msgid " Malformed note - too short for supplied file count\n" msgstr "" -#: readelf.c:19754 +#: readelf.c:20231 #, c-format msgid " Page size: " msgstr "" -#: readelf.c:19758 +#: readelf.c:20235 #, c-format msgid " %*s%*s%*s\n" msgstr "" -#: readelf.c:19759 +#: readelf.c:20236 msgid "Start" msgstr "" -#: readelf.c:19760 +#: readelf.c:20237 msgid "End" msgstr "" -#: readelf.c:19761 +#: readelf.c:20238 msgid "Page Offset" msgstr "" -#: readelf.c:19769 +#: readelf.c:20246 msgid " Malformed note - filenames end too early\n" msgstr "" -#: readelf.c:19801 +#: readelf.c:20278 msgid "NT_GNU_ABI_TAG (ABI version tag)" msgstr "" -#: readelf.c:19803 +#: readelf.c:20280 msgid "NT_GNU_HWCAP (DSO-supplied software HWCAP info)" msgstr "" -#: readelf.c:19805 +#: readelf.c:20282 msgid "NT_GNU_BUILD_ID (unique build ID bitstring)" msgstr "" -#: readelf.c:19807 +#: readelf.c:20284 msgid "NT_GNU_GOLD_VERSION (gold version)" msgstr "" -#: readelf.c:19809 +#: readelf.c:20286 msgid "NT_GNU_PROPERTY_TYPE_0" msgstr "" -#: readelf.c:19811 +#: readelf.c:20288 msgid "NT_GNU_BUILD_ATTRIBUTE_OPEN" msgstr "" -#: readelf.c:19813 +#: readelf.c:20290 msgid "NT_GNU_BUILD_ATTRIBUTE_FUNC" msgstr "" -#: readelf.c:19902 readelf.c:20049 readelf.c:20086 +#: readelf.c:20379 readelf.c:20526 readelf.c:20563 #, c-format msgid "<None>" msgstr "" -#: readelf.c:20003 +#: readelf.c:20480 msgid "NT_AMDGPU_METADATA (code object metadata)" msgstr "" -#: readelf.c:20198 +#: readelf.c:20675 #, c-format msgid " Properties: " msgstr "" -#: readelf.c:20202 +#: readelf.c:20679 #, c-format msgid "<corrupt GNU_PROPERTY_TYPE, size = %#lx>\n" msgstr "" -#: readelf.c:20214 +#: readelf.c:20691 #, c-format msgid "<corrupt descsz: %#lx>\n" msgstr "" -#: readelf.c:20225 +#: readelf.c:20702 #, c-format msgid "<corrupt type (%#x) datasz: %#x>\n" msgstr "" -#: readelf.c:20247 readelf.c:20301 readelf.c:20323 +#: readelf.c:20724 readelf.c:20778 readelf.c:20800 #, c-format msgid "x86 ISA used: <corrupt length: %#x> " msgstr "" -#: readelf.c:20258 readelf.c:20312 readelf.c:20334 +#: readelf.c:20735 readelf.c:20789 readelf.c:20811 #, c-format msgid "x86 ISA needed: <corrupt length: %#x> " msgstr "" -#: readelf.c:20269 +#: readelf.c:20746 #, c-format msgid "x86 feature: <corrupt length: %#x> " msgstr "" -#: readelf.c:20280 +#: readelf.c:20757 #, c-format msgid "x86 feature used: <corrupt length: %#x> " msgstr "" -#: readelf.c:20291 +#: readelf.c:20768 #, c-format msgid "x86 feature needed: <corrupt length: %#x> " msgstr "" -#: readelf.c:20353 readelf.c:20367 readelf.c:20375 readelf.c:20406 +#: readelf.c:20830 readelf.c:20844 readelf.c:20852 readelf.c:20883 #, c-format msgid "<corrupt length: %#x> " msgstr "" -#: readelf.c:20365 +#: readelf.c:20842 #, c-format msgid "stack size: " msgstr "" -#: readelf.c:20388 +#: readelf.c:20865 #, c-format msgid "1_needed: <corrupt length: %#x> " msgstr "" -#: readelf.c:20402 +#: readelf.c:20879 #, c-format msgid "UINT32_AND (%#x): " msgstr "" -#: readelf.c:20404 +#: readelf.c:20881 #, c-format msgid "UINT32_OR (%#x): " msgstr "" -#: readelf.c:20416 +#: readelf.c:20893 #, c-format msgid "<unknown type %#x data: " msgstr "" -#: readelf.c:20418 +#: readelf.c:20895 #, c-format msgid "<processor-specific type %#x data: " msgstr "" -#: readelf.c:20420 +#: readelf.c:20897 #, c-format msgid "<application-specific type %#x data: " msgstr "" -#: readelf.c:20449 +#: readelf.c:20926 #, c-format msgid " Build ID: " msgstr "" -#: readelf.c:20464 +#: readelf.c:20941 #, c-format msgid " <corrupt GNU_ABI_TAG>\n" msgstr "" -#: readelf.c:20501 +#: readelf.c:20978 #, c-format msgid " OS: %s, ABI: %d.%d.%d\n" msgstr "" -#: readelf.c:20510 +#: readelf.c:20987 #, c-format msgid " Version: " msgstr "" @@ -12039,588 +12049,588 @@ msgstr "" #. is a series of entries, where each entry is a single byte followed #. by a nul terminated string. The byte gives the bit number to test #. if enabled in the bitmask. -#: readelf.c:20526 +#: readelf.c:21003 #, c-format msgid " Hardware Capabilities: " msgstr "" -#: readelf.c:20529 +#: readelf.c:21006 msgid "<corrupt GNU_HWCAP>\n" msgstr "" -#: readelf.c:20534 +#: readelf.c:21011 #, c-format msgid "num entries: %d, enabled mask: %x\n" msgstr "" -#: readelf.c:20550 +#: readelf.c:21027 #, c-format msgid " Description data: " msgstr "" -#: readelf.c:20568 +#: readelf.c:21045 msgid "Alignment of 8-byte objects" msgstr "" -#: readelf.c:20569 +#: readelf.c:21046 msgid "Sizeof double and long double" msgstr "" -#: readelf.c:20570 +#: readelf.c:21047 msgid "Type of FPU support needed" msgstr "" -#: readelf.c:20571 +#: readelf.c:21048 msgid "Use of SIMD instructions" msgstr "" -#: readelf.c:20572 +#: readelf.c:21049 msgid "Use of cache" msgstr "" -#: readelf.c:20573 +#: readelf.c:21050 msgid "Use of MMU" msgstr "" -#: readelf.c:20609 +#: readelf.c:21086 #, c-format msgid "4-bytes\n" msgstr "" -#: readelf.c:20610 +#: readelf.c:21087 #, c-format msgid "8-bytes\n" msgstr "" -#: readelf.c:20617 +#: readelf.c:21094 #, c-format msgid "FPU-2.0\n" msgstr "" -#: readelf.c:20618 +#: readelf.c:21095 #, c-format msgid "FPU-3.0\n" msgstr "" -#: readelf.c:20627 +#: readelf.c:21104 #, c-format msgid "yes\n" msgstr "" -#: readelf.c:20637 +#: readelf.c:21114 #, c-format msgid "unknown value: %x\n" msgstr "" -#: readelf.c:20693 +#: readelf.c:21170 msgid "NT_THRMISC (thrmisc structure)" msgstr "" -#: readelf.c:20695 +#: readelf.c:21172 msgid "NT_PROCSTAT_PROC (proc data)" msgstr "" -#: readelf.c:20697 +#: readelf.c:21174 msgid "NT_PROCSTAT_FILES (files data)" msgstr "" -#: readelf.c:20699 +#: readelf.c:21176 msgid "NT_PROCSTAT_VMMAP (vmmap data)" msgstr "" -#: readelf.c:20701 +#: readelf.c:21178 msgid "NT_PROCSTAT_GROUPS (groups data)" msgstr "" -#: readelf.c:20703 +#: readelf.c:21180 msgid "NT_PROCSTAT_UMASK (umask data)" msgstr "" -#: readelf.c:20705 +#: readelf.c:21182 msgid "NT_PROCSTAT_RLIMIT (rlimit data)" msgstr "" -#: readelf.c:20707 +#: readelf.c:21184 msgid "NT_PROCSTAT_OSREL (osreldate data)" msgstr "" -#: readelf.c:20709 +#: readelf.c:21186 msgid "NT_PROCSTAT_PSSTRINGS (ps_strings data)" msgstr "" -#: readelf.c:20711 +#: readelf.c:21188 msgid "NT_PROCSTAT_AUXV (auxv data)" msgstr "" -#: readelf.c:20713 +#: readelf.c:21190 msgid "NT_PTLWPINFO (ptrace_lwpinfo structure)" msgstr "" -#: readelf.c:20715 +#: readelf.c:21192 msgid "NT_X86_SEGBASES (x86 segment base registers)" msgstr "" #. NetBSD core "procinfo" structure. -#: readelf.c:20729 +#: readelf.c:21206 msgid "NetBSD procinfo structure" msgstr "" -#: readelf.c:20732 +#: readelf.c:21209 msgid "NetBSD ELF auxiliary vector data" msgstr "" -#: readelf.c:20735 +#: readelf.c:21212 msgid "PT_LWPSTATUS (ptrace_lwpstatus structure)" msgstr "" -#: readelf.c:20764 readelf.c:20781 readelf.c:20795 +#: readelf.c:21241 readelf.c:21258 readelf.c:21272 msgid "PT_GETREGS (reg structure)" msgstr "" -#: readelf.c:20766 readelf.c:20783 readelf.c:20797 +#: readelf.c:21243 readelf.c:21260 readelf.c:21274 msgid "PT_GETFPREGS (fpreg structure)" msgstr "" -#: readelf.c:20779 +#: readelf.c:21256 msgid "PT___GETREGS40 (old reg structure)" msgstr "" -#: readelf.c:20814 +#: readelf.c:21291 msgid "OpenBSD procinfo structure" msgstr "" -#: readelf.c:20816 +#: readelf.c:21293 msgid "OpenBSD ELF auxiliary vector data" msgstr "" -#: readelf.c:20818 +#: readelf.c:21295 msgid "OpenBSD regular registers" msgstr "" -#: readelf.c:20820 +#: readelf.c:21297 msgid "OpenBSD floating point registers" msgstr "" -#: readelf.c:20822 +#: readelf.c:21299 msgid "OpenBSD window cookie" msgstr "" -#: readelf.c:20834 +#: readelf.c:21311 msgid "QNX debug fullpath" msgstr "" -#: readelf.c:20836 +#: readelf.c:21313 msgid "QNX debug relocation" msgstr "" -#: readelf.c:20838 +#: readelf.c:21315 msgid "QNX stack" msgstr "" -#: readelf.c:20840 +#: readelf.c:21317 msgid "QNX generator" msgstr "" -#: readelf.c:20842 +#: readelf.c:21319 msgid "QNX default library" msgstr "" -#: readelf.c:20844 +#: readelf.c:21321 msgid "QNX core sysinfo" msgstr "" -#: readelf.c:20846 +#: readelf.c:21323 msgid "QNX core info" msgstr "" -#: readelf.c:20848 +#: readelf.c:21325 msgid "QNX core status" msgstr "" -#: readelf.c:20850 +#: readelf.c:21327 msgid "QNX general registers" msgstr "" -#: readelf.c:20852 +#: readelf.c:21329 msgid "QNX floating point registers" msgstr "" -#: readelf.c:20854 +#: readelf.c:21331 msgid "QNX link map" msgstr "" -#: readelf.c:20868 +#: readelf.c:21345 msgid "NT_STAPSDT (SystemTap probe descriptors)" msgstr "" -#: readelf.c:20936 +#: readelf.c:21413 #, c-format msgid " Provider: %s\n" msgstr "" -#: readelf.c:20937 +#: readelf.c:21414 #, c-format msgid " Name: %s\n" msgstr "" -#: readelf.c:20938 +#: readelf.c:21415 #, c-format msgid " Location: " msgstr "" -#: readelf.c:20940 +#: readelf.c:21417 #, c-format msgid ", Base: " msgstr "" -#: readelf.c:20942 +#: readelf.c:21419 #, c-format msgid ", Semaphore: " msgstr "" -#: readelf.c:20945 +#: readelf.c:21422 #, c-format msgid " Arguments: %s\n" msgstr "" -#: readelf.c:20950 +#: readelf.c:21427 #, c-format msgid " <corrupt - note is too small>\n" msgstr "" -#: readelf.c:20951 +#: readelf.c:21428 msgid "corrupt stapdt note - the data size is too small\n" msgstr "" -#: readelf.c:20960 +#: readelf.c:21437 #, c-format msgid " Packaging Metadata: %.*s\n" msgstr "" -#: readelf.c:20974 +#: readelf.c:21451 msgid "NT_VMS_MHD (module header)" msgstr "" -#: readelf.c:20976 +#: readelf.c:21453 msgid "NT_VMS_LNM (language name)" msgstr "" -#: readelf.c:20978 +#: readelf.c:21455 msgid "NT_VMS_SRC (source files)" msgstr "" -#: readelf.c:20982 +#: readelf.c:21459 msgid "NT_VMS_EIDC (consistency check)" msgstr "" -#: readelf.c:20984 +#: readelf.c:21461 msgid "NT_VMS_FPMODE (FP mode)" msgstr "" -#: readelf.c:20988 +#: readelf.c:21465 msgid "NT_VMS_IMGNAM (image name)" msgstr "" -#: readelf.c:20990 +#: readelf.c:21467 msgid "NT_VMS_IMGID (image id)" msgstr "" -#: readelf.c:20992 +#: readelf.c:21469 msgid "NT_VMS_LINKID (link id)" msgstr "" -#: readelf.c:20994 +#: readelf.c:21471 msgid "NT_VMS_IMGBID (build id)" msgstr "" -#: readelf.c:20996 +#: readelf.c:21473 msgid "NT_VMS_GSTNAM (sym table name)" msgstr "" -#: readelf.c:21023 +#: readelf.c:21500 #, c-format msgid " Creation date : %.17s\n" msgstr "" -#: readelf.c:21024 +#: readelf.c:21501 #, c-format msgid " Last patch date: %.17s\n" msgstr "" -#: readelf.c:21027 +#: readelf.c:21504 #, c-format msgid " Module name : %s\n" msgstr "" -#: readelf.c:21029 +#: readelf.c:21506 #, c-format msgid " Module version : %s\n" msgstr "" -#: readelf.c:21031 readelf.c:21036 +#: readelf.c:21508 readelf.c:21513 #, c-format msgid " Module version : <missing>\n" msgstr "" -#: readelf.c:21035 +#: readelf.c:21512 #, c-format msgid " Module name : <missing>\n" msgstr "" -#: readelf.c:21041 +#: readelf.c:21518 #, c-format msgid " Language: %.*s\n" msgstr "" -#: readelf.c:21045 +#: readelf.c:21522 #, c-format msgid " Floating Point mode: " msgstr "" -#: readelf.c:21055 +#: readelf.c:21532 #, c-format msgid " Link time: " msgstr "" -#: readelf.c:21065 +#: readelf.c:21542 #, c-format msgid " Patch time: " msgstr "" -#: readelf.c:21078 +#: readelf.c:21555 #, c-format msgid " Major id: %u, minor id: %u\n" msgstr "" -#: readelf.c:21081 +#: readelf.c:21558 #, c-format msgid " Last modified : " msgstr "" -#: readelf.c:21083 +#: readelf.c:21560 #, c-format msgid "" "\n" " Link flags : " msgstr "" -#: readelf.c:21086 +#: readelf.c:21563 #, c-format msgid " Header flags: 0x%08x\n" msgstr "" -#: readelf.c:21088 +#: readelf.c:21565 #, c-format msgid " Image id : %.*s\n" msgstr "" -#: readelf.c:21092 +#: readelf.c:21569 #, c-format msgid " Image name: %.*s\n" msgstr "" -#: readelf.c:21096 +#: readelf.c:21573 #, c-format msgid " Global symbol table name: %.*s\n" msgstr "" -#: readelf.c:21100 +#: readelf.c:21577 #, c-format msgid " Image id: %.*s\n" msgstr "" -#: readelf.c:21104 +#: readelf.c:21581 #, c-format msgid " Linker id: %.*s\n" msgstr "" -#: readelf.c:21114 readelf.c:21807 +#: readelf.c:21591 readelf.c:22284 #, c-format msgid " <corrupt - data size is too small>\n" msgstr "" -#: readelf.c:21115 +#: readelf.c:21592 msgid "corrupt IA64 note: data size is too small\n" msgstr "" -#: readelf.c:21282 readelf.c:21291 +#: readelf.c:21759 readelf.c:21768 #, c-format msgid " Applies to region from %#<PRIx64> to %#<PRIx64>\n" msgstr "" -#: readelf.c:21285 readelf.c:21294 +#: readelf.c:21762 readelf.c:21771 #, c-format msgid " Applies to region from %#<PRIx64>\n" msgstr "" -#: readelf.c:21315 +#: readelf.c:21792 #, c-format msgid " <invalid description size: %lx>\n" msgstr "" -#: readelf.c:21316 +#: readelf.c:21793 #, c-format msgid " <invalid descsz>" msgstr "" -#: readelf.c:21342 +#: readelf.c:21819 #, c-format msgid "Gap in build notes detected from %#<PRIx64> to %#<PRIx64>\n" msgstr "" -#: readelf.c:21346 readelf.c:21357 +#: readelf.c:21823 readelf.c:21834 #, c-format msgid " Applies to region from %#<PRIx64>" msgstr "" -#: readelf.c:21351 readelf.c:21362 +#: readelf.c:21828 readelf.c:21839 #, c-format msgid " to %#<PRIx64>" msgstr "" -#: readelf.c:21368 +#: readelf.c:21845 #, c-format msgid " (%s)" msgstr "" -#: readelf.c:21389 readelf.c:21404 +#: readelf.c:21866 readelf.c:21881 #, c-format msgid "corrupt name field in GNU build attribute note: size = %ld\n" msgstr "" -#: readelf.c:21390 readelf.c:21405 +#: readelf.c:21867 readelf.c:21882 msgid " <corrupt name>" msgstr "" -#: readelf.c:21424 +#: readelf.c:21901 #, c-format msgid "unrecognised attribute type in name field: %d\n" msgstr "" -#: readelf.c:21425 +#: readelf.c:21902 msgid "<unknown name type>" msgstr "" -#: readelf.c:21435 +#: readelf.c:21912 msgid "<version>" msgstr "" -#: readelf.c:21440 +#: readelf.c:21917 msgid "<stack prot>" msgstr "" -#: readelf.c:21445 +#: readelf.c:21922 msgid "<relro>" msgstr "" -#: readelf.c:21450 +#: readelf.c:21927 msgid "<stack size>" msgstr "" -#: readelf.c:21455 +#: readelf.c:21932 msgid "<tool>" msgstr "" -#: readelf.c:21460 +#: readelf.c:21937 msgid "<ABI>" msgstr "" -#: readelf.c:21465 +#: readelf.c:21942 msgid "<PIC>" msgstr "" -#: readelf.c:21470 +#: readelf.c:21947 msgid "<short enum>" msgstr "" -#: readelf.c:21489 +#: readelf.c:21966 #, c-format msgid "unrecognised byte in name field: %d\n" msgstr "" -#: readelf.c:21490 +#: readelf.c:21967 #, c-format msgid "<unknown:_%d>" msgstr "" -#: readelf.c:21502 +#: readelf.c:21979 #, c-format msgid "attribute does not have an expected type (%c)\n" msgstr "" -#: readelf.c:21506 +#: readelf.c:21983 #, c-format msgid "corrupt name field: namesz: %lu but parsing gets to %td\n" msgstr "" -#: readelf.c:21533 +#: readelf.c:22010 #, c-format msgid "corrupt numeric name field: too many bytes in the value: %x\n" msgstr "" -#: readelf.c:21622 +#: readelf.c:22099 #, c-format msgid " description data: " msgstr "" -#: readelf.c:21770 +#: readelf.c:22247 msgid "failed to unpack msgpack contents in NT_AMDGPU_METADATA note" msgstr "" -#: readelf.c:21793 +#: readelf.c:22270 #, c-format msgid " Stack Size: 0x%<PRIx32>\n" msgstr "" -#: readelf.c:21795 +#: readelf.c:22272 #, c-format msgid " Stack allocated: %<PRIx32>\n" msgstr "" -#: readelf.c:21797 +#: readelf.c:22274 #, c-format msgid " Executable: %s\n" msgstr "" -#: readelf.c:21808 +#: readelf.c:22285 msgid "corrupt QNX note: data size is too small\n" msgstr "" -#: readelf.c:21953 +#: readelf.c:22430 msgid "notes" msgstr "" -#: readelf.c:21965 +#: readelf.c:22442 #, c-format msgid "Displaying notes found in: %s\n" msgstr "" -#: readelf.c:21967 +#: readelf.c:22444 #, c-format msgid "" "Displaying notes found at file offset 0x%08<PRIx64> with length 0x%" "08<PRIx64>:\n" msgstr "" -#: readelf.c:21980 +#: readelf.c:22457 #, c-format msgid "Corrupt note: alignment %<PRId64>, expecting 4 or 8\n" msgstr "" -#: readelf.c:21986 +#: readelf.c:22463 #, c-format msgid " %-20s %-10s\tDescription\n" msgstr "" -#: readelf.c:21986 +#: readelf.c:22463 msgid "Owner" msgstr "" -#: readelf.c:21986 +#: readelf.c:22463 msgid "Data size" msgstr "" -#: readelf.c:22004 readelf.c:22033 +#: readelf.c:22481 readelf.c:22510 #, c-format msgid "Corrupt note: only %zd byte remains, not enough for a full note\n" msgid_plural "" @@ -12628,25 +12638,25 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:22061 +#: readelf.c:22538 #, c-format msgid "note with invalid namesz and/or descsz found at offset %#tx\n" msgstr "" -#: readelf.c:22063 +#: readelf.c:22540 #, c-format msgid " type: %#lx, namesize: %#lx, descsize: %#lx, alignment: %u\n" msgstr "" -#: readelf.c:22081 +#: readelf.c:22558 msgid "Out of memory allocating space for inote name\n" msgstr "" -#: readelf.c:22139 +#: readelf.c:22616 msgid "v850 notes" msgstr "" -#: readelf.c:22146 +#: readelf.c:22623 #, c-format msgid "" "\n" @@ -12654,76 +12664,76 @@ msgid "" "length %#<PRIx64>:\n" msgstr "" -#: readelf.c:22164 +#: readelf.c:22641 #, c-format msgid "Corrupt note: name size is too big: %lx\n" msgstr "" -#: readelf.c:22174 +#: readelf.c:22651 #, c-format msgid "corrupt descsz found in note at offset %#tx\n" msgstr "" -#: readelf.c:22176 readelf.c:22189 +#: readelf.c:22653 readelf.c:22666 #, c-format msgid " type: %#lx, namesize: %#lx, descsize: %#lx\n" msgstr "" -#: readelf.c:22187 +#: readelf.c:22664 #, c-format msgid "corrupt namesz found in note at offset %#zx\n" msgstr "" -#: readelf.c:22263 +#: readelf.c:22740 #, c-format msgid "No notes found in linked file '%s'.\n" msgstr "" -#: readelf.c:22266 +#: readelf.c:22743 #, c-format msgid "No notes found file.\n" msgstr "" -#: readelf.c:22275 +#: readelf.c:22752 #, c-format msgid " Unknown GNU attribute: %s\n" msgstr "" -#: readelf.c:22602 +#: readelf.c:23081 #, c-format msgid "%s: Failed to read file header\n" msgstr "" -#: readelf.c:22617 +#: readelf.c:23096 #, c-format msgid "" "\n" "File: %s\n" msgstr "" -#: readelf.c:22778 +#: readelf.c:23257 #, c-format msgid "%s: unable to dump the index as none was found\n" msgstr "" -#: readelf.c:22785 +#: readelf.c:23264 #, c-format msgid "" "Index of archive %s: (%<PRIu64> entries, %#<PRIx64> bytes in the symbol " "table)\n" msgstr "" -#: readelf.c:22809 +#: readelf.c:23288 #, c-format msgid "Contents of binary %s at offset " msgstr "" -#: readelf.c:22821 +#: readelf.c:23300 #, c-format msgid "%s: end of the symbol table reached before the end of the index\n" msgstr "" -#: readelf.c:22840 +#: readelf.c:23319 #, c-format msgid "" "%s: %<PRId64> byte remains in the symbol table, but without corresponding " @@ -12734,36 +12744,36 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: readelf.c:22853 +#: readelf.c:23332 #, c-format msgid "%s: failed to seek back to start of object files in the archive\n" msgstr "" -#: readelf.c:22945 readelf.c:23064 +#: readelf.c:23424 readelf.c:23543 #, c-format msgid "Input file '%s' is not readable.\n" msgstr "" -#: readelf.c:22973 +#: readelf.c:23452 #, c-format msgid "%s: contains corrupt thin archive: %s\n" msgstr "" -#: readelf.c:22991 +#: readelf.c:23470 #, c-format msgid "%s: failed to seek to archive member.\n" msgstr "" -#: readelf.c:23056 +#: readelf.c:23535 msgid "Out of memory allocating file data structure\n" msgstr "" -#: readelf.c:23093 +#: readelf.c:23572 #, c-format msgid "File %s is not an archive so its index cannot be displayed.\n" msgstr "" -#: readelf.c:23164 +#: readelf.c:23643 msgid "Nothing to do.\n" msgstr "" @@ -12884,7 +12894,7 @@ msgstr "" msgid "group cursor header" msgstr "" -#: resbin.c:798 resrc.c:1352 +#: resbin.c:798 resrc.c:1346 #, c-format msgid "unexpected group cursor type %d" msgstr "" @@ -12897,7 +12907,7 @@ msgstr "" msgid "group icon header" msgstr "" -#: resbin.c:853 resrc.c:1299 +#: resbin.c:853 resrc.c:1293 #, c-format msgid "unexpected group icon type %d" msgstr "" @@ -13117,59 +13127,59 @@ msgstr "" msgid "Using `%s'\n" msgstr "" -#: resrc.c:605 +#: resrc.c:599 msgid "preprocessing failed." msgstr "" -#: resrc.c:636 +#: resrc.c:630 #, c-format msgid "%s: unexpected EOF" msgstr "" -#: resrc.c:685 +#: resrc.c:679 #, c-format msgid "%s: read of %lu returned %lu" msgstr "" -#: resrc.c:724 resrc.c:1499 +#: resrc.c:718 resrc.c:1493 #, c-format msgid "stat failed on bitmap file `%s': %s" msgstr "" -#: resrc.c:775 +#: resrc.c:769 #, c-format msgid "cursor file `%s' does not contain cursor data" msgstr "" -#: resrc.c:807 resrc.c:1207 +#: resrc.c:801 resrc.c:1201 #, c-format msgid "%s: fseek to %lu failed: %s" msgstr "" -#: resrc.c:933 +#: resrc.c:927 msgid "help ID requires DIALOGEX" msgstr "" -#: resrc.c:935 +#: resrc.c:929 msgid "control data requires DIALOGEX" msgstr "" -#: resrc.c:963 +#: resrc.c:957 #, c-format msgid "stat failed on font file `%s': %s" msgstr "" -#: resrc.c:1176 +#: resrc.c:1170 #, c-format msgid "icon file `%s' does not contain icon data" msgstr "" -#: resrc.c:1725 resrc.c:1760 +#: resrc.c:1719 resrc.c:1754 #, c-format msgid "stat failed on file `%s': %s" msgstr "" -#: resrc.c:1959 +#: resrc.c:1953 #, c-format msgid "can't open `%s' for output: %s" msgstr "" @@ -13710,17 +13720,17 @@ msgstr "" msgid "try to add a ill language." msgstr "" -#: windmc.c:1113 +#: windmc.c:1115 #, c-format msgid "unable to open file `%s' for input.\n" msgstr "" -#: windmc.c:1121 +#: windmc.c:1123 #, c-format msgid "unable to read contents of %s" msgstr "" -#: windmc.c:1133 +#: windmc.c:1135 msgid "input file does not seems to be UFT16.\n" msgstr "" @@ -13833,7 +13843,7 @@ msgstr "" msgid "no resources" msgstr "" -#: wrstabs.c:336 wrstabs.c:1907 +#: wrstabs.c:336 wrstabs.c:1909 #, c-format msgid "string_hash_lookup failed: %s" msgstr "" diff --git a/config/ChangeLog b/config/ChangeLog index d14ec0f..bb82cc8 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,11 @@ +2023-11-15 Arsen Arsenović <arsen@aarsen.me> + + * intlmacosx.m4: Import from gettext-0.22 (serial 8). + * gettext.m4: Sync with gettext-0.22 (serial 77). + * gettext-sister.m4 (ZW_GNU_GETTEXT_SISTER_DIR): Load gettexts + uninstalled-config.sh, or call AM_GNU_GETTEXT if missing. + * iconv.m4: Sync with gettext-0.22 (serial 26). + 2022-12-31 Nick Clifton <nickc@redhat.com> * 2.40 branch created. diff --git a/config/gettext-sister.m4 b/config/gettext-sister.m4 index e8e6b66..5bb385f 100644 --- a/config/gettext-sister.m4 +++ b/config/gettext-sister.m4 @@ -10,19 +10,30 @@ # the necessary substitutions and definitions for this directory. AC_DEFUN([ZW_GNU_GETTEXT_SISTER_DIR], -[# If we haven't got the data from the intl directory, -# assume NLS is disabled. -USE_NLS=no AC_SUBST(USE_NLS) -LIBINTL= AC_SUBST(LIBINTL) -LIBINTL_DEP= AC_SUBST(LIBINTL_DEP) -INCINTL= AC_SUBST(INCINTL) -XGETTEXT= AC_SUBST(XGETTEXT) -GMSGFMT= AC_SUBST(GMSGFMT) -POSUB= AC_SUBST(POSUB) - -if test -f ifelse([$1],,[../intl],[$1])/config.intl; then - . ifelse([$1],,[../intl],[$1])/config.intl +[ +m4_pushdef([gettext_builddir], + m4_default([$1], [../gettext])) +m4_pushdef([gettext_cfg], + gettext_builddir[/uninstalled-config.sh]) +if test -f gettext_cfg; then + relative_builddir='[$(top_builddir)/]gettext_builddir' + . gettext_cfg +else + # The sister gettext directory doesn't exist and won't collect information on + # using gettext for us. Call a bundled AM_GNU_GETTEXT. + AM_GNU_GETTEXT([external]) fi +m4_popdef([gettext_cfg]) +m4_popdef([gettext_builddir]) + +AC_SUBST([USE_NLS]) +AC_SUBST([LIBINTL]) +AC_SUBST([LIBINTL_DEP]) +AC_SUBST([INCINTL]) +AC_SUBST([XGETTEXT]) +AC_SUBST([GMSGFMT]) +AC_SUBST([POSUB]) + AC_MSG_CHECKING([whether NLS is requested]) if test x"$USE_NLS" != xyes; then AC_MSG_RESULT(no) diff --git a/config/gettext.m4 b/config/gettext.m4 index 5b42bb1..f449240 100644 --- a/config/gettext.m4 +++ b/config/gettext.m4 @@ -1,43 +1,39 @@ -# gettext.m4 serial 20 (gettext-0.12) -dnl Copyright (C) 1995-2003 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 -dnl Public License, this file may be distributed as part of a program -dnl that contains a configuration script generated by Autoconf, under -dnl the same distribution terms as the rest of that program. +# gettext.m4 serial 72 (gettext-0.21.1) +dnl Copyright (C) 1995-2014, 2016, 2018-2020 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. dnl -dnl This file can can be used in projects which are not available under -dnl the GNU General Public License or the GNU Library General Public +dnl This file can be used in projects which are not available under +dnl the GNU General Public License or the GNU Lesser General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered -dnl by the GNU Library General Public License, and the rest of the GNU -dnl gettext package package is covered by the GNU General Public License. +dnl by the GNU Lesser General Public License, and the rest of the GNU +dnl gettext package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. -dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. +dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006, 2008-2010. dnl Macro to add for using GNU gettext. dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). -dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The -dnl default (if it is not specified or empty) is 'no-libtool'. -dnl INTLSYMBOL should be 'external' for packages with no intl directory, -dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. +dnl INTLSYMBOL must be one of 'external', 'use-libtool'. +dnl INTLSYMBOL should be 'external' for packages other than GNU gettext, and +dnl 'use-libtool' for the packages 'gettext-runtime' and 'gettext-tools'. dnl If INTLSYMBOL is 'use-libtool', then a libtool library dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, dnl depending on --{enable,disable}-{shared,static} and on the presence of -dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library -dnl $(top_builddir)/intl/libintl.a will be created. +dnl AM-DISABLE-SHARED). dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext dnl implementations (in libc or libintl) without the ngettext() function dnl will be ignored. If NEEDSYMBOL is specified and is dnl 'need-formatstring-macros', then GNU gettext implementations that don't dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored. dnl INTLDIR is used to find the intl libraries. If empty, -dnl the value `$(top_builddir)/intl/' is used. +dnl the value '$(top_builddir)/intl/' is used. dnl dnl The result of the configuration is one of three cases: dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled @@ -59,17 +55,22 @@ dnl AC_DEFUN([AM_GNU_GETTEXT], [ dnl Argument checking. - ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , + m4_if([$1], [], , [m4_if([$1], [external], , [m4_if([$1], [use-libtool], , [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT -])])])])]) - ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , +])])])]) + m4_if(m4_if([$1], [], [old])[]m4_if([$1], [no-libtool], [old]), [old], + [errprint([ERROR: Use of AM_GNU_GETTEXT without [external] argument is no longer supported. +])]) + m4_if([$2], [], , [m4_if([$2], [need-ngettext], , [m4_if([$2], [need-formatstring-macros], , [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT ])])])]) - define(gt_included_intl, ifelse([$1], [external], [no], [yes])) - define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], [])) + define([gt_included_intl], + m4_if([$1], [external], [no], [yes])) + gt_NEEDS_INIT + AM_GNU_GETTEXT_NEED([$2]) AC_REQUIRE([AM_PO_SUBDIRS])dnl - ifelse(gt_included_intl, yes, [ + m4_if(gt_included_intl, yes, [ AC_REQUIRE([AM_INTL_SUBDIR])dnl ]) @@ -80,22 +81,24 @@ AC_DEFUN([AM_GNU_GETTEXT], dnl Sometimes libintl requires libiconv, so first search for libiconv. dnl Ideally we would do this search only after the dnl if test "$USE_NLS" = "yes"; then - dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then - dnl tests. But if configure.ac invokes AM_ICONV after AM_GNU_GETTEXT + dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT dnl the configure script would need to contain the same shell code dnl again, outside any 'if'. There are two solutions: dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. - dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not - dnl documented, we avoid it. - ifelse(gt_included_intl, yes, , [ + dnl Since AC_PROVIDE_IFELSE is not documented, we avoid it. + m4_if(gt_included_intl, yes, , [ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ]) + dnl Sometimes, on Mac OS X, libintl requires linking with CoreFoundation. + gt_INTL_MACOSX + dnl Set USE_NLS. - AM_NLS + AC_REQUIRE([AM_NLS]) - ifelse(gt_included_intl, yes, [ + m4_if(gt_included_intl, yes, [ BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no ]) @@ -103,16 +106,25 @@ AC_DEFUN([AM_GNU_GETTEXT], LTLIBINTL= POSUB= + dnl Add a version number to the cache macros. + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + dnl If we use NLS figure out what method if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no - ifelse(gt_included_intl, yes, [ + m4_if(gt_included_intl, yes, [ AC_MSG_CHECKING([whether included gettext is requested]) - AC_ARG_WITH(included-gettext, + AC_ARG_WITH([included-gettext], [ --with-included-gettext use the GNU gettext library included here], nls_cv_force_use_gnu_gettext=$withval, nls_cv_force_use_gnu_gettext=no) - AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) + AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext]) nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then @@ -121,13 +133,29 @@ AC_DEFUN([AM_GNU_GETTEXT], dnl to use. If GNU gettext is available we use this. Else we have dnl to fall back to GNU NLS library. - dnl Add a version number to the cache macros. - define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1))) - define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc]) - define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl]) + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +changequote(,)dnl +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +changequote([,])dnl +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi - AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc, - [AC_TRY_LINK([#include <libintl.h> + AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], + [AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include <libintl.h> #ifndef __GNU_GETTEXT_SUPPORTED_REVISION extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; @@ -135,22 +163,18 @@ extern int *_nl_domain_bindings; #else #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 #endif -]ifelse([$2], [need-formatstring-macros], -[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION -#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) -#endif -changequote(,)dnl -typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; -changequote([,])dnl -], []), - [bindtextdomain ("", ""); -return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + __GNU_GETTEXT_SYMBOL_EXPRESSION], - gt_cv_func_gnugettext_libc=yes, - gt_cv_func_gnugettext_libc=no)]) - - if test "$gt_cv_func_gnugettext_libc" != "yes"; then +$gt_revision_test_code + ]], + [[ +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + ]])], + [eval "$gt_func_gnugettext_libc=yes"], + [eval "$gt_func_gnugettext_libc=no"])]) + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl Sometimes libintl requires libiconv, so first search for libiconv. - ifelse(gt_included_intl, yes, , [ + m4_if(gt_included_intl, yes, , [ AM_ICONV_LINK ]) dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL @@ -159,65 +183,63 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", dnl even if libiconv doesn't exist. AC_LIB_LINKFLAGS_BODY([intl]) AC_CACHE_CHECK([for GNU gettext in libintl], - gt_cv_func_gnugettext_libintl, + [$gt_func_gnugettext_libintl], [gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" dnl Now see whether libintl exists and does not depend on libiconv. - AC_TRY_LINK([#include <libintl.h> + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include <libintl.h> #ifndef __GNU_GETTEXT_SUPPORTED_REVISION extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif -const char *_nl_expand_alias (); -#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (0)) +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) #else #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 #endif -]ifelse([$2], [need-formatstring-macros], -[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION -#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) -#endif -changequote(,)dnl -typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; -changequote([,])dnl -], []), - [bindtextdomain ("", ""); -return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + __GNU_GETTEXT_SYMBOL_EXPRESSION], - gt_cv_func_gnugettext_libintl=yes, - gt_cv_func_gnugettext_libintl=no) +$gt_revision_test_code + ]], + [[ +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + ]])], + [eval "$gt_func_gnugettext_libintl=yes"], + [eval "$gt_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 + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" - AC_TRY_LINK([#include <libintl.h> + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include <libintl.h> #ifndef __GNU_GETTEXT_SUPPORTED_REVISION extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif -const char *_nl_expand_alias (); -#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (0)) +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) #else #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 #endif -]ifelse([$2], [need-formatstring-macros], -[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION -#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) -#endif -changequote(,)dnl -typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; -changequote([,])dnl -], []), - [bindtextdomain ("", ""); -return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + __GNU_GETTEXT_SYMBOL_EXPRESSION], - [LIBINTL="$LIBINTL $LIBICONV" - LTLIBINTL="$LTLIBINTL $LTLIBICONV" - gt_cv_func_gnugettext_libintl=yes - ]) +$gt_revision_test_code + ]], + [[ +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + ]])], + [LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + ]) fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS"]) @@ -227,8 +249,8 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", dnl use it. But if this macro is used in GNU gettext, and GNU dnl gettext is already preinstalled in libintl, we update this dnl libintl. (Cf. the install rule in intl/Makefile.in.) - if test "$gt_cv_func_gnugettext_libc" = "yes" \ - || { test "$gt_cv_func_gnugettext_libintl" = "yes" \ + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes @@ -239,7 +261,7 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", INCINTL= fi - ifelse(gt_included_intl, yes, [ + m4_if(gt_included_intl, yes, [ if test "$gt_use_preinstalled_gnugettext" != "yes"; then dnl GNU gettext is not found in the C library. dnl Fall back on included GNU gettext library. @@ -251,11 +273,12 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", dnl Mark actions used to generate GNU NLS library. BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes - LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV" - LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV" + LIBINTL="m4_if([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LIBICONV $LIBTHREAD" + LTLIBINTL="m4_if([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LTLIBICONV $LTLIBTHREAD" LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` fi + CATOBJEXT= if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions to use GNU gettext tools. @@ -263,9 +286,18 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", fi ]) + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + dnl Some extra flags are needed during linking. + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then - AC_DEFINE(ENABLE_NLS, 1, + AC_DEFINE([ENABLE_NLS], [1], [Define to 1 if translation of program messages to the user's native language is requested.]) else @@ -278,7 +310,7 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", if test "$USE_NLS" = "yes"; then AC_MSG_CHECKING([where the gettext function comes from]) if test "$gt_use_preinstalled_gnugettext" = "yes"; then - if test "$gt_cv_func_gnugettext_libintl" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" @@ -292,16 +324,16 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then - if test "$gt_cv_func_gnugettext_libintl" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then AC_MSG_CHECKING([how to link with libintl]) AC_MSG_RESULT([$LIBINTL]) AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) fi dnl For backward compatibility. Some packages may be using this. - AC_DEFINE(HAVE_GETTEXT, 1, + AC_DEFINE([HAVE_GETTEXT], [1], [Define if the GNU gettext() function is already present or preinstalled.]) - AC_DEFINE(HAVE_DCGETTEXT, 1, + AC_DEFINE([HAVE_DCGETTEXT], [1], [Define if the GNU dcgettext() function is already present or preinstalled.]) fi @@ -309,125 +341,46 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", POSUB=po fi - ifelse(gt_included_intl, yes, [ - dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL - dnl to 'yes' because some of the testsuite requires it. - if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then - BUILD_INCLUDED_LIBINTL=yes - fi + m4_if(gt_included_intl, yes, [ + dnl In GNU gettext we have to set BUILD_INCLUDED_LIBINTL to 'yes' + dnl because some of the testsuite requires it. + BUILD_INCLUDED_LIBINTL=yes dnl Make all variables we use known to autoconf. - AC_SUBST(BUILD_INCLUDED_LIBINTL) - AC_SUBST(USE_INCLUDED_LIBINTL) - AC_SUBST(CATOBJEXT) - - dnl For backward compatibility. Some configure.acs may be using this. - nls_cv_header_intl= - nls_cv_header_libgt= - - dnl For backward compatibility. Some Makefiles may be using this. - DATADIRNAME=share - AC_SUBST(DATADIRNAME) - - dnl For backward compatibility. Some Makefiles may be using this. - INSTOBJEXT=.mo - AC_SUBST(INSTOBJEXT) - - dnl For backward compatibility. Some Makefiles may be using this. - GENCAT=gencat - AC_SUBST(GENCAT) - - dnl For backward compatibility. Some Makefiles may be using this. - if test "$USE_INCLUDED_LIBINTL" = yes; then - INTLOBJS="\$(GETTOBJS)" - fi - AC_SUBST(INTLOBJS) - - dnl Enable libtool support if the surrounding package wishes it. - INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix - AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX) + AC_SUBST([BUILD_INCLUDED_LIBINTL]) + AC_SUBST([USE_INCLUDED_LIBINTL]) + AC_SUBST([CATOBJEXT]) ]) dnl For backward compatibility. Some Makefiles may be using this. INTLLIBS="$LIBINTL" - AC_SUBST(INTLLIBS) + AC_SUBST([INTLLIBS]) dnl Make all documented variables known to autoconf. - AC_SUBST(LIBINTL) - AC_SUBST(LTLIBINTL) - AC_SUBST(POSUB) + AC_SUBST([LIBINTL]) + AC_SUBST([LTLIBINTL]) + AC_SUBST([POSUB]) ]) -dnl Checks for all prerequisites of the intl subdirectory, -dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS, -dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL. -AC_DEFUN([AM_INTL_SUBDIR], +dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. +m4_define([gt_NEEDS_INIT], [ - AC_REQUIRE([AC_PROG_INSTALL])dnl - AC_REQUIRE([AM_MKINSTALLDIRS])dnl - AC_REQUIRE([AC_PROG_CC])dnl - AC_REQUIRE([AC_CANONICAL_HOST])dnl - AC_REQUIRE([AC_PROG_RANLIB])dnl - AC_REQUIRE([AC_ISC_POSIX])dnl - AC_REQUIRE([AC_HEADER_STDC])dnl - AC_REQUIRE([AC_C_CONST])dnl - AC_REQUIRE([AC_C_INLINE])dnl - AC_REQUIRE([AC_TYPE_OFF_T])dnl - AC_REQUIRE([AC_TYPE_SIZE_T])dnl - AC_REQUIRE([AC_FUNC_ALLOCA])dnl - AC_REQUIRE([AC_FUNC_MMAP])dnl - AC_REQUIRE([jm_GLIBC21])dnl - AC_REQUIRE([gt_INTDIV0])dnl - AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl - AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl - AC_REQUIRE([gt_INTTYPES_PRI])dnl - - AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ -stdlib.h string.h unistd.h sys/param.h]) - AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \ -geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \ -strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \ -__fsetlocking]) - - AM_ICONV - AM_LANGINFO_CODESET - if test $ac_cv_header_locale_h = yes; then - AM_LC_MESSAGES - fi + m4_divert_text([DEFAULTS], [gt_needs=]) + m4_define([gt_NEEDS_INIT], []) +]) - dnl intl/plural.c is generated from intl/plural.y. It requires bison, - dnl because plural.y uses bison specific features. It requires at least - dnl bison-1.26 because earlier versions generate a plural.c that doesn't - dnl compile. - dnl bison is only needed for the maintainer (who touches plural.y). But in - dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put - dnl the rule in general Makefile. Now, some people carelessly touch the - dnl files or have a broken "make" program, hence the plural.c rule will - dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not - dnl present or too old. - AC_CHECK_PROGS([INTLBISON], [bison]) - if test -z "$INTLBISON"; then - ac_verc_fail=yes - else - dnl Found it, now check the version. - AC_MSG_CHECKING([version of bison]) -changequote(<<,>>)dnl - 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;; - 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) -changequote([,])dnl - ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; - *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; - esac - AC_MSG_RESULT([$ac_prog_version]) - fi - if test $ac_verc_fail = yes; then - INTLBISON=: - fi + +dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL]) +AC_DEFUN([AM_GNU_GETTEXT_NEED], +[ + m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) ]) dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) + + +dnl Usage: AM_GNU_GETTEXT_REQUIRE_VERSION([gettext-version]) +AC_DEFUN([AM_GNU_GETTEXT_REQUIRE_VERSION], []) diff --git a/config/iconv.m4 b/config/iconv.m4 index f1e54c5..ff5d526 100644 --- a/config/iconv.m4 +++ b/config/iconv.m4 @@ -1,13 +1,17 @@ -# iconv.m4 serial AM4 (gettext-0.11.3) -dnl Copyright (C) 2000-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 -dnl Public License, this file may be distributed as part of a program -dnl that contains a configuration script generated by Autoconf, under -dnl the same distribution terms as the rest of that program. +# iconv.m4 serial 26 +dnl Copyright (C) 2000-2002, 2007-2014, 2016-2023 Free Software Foundation, +dnl Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. -dnl with modifications to support building with in-tree libiconv + +AC_PREREQ([2.64]) + +dnl Note: AM_ICONV is documented in the GNU gettext manual +dnl <https://www.gnu.org/software/gettext/manual/html_node/AM_005fICONV.html>. +dnl Don't make changes that are incompatible with that documentation! AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [ @@ -24,107 +28,266 @@ AC_DEFUN([AM_ICONV_LINK], [ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and dnl those with the standalone portable GNU libiconv installed). + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) - AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ + dnl Add $INCICONV to CPPFLAGS before performing the following checks, + dnl because if the user has installed libiconv and not disabled its use + dnl via --without-libiconv-prefix, he wants to use it. The first + dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed. + am_save_CPPFLAGS="$CPPFLAGS" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) + + AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [ am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no - dnl Add $INCICONV to CPPFLAGS before performing the first check, - dnl because if the user has installed libiconv and not disabled its use - dnl via --without-libiconv-prefix, he wants to use it. This first - dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. - am_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $INCICONV" - AC_TRY_LINK([#include <stdlib.h> -#include <iconv.h>], - [iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd);], - am_cv_func_iconv=yes) - CPPFLAGS="$am_save_CPPFLAGS" - - if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then - for _libs in .libs _libs; do - am_save_CPPFLAGS="$CPPFLAGS" - am_save_LIBS="$LIBS" - CPPFLAGS="$CPPFLAGS -I../libiconv/include" - LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a" - AC_TRY_LINK([#include <stdlib.h> -#include <iconv.h>], - [iconv_t cd = iconv_open("",""); + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include <stdlib.h> +#include <iconv.h> + ]], + [[iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd);], - INCICONV="-I../libiconv/include" - LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a - LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la - am_cv_lib_iconv=yes - am_cv_func_iconv=yes) - CPPFLAGS="$am_save_CPPFLAGS" - LIBS="$am_save_LIBS" - if test "$am_cv_func_iconv" = "yes"; then - break - fi - done - fi - + iconv_close(cd);]])], + [am_cv_func_iconv=yes]) if test "$am_cv_func_iconv" != yes; then - am_save_CPPFLAGS="$CPPFLAGS" am_save_LIBS="$LIBS" - CPPFLAGS="$CPPFLAGS $INCICONV" LIBS="$LIBS $LIBICONV" - AC_TRY_LINK([#include <stdlib.h> -#include <iconv.h>], - [iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd);], - am_cv_lib_iconv=yes - am_cv_func_iconv=yes) - CPPFLAGS="$am_save_CPPFLAGS" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include <stdlib.h> +#include <iconv.h> + ]], + [[iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd);]])], + [am_cv_lib_iconv=yes] + [am_cv_func_iconv=yes]) LIBS="$am_save_LIBS" fi ]) if test "$am_cv_func_iconv" = yes; then - AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.]) + AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [ + dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11, + dnl Solaris 10. + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + am_cv_func_iconv_works=no + for ac_iconv_const in '' 'const'; do + AC_RUN_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include <iconv.h> +#include <string.h> + +#ifndef ICONV_CONST +# define ICONV_CONST $ac_iconv_const +#endif + ]], + [[int result = 0; + /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from + successful returns. This is even documented in + <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 1; + iconv_close (cd_utf8_to_88591); + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\263"; + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 2; + iconv_close (cd_ascii_to_88591); + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + ICONV_CONST char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + result |= 4; + iconv_close (cd_88591_to_utf8); + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + result |= 8; + iconv_close (cd_88591_to_utf8); + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + { + /* Try standardized names. */ + iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); + /* Try IRIX, OSF/1 names. */ + iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); + /* Try AIX names. */ + iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); + /* Try HP-UX names. */ + iconv_t cd4 = iconv_open ("utf8", "eucJP"); + if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) + && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) + result |= 16; + if (cd1 != (iconv_t)(-1)) + iconv_close (cd1); + if (cd2 != (iconv_t)(-1)) + iconv_close (cd2); + if (cd3 != (iconv_t)(-1)) + iconv_close (cd3); + if (cd4 != (iconv_t)(-1)) + iconv_close (cd4); + } + return result; +]])], + [am_cv_func_iconv_works=yes], , + [case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac]) + test "$am_cv_func_iconv_works" = no || break + done + LIBS="$am_save_LIBS" + ]) + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + AC_DEFINE([HAVE_ICONV], [1], + [Define if you have the iconv() function and it works.]) fi if test "$am_cv_lib_iconv" = yes; then - AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) AC_MSG_CHECKING([how to link with libiconv]) AC_MSG_RESULT([$LIBICONV]) else + dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV + dnl either. + CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi - AC_SUBST(LIBICONV) - AC_SUBST(LTLIBICONV) + AC_SUBST([LIBICONV]) + AC_SUBST([LTLIBICONV]) ]) -AC_DEFUN([AM_ICONV], +dnl Define AM_ICONV using AC_DEFUN_ONCE, in order to avoid warnings like +dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required". +AC_DEFUN_ONCE([AM_ICONV], [ AM_ICONV_LINK if test "$am_cv_func_iconv" = yes; then - AC_MSG_CHECKING([for iconv declaration]) - AC_CACHE_VAL(am_cv_proto_iconv, [ - AC_TRY_COMPILE([ + AC_CACHE_CHECK([whether iconv is compatible with its POSIX signature], + [gl_cv_iconv_nonconst], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[ #include <stdlib.h> #include <iconv.h> extern #ifdef __cplusplus "C" #endif -#if defined(__STDC__) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); -#else -size_t iconv(); -#endif -], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const") - am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) - am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` - AC_MSG_RESULT([$]{ac_t:- - }[$]am_cv_proto_iconv) - AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, - [Define as const if the declaration of iconv() needs const.]) + ]], + [[]])], + [gl_cv_iconv_nonconst=yes], + [gl_cv_iconv_nonconst=no]) + ]) + else + dnl When compiling GNU libiconv on a system that does not have iconv yet, + dnl pick the POSIX compliant declaration without 'const'. + gl_cv_iconv_nonconst=yes + fi + if test $gl_cv_iconv_nonconst = yes; then + iconv_arg1="" + else + iconv_arg1="const" + fi + AC_DEFINE_UNQUOTED([ICONV_CONST], [$iconv_arg1], + [Define as const if the declaration of iconv() needs const.]) + dnl Also substitute ICONV_CONST in the gnulib generated <iconv.h>. + m4_ifdef([gl_ICONV_H_DEFAULTS], + [AC_REQUIRE([gl_ICONV_H_DEFAULTS]) + if test $gl_cv_iconv_nonconst != yes; then + ICONV_CONST="const" + fi + ]) + + dnl A summary result, for those packages which want to print a summary at the + dnl end of the configuration. + if test "$am_func_iconv" = yes; then + if test -n "$LIBICONV"; then + am_cv_func_iconv_summary='yes, in libiconv' + else + am_cv_func_iconv_summary='yes, in libc' + fi + else + if test "$am_cv_func_iconv" = yes; then + am_cv_func_iconv_summary='not working, consider installing GNU libiconv' + else + am_cv_func_iconv_summary='no, consider installing GNU libiconv' + fi fi ]) diff --git a/config/intlmacosx.m4 b/config/intlmacosx.m4 new file mode 100644 index 0000000..3141bf8 --- /dev/null +++ b/config/intlmacosx.m4 @@ -0,0 +1,69 @@ +# intlmacosx.m4 serial 9 (gettext-0.22.3) +dnl Copyright (C) 2004-2014, 2016, 2019-2023 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl +dnl This file can be used in projects which are not available under +dnl the GNU General Public License or the GNU Lesser General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Lesser General Public License, and the rest of the GNU +dnl gettext package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Checks for special options needed on Mac OS X. +dnl Defines INTL_MACOSX_LIBS. +AC_DEFUN([gt_INTL_MACOSX], +[ + dnl Check for API introduced in Mac OS X 10.4. + AC_CACHE_CHECK([for CFPreferencesCopyAppValue], + [gt_cv_func_CFPreferencesCopyAppValue], + [gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[#include <CoreFoundation/CFPreferences.h>]], + [[CFPreferencesCopyAppValue(NULL, NULL)]])], + [gt_cv_func_CFPreferencesCopyAppValue=yes], + [gt_cv_func_CFPreferencesCopyAppValue=no]) + LIBS="$gt_save_LIBS"]) + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], + [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) + fi + dnl Don't check for the API introduced in Mac OS X 10.5, CFLocaleCopyCurrent, + dnl because in macOS 10.13.4 it has the following behaviour: + dnl When two or more languages are specified in the + dnl "System Preferences > Language & Region > Preferred Languages" panel, + dnl it returns en_CC where CC is the territory (even when English is not among + dnl the preferred languages!). What we want instead is what + dnl CFLocaleCopyCurrent returned in earlier macOS releases and what + dnl CFPreferencesCopyAppValue still returns, namely ll_CC where ll is the + dnl first among the preferred languages and CC is the territory. + AC_CACHE_CHECK([for CFLocaleCopyPreferredLanguages], [gt_cv_func_CFLocaleCopyPreferredLanguages], + [gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[#include <CoreFoundation/CFLocale.h>]], + [[CFLocaleCopyPreferredLanguages();]])], + [gt_cv_func_CFLocaleCopyPreferredLanguages=yes], + [gt_cv_func_CFLocaleCopyPreferredLanguages=no]) + LIBS="$gt_save_LIBS"]) + if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + AC_DEFINE([HAVE_CFLOCALECOPYPREFERREDLANGUAGES], [1], + [Define to 1 if you have the Mac OS X function CFLocaleCopyPreferredLanguages in the CoreFoundation framework.]) + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ + || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + dnl Starting with macOS version 14, CoreFoundation relies on CoreServices, + dnl and we have to link it in explicitly, otherwise an exception + dnl NSInvalidArgumentException "unrecognized selector sent to instance" + dnl occurs. + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" + fi + AC_SUBST([INTL_MACOSX_LIBS]) +]) @@ -2829,7 +2829,7 @@ build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes" # these libraries are used by various programs built for the host environment #f -host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libiconv libctf libsframe" +host_libs="gettext libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libiconv libctf libsframe" # these tools are built for the host environment # Note, the powerpc-eabi build depends on sim occurring before gdb in order to @@ -10112,7 +10112,8 @@ serialization_dependencies=serdep.tmp # files altogether, and which should be passed on to subconfigures. # Also strip program-prefix, program-suffix, and program-transform-name, # so that we can pass down a consistent program-transform-name. -baseargs= +hbaseargs= +bbaseargs= tbaseargs= keep_next=no skip_next=no @@ -10128,7 +10129,8 @@ do *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac - baseargs="$baseargs '$ac_arg'" + hbaseargs="$hbaseargs '$ac_arg'" + bbaseargs="$bbaseargs '$ac_arg'" tbaseargs="$tbaseargs '$ac_arg'" keep_next=no continue @@ -10152,6 +10154,7 @@ do esac skip_targ=no + skip_barg=no case $ac_arg in --with-* | --without-*) @@ -10164,6 +10167,12 @@ do *[-_]lib) lib=`echo "$libopt" | sed 's,[-_]lib$,,'` ;; + *[-_]prefix) + lib=`echo "$libopt" | sed 's,[-_]prefix$,,'` + ;; + *[-_]type) + lib=`echo "$libopt" | sed 's,[-_]type$,,'` + ;; *) lib=$libopt ;; @@ -10180,6 +10189,11 @@ do skip_targ=yes fi ;; + libintl | libiconv) + # We don't want libintl (and co.) in anything but the host arguments. + skip_targ=yes + skip_barg=yes + ;; esac ;; esac @@ -10188,7 +10202,8 @@ do --cache-file=/dev/null | \ -cache-file=/dev/null ) # Handled here to avoid the test to skip args below. - baseargs="$baseargs '$ac_arg'" + hbaseargs="$hbaseargs '$ac_arg'" + bbaseargs="$bbaseargs '$ac_arg'" tbaseargs="$tbaseargs '$ac_arg'" # Assert: $separate_arg should always be no. keep_next=$separate_arg @@ -10219,7 +10234,10 @@ do *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac - baseargs="$baseargs '$ac_arg'" + hbaseargs="$hbaseargs '$ac_arg'" + if test X"$skip_barg" = Xno; then + bbaseargs="$bbaseargs '$ac_arg'" + fi if test X"$skip_targ" = Xno; then tbaseargs="$tbaseargs '$ac_arg'" fi @@ -10234,7 +10252,8 @@ do done # Remove the initial space we just introduced and, as these will be # expanded by make, quote '$'. -baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'` +hbaseargs=`echo "x$hbaseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'` +bbaseargs=`echo "x$bbaseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'` # Add in --program-transform-name, after --program-prefix and # --program-suffix have been applied to it. Autoconf has already @@ -10248,14 +10267,17 @@ ${program_transform_name} EOF_SED gcc_transform_name=`cat conftestsed.out` rm -f conftestsed.out -baseargs="$baseargs --program-transform-name='${gcc_transform_name}'" +hbaseargs="$hbaseargs --program-transform-name='${gcc_transform_name}'" +bbaseargs="$bbaseargs --program-transform-name='${gcc_transform_name}'" tbaseargs="$tbaseargs --program-transform-name='${gcc_transform_name}'" if test "$silent" = yes; then - baseargs="$baseargs --silent" + bbaseargs="$bbaseargs --silent" + hbaseargs="$hbaseargs --silent" tbaseargs="$tbaseargs --silent" fi -baseargs="$baseargs --disable-option-checking" +bbaseargs="$bbaseargs --disable-option-checking" +hbaseargs="$hbaseargs --disable-option-checking" tbaseargs="$tbaseargs --disable-option-checking" if test "$enable_year2038" = no; then @@ -10273,7 +10295,7 @@ fi # desired. We can't even use the same cache file for all build-side # libraries, as they're compiled differently; some with C, some with # C++ or with different feature-enabling options. -build_configargs="$build_configargs --cache-file=./config.cache ${baseargs}" +build_configargs="$build_configargs --cache-file=./config.cache ${bbaseargs}" # For host modules, accept cache file option, or specification as blank. case "${cache_file}" in @@ -10287,7 +10309,7 @@ esac # Host dirs don't like to share a cache file either, horribly enough. # This seems to be due to autoconf 2.5x stupidity. -host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}" +host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${hbaseargs}" target_configargs="$target_configargs ${tbaseargs}" diff --git a/configure.ac b/configure.ac index 01cfd01..76d36e7 100644 --- a/configure.ac +++ b/configure.ac @@ -133,7 +133,7 @@ build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes" # these libraries are used by various programs built for the host environment #f -host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libiconv libctf libsframe" +host_libs="gettext libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libiconv libctf libsframe" # these tools are built for the host environment # Note, the powerpc-eabi build depends on sim occurring before gdb in order to @@ -3231,7 +3231,8 @@ AC_SUBST_FILE(serialization_dependencies) # files altogether, and which should be passed on to subconfigures. # Also strip program-prefix, program-suffix, and program-transform-name, # so that we can pass down a consistent program-transform-name. -baseargs= +hbaseargs= +bbaseargs= tbaseargs= keep_next=no skip_next=no @@ -3247,7 +3248,8 @@ do *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac - baseargs="$baseargs '$ac_arg'" + hbaseargs="$hbaseargs '$ac_arg'" + bbaseargs="$bbaseargs '$ac_arg'" tbaseargs="$tbaseargs '$ac_arg'" keep_next=no continue @@ -3271,6 +3273,7 @@ do esac skip_targ=no + skip_barg=no case $ac_arg in changequote(,) --with-* | --without-*) @@ -3283,6 +3286,12 @@ changequote(,) *[-_]lib) lib=`echo "$libopt" | sed 's,[-_]lib$,,'` ;; + *[-_]prefix) + lib=`echo "$libopt" | sed 's,[-_]prefix$,,'` + ;; + *[-_]type) + lib=`echo "$libopt" | sed 's,[-_]type$,,'` + ;; *) lib=$libopt ;; @@ -3299,6 +3308,11 @@ changequote([,]) skip_targ=yes fi ;; + libintl | libiconv) + # We don't want libintl (and co.) in anything but the host arguments. + skip_targ=yes + skip_barg=yes + ;; esac ;; esac @@ -3307,7 +3321,8 @@ changequote([,]) --cache-file=/dev/null | \ -cache-file=/dev/null ) # Handled here to avoid the test to skip args below. - baseargs="$baseargs '$ac_arg'" + hbaseargs="$hbaseargs '$ac_arg'" + bbaseargs="$bbaseargs '$ac_arg'" tbaseargs="$tbaseargs '$ac_arg'" # Assert: $separate_arg should always be no. keep_next=$separate_arg @@ -3338,7 +3353,10 @@ changequote([,]) *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac - baseargs="$baseargs '$ac_arg'" + hbaseargs="$hbaseargs '$ac_arg'" + if test X"$skip_barg" = Xno; then + bbaseargs="$bbaseargs '$ac_arg'" + fi if test X"$skip_targ" = Xno; then tbaseargs="$tbaseargs '$ac_arg'" fi @@ -3353,7 +3371,8 @@ changequote([,]) done # Remove the initial space we just introduced and, as these will be # expanded by make, quote '$'. -baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'` +hbaseargs=`echo "x$hbaseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'` +bbaseargs=`echo "x$bbaseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'` # Add in --program-transform-name, after --program-prefix and # --program-suffix have been applied to it. Autoconf has already @@ -3367,14 +3386,17 @@ ${program_transform_name} EOF_SED gcc_transform_name=`cat conftestsed.out` rm -f conftestsed.out -baseargs="$baseargs --program-transform-name='${gcc_transform_name}'" +hbaseargs="$hbaseargs --program-transform-name='${gcc_transform_name}'" +bbaseargs="$bbaseargs --program-transform-name='${gcc_transform_name}'" tbaseargs="$tbaseargs --program-transform-name='${gcc_transform_name}'" if test "$silent" = yes; then - baseargs="$baseargs --silent" + bbaseargs="$bbaseargs --silent" + hbaseargs="$hbaseargs --silent" tbaseargs="$tbaseargs --silent" fi -baseargs="$baseargs --disable-option-checking" +bbaseargs="$bbaseargs --disable-option-checking" +hbaseargs="$hbaseargs --disable-option-checking" tbaseargs="$tbaseargs --disable-option-checking" if test "$enable_year2038" = no; then @@ -3395,7 +3417,7 @@ AC_ARG_VAR([target_configargs], # desired. We can't even use the same cache file for all build-side # libraries, as they're compiled differently; some with C, some with # C++ or with different feature-enabling options. -build_configargs="$build_configargs --cache-file=./config.cache ${baseargs}" +build_configargs="$build_configargs --cache-file=./config.cache ${bbaseargs}" # For host modules, accept cache file option, or specification as blank. case "${cache_file}" in @@ -3409,7 +3431,7 @@ esac # Host dirs don't like to share a cache file either, horribly enough. # This seems to be due to autoconf 2.5x stupidity. -host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}" +host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${hbaseargs}" target_configargs="$target_configargs ${tbaseargs}" diff --git a/gas/ChangeLog b/gas/ChangeLog index 61d3e3a..c7ff5ca 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2023-11-15 Arsen Arsenović <arsen@aarsen.me> + + * aclocal.m4: Regenerate. + * configure: Regenerate. + * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot + temporary file, to suppress xgettext checking charset names. + 2023-11-15 YunQiang Su <yunqiang.su@cipunited.com> * testsuite/gas/elf/elf.exp (section2): Add -mpdr option to diff --git a/gas/Makefile.in b/gas/Makefile.in index fae3a47..329b651 100644 --- a/gas/Makefile.in +++ b/gas/Makefile.in @@ -134,10 +134,16 @@ am__aclocal_m4_deps = $(top_srcdir)/../bfd/acinclude.m4 \ $(top_srcdir)/../bfd/warning.m4 $(top_srcdir)/../config/acx.m4 \ $(top_srcdir)/../config/depstand.m4 \ $(top_srcdir)/../config/gettext-sister.m4 \ + $(top_srcdir)/../config/gettext.m4 \ + $(top_srcdir)/../config/iconv.m4 \ + $(top_srcdir)/../config/intlmacosx.m4 \ $(top_srcdir)/../config/jobserver.m4 \ $(top_srcdir)/../config/largefile.m4 \ $(top_srcdir)/../config/lcmessage.m4 \ $(top_srcdir)/../config/lead-dot.m4 \ + $(top_srcdir)/../config/lib-ld.m4 \ + $(top_srcdir)/../config/lib-link.m4 \ + $(top_srcdir)/../config/lib-prefix.m4 \ $(top_srcdir)/../config/nls.m4 \ $(top_srcdir)/../config/override.m4 \ $(top_srcdir)/../config/pkg.m4 \ @@ -396,12 +402,15 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LARGEFILE_CPPFLAGS = @LARGEFILE_CPPFLAGS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo @LEX@ ; fi` LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ +LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBINTL_DEP = @LIBINTL_DEP@ LIBM = @LIBM@ @@ -410,6 +419,8 @@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ diff --git a/gas/aclocal.m4 b/gas/aclocal.m4 index 722030c..5f8b996 100644 --- a/gas/aclocal.m4 +++ b/gas/aclocal.m4 @@ -1190,10 +1190,16 @@ m4_include([../bfd/warning.m4]) m4_include([../config/acx.m4]) m4_include([../config/depstand.m4]) m4_include([../config/gettext-sister.m4]) +m4_include([../config/gettext.m4]) +m4_include([../config/iconv.m4]) +m4_include([../config/intlmacosx.m4]) m4_include([../config/jobserver.m4]) m4_include([../config/largefile.m4]) m4_include([../config/lcmessage.m4]) m4_include([../config/lead-dot.m4]) +m4_include([../config/lib-ld.m4]) +m4_include([../config/lib-link.m4]) +m4_include([../config/lib-prefix.m4]) m4_include([../config/nls.m4]) m4_include([../config/override.m4]) m4_include([../config/pkg.m4]) diff --git a/gas/config.in b/gas/config.in index 6333a96..a1f8349 100644 --- a/gas/config.in +++ b/gas/config.in @@ -74,6 +74,18 @@ language is requested. */ #undef ENABLE_NLS +/* Define to 1 if you have the Mac OS X function + CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES + +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + /* Define to 1 if you have the declaration of `asprintf', and to 0 if you don't. */ #undef HAVE_DECL_ASPRINTF @@ -92,6 +104,12 @@ /* Define to 1 if you have the <dlfcn.h> header file. */ #undef HAVE_DLFCN_H +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define if you have the iconv() function and it works. */ +#undef HAVE_ICONV + /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H diff --git a/gas/configure b/gas/configure index a012b71..6a2f56f 100755 --- a/gas/configure +++ b/gas/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include <unistd.h> #endif" +gt_needs= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS @@ -646,21 +647,26 @@ GENINSRC_NEVER_TRUE MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE -MSGMERGE -MSGFMT -MKINSTALLDIRS CATOBJEXT GENCAT INSTOBJEXT DATADIRNAME CATALOGS -POSUB -GMSGFMT -XGETTEXT INCINTL LIBINTL_DEP +POSUB +LTLIBINTL LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +INTL_MACOSX_LIBS +MSGMERGE +XGETTEXT +GMSGFMT +MSGFMT USE_NLS +MKINSTALLDIRS LEXLIB LEX_OUTPUT_ROOT LEX @@ -821,6 +827,11 @@ enable_werror enable_build_warnings with_cpu enable_nls +enable_rpath +with_libiconv_prefix +with_libiconv_type +with_libintl_prefix +with_libintl_type enable_maintainer_mode with_system_zlib with_zstd @@ -1495,6 +1506,7 @@ Optional Features: --enable-werror treat compile warnings as errors --enable-build-warnings enable build-time compiler warnings --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer @@ -1507,6 +1519,13 @@ Optional Packages: --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-cpu=CPU default cpu variant is CPU (currently only supported on ARC) + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libiconv-type=TYPE type of library to search for (auto/static/shared) + --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 + --with-libintl-type=TYPE type of library to search for (auto/static/shared) --with-system-zlib use installed libz --with-zstd support zstd compressed debug sections (default=auto) @@ -2291,6 +2310,7 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +gt_needs="$gt_needs " # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -10757,7 +10777,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10760 "configure" +#line 10780 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10863,7 +10883,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10866 "configure" +#line 10886 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13193,19 +13213,1928 @@ if test "$LEX" = :; then fi ALL_LINGUAS="es fi fr id ja ru rw sv tr uk zh_CN" -# If we haven't got the data from the intl directory, -# assume NLS is disabled. -USE_NLS=no -LIBINTL= -LIBINTL_DEP= -INCINTL= -XGETTEXT= -GMSGFMT= -POSUB= - -if test -f ../intl/config.intl; then - . ../intl/config.intl + + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + rm -f messages.po + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test "$GMSGFMT" != ":"; then + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 +$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } + GMSGFMT=":" + fi + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + rm -f messages.po + fi + + ac_config_commands="$ac_config_commands default-1" + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [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 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$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 + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + + + + + + 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-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_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 + + +# Check whether --with-libiconv-type was given. +if test "${with_libiconv_type+set}" = set; then : + withval=$with_libiconv_type; with_libiconv_type=$withval +else + with_libiconv_type=auto +fi + + lib_type=`eval echo \$with_libiconv_type` + + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + 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" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBICONV; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-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 $INCICONV; 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 + INCICONV="${INCICONV}${INCICONV:+ }-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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext" + fi + 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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + +if test -f ../gettext/uninstalled-config.sh; then + relative_builddir='$(top_builddir)/../gettext' + . ../gettext/uninstalled-config.sh +else + # The sister gettext directory doesn't exist and won't collect information on + # using gettext for us. Call a bundled AM_GNU_GETTEXT. + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFPreferences.h> +int +main () +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 +$as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; } +if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFLocale.h> +int +main () +{ +CFLocaleCopyPreferredLanguages(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyPreferredLanguages=yes +else + gt_cv_func_CFLocaleCopyPreferredLanguages=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } + if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + +$as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ + || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" + fi + + + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if eval \${$gt_func_gnugettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libc=yes" +else + eval "$gt_func_gnugettext_libc=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; 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 + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + am_cv_func_iconv_works=no + for ac_iconv_const in '' 'const'; do + if test "$cross_compiling" = yes; then : + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <iconv.h> +#include <string.h> + +#ifndef ICONV_CONST +# define ICONV_CONST $ac_iconv_const +#endif + +int +main () +{ +int result = 0; + /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from + successful returns. This is even documented in + <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 1; + iconv_close (cd_utf8_to_88591); + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\263"; + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 2; + iconv_close (cd_ascii_to_88591); + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + ICONV_CONST char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + result |= 4; + iconv_close (cd_88591_to_utf8); + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + result |= 8; + iconv_close (cd_88591_to_utf8); + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + { + /* Try standardized names. */ + iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); + /* Try IRIX, OSF/1 names. */ + iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); + /* Try AIX names. */ + iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); + /* Try HP-UX names. */ + iconv_t cd4 = iconv_open ("utf8", "eucJP"); + if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) + && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) + result |= 16; + if (cd1 != (iconv_t)(-1)) + iconv_close (cd1); + if (cd2 != (iconv_t)(-1)) + iconv_close (cd2); + if (cd3 != (iconv_t)(-1)) + iconv_close (cd3); + if (cd4 != (iconv_t)(-1)) + iconv_close (cd4); + } + return result; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + test "$am_cv_func_iconv_works" = no || break + done + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + 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-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_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 + + +# Check whether --with-libintl-type was given. +if test "${with_libintl_type+set}" = set; then : + withval=$with_libintl_type; with_libintl_type=$withval +else + with_libintl_type=auto +fi + + lib_type=`eval echo \$with_libintl_type` + + LIBINTL= + LTLIBINTL= + INCINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + 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" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBINTL; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-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 $INCINTL; 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 + INCINTL="${INCINTL}${INCINTL:+ }-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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext" + fi + 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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if eval \${$gt_func_gnugettext_libintl+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" +else + eval "$gt_func_gnugettext_libintl=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" +fi +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; 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 + + fi + + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + + +fi + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } if test x"$USE_NLS" != xyes; then @@ -13264,33 +15193,6 @@ $as_echo "$LINGUAS" >&6; } fi - MKINSTALLDIRS= - if test -n "$ac_aux_dir"; then - case "$ac_aux_dir" in - /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; - *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; - esac - fi - if test -z "$MKINSTALLDIRS"; then - MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 -$as_echo_n "checking whether NLS is requested... " >&6; } - # Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then : - enableval=$enable_nls; USE_NLS=$enableval -else - USE_NLS=yes -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -$as_echo "$USE_NLS" >&6; } - - - @@ -13568,7 +15470,7 @@ $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } rm -f messages.po fi - ac_config_commands="$ac_config_commands default-1" + ac_config_commands="$ac_config_commands default-2" @@ -15402,6 +17304,13 @@ fi # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it + # from automake. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + target_cpu_type=${target_cpu_type} cgen_cpu_prefix=${cgen_cpu_prefix} obj_format=${obj_format} @@ -15421,6 +17330,7 @@ do "gdb.ini") CONFIG_FILES="$CONFIG_FILES gdb.ini:gdbinit.in" ;; ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:gdbinit.in" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;; "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; @@ -16852,6 +18762,107 @@ _LT_EOF ;; esac done ;; + "default-2":C) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.ac. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + GMOFILES= + UPDATEPOFILES= + DUMMYPOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; "default":C) rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h diff --git a/gas/po/gas.pot b/gas/po/gas.pot index b10ed52..7d7beda 100644 --- a/gas/po/gas.pot +++ b/gas/po/gas.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: https://sourceware.org/bugzilla/\n" -"POT-Creation-Date: 2023-07-03 11:41+0100\n" +"POT-Creation-Date: 2023-11-15 11:13+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -186,12 +186,12 @@ msgstr "" msgid " --elf-stt-common=[no|yes] " msgstr "" -#: as.c:305 as.c:316 config/tc-i386.c:14833 config/tc-i386.c:14853 +#: as.c:305 as.c:316 config/tc-i386.c:15208 config/tc-i386.c:15228 #, c-format msgid "(default: yes)\n" msgstr "" -#: as.c:307 as.c:318 config/tc-i386.c:14835 config/tc-i386.c:14855 +#: as.c:307 as.c:318 config/tc-i386.c:15210 config/tc-i386.c:15230 #, c-format msgid "(default: no)\n" msgstr "" @@ -684,21 +684,21 @@ msgstr "" #: config/tc-arm.c:13825 config/tc-arm.c:14198 config/tc-arm.c:14240 #: config/tc-arm.c:21476 config/tc-arm.c:21536 config/tc-mips.c:9704 #: config/tc-mips.c:11014 config/tc-mips.c:12311 config/tc-mips.c:12992 -#: config/tc-spu.c:982 config/tc-xtensa.c:13080 +#: config/tc-spu.c:982 config/tc-xtensa.c:13078 msgid "expression too complex" msgstr "" -#: cgen.c:961 config/tc-ppc.c:7489 config/tc-s390.c:2376 config/tc-v850.c:3500 +#: cgen.c:961 config/tc-ppc.c:7489 config/tc-s390.c:2382 config/tc-v850.c:3500 #: config/tc-xstormy16.c:541 msgid "unresolved expression that must be resolved" msgstr "" -#: cgen.c:986 config/tc-xstormy16.c:566 +#: cgen.c:986 config/tc-bpf.c:858 config/tc-xstormy16.c:566 #, c-format msgid "internal error: can't install fix for reloc type %d (`%s')" msgstr "" -#: cgen.c:1037 config/tc-nios2.c:1355 config/tc-pru.c:786 +#: cgen.c:1037 config/tc-bpf.c:366 config/tc-nios2.c:1355 config/tc-pru.c:786 msgid "relocation is not supported" msgstr "" @@ -921,7 +921,7 @@ msgstr "" msgid "Ignoring changed section attributes for %s" msgstr "" -#: config/obj-coff.c:1842 +#: config/obj-coff.c:1840 #, c-format msgid "0x%lx: \"%s\" type = %ld, class = %d, segment = %d\n" msgstr "" @@ -934,12 +934,12 @@ msgstr "" msgid "Can't set register masks" msgstr "" -#: config/obj-elf.c:317 config/tc-sparc.c:4379 config/tc-v850.c:511 +#: config/obj-elf.c:317 config/tc-sparc.c:4383 config/tc-v850.c:511 #, c-format msgid "bad .common segment %s" msgstr "" -#: config/obj-elf.c:393 config/tc-aarch64.c:2218 +#: config/obj-elf.c:393 config/tc-aarch64.c:2206 config/tc-kvx.c:2243 msgid "Missing symbol name in directive" msgstr "" @@ -988,246 +988,256 @@ msgstr "" msgid "changed section entity size for %s" msgstr "" -#: config/obj-elf.c:883 +#: config/obj-elf.c:885 msgid "unrecognized .section attribute: want a,e,o,w,x,M,S,G,T or number" msgstr "" -#: config/obj-elf.c:967 +#: config/obj-elf.c:971 msgid "extraneous characters at end of numeric section type" msgstr "" -#: config/obj-elf.c:973 read.c:2956 +#: config/obj-elf.c:977 read.c:2956 msgid "unrecognized section type" msgstr "" -#: config/obj-elf.c:1006 +#: config/obj-elf.c:1002 msgid "unrecognized section attribute" msgstr "" -#: config/obj-elf.c:1038 config/tc-alpha.c:4208 +#: config/obj-elf.c:1034 config/tc-alpha.c:4208 msgid "missing name" msgstr "" -#: config/obj-elf.c:1085 +#: config/obj-elf.c:1081 msgid "group name not parseable" msgstr "" -#: config/obj-elf.c:1091 +#: config/obj-elf.c:1088 #, c-format msgid "section %s already has a group (%s)" msgstr "" -#: config/obj-elf.c:1146 +#: config/obj-elf.c:1143 #, c-format msgid "section name '%s' already defined as another symbol" msgstr "" -#: config/obj-elf.c:1238 +#: config/obj-elf.c:1246 msgid "invalid merge entity size" msgstr "" -#: config/obj-elf.c:1245 +#: config/obj-elf.c:1259 msgid "entity size for SHF_MERGE not specified" msgstr "" -#: config/obj-elf.c:1273 +#: config/obj-elf.c:1301 msgid "? section flag ignored with G present" msgstr "" -#: config/obj-elf.c:1298 +#: config/obj-elf.c:1338 msgid "group name for SHF_GROUP not specified" msgstr "" -#: config/obj-elf.c:1324 +#: config/obj-elf.c:1364 #, c-format msgid "unsupported mbind section info: %s" msgstr "" -#: config/obj-elf.c:1377 +#: config/obj-elf.c:1417 #, c-format msgid "unsupported section id: %s" msgstr "" -#: config/obj-elf.c:1403 +#: config/obj-elf.c:1443 msgid "character following name is not '#'" msgstr "" -#: config/obj-elf.c:1431 +#: config/obj-elf.c:1471 #, c-format msgid "SHF_ALLOC isn't set for GNU_MBIND section: %s" msgstr "" -#: config/obj-elf.c:1438 +#: config/obj-elf.c:1478 #, c-format msgid "%s section is supported only by GNU and FreeBSD targets" msgstr "" -#: config/obj-elf.c:1579 +#: config/obj-elf.c:1619 msgid ".previous without corresponding .section; ignored" msgstr "" -#: config/obj-elf.c:1605 +#: config/obj-elf.c:1645 msgid ".popsection without corresponding .pushsection; ignored" msgstr "" -#: config/obj-elf.c:1649 config/obj-elf.c:1744 +#: config/obj-elf.c:1689 config/obj-elf.c:1784 #, c-format msgid "missing version name in `%s' for symbol `%s'" msgstr "" -#: config/obj-elf.c:1668 +#: config/obj-elf.c:1708 #, c-format msgid "only one version name with `@@@' is allowed for symbol `%s'" msgstr "" -#: config/obj-elf.c:1676 +#: config/obj-elf.c:1716 #, c-format msgid "invalid version name '%s' for symbol `%s'" msgstr "" -#: config/obj-elf.c:1718 +#: config/obj-elf.c:1758 msgid "expected comma after name in .symver" msgstr "" -#: config/obj-elf.c:1735 config/obj-elf.c:2636 +#: config/obj-elf.c:1775 config/obj-elf.c:2678 #, c-format msgid "`%s' can't be versioned to common symbol '%s'" msgstr "" -#: config/obj-elf.c:1812 +#: config/obj-elf.c:1852 #, c-format msgid "expected `%s' to have already been set for .vtable_inherit" msgstr "" -#: config/obj-elf.c:1822 +#: config/obj-elf.c:1862 msgid "expected comma after name in .vtable_inherit" msgstr "" -#: config/obj-elf.c:1883 +#: config/obj-elf.c:1923 msgid "expected comma after name in .vtable_entry" msgstr "" -#: config/obj-elf.c:2022 +#: config/obj-elf.c:2062 #, c-format msgid "Attribute name not recognised: %s" msgstr "" -#: config/obj-elf.c:2039 +#: config/obj-elf.c:2079 msgid "expected numeric constant" msgstr "" -#: config/obj-elf.c:2048 config/tc-arm.c:7136 +#: config/obj-elf.c:2088 config/tc-arm.c:7136 msgid "expected comma" msgstr "" -#: config/obj-elf.c:2081 +#: config/obj-elf.c:2119 config/tc-arc.c:4945 config/tc-arc.c:4956 +#: config/tc-arc.c:5028 config/tc-arc.c:5079 config/tc-arm.c:32988 +#: config/tc-arm.c:32999 config/tc-csky.c:1697 config/tc-csky.c:1709 +#: config/tc-csky.c:1880 config/tc-mips.c:20631 config/tc-msp430.c:5152 +#: config/tc-riscv.c:4881 config/tc-riscv.c:4923 config/tc-sparc.c:1134 +#: config/tc-tic6x.c:4385 +#, c-format +msgid "error adding attribute: %s" +msgstr "" + +#: config/obj-elf.c:2125 msgid "bad string constant" msgstr "" -#: config/obj-elf.c:2085 +#: config/obj-elf.c:2129 msgid "expected <tag> , <value>" msgstr "" -#: config/obj-elf.c:2214 +#: config/obj-elf.c:2258 msgid "expected quoted string" msgstr "" -#: config/obj-elf.c:2234 +#: config/obj-elf.c:2278 #, c-format msgid "expected comma after name `%s' in .size directive" msgstr "" -#: config/obj-elf.c:2243 +#: config/obj-elf.c:2287 msgid "missing expression in .size directive" msgstr "" -#: config/obj-elf.c:2363 +#: config/obj-elf.c:2407 #, c-format msgid "symbol '%s' is already defined" msgstr "" -#: config/obj-elf.c:2383 +#: config/obj-elf.c:2427 #, c-format msgid "symbol type \"%s\" is supported only by GNU and FreeBSD targets" msgstr "" -#: config/obj-elf.c:2387 +#: config/obj-elf.c:2431 #, c-format msgid "symbol type \"%s\" is not supported by MIPS targets" msgstr "" -#: config/obj-elf.c:2399 +#: config/obj-elf.c:2443 #, c-format msgid "symbol type \"%s\" is supported only by GNU targets" msgstr "" -#: config/obj-elf.c:2409 +#: config/obj-elf.c:2453 config/tc-kvx.c:2287 #, c-format msgid "unrecognized symbol type \"%s\"" msgstr "" -#: config/obj-elf.c:2430 +#: config/obj-elf.c:2474 #, c-format msgid "cannot change type of common symbol '%s'" msgstr "" -#: config/obj-elf.c:2442 +#: config/obj-elf.c:2486 #, c-format msgid "symbol '%s' already has its type set" msgstr "" -#: config/obj-elf.c:2609 config/obj-elf.c:2612 +#: config/obj-elf.c:2651 config/obj-elf.c:2654 #, c-format msgid ".size expression for %s does not evaluate to a constant" msgstr "" -#: config/obj-elf.c:2701 +#: config/obj-elf.c:2743 #, c-format msgid "symbol '%s' with multiple versions cannot be used in relocation" msgstr "" -#: config/obj-elf.c:2719 ecoff.c:3577 +#: config/obj-elf.c:2761 ecoff.c:3576 #, c-format msgid "symbol `%s' can not be both weak and common" msgstr "" -#: config/obj-elf.c:2767 +#: config/obj-elf.c:2809 #, c-format msgid "undefined linked-to symbol `%s' on section `%s'" msgstr "" -#: config/obj-elf.c:2845 +#: config/obj-elf.c:2887 #, c-format msgid "assuming all members of group `%s' are COMDAT" msgstr "" -#: config/obj-elf.c:2857 +#: config/obj-elf.c:2899 #, c-format msgid "can't create group: %s" msgstr "" -#: config/obj-elf.c:2934 +#: config/obj-elf.c:2976 #, c-format msgid "" "invalid attempt to declare external version name as default in symbol `%s'" msgstr "" -#: config/obj-elf.c:2944 +#: config/obj-elf.c:2986 #, c-format msgid "multiple versions [`%s'|`%s'] for symbol `%s'" msgstr "" -#: config/obj-elf.c:3033 +#: config/obj-elf.c:3075 #, c-format msgid "failed to set up debugging information: %s" msgstr "" -#: config/obj-elf.c:3053 +#: config/obj-elf.c:3095 #, c-format msgid "can't start writing .mdebug section: %s" msgstr "" -#: config/obj-elf.c:3061 +#: config/obj-elf.c:3103 #, c-format msgid "could not write .mdebug section: %s" msgstr "" @@ -1285,7 +1295,7 @@ msgid "missing sizeof_stub expression" msgstr "" #: config/obj-macho.c:478 config/tc-ia64.c:1081 config/tc-ia64.c:11740 -#: config/tc-score.c:6093 expr.c:1223 read.c:1711 +#: config/tc-score.c:6093 expr.c:1246 read.c:1711 msgid "expected symbol name" msgstr "" @@ -1463,61 +1473,61 @@ msgstr "" msgid "attaching copyright header %s: %s" msgstr "" -#: config/tc-aarch64.c:441 +#: config/tc-aarch64.c:429 #, c-format msgid "expected an unsuffixed ZA tile at operand %d" msgstr "" -#: config/tc-aarch64.c:445 +#: config/tc-aarch64.c:433 #, c-format msgid "missing horizontal or vertical suffix at operand %d" msgstr "" -#: config/tc-aarch64.c:450 +#: config/tc-aarch64.c:438 #, c-format msgid "expected 'za' rather than a ZA tile at operand %d" msgstr "" -#: config/tc-aarch64.c:454 +#: config/tc-aarch64.c:442 #, c-format msgid "" "expected a predicate-as-counter rather than predicate-as-mask register at " "operand %d" msgstr "" -#: config/tc-aarch64.c:459 +#: config/tc-aarch64.c:447 #, c-format msgid "" "expected a predicate-as-mask rather than predicate-as-counter register at " "operand %d" msgstr "" -#: config/tc-aarch64.c:464 +#: config/tc-aarch64.c:452 #, c-format msgid "expected a 64-bit integer register at operand %d" msgstr "" -#: config/tc-aarch64.c:466 +#: config/tc-aarch64.c:454 #, c-format msgid "expected an integer or zero register at operand %d" msgstr "" -#: config/tc-aarch64.c:468 +#: config/tc-aarch64.c:456 #, c-format msgid "expected an integer or stack pointer register at operand %d" msgstr "" -#: config/tc-aarch64.c:472 +#: config/tc-aarch64.c:460 #, c-format msgid "expected a scalar SIMD or floating-point register at operand %d" msgstr "" -#: config/tc-aarch64.c:475 +#: config/tc-aarch64.c:463 #, c-format msgid "expected an Advanced SIMD vector register at operand %d" msgstr "" -#: config/tc-aarch64.c:477 +#: config/tc-aarch64.c:465 #, c-format msgid "expected an SVE vector register at operand %d" msgstr "" @@ -1526,833 +1536,821 @@ msgstr "" #. predicate". We report a more specific error if P is used where #. PN is expected, and vice versa, so the issue at this point is #. "predicate-like" vs. "not predicate-like". -#: config/tc-aarch64.c:484 +#: config/tc-aarch64.c:472 #, c-format msgid "expected an SVE predicate register at operand %d" msgstr "" -#: config/tc-aarch64.c:486 +#: config/tc-aarch64.c:474 #, c-format msgid "expected an SVE predicate-as-counter register at operand %d" msgstr "" -#: config/tc-aarch64.c:488 +#: config/tc-aarch64.c:476 #, c-format msgid "expected a vector register at operand %d" msgstr "" -#: config/tc-aarch64.c:490 +#: config/tc-aarch64.c:478 #, c-format msgid "expected an SVE vector or predicate register at operand %d" msgstr "" -#: config/tc-aarch64.c:492 +#: config/tc-aarch64.c:480 #, c-format msgid "expected a vector or predicate register at operand %d" msgstr "" -#: config/tc-aarch64.c:496 +#: config/tc-aarch64.c:484 #, c-format msgid "expected a ZA array vector at operand %d" msgstr "" -#: config/tc-aarch64.c:498 +#: config/tc-aarch64.c:486 #, c-format msgid "expected ZT0 or a ZA mask at operand %d" msgstr "" -#: config/tc-aarch64.c:500 +#: config/tc-aarch64.c:488 #, c-format msgid "expected a ZA tile at operand %d" msgstr "" -#: config/tc-aarch64.c:502 +#: config/tc-aarch64.c:490 #, c-format msgid "expected a ZA tile slice at operand %d" msgstr "" -#: config/tc-aarch64.c:506 +#: config/tc-aarch64.c:494 #, c-format msgid "" "expected an integer register or Advanced SIMD vector register at operand %d" msgstr "" -#: config/tc-aarch64.c:509 +#: config/tc-aarch64.c:497 #, c-format msgid "expected an integer register or SVE vector register at operand %d" msgstr "" -#: config/tc-aarch64.c:512 +#: config/tc-aarch64.c:500 #, c-format msgid "expected an integer or vector register at operand %d" msgstr "" -#: config/tc-aarch64.c:514 +#: config/tc-aarch64.c:502 #, c-format msgid "expected an integer or predicate register at operand %d" msgstr "" -#: config/tc-aarch64.c:516 +#: config/tc-aarch64.c:504 #, c-format msgid "expected an integer, vector or predicate register at operand %d" msgstr "" -#: config/tc-aarch64.c:521 +#: config/tc-aarch64.c:509 #, c-format msgid "expected an SVE vector register or ZA tile slice at operand %d" msgstr "" -#: config/tc-aarch64.c:719 config/tc-aarch64.c:721 config/tc-arm.c:1202 -#: config/tc-score.c:6478 expr.c:1386 read.c:2627 +#: config/tc-aarch64.c:707 config/tc-aarch64.c:709 config/tc-arm.c:1202 +#: config/tc-score.c:6478 expr.c:1409 read.c:2627 msgid "bad expression" msgstr "" -#: config/tc-aarch64.c:732 config/tc-sparc.c:3375 +#: config/tc-aarch64.c:720 config/tc-sparc.c:3379 msgid "bad segment" msgstr "" -#: config/tc-aarch64.c:876 +#: config/tc-aarch64.c:864 msgid "bad vector arrangement type" msgstr "" -#: config/tc-aarch64.c:1048 +#: config/tc-aarch64.c:1036 #, c-format msgid "bad size %d in vector width specifier" msgstr "" -#: config/tc-aarch64.c:1081 +#: config/tc-aarch64.c:1069 #, c-format msgid "unexpected character `%c' in element size" msgstr "" -#: config/tc-aarch64.c:1083 +#: config/tc-aarch64.c:1071 msgid "missing element size" msgstr "" -#: config/tc-aarch64.c:1092 +#: config/tc-aarch64.c:1080 #, c-format msgid "invalid element size %d and vector size combination %c" msgstr "" -#: config/tc-aarch64.c:1128 +#: config/tc-aarch64.c:1116 #, c-format msgid "unexpected character `%c' in predication type" msgstr "" -#: config/tc-aarch64.c:1131 +#: config/tc-aarch64.c:1119 msgid "missing predication type" msgstr "" -#: config/tc-aarch64.c:1174 config/tc-aarch64.c:2264 config/tc-aarch64.c:2525 +#: config/tc-aarch64.c:1162 config/tc-aarch64.c:2252 config/tc-aarch64.c:2513 #: config/tc-arm.c:1779 config/tc-arm.c:3999 config/tc-arm.c:5278 #: config/tc-arm.c:7425 msgid "constant expression required" msgstr "" -#: config/tc-aarch64.c:1224 +#: config/tc-aarch64.c:1212 msgid "syntax error in register list" msgstr "" -#: config/tc-aarch64.c:1254 +#: config/tc-aarch64.c:1242 msgid "ZA tile number out of range" msgstr "" -#: config/tc-aarch64.c:1295 +#: config/tc-aarch64.c:1283 msgid "this type of register can't be indexed" msgstr "" -#: config/tc-aarch64.c:1301 +#: config/tc-aarch64.c:1289 msgid "index not allowed inside register list" msgstr "" #. Indexed vector register expected. -#: config/tc-aarch64.c:1316 +#: config/tc-aarch64.c:1304 msgid "indexed vector register expected" msgstr "" -#: config/tc-aarch64.c:1323 +#: config/tc-aarch64.c:1311 msgid "invalid use of vector register" msgstr "" -#: config/tc-aarch64.c:1432 +#: config/tc-aarch64.c:1420 msgid "invalid vector register in list" msgstr "" -#: config/tc-aarch64.c:1440 +#: config/tc-aarch64.c:1428 msgid "invalid scalar register in list" msgstr "" -#: config/tc-aarch64.c:1453 +#: config/tc-aarch64.c:1441 msgid "invalid range in vector register list" msgstr "" -#: config/tc-aarch64.c:1466 +#: config/tc-aarch64.c:1454 msgid "type mismatch in vector register list" msgstr "" -#: config/tc-aarch64.c:1487 +#: config/tc-aarch64.c:1475 msgid "end of vector register list not found" msgstr "" -#: config/tc-aarch64.c:1505 +#: config/tc-aarch64.c:1493 msgid "expected index" msgstr "" -#: config/tc-aarch64.c:1512 +#: config/tc-aarch64.c:1500 msgid "too many registers in vector register list" msgstr "" -#: config/tc-aarch64.c:1517 +#: config/tc-aarch64.c:1505 msgid "empty vector register list" msgstr "" -#: config/tc-aarch64.c:1539 config/tc-arm.c:2548 +#: config/tc-aarch64.c:1527 config/tc-arm.c:2548 #, c-format msgid "ignoring attempt to redefine built-in register '%s'" msgstr "" -#: config/tc-aarch64.c:1545 config/tc-arm.c:2553 +#: config/tc-aarch64.c:1533 config/tc-arm.c:2553 #, c-format msgid "ignoring redefinition of register alias '%s'" msgstr "" -#: config/tc-aarch64.c:1590 config/tc-arm.c:2618 +#: config/tc-aarch64.c:1578 config/tc-arm.c:2618 #, c-format msgid "unknown register '%s' -- .req ignored" msgstr "" -#: config/tc-aarch64.c:1648 config/tc-arm.c:2826 +#: config/tc-aarch64.c:1636 config/tc-arm.c:2826 msgid "invalid syntax for .req directive" msgstr "" -#: config/tc-aarch64.c:1669 config/tc-arm.c:2859 +#: config/tc-aarch64.c:1657 config/tc-arm.c:2859 msgid "invalid syntax for .unreq directive" msgstr "" -#: config/tc-aarch64.c:1675 config/tc-arm.c:2866 +#: config/tc-aarch64.c:1663 config/tc-arm.c:2866 #, c-format msgid "unknown register alias '%s'" msgstr "" -#: config/tc-aarch64.c:1677 +#: config/tc-aarch64.c:1665 #, c-format msgid "ignoring attempt to undefine built-in register '%s'" msgstr "" -#: config/tc-aarch64.c:2001 config/tc-arm.c:3610 config/tc-arm.c:3637 +#: config/tc-aarch64.c:1989 config/tc-arm.c:3610 config/tc-arm.c:3637 #: config/tc-arm.c:3650 msgid "literal pool overflow" msgstr "" -#: config/tc-aarch64.c:2182 config/tc-aarch64.c:7245 config/tc-arm.c:3872 +#: config/tc-aarch64.c:2170 config/tc-aarch64.c:7199 config/tc-arm.c:3872 #: config/tc-arm.c:7858 msgid "unrecognized relocation suffix" msgstr "" -#: config/tc-aarch64.c:2184 +#: config/tc-aarch64.c:2172 msgid "unimplemented relocation suffix" msgstr "" -#: config/tc-aarch64.c:2493 config/tc-aarch64.c:2683 config/tc-aarch64.c:2727 -#: config/tc-csky.c:2314 +#: config/tc-aarch64.c:2481 config/tc-aarch64.c:2671 config/tc-aarch64.c:2715 +#: config/tc-csky.c:2336 msgid "immediate operand required" msgstr "" -#: config/tc-aarch64.c:2501 +#: config/tc-aarch64.c:2489 msgid "missing immediate expression" msgstr "" -#: config/tc-aarch64.c:2707 config/tc-aarch64.c:7068 config/tc-aarch64.c:7088 +#: config/tc-aarch64.c:2695 config/tc-aarch64.c:7022 config/tc-aarch64.c:7042 msgid "invalid floating-point constant" msgstr "" -#: config/tc-aarch64.c:3514 config/tc-arm.c:5618 config/tc-arm.c:5628 +#: config/tc-aarch64.c:3502 config/tc-arm.c:5618 config/tc-arm.c:5628 msgid "shift expression expected" msgstr "" -#: config/tc-aarch64.c:3522 +#: config/tc-aarch64.c:3510 msgid "shift operator expected" msgstr "" -#: config/tc-aarch64.c:3530 +#: config/tc-aarch64.c:3518 msgid "invalid use of 'MSL'" msgstr "" -#: config/tc-aarch64.c:3538 +#: config/tc-aarch64.c:3526 msgid "invalid use of 'MUL'" msgstr "" -#: config/tc-aarch64.c:3547 +#: config/tc-aarch64.c:3535 msgid "extending shift is not permitted" msgstr "" -#: config/tc-aarch64.c:3555 +#: config/tc-aarch64.c:3543 msgid "'ROR' shift is not permitted" msgstr "" -#: config/tc-aarch64.c:3563 +#: config/tc-aarch64.c:3551 msgid "only 'LSL' shift is permitted" msgstr "" -#: config/tc-aarch64.c:3571 +#: config/tc-aarch64.c:3559 msgid "only 'MUL' is permitted" msgstr "" -#: config/tc-aarch64.c:3589 +#: config/tc-aarch64.c:3577 msgid "only 'MUL VL' is permitted" msgstr "" -#: config/tc-aarch64.c:3597 +#: config/tc-aarch64.c:3585 msgid "invalid shift for the register offset addressing mode" msgstr "" -#: config/tc-aarch64.c:3605 +#: config/tc-aarch64.c:3593 msgid "invalid shift operator" msgstr "" -#: config/tc-aarch64.c:3638 +#: config/tc-aarch64.c:3626 msgid "missing shift amount" msgstr "" -#: config/tc-aarch64.c:3645 +#: config/tc-aarch64.c:3633 msgid "constant shift amount required" msgstr "" -#: config/tc-aarch64.c:3654 +#: config/tc-aarch64.c:3642 msgid "shift amount out of range 0 to 63" msgstr "" -#: config/tc-aarch64.c:3704 +#: config/tc-aarch64.c:3692 msgid "unexpected shift operator" msgstr "" -#: config/tc-aarch64.c:3740 +#: config/tc-aarch64.c:3728 msgid "unexpected register in the immediate operand" msgstr "" -#: config/tc-aarch64.c:3765 +#: config/tc-aarch64.c:3753 msgid "integer register expected in the extended/shifted operand register" msgstr "" -#: config/tc-aarch64.c:3800 config/tc-aarch64.c:3937 config/tc-aarch64.c:4076 -#: config/tc-aarch64.c:4273 config/tc-aarch64.c:4314 +#: config/tc-aarch64.c:3788 config/tc-aarch64.c:3925 config/tc-aarch64.c:4064 +#: config/tc-aarch64.c:4261 config/tc-aarch64.c:4302 msgid "unknown relocation modifier" msgstr "" -#: config/tc-aarch64.c:3807 config/tc-aarch64.c:3956 config/tc-aarch64.c:4083 -#: config/tc-aarch64.c:4280 config/tc-aarch64.c:4321 +#: config/tc-aarch64.c:3795 config/tc-aarch64.c:3944 config/tc-aarch64.c:4071 +#: config/tc-aarch64.c:4268 config/tc-aarch64.c:4309 msgid "this relocation modifier is not allowed on this instruction" msgstr "" -#: config/tc-aarch64.c:3964 config/tc-aarch64.c:4094 +#: config/tc-aarch64.c:3952 config/tc-aarch64.c:4082 msgid "invalid relocation expression" msgstr "" -#: config/tc-aarch64.c:3980 +#: config/tc-aarch64.c:3968 msgid "invalid address" msgstr "" -#: config/tc-aarch64.c:3998 +#: config/tc-aarch64.c:3986 msgid "expected a 64-bit base register" msgstr "" -#: config/tc-aarch64.c:4000 +#: config/tc-aarch64.c:3988 msgid "invalid base register" msgstr "" -#: config/tc-aarch64.c:4002 +#: config/tc-aarch64.c:3990 msgid "expected a base register" msgstr "" -#: config/tc-aarch64.c:4018 config/tc-aarch64.c:4154 +#: config/tc-aarch64.c:4006 config/tc-aarch64.c:4142 msgid "invalid offset register" msgstr "" -#: config/tc-aarch64.c:4045 +#: config/tc-aarch64.c:4033 msgid "invalid use of 32-bit register offset" msgstr "" -#: config/tc-aarch64.c:4054 +#: config/tc-aarch64.c:4042 msgid "offset has different size from base" msgstr "" -#: config/tc-aarch64.c:4060 +#: config/tc-aarch64.c:4048 msgid "invalid use of 64-bit register offset" msgstr "" #. [Xn],#expr -#: config/tc-aarch64.c:4107 config/tc-aarch64.c:4164 +#: config/tc-aarch64.c:4095 config/tc-aarch64.c:4152 msgid "invalid expression in the address" msgstr "" -#: config/tc-aarch64.c:4121 config/tc-arm.c:6217 config/tc-arm.c:6816 +#: config/tc-aarch64.c:4109 config/tc-arm.c:6217 config/tc-arm.c:6816 msgid "']' expected" msgstr "" -#: config/tc-aarch64.c:4129 +#: config/tc-aarch64.c:4117 msgid "register offset not allowed in pre-indexed addressing mode" msgstr "" -#: config/tc-aarch64.c:4144 config/tc-arm.c:6253 +#: config/tc-aarch64.c:4132 config/tc-arm.c:6253 msgid "cannot combine pre- and post-indexing" msgstr "" #. Reject [Rn]! -#: config/tc-aarch64.c:4188 +#: config/tc-aarch64.c:4176 msgid "missing offset in the pre-indexed address" msgstr "" -#: config/tc-aarch64.c:4450 -msgid "unknown or missing option to PSB/TSB" -msgstr "" - -#: config/tc-aarch64.c:4458 -msgid "the specified option is not accepted for PSB/TSB" -msgstr "" - -#: config/tc-aarch64.c:4485 config/tc-aarch64.c:4499 -msgid "unknown option to BTI" -msgstr "" - -#: config/tc-aarch64.c:4572 +#: config/tc-aarch64.c:4516 msgid "expected '['" msgstr "" -#: config/tc-aarch64.c:4580 +#: config/tc-aarch64.c:4524 msgid "expected a 32-bit selection register" msgstr "" -#: config/tc-aarch64.c:4587 +#: config/tc-aarch64.c:4531 msgid "missing immediate offset" msgstr "" -#: config/tc-aarch64.c:4593 config/tc-aarch64.c:4602 +#: config/tc-aarch64.c:4537 config/tc-aarch64.c:4546 msgid "expected a constant immediate offset" msgstr "" -#: config/tc-aarch64.c:4607 +#: config/tc-aarch64.c:4551 msgid "the last offset is less than the first offset" msgstr "" -#: config/tc-aarch64.c:4613 +#: config/tc-aarch64.c:4557 msgid "the last offset is equal to the first offset" msgstr "" -#: config/tc-aarch64.c:4635 +#: config/tc-aarch64.c:4579 msgid "invalid vector group size" msgstr "" -#: config/tc-aarch64.c:4642 +#: config/tc-aarch64.c:4586 msgid "expected ']'" msgstr "" -#: config/tc-aarch64.c:4701 config/tc-aarch64.c:4809 +#: config/tc-aarch64.c:4645 config/tc-aarch64.c:4753 msgid "expected '}'" msgstr "" -#: config/tc-aarch64.c:4760 +#: config/tc-aarch64.c:4704 msgid "ZA tile masks do not operate at .Q granularity" msgstr "" -#: config/tc-aarch64.c:4766 +#: config/tc-aarch64.c:4710 msgid "missing ZA tile size" msgstr "" -#: config/tc-aarch64.c:4771 +#: config/tc-aarch64.c:4715 msgid "invalid ZA tile" msgstr "" -#: config/tc-aarch64.c:4796 +#: config/tc-aarch64.c:4740 msgid "expected '{'" msgstr "" -#: config/tc-aarch64.c:4837 +#: config/tc-aarch64.c:4781 msgid "expected SM or ZA operand" msgstr "" -#: config/tc-aarch64.c:4900 +#: config/tc-aarch64.c:4844 #, c-format msgid "selected processor does not support PSTATE field name '%s'" msgstr "" -#: config/tc-aarch64.c:4905 config/tc-aarch64.c:4947 +#: config/tc-aarch64.c:4850 config/tc-aarch64.c:4892 #, c-format msgid "selected processor does not support system register name '%s'" msgstr "" -#: config/tc-aarch64.c:4908 config/tc-aarch64.c:4950 +#: config/tc-aarch64.c:4853 config/tc-aarch64.c:4895 #, c-format msgid "" "system register name '%s' is deprecated and may be removed in a future " "release" msgstr "" -#: config/tc-aarch64.c:4989 +#: config/tc-aarch64.c:4934 msgid "immediate value out of range " msgstr "" -#: config/tc-aarch64.c:5589 messages.c:148 +#: config/tc-aarch64.c:5534 messages.c:148 #, c-format msgid "Info: " msgstr "" -#: config/tc-aarch64.c:5607 +#: config/tc-aarch64.c:5552 #, c-format msgid "missing braces at operand %d" msgstr "" -#: config/tc-aarch64.c:5618 +#: config/tc-aarch64.c:5563 #, c-format msgid "unexpected register type at operand %d" msgstr "" -#: config/tc-aarch64.c:5629 +#: config/tc-aarch64.c:5574 #, c-format msgid "invalid register list at operand %d" msgstr "" -#: config/tc-aarch64.c:5642 +#: config/tc-aarch64.c:5587 #, c-format msgid "expected a register at operand %d" msgstr "" -#: config/tc-aarch64.c:5649 +#: config/tc-aarch64.c:5594 #, c-format msgid "expected '{' at operand %d" msgstr "" -#: config/tc-aarch64.c:5651 +#: config/tc-aarch64.c:5596 #, c-format msgid "expected a register or register list at operand %d" msgstr "" -#: config/tc-aarch64.c:5676 +#: config/tc-aarch64.c:5621 #, c-format msgid "this `%s' should have an immediately preceding `%s' -- `%s'" msgstr "" -#: config/tc-aarch64.c:5682 +#: config/tc-aarch64.c:5627 #, c-format msgid "the preceding `%s' should be followed by `%s` rather than `%s` -- `%s'" msgstr "" -#: config/tc-aarch64.c:5694 config/tc-aarch64.c:5709 config/tc-score.c:2752 +#: config/tc-aarch64.c:5639 config/tc-aarch64.c:5654 config/tc-score.c:2752 #: config/tc-score.c:6467 #, c-format msgid "%s -- `%s'" msgstr "" -#: config/tc-aarch64.c:5711 +#: config/tc-aarch64.c:5656 #, c-format msgid "%s at operand %d -- `%s'" msgstr "" -#: config/tc-aarch64.c:5717 +#: config/tc-aarch64.c:5662 #, c-format msgid "operand %d must be %s -- `%s'" msgstr "" -#: config/tc-aarch64.c:5723 +#: config/tc-aarch64.c:5668 #, c-format msgid "operand mismatch -- `%s'" msgstr "" #. Print the hint. -#: config/tc-aarch64.c:5783 +#: config/tc-aarch64.c:5728 msgid " did you mean this?" msgstr "" -#: config/tc-aarch64.c:5786 config/tc-aarch64.c:5813 +#: config/tc-aarch64.c:5731 config/tc-aarch64.c:5758 #, c-format msgid " %s" msgstr "" -#: config/tc-aarch64.c:5791 +#: config/tc-aarch64.c:5736 msgid " other valid variant(s):" msgstr "" -#: config/tc-aarch64.c:5820 +#: config/tc-aarch64.c:5765 #, c-format msgid "operand %d must have the same immediate value as operand 1 -- `%s'" msgstr "" -#: config/tc-aarch64.c:5826 +#: config/tc-aarch64.c:5771 #, c-format msgid "operand %d must be the same register as operand 1 -- `%s'" msgstr "" -#: config/tc-aarch64.c:5831 +#: config/tc-aarch64.c:5776 #, c-format msgid "%s%d-%s%d expected at operand %d -- `%s'" msgstr "" -#: config/tc-aarch64.c:5838 +#: config/tc-aarch64.c:5783 #, c-format msgid "%s out of range %d to %d at operand %d -- `%s'" msgstr "" -#: config/tc-aarch64.c:5839 config/tc-aarch64.c:5843 config/tc-aarch64.c:8032 +#: config/tc-aarch64.c:5784 config/tc-aarch64.c:5788 config/tc-aarch64.c:7994 msgid "immediate value" msgstr "" -#: config/tc-aarch64.c:5842 +#: config/tc-aarch64.c:5787 #, c-format msgid "%s must be %d at operand %d -- `%s'" msgstr "" -#: config/tc-aarch64.c:5849 +#: config/tc-aarch64.c:5794 #, c-format msgid "unexpected vector group size at operand %d -- `%s'" msgstr "" -#: config/tc-aarch64.c:5852 +#: config/tc-aarch64.c:5797 #, c-format msgid "operand %d must have a vector group size of %d -- `%s'" msgstr "" -#: config/tc-aarch64.c:5858 +#: config/tc-aarch64.c:5803 #, c-format msgid "expected a single-register list at operand %d -- `%s'" msgstr "" -#: config/tc-aarch64.c:5861 +#: config/tc-aarch64.c:5806 #, c-format msgid "expected a list of %d registers at operand %d -- `%s'" msgstr "" -#: config/tc-aarch64.c:5864 +#: config/tc-aarch64.c:5809 #, c-format msgid "expected a list of %d or %d registers at operand %d -- `%s'" msgstr "" -#: config/tc-aarch64.c:5868 +#: config/tc-aarch64.c:5813 #, c-format msgid "invalid number of registers in the list at operand %d -- `%s'" msgstr "" -#: config/tc-aarch64.c:5874 +#: config/tc-aarch64.c:5819 #, c-format msgid "the register list must have a stride of %d at operand %d -- `%s'" msgstr "" -#: config/tc-aarch64.c:5877 +#: config/tc-aarch64.c:5822 #, c-format msgid "the register list must have a stride of %d or %d at operand %d -- `%s`" msgstr "" -#: config/tc-aarch64.c:5881 +#: config/tc-aarch64.c:5826 #, c-format msgid "invalid register stride at operand %d -- `%s'" msgstr "" -#: config/tc-aarch64.c:5886 +#: config/tc-aarch64.c:5831 #, c-format msgid "immediate value must be a multiple of %d at operand %d -- `%s'" msgstr "" -#: config/tc-aarch64.c:6317 +#: config/tc-aarch64.c:6262 msgid "the specified relocation type is not allowed for MOVK" msgstr "" -#: config/tc-aarch64.c:6365 config/tc-aarch64.c:6376 +#: config/tc-aarch64.c:6310 config/tc-aarch64.c:6321 msgid "the specified relocation type is not allowed for 32-bit register" msgstr "" -#: config/tc-aarch64.c:6471 +#: config/tc-aarch64.c:6416 msgid "relocation qualifier does not match instruction size" msgstr "" -#: config/tc-aarch64.c:6572 +#: config/tc-aarch64.c:6516 msgid "comma expected between operands" msgstr "" -#: config/tc-aarch64.c:6603 +#: config/tc-aarch64.c:6550 msgid "invalid Rt register number in 64-byte load/store" msgstr "" -#: config/tc-aarch64.c:6722 +#: config/tc-aarch64.c:6676 msgid "the top half of a 128-bit FP/SIMD register is expected" msgstr "" -#: config/tc-aarch64.c:6828 config/tc-arm.c:2221 config/tc-arm.c:2266 +#: config/tc-aarch64.c:6782 config/tc-arm.c:2221 config/tc-arm.c:2266 #: config/tc-h8300.c:1039 msgid "invalid register list" msgstr "" -#: config/tc-aarch64.c:6835 +#: config/tc-aarch64.c:6789 msgid "expected element type rather than vector type" msgstr "" -#: config/tc-aarch64.c:6853 +#: config/tc-aarch64.c:6807 msgid "missing type suffix" msgstr "" -#: config/tc-aarch64.c:6872 +#: config/tc-aarch64.c:6826 msgid "C0 - C15 expected" msgstr "" -#: config/tc-aarch64.c:6983 config/tc-aarch64.c:7007 +#: config/tc-aarch64.c:6937 config/tc-aarch64.c:6961 msgid "immediate zero expected" msgstr "" -#: config/tc-aarch64.c:7103 +#: config/tc-aarch64.c:7057 msgid "shift not allowed for bitmask immediate" msgstr "" -#: config/tc-aarch64.c:7157 +#: config/tc-aarch64.c:7111 msgid "can't mix relocation modifier with explicit shift" msgstr "" -#: config/tc-aarch64.c:7206 config/tc-arm.c:15995 config/tc-arm.c:16020 +#: config/tc-aarch64.c:7160 config/tc-arm.c:15995 config/tc-arm.c:16020 #: config/tc-arm.c:16031 config/tc-arm.c:16038 msgid "invalid condition" msgstr "" -#: config/tc-aarch64.c:7232 +#: config/tc-aarch64.c:7186 msgid "invalid pc-relative address" msgstr "" #. Only permit "=value" in the literal load instructions. #. The literal will be generated by programmer_friendly_fixup. -#: config/tc-aarch64.c:7240 +#: config/tc-aarch64.c:7194 msgid "invalid use of \"=immediate\"" msgstr "" -#: config/tc-aarch64.c:7305 config/tc-aarch64.c:7337 config/tc-aarch64.c:7355 -#: config/tc-aarch64.c:7379 config/tc-aarch64.c:7399 config/tc-aarch64.c:7418 -#: config/tc-aarch64.c:7441 config/tc-aarch64.c:7495 config/tc-aarch64.c:7502 -#: config/tc-aarch64.c:7530 config/tc-aarch64.c:7551 config/tc-aarch64.c:7576 -#: config/tc-aarch64.c:7594 config/tc-aarch64.c:7602 config/tc-aarch64.c:7619 -#: config/tc-aarch64.c:7643 +#: config/tc-aarch64.c:7259 config/tc-aarch64.c:7291 config/tc-aarch64.c:7309 +#: config/tc-aarch64.c:7333 config/tc-aarch64.c:7353 config/tc-aarch64.c:7372 +#: config/tc-aarch64.c:7395 config/tc-aarch64.c:7449 config/tc-aarch64.c:7456 +#: config/tc-aarch64.c:7484 config/tc-aarch64.c:7505 config/tc-aarch64.c:7530 +#: config/tc-aarch64.c:7548 config/tc-aarch64.c:7556 config/tc-aarch64.c:7573 +#: config/tc-aarch64.c:7597 msgid "invalid addressing mode" msgstr "" -#: config/tc-aarch64.c:7321 +#: config/tc-aarch64.c:7275 msgid "the optional immediate offset can only be 0" msgstr "" -#: config/tc-aarch64.c:7360 config/tc-aarch64.c:7384 config/tc-aarch64.c:7404 +#: config/tc-aarch64.c:7314 config/tc-aarch64.c:7338 config/tc-aarch64.c:7358 msgid "relocation not allowed" msgstr "" -#: config/tc-aarch64.c:7451 +#: config/tc-aarch64.c:7405 msgid "writeback value must be an immediate constant" msgstr "" -#: config/tc-aarch64.c:7462 config/tc-aarch64.c:7669 +#: config/tc-aarch64.c:7416 config/tc-aarch64.c:7623 msgid "unknown or missing PSTATE field name" msgstr "" #. Make sure this has priority over #. "invalid addressing mode". -#: config/tc-aarch64.c:7510 +#: config/tc-aarch64.c:7464 msgid "constant offset required" msgstr "" -#: config/tc-aarch64.c:7655 +#: config/tc-aarch64.c:7609 msgid "unknown or missing system register name" msgstr "" -#: config/tc-aarch64.c:7703 +#: config/tc-aarch64.c:7657 msgid "unknown or missing operation name" msgstr "" -#: config/tc-aarch64.c:7716 +#: config/tc-aarch64.c:7670 msgid "the specified option is not accepted in ISB" msgstr "" -#: config/tc-aarch64.c:7728 config/tc-aarch64.c:7745 +#: config/tc-aarch64.c:7682 config/tc-aarch64.c:7699 msgid "the specified option is not accepted in DSB" msgstr "" -#: config/tc-aarch64.c:7759 +#: config/tc-aarch64.c:7713 msgid "immediate value must be 16, 20, 24, 28" msgstr "" -#: config/tc-aarch64.c:7797 config/tc-aarch64.c:7827 +#: config/tc-aarch64.c:7750 config/tc-aarch64.c:7780 msgid "missing register index" msgstr "" -#: config/tc-aarch64.c:7814 +#: config/tc-aarch64.c:7767 msgid "expected '}' after ZT0" msgstr "" -#: config/tc-aarch64.c:7910 config/tc-aarch64.c:9211 config/tc-arm.c:8140 +#: config/tc-aarch64.c:7872 config/tc-aarch64.c:9173 config/tc-arm.c:8140 #, c-format msgid "unhandled operand code %d" msgstr "" -#: config/tc-aarch64.c:7952 +#: config/tc-aarch64.c:7914 msgid "unexpected comma before the omitted optional operand" msgstr "" -#: config/tc-aarch64.c:7980 +#: config/tc-aarch64.c:7942 msgid "unexpected characters following instruction" msgstr "" -#: config/tc-aarch64.c:8058 config/tc-arm.c:5743 config/tc-arm.c:6361 +#: config/tc-aarch64.c:8020 config/tc-arm.c:5743 config/tc-arm.c:6361 #: config/tc-arm.c:8952 msgid "constant expression expected" msgstr "" -#: config/tc-aarch64.c:8065 +#: config/tc-aarch64.c:8027 msgid "literal pool insertion failed" msgstr "" -#: config/tc-aarch64.c:8136 config/tc-aarch64.c:8151 +#: config/tc-aarch64.c:8098 config/tc-aarch64.c:8113 #, c-format msgid "unpredictable transfer with writeback -- `%s'" msgstr "" -#: config/tc-aarch64.c:8155 config/tc-aarch64.c:8169 +#: config/tc-aarch64.c:8117 config/tc-aarch64.c:8131 #, c-format msgid "unpredictable load of register pair -- `%s'" msgstr "" -#: config/tc-aarch64.c:8176 config/tc-aarch64.c:8189 +#: config/tc-aarch64.c:8138 config/tc-aarch64.c:8151 #, c-format msgid "unpredictable: identical transfer and status registers --`%s'" msgstr "" -#: config/tc-aarch64.c:8184 config/tc-aarch64.c:8198 +#: config/tc-aarch64.c:8146 config/tc-aarch64.c:8160 #, c-format msgid "unpredictable: identical base and status registers --`%s'" msgstr "" -#: config/tc-aarch64.c:8218 +#: config/tc-aarch64.c:8180 #, c-format msgid "previous `%s' sequence has not been closed" msgstr "" -#: config/tc-aarch64.c:8303 +#: config/tc-aarch64.c:8265 #, c-format msgid "unknown mnemonic -- `%s'" msgstr "" -#: config/tc-aarch64.c:8313 +#: config/tc-aarch64.c:8275 #, c-format msgid "unknown mnemonic `%s' -- `%s'" msgstr "" -#: config/tc-aarch64.c:8321 +#: config/tc-aarch64.c:8283 #, c-format msgid "unexpected comma after the mnemonic name `%s' -- `%s'" msgstr "" -#: config/tc-aarch64.c:8378 +#: config/tc-aarch64.c:8340 #, c-format msgid "selected processor does not support `%s'" msgstr "" -#: config/tc-aarch64.c:8870 config/tc-arm.c:28196 +#: config/tc-aarch64.c:8832 config/tc-arm.c:28202 msgid "GOT already in the symbol table" msgstr "" -#: config/tc-aarch64.c:9033 +#: config/tc-aarch64.c:8995 msgid "immediate cannot be moved by a single instruction" msgstr "" -#: config/tc-aarch64.c:9077 config/tc-aarch64.c:9122 config/tc-aarch64.c:9148 +#: config/tc-aarch64.c:9039 config/tc-aarch64.c:9084 config/tc-aarch64.c:9110 #: config/tc-arm.c:16539 config/tc-arm.c:18236 config/tc-arm.c:18816 #: config/tc-arm.c:18843 config/tc-arm.c:19621 config/tc-arm.c:20456 #: config/tc-arm.c:21479 config/tc-arm.c:21539 config/tc-metag.c:2443 @@ -2361,179 +2359,180 @@ msgstr "" msgid "immediate out of range" msgstr "" -#: config/tc-aarch64.c:9141 config/tc-metag.c:4654 config/tc-xtensa.c:4230 +#: config/tc-aarch64.c:9103 config/tc-metag.c:4654 config/tc-xtensa.c:4230 msgid "invalid immediate" msgstr "" -#: config/tc-aarch64.c:9206 config/tc-tic6x.c:3855 config/tc-tic6x.c:3920 +#: config/tc-aarch64.c:9168 config/tc-tic6x.c:3855 config/tc-tic6x.c:3920 #: config/tc-tic6x.c:3947 config/tc-tic6x.c:3975 msgid "immediate offset out of range" msgstr "" -#: config/tc-aarch64.c:9281 config/tc-arm.c:28534 config/tc-arm.c:28602 -#: config/tc-arm.c:28884 +#: config/tc-aarch64.c:9243 config/tc-arm.c:28540 config/tc-arm.c:28608 +#: config/tc-arm.c:28890 #, c-format msgid "undefined symbol %s used as an immediate value" msgstr "" -#: config/tc-aarch64.c:9293 +#: config/tc-aarch64.c:9255 msgid "pc-relative load offset not word aligned" msgstr "" -#: config/tc-aarch64.c:9296 +#: config/tc-aarch64.c:9258 msgid "pc-relative load offset out of range" msgstr "" -#: config/tc-aarch64.c:9308 +#: config/tc-aarch64.c:9270 msgid "pc-relative address offset out of range" msgstr "" -#: config/tc-aarch64.c:9320 config/tc-aarch64.c:9335 +#: config/tc-aarch64.c:9282 config/tc-aarch64.c:9297 msgid "conditional branch target not word aligned" msgstr "" -#: config/tc-aarch64.c:9323 config/tc-aarch64.c:9338 config/tc-arm.c:29179 +#: config/tc-aarch64.c:9285 config/tc-aarch64.c:9300 config/tc-arm.c:29185 msgid "conditional branch out of range" msgstr "" -#: config/tc-aarch64.c:9351 +#: config/tc-aarch64.c:9313 msgid "branch target not word aligned" msgstr "" -#: config/tc-aarch64.c:9354 config/tc-arm.c:930 config/tc-arm.c:29985 -#: config/tc-mips.c:16062 config/tc-mips.c:16078 config/tc-mips.c:16168 +#: config/tc-aarch64.c:9316 config/tc-arm.c:930 config/tc-arm.c:29991 +#: config/tc-kvx.c:1725 config/tc-kvx.c:1731 config/tc-mips.c:16062 +#: config/tc-mips.c:16078 config/tc-mips.c:16168 msgid "branch out of range" msgstr "" -#: config/tc-aarch64.c:9413 config/tc-arm.c:28775 config/tc-arm.c:28790 -#: config/tc-arm.c:28805 config/tc-arm.c:28816 config/tc-arm.c:28839 -#: config/tc-arm.c:29689 config/tc-moxie.c:714 config/tc-pj.c:449 -#: config/tc-sh.c:3728 +#: config/tc-aarch64.c:9375 config/tc-arm.c:28781 config/tc-arm.c:28796 +#: config/tc-arm.c:28811 config/tc-arm.c:28822 config/tc-arm.c:28845 +#: config/tc-arm.c:29695 config/tc-moxie.c:714 config/tc-pj.c:449 +#: config/tc-sh.c:3713 msgid "offset out of range" msgstr "" -#: config/tc-aarch64.c:9428 +#: config/tc-aarch64.c:9390 msgid "unsigned value out of range" msgstr "" -#: config/tc-aarch64.c:9439 +#: config/tc-aarch64.c:9401 msgid "signed value out of range" msgstr "" -#: config/tc-aarch64.c:9594 +#: config/tc-aarch64.c:9556 #, c-format msgid "unexpected %s fixup" msgstr "" -#: config/tc-aarch64.c:9659 config/tc-arm.c:30405 config/tc-arm.c:30426 +#: config/tc-aarch64.c:9621 config/tc-arm.c:30411 config/tc-arm.c:30432 #: config/tc-mips.c:18430 config/tc-or1k.c:345 config/tc-score.c:7434 #, c-format msgid "cannot represent %s relocation in this object file format" msgstr "" -#: config/tc-aarch64.c:9706 +#: config/tc-aarch64.c:9668 #, c-format msgid "cannot do %u-byte relocation" msgstr "" -#: config/tc-aarch64.c:10134 config/tc-arm.c:31240 +#: config/tc-aarch64.c:10096 config/tc-arm.c:31246 msgid "assemble for big-endian" msgstr "" -#: config/tc-aarch64.c:10135 config/tc-arm.c:31241 +#: config/tc-aarch64.c:10097 config/tc-arm.c:31247 msgid "assemble for little-endian" msgstr "" -#: config/tc-aarch64.c:10138 +#: config/tc-aarch64.c:10100 msgid "temporary switch for dumping" msgstr "" -#: config/tc-aarch64.c:10140 +#: config/tc-aarch64.c:10102 msgid "output verbose error messages" msgstr "" -#: config/tc-aarch64.c:10142 +#: config/tc-aarch64.c:10104 msgid "do not output verbose error messages" msgstr "" -#: config/tc-aarch64.c:10519 config/tc-arm.c:32402 +#: config/tc-aarch64.c:10365 config/tc-arm.c:32408 msgid "invalid architectural extension" msgstr "" -#: config/tc-aarch64.c:10544 config/tc-arm.c:32434 +#: config/tc-aarch64.c:10390 config/tc-arm.c:32440 msgid "must specify extensions to add before specifying those to remove" msgstr "" -#: config/tc-aarch64.c:10552 config/tc-arm.c:32442 +#: config/tc-aarch64.c:10398 config/tc-arm.c:32448 msgid "missing architectural extension" msgstr "" -#: config/tc-aarch64.c:10579 config/tc-arm.c:32528 +#: config/tc-aarch64.c:10425 config/tc-arm.c:32534 #, c-format msgid "unknown architectural extension `%s'" msgstr "" -#: config/tc-aarch64.c:10603 config/tc-arm.c:32578 config/tc-metag.c:5832 +#: config/tc-aarch64.c:10449 config/tc-arm.c:32584 config/tc-metag.c:5832 #, c-format msgid "missing cpu name `%s'" msgstr "" -#: config/tc-aarch64.c:10617 config/tc-aarch64.c:10834 config/tc-arm.c:32613 -#: config/tc-arm.c:33426 config/tc-csky.c:1218 config/tc-metag.c:5843 +#: config/tc-aarch64.c:10463 config/tc-aarch64.c:10680 config/tc-arm.c:32619 +#: config/tc-arm.c:33436 config/tc-csky.c:1218 config/tc-metag.c:5843 #, c-format msgid "unknown cpu `%s'" msgstr "" -#: config/tc-aarch64.c:10635 config/tc-arm.c:32631 +#: config/tc-aarch64.c:10481 config/tc-arm.c:32637 #, c-format msgid "missing architecture name `%s'" msgstr "" -#: config/tc-aarch64.c:10649 config/tc-aarch64.c:10880 config/tc-arm.c:32653 -#: config/tc-arm.c:33466 config/tc-arm.c:33502 config/tc-score.c:7669 +#: config/tc-aarch64.c:10495 config/tc-aarch64.c:10726 config/tc-arm.c:32659 +#: config/tc-arm.c:33476 config/tc-arm.c:33512 config/tc-score.c:7669 #, c-format msgid "unknown architecture `%s'\n" msgstr "" -#: config/tc-aarch64.c:10676 +#: config/tc-aarch64.c:10522 #, c-format msgid "missing abi name `%s'" msgstr "" -#: config/tc-aarch64.c:10687 +#: config/tc-aarch64.c:10533 #, c-format msgid "unknown abi `%s'\n" msgstr "" -#: config/tc-aarch64.c:10692 +#: config/tc-aarch64.c:10538 msgid "<abi name>\t specify for ABI <abi name>" msgstr "" -#: config/tc-aarch64.c:10694 config/tc-arm.c:32740 config/tc-metag.c:5909 +#: config/tc-aarch64.c:10540 config/tc-arm.c:32746 config/tc-metag.c:5909 msgid "<cpu name>\t assemble for CPU <cpu name>" msgstr "" -#: config/tc-aarch64.c:10696 config/tc-arm.c:32742 +#: config/tc-aarch64.c:10542 config/tc-arm.c:32748 msgid "<arch name>\t assemble for architecture <arch name>" msgstr "" -#: config/tc-aarch64.c:10735 config/tc-aarch64.c:10754 config/tc-arm.c:32810 -#: config/tc-arm.c:32828 config/tc-arm.c:32848 config/tc-metag.c:5933 +#: config/tc-aarch64.c:10581 config/tc-aarch64.c:10600 config/tc-arm.c:32816 +#: config/tc-arm.c:32834 config/tc-arm.c:32854 config/tc-metag.c:5933 #, c-format msgid "option `-%c%s' is deprecated: %s" msgstr "" -#: config/tc-aarch64.c:10774 +#: config/tc-aarch64.c:10620 #, c-format msgid " AArch64-specific assembler options:\n" msgstr "" -#: config/tc-aarch64.c:10785 config/tc-arc.c:3597 config/tc-arm.c:32879 +#: config/tc-aarch64.c:10631 config/tc-arc.c:3597 config/tc-arm.c:32885 #, c-format msgid " -EB assemble code for a big-endian cpu\n" msgstr "" -#: config/tc-aarch64.c:10790 config/tc-arc.c:3599 config/tc-arm.c:32884 +#: config/tc-aarch64.c:10636 config/tc-arc.c:3599 config/tc-arm.c:32890 #, c-format msgid " -EL assemble code for a little-endian cpu\n" msgstr "" @@ -2711,12 +2710,12 @@ msgstr "" msgid ".COMMon length (%ld.) <0! Ignored." msgstr "" -#: config/tc-alpha.c:3525 config/tc-ia64.c:1092 config/tc-sparc.c:4269 +#: config/tc-alpha.c:3525 config/tc-ia64.c:1092 config/tc-sparc.c:4273 #: config/tc-v850.c:306 msgid "Ignoring attempt to re-define symbol" msgstr "" -#: config/tc-alpha.c:3617 config/tc-sparc.c:4277 +#: config/tc-alpha.c:3617 config/tc-sparc.c:4281 #, c-format msgid "Length of .comm \"%s\" is already %ld. Not changed to %ld." msgstr "" @@ -2921,25 +2920,25 @@ msgstr "" #: config/tc-arc.c:2563 config/tc-arc.c:2595 config/tc-arc.c:2701 #: config/tc-cr16.c:809 config/tc-cr16.c:828 config/tc-cris.c:1223 #: config/tc-crx.c:512 config/tc-crx.c:534 config/tc-crx.c:545 -#: config/tc-dlx.c:289 config/tc-hppa.c:8260 config/tc-i386.c:3021 -#: config/tc-i386.c:3066 config/tc-ia64.c:5365 config/tc-ia64.c:7404 -#: config/tc-ia64.c:7463 config/tc-m68k.c:4558 config/tc-m68k.c:4570 -#: config/tc-mips.c:3703 config/tc-mips.c:3736 config/tc-mips.c:3762 -#: config/tc-nds32.c:3440 config/tc-nios2.c:3624 config/tc-nios2.c:3629 -#: config/tc-nios2.c:3635 config/tc-ns32k.c:1906 config/tc-ppc.c:1743 -#: config/tc-ppc.c:1783 config/tc-pru.c:1568 config/tc-pru.c:1572 -#: config/tc-s390.c:538 config/tc-s390.c:576 config/tc-sparc.c:961 -#: config/tc-sparc.c:993 config/tc-tic30.c:121 config/tc-tic30.c:131 -#: config/tc-tic30.c:141 config/tc-tic30.c:151 config/tc-tic4x.c:1220 -#: config/tc-tilegx.c:316 config/tc-tilepro.c:252 config/tc-vax.c:965 -#: config/tc-vax.c:970 ecoff.c:1582 +#: config/tc-dlx.c:289 config/tc-hppa.c:8260 config/tc-i386.c:3124 +#: config/tc-i386.c:3169 config/tc-ia64.c:5365 config/tc-ia64.c:7404 +#: config/tc-ia64.c:7463 config/tc-kvx.c:1478 config/tc-m68k.c:4558 +#: config/tc-m68k.c:4570 config/tc-mips.c:3703 config/tc-mips.c:3736 +#: config/tc-mips.c:3762 config/tc-nds32.c:3440 config/tc-nios2.c:3624 +#: config/tc-nios2.c:3629 config/tc-nios2.c:3635 config/tc-ns32k.c:1906 +#: config/tc-ppc.c:1743 config/tc-ppc.c:1783 config/tc-pru.c:1568 +#: config/tc-pru.c:1572 config/tc-s390.c:538 config/tc-s390.c:576 +#: config/tc-sparc.c:961 config/tc-sparc.c:993 config/tc-tic30.c:121 +#: config/tc-tic30.c:131 config/tc-tic30.c:141 config/tc-tic30.c:151 +#: config/tc-tic4x.c:1220 config/tc-tilegx.c:316 config/tc-tilepro.c:252 +#: config/tc-vax.c:965 config/tc-vax.c:970 ecoff.c:1582 #, c-format msgid "duplicate %s" msgstr "" #: config/tc-alpha.c:5549 config/tc-arc.c:2531 config/tc-arc.c:2545 #: config/tc-arm.c:902 config/tc-xtensa.c:5474 config/tc-xtensa.c:5550 -#: config/tc-xtensa.c:5667 config/tc-z80.c:3684 +#: config/tc-xtensa.c:5667 config/tc-z80.c:3687 msgid "syntax error" msgstr "" @@ -2986,7 +2985,7 @@ msgstr "" msgid "!samegp reloc against symbol without .prologue: %s" msgstr "" -#: config/tc-alpha.c:6240 config/tc-arc.c:3275 config/tc-csky.c:5646 +#: config/tc-alpha.c:6240 config/tc-arc.c:3275 config/tc-csky.c:5668 #: config/tc-tilegx.c:1745 config/tc-tilepro.c:1522 config/tc-wasm32.c:813 #: config/tc-xtensa.c:6177 #, c-format @@ -3131,14 +3130,14 @@ msgstr "" msgid "unknown opcode '%s'" msgstr "" -#: config/tc-arc.c:2613 config/tc-arc.c:5084 config/tc-h8300.c:78 +#: config/tc-arc.c:2613 config/tc-arc.c:5092 config/tc-h8300.c:78 #: config/tc-h8300.c:87 config/tc-h8300.c:97 config/tc-h8300.c:107 #: config/tc-h8300.c:117 config/tc-h8300.c:128 config/tc-h8300.c:241 #: config/tc-hppa.c:6834 config/tc-hppa.c:6840 config/tc-hppa.c:6846 -#: config/tc-hppa.c:6852 config/tc-hppa.c:8239 config/tc-lm32.c:197 -#: config/tc-mips.c:3693 config/tc-mips.c:4190 config/tc-mn10300.c:935 -#: config/tc-mn10300.c:940 config/tc-mn10300.c:2441 config/tc-riscv.c:1535 -#: config/tc-riscv.c:5040 +#: config/tc-hppa.c:6852 config/tc-hppa.c:8239 config/tc-kvx.c:1438 +#: config/tc-lm32.c:197 config/tc-mips.c:3693 config/tc-mips.c:4190 +#: config/tc-mn10300.c:935 config/tc-mn10300.c:940 config/tc-mn10300.c:2441 +#: config/tc-riscv.c:1577 config/tc-riscv.c:5065 msgid "could not set architecture and machine" msgstr "" @@ -3260,7 +3259,7 @@ msgstr "" msgid "Insn %s has an instruction %s with limm in its delay slot." msgstr "" -#: config/tc-arc.c:4292 config/tc-microblaze.c:2567 config/tc-mn10300.c:1069 +#: config/tc-arc.c:4292 config/tc-microblaze.c:2656 config/tc-mn10300.c:1069 #: config/tc-sh.c:418 config/tc-z80.c:1120 read.c:4714 #, c-format msgid "unsupported BFD relocation size %u" @@ -3366,11 +3365,11 @@ msgstr "" msgid "Unknown extension" msgstr "" -#: config/tc-arc.c:5022 +#: config/tc-arc.c:5026 msgid "Overwrite explicitly set Tag_ARC_CPU_base" msgstr "" -#: config/tc-arc.c:5070 +#: config/tc-arc.c:5076 msgid "Overwrite explicitly set Tag_ARC_ABI_rf16 to full register file" msgstr "" @@ -3921,7 +3920,7 @@ msgstr "" msgid "(plt) is only valid on branch targets" msgstr "" -#: config/tc-arm.c:3893 config/tc-csky.c:7650 config/tc-s390.c:1202 +#: config/tc-arm.c:3893 config/tc-csky.c:7672 config/tc-s390.c:1202 #: config/tc-s390.c:1879 config/tc-xtensa.c:1699 #, c-format msgid "%s relocations do not fit in %d byte" @@ -4051,7 +4050,7 @@ msgstr "" msgid "invalid unwind opcode" msgstr "" -#: config/tc-arm.c:5157 config/tc-arm.c:32557 +#: config/tc-arm.c:5157 config/tc-arm.c:32563 #, c-format msgid "unrecognised float16 format \"%s\"" msgstr "" @@ -4064,7 +4063,7 @@ msgstr "" #: config/tc-arm.c:12285 config/tc-arm.c:14405 config/tc-arm.c:16356 #: config/tc-arm.c:16391 config/tc-arm.c:17319 config/tc-arm.c:19232 #: config/tc-arm.c:19240 config/tc-arm.c:19247 config/tc-arm.c:20898 -#: config/tc-arm.c:29566 config/tc-arm.c:29630 config/tc-arm.c:29638 +#: config/tc-arm.c:29572 config/tc-arm.c:29636 config/tc-arm.c:29644 #: config/tc-metag.c:5174 config/tc-z8k.c:1161 config/tc-z8k.c:1171 msgid "immediate value out of range" msgstr "" @@ -4527,7 +4526,7 @@ msgstr "" msgid "shift by register not allowed in thumb mode" msgstr "" -#: config/tc-arm.c:11414 config/tc-arm.c:14245 config/tc-arm.c:28857 +#: config/tc-arm.c:11414 config/tc-arm.c:14245 config/tc-arm.c:28863 msgid "shift expression is too large" msgstr "" @@ -4597,7 +4596,7 @@ msgstr "" msgid "dest must overlap one source register" msgstr "" -#: config/tc-arm.c:12008 config/tc-csky.c:6004 +#: config/tc-arm.c:12008 config/tc-csky.c:6026 msgid "dest and source1 must be the same register" msgstr "" @@ -4746,7 +4745,7 @@ msgstr "" msgid "instruction does not allow shifted index" msgstr "" -#: config/tc-arm.c:14548 config/tc-arm.c:30001 +#: config/tc-arm.c:14548 config/tc-arm.c:30007 msgid "out of range label-relative fixup value" msgstr "" @@ -5230,563 +5229,563 @@ msgstr "" msgid "handlerdata in cantunwind frame" msgstr "" -#: config/tc-arm.c:27831 +#: config/tc-arm.c:27832 msgid "too many unwind opcodes for personality routine 0" msgstr "" -#: config/tc-arm.c:27862 +#: config/tc-arm.c:27865 msgid "attempt to recreate an unwind entry" msgstr "" -#: config/tc-arm.c:27872 +#: config/tc-arm.c:27876 msgid "too many unwind opcodes" msgstr "" -#: config/tc-arm.c:28174 +#: config/tc-arm.c:28180 #, c-format msgid "[-mwarn-syms]: Assignment makes a symbol match an ARM instruction: %s" msgstr "" -#: config/tc-arm.c:28536 config/tc-arm.c:28604 +#: config/tc-arm.c:28542 config/tc-arm.c:28610 #, c-format msgid "symbol %s is in a different section" msgstr "" -#: config/tc-arm.c:28538 config/tc-arm.c:28606 +#: config/tc-arm.c:28544 config/tc-arm.c:28612 #, c-format msgid "symbol %s is weak and may be overridden later" msgstr "" -#: config/tc-arm.c:28583 config/tc-arm.c:28955 +#: config/tc-arm.c:28589 config/tc-arm.c:28961 #, c-format msgid "invalid constant (%lx) after fixup" msgstr "" -#: config/tc-arm.c:28639 +#: config/tc-arm.c:28645 #, c-format msgid "unable to compute ADRL instructions for PC offset of 0x%lx" msgstr "" -#: config/tc-arm.c:28675 config/tc-arm.c:28705 +#: config/tc-arm.c:28681 config/tc-arm.c:28711 msgid "invalid literal constant: pool needs to be closer" msgstr "" -#: config/tc-arm.c:28678 config/tc-arm.c:28727 +#: config/tc-arm.c:28684 config/tc-arm.c:28733 #, c-format msgid "bad immediate value for offset (%ld)" msgstr "" -#: config/tc-arm.c:28708 +#: config/tc-arm.c:28714 #, c-format msgid "bad immediate value for 8-bit offset (%ld)" msgstr "" -#: config/tc-arm.c:28768 +#: config/tc-arm.c:28774 msgid "offset not a multiple of 4" msgstr "" -#: config/tc-arm.c:28971 +#: config/tc-arm.c:28977 msgid "invalid smc expression" msgstr "" -#: config/tc-arm.c:28981 +#: config/tc-arm.c:28987 msgid "invalid hvc expression" msgstr "" -#: config/tc-arm.c:28992 config/tc-arm.c:29001 +#: config/tc-arm.c:28998 config/tc-arm.c:29007 msgid "invalid swi expression" msgstr "" -#: config/tc-arm.c:29011 +#: config/tc-arm.c:29017 msgid "invalid expression in load/store multiple" msgstr "" -#: config/tc-arm.c:29073 +#: config/tc-arm.c:29079 #, c-format msgid "blx to '%s' an ARM ISA state function changed to bl" msgstr "" -#: config/tc-arm.c:29092 +#: config/tc-arm.c:29098 msgid "misaligned branch destination" msgstr "" -#: config/tc-arm.c:29213 +#: config/tc-arm.c:29219 #, c-format msgid "blx to Thumb func '%s' from Thumb ISA state changed to bl" msgstr "" -#: config/tc-arm.c:29262 +#: config/tc-arm.c:29268 msgid "Thumb2 branch out of range" msgstr "" -#: config/tc-arm.c:29314 config/tc-arm.c:29347 +#: config/tc-arm.c:29320 config/tc-arm.c:29353 msgid "Relocation supported only in FDPIC mode" msgstr "" -#: config/tc-arm.c:29377 +#: config/tc-arm.c:29383 msgid "rel31 relocation overflow" msgstr "" -#: config/tc-arm.c:29399 config/tc-arm.c:29405 config/tc-arm.c:29409 -#: config/tc-arm.c:29456 +#: config/tc-arm.c:29405 config/tc-arm.c:29411 config/tc-arm.c:29415 +#: config/tc-arm.c:29462 msgid "co-processor offset out of range" msgstr "" -#: config/tc-arm.c:29473 +#: config/tc-arm.c:29479 #, c-format msgid "invalid offset, target not word aligned (0x%08lX)" msgstr "" -#: config/tc-arm.c:29479 +#: config/tc-arm.c:29485 msgid "section does not have enough alignment to ensure safe PC-relative loads" msgstr "" -#: config/tc-arm.c:29483 config/tc-arm.c:29492 config/tc-arm.c:29500 -#: config/tc-arm.c:29508 config/tc-arm.c:29516 +#: config/tc-arm.c:29489 config/tc-arm.c:29498 config/tc-arm.c:29506 +#: config/tc-arm.c:29514 config/tc-arm.c:29522 #, c-format msgid "invalid offset, value too big (0x%08lX)" msgstr "" -#: config/tc-arm.c:29557 +#: config/tc-arm.c:29563 msgid "invalid Hi register with immediate" msgstr "" -#: config/tc-arm.c:29573 +#: config/tc-arm.c:29579 msgid "invalid immediate for stack address calculation" msgstr "" -#: config/tc-arm.c:29592 +#: config/tc-arm.c:29598 msgid "address calculation needs a strongly defined nearby symbol" msgstr "" -#: config/tc-arm.c:29608 +#: config/tc-arm.c:29614 msgid "symbol too far away" msgstr "" -#: config/tc-arm.c:29620 +#: config/tc-arm.c:29626 #, c-format msgid "invalid immediate for address calculation (value = 0x%08lX)" msgstr "" -#: config/tc-arm.c:29650 +#: config/tc-arm.c:29656 #, c-format msgid "invalid immediate: %ld is out of range" msgstr "" -#: config/tc-arm.c:29662 +#: config/tc-arm.c:29668 #, c-format msgid "invalid shift value: %ld" msgstr "" -#: config/tc-arm.c:29732 config/tc-arm.c:29803 +#: config/tc-arm.c:29738 config/tc-arm.c:29809 #, c-format msgid "the offset 0x%08lX is not representable" msgstr "" -#: config/tc-arm.c:29764 +#: config/tc-arm.c:29770 #, c-format msgid "Unable to process relocation for thumb opcode: %lx" msgstr "" -#: config/tc-arm.c:29843 +#: config/tc-arm.c:29849 #, c-format msgid "bad offset 0x%08lX (only 12 bits available for the magnitude)" msgstr "" -#: config/tc-arm.c:29882 +#: config/tc-arm.c:29888 #, c-format msgid "bad offset 0x%08lX (only 8 bits available for the magnitude)" msgstr "" -#: config/tc-arm.c:29922 +#: config/tc-arm.c:29928 #, c-format msgid "bad offset 0x%08lX (must be word-aligned)" msgstr "" -#: config/tc-arm.c:29927 +#: config/tc-arm.c:29933 #, c-format msgid "bad offset 0x%08lX (must be an 8-bit number of words)" msgstr "" -#: config/tc-arm.c:30148 config/tc-score.c:7345 +#: config/tc-arm.c:30154 config/tc-score.c:7345 #, c-format msgid "bad relocation fixup type (%d)" msgstr "" -#: config/tc-arm.c:30266 +#: config/tc-arm.c:30272 msgid "literal referenced across section boundary" msgstr "" -#: config/tc-arm.c:30346 +#: config/tc-arm.c:30352 msgid "internal relocation (type: IMMEDIATE) not fixed up" msgstr "" -#: config/tc-arm.c:30351 +#: config/tc-arm.c:30357 msgid "ADRL used for a symbol not defined in the same file" msgstr "" -#: config/tc-arm.c:30358 +#: config/tc-arm.c:30364 #, c-format msgid "%s used for a symbol not defined in the same file" msgstr "" -#: config/tc-arm.c:30374 +#: config/tc-arm.c:30380 #, c-format msgid "undefined local label `%s'" msgstr "" -#: config/tc-arm.c:30380 +#: config/tc-arm.c:30386 msgid "internal_relocation (type: OFFSET_IMM) not fixed up" msgstr "" -#: config/tc-arm.c:30402 config/tc-cris.c:4000 config/tc-csky.c:1152 -#: config/tc-ft32.c:708 config/tc-mcore.c:1932 config/tc-microblaze.c:2007 +#: config/tc-arm.c:30408 config/tc-cris.c:4000 config/tc-csky.c:1152 +#: config/tc-ft32.c:708 config/tc-mcore.c:1932 config/tc-microblaze.c:2090 #: config/tc-mmix.c:2909 config/tc-moxie.c:823 config/tc-ns32k.c:2245 #: config/tc-score.c:7432 msgid "<unknown>" msgstr "" -#: config/tc-arm.c:30801 +#: config/tc-arm.c:30807 #, c-format msgid "%s: unexpected function type: %d" msgstr "" -#: config/tc-arm.c:30941 +#: config/tc-arm.c:30947 msgid "use of old and new-style options to set CPU type" msgstr "" -#: config/tc-arm.c:30960 +#: config/tc-arm.c:30966 msgid "use of old and new-style options to set FPU type" msgstr "" -#: config/tc-arm.c:31039 +#: config/tc-arm.c:31045 msgid "hard-float conflicts with specified fpu" msgstr "" -#: config/tc-arm.c:31230 +#: config/tc-arm.c:31236 msgid "generate PIC code" msgstr "" -#: config/tc-arm.c:31231 +#: config/tc-arm.c:31237 msgid "assemble Thumb code" msgstr "" -#: config/tc-arm.c:31232 +#: config/tc-arm.c:31238 msgid "support ARM/Thumb interworking" msgstr "" -#: config/tc-arm.c:31234 +#: config/tc-arm.c:31240 msgid "code uses 32-bit program counter" msgstr "" -#: config/tc-arm.c:31235 +#: config/tc-arm.c:31241 msgid "code uses 26-bit program counter" msgstr "" -#: config/tc-arm.c:31236 +#: config/tc-arm.c:31242 msgid "floating point args are in fp regs" msgstr "" -#: config/tc-arm.c:31238 +#: config/tc-arm.c:31244 msgid "re-entrant code" msgstr "" -#: config/tc-arm.c:31239 +#: config/tc-arm.c:31245 msgid "code is ATPCS conformant" msgstr "" #. These are recognized by the assembler, but have no affect on code. -#: config/tc-arm.c:31245 +#: config/tc-arm.c:31251 msgid "use frame pointer" msgstr "" -#: config/tc-arm.c:31246 +#: config/tc-arm.c:31252 msgid "use stack size checking" msgstr "" -#: config/tc-arm.c:31249 +#: config/tc-arm.c:31255 msgid "do not warn on use of deprecated feature" msgstr "" -#: config/tc-arm.c:31252 +#: config/tc-arm.c:31258 msgid "" "warn about performance deprecated IT instructions in ARMv8-A and ARMv8-R" msgstr "" -#: config/tc-arm.c:31256 +#: config/tc-arm.c:31262 msgid "warn about symbols that match instruction names [default]" msgstr "" -#: config/tc-arm.c:31257 +#: config/tc-arm.c:31263 msgid "disable warnings about symobls that match instructions" msgstr "" #. DON'T add any new processors to this list -- we want the whole list #. to go away... Add them to the processors table instead. -#: config/tc-arm.c:31273 config/tc-arm.c:31274 +#: config/tc-arm.c:31279 config/tc-arm.c:31280 msgid "use -mcpu=arm1" msgstr "" -#: config/tc-arm.c:31275 config/tc-arm.c:31276 +#: config/tc-arm.c:31281 config/tc-arm.c:31282 msgid "use -mcpu=arm2" msgstr "" -#: config/tc-arm.c:31277 config/tc-arm.c:31278 +#: config/tc-arm.c:31283 config/tc-arm.c:31284 msgid "use -mcpu=arm250" msgstr "" -#: config/tc-arm.c:31279 config/tc-arm.c:31280 +#: config/tc-arm.c:31285 config/tc-arm.c:31286 msgid "use -mcpu=arm3" msgstr "" -#: config/tc-arm.c:31281 config/tc-arm.c:31282 +#: config/tc-arm.c:31287 config/tc-arm.c:31288 msgid "use -mcpu=arm6" msgstr "" -#: config/tc-arm.c:31283 config/tc-arm.c:31284 +#: config/tc-arm.c:31289 config/tc-arm.c:31290 msgid "use -mcpu=arm600" msgstr "" -#: config/tc-arm.c:31285 config/tc-arm.c:31286 +#: config/tc-arm.c:31291 config/tc-arm.c:31292 msgid "use -mcpu=arm610" msgstr "" -#: config/tc-arm.c:31287 config/tc-arm.c:31288 +#: config/tc-arm.c:31293 config/tc-arm.c:31294 msgid "use -mcpu=arm620" msgstr "" -#: config/tc-arm.c:31289 config/tc-arm.c:31290 +#: config/tc-arm.c:31295 config/tc-arm.c:31296 msgid "use -mcpu=arm7" msgstr "" -#: config/tc-arm.c:31291 config/tc-arm.c:31292 +#: config/tc-arm.c:31297 config/tc-arm.c:31298 msgid "use -mcpu=arm70" msgstr "" -#: config/tc-arm.c:31293 config/tc-arm.c:31294 +#: config/tc-arm.c:31299 config/tc-arm.c:31300 msgid "use -mcpu=arm700" msgstr "" -#: config/tc-arm.c:31295 config/tc-arm.c:31296 +#: config/tc-arm.c:31301 config/tc-arm.c:31302 msgid "use -mcpu=arm700i" msgstr "" -#: config/tc-arm.c:31297 config/tc-arm.c:31298 +#: config/tc-arm.c:31303 config/tc-arm.c:31304 msgid "use -mcpu=arm710" msgstr "" -#: config/tc-arm.c:31299 config/tc-arm.c:31300 +#: config/tc-arm.c:31305 config/tc-arm.c:31306 msgid "use -mcpu=arm710c" msgstr "" -#: config/tc-arm.c:31301 config/tc-arm.c:31302 +#: config/tc-arm.c:31307 config/tc-arm.c:31308 msgid "use -mcpu=arm720" msgstr "" -#: config/tc-arm.c:31303 config/tc-arm.c:31304 +#: config/tc-arm.c:31309 config/tc-arm.c:31310 msgid "use -mcpu=arm7d" msgstr "" -#: config/tc-arm.c:31305 config/tc-arm.c:31306 +#: config/tc-arm.c:31311 config/tc-arm.c:31312 msgid "use -mcpu=arm7di" msgstr "" -#: config/tc-arm.c:31307 config/tc-arm.c:31308 +#: config/tc-arm.c:31313 config/tc-arm.c:31314 msgid "use -mcpu=arm7m" msgstr "" -#: config/tc-arm.c:31309 config/tc-arm.c:31310 +#: config/tc-arm.c:31315 config/tc-arm.c:31316 msgid "use -mcpu=arm7dm" msgstr "" -#: config/tc-arm.c:31311 config/tc-arm.c:31312 +#: config/tc-arm.c:31317 config/tc-arm.c:31318 msgid "use -mcpu=arm7dmi" msgstr "" -#: config/tc-arm.c:31313 config/tc-arm.c:31314 +#: config/tc-arm.c:31319 config/tc-arm.c:31320 msgid "use -mcpu=arm7100" msgstr "" -#: config/tc-arm.c:31315 config/tc-arm.c:31316 +#: config/tc-arm.c:31321 config/tc-arm.c:31322 msgid "use -mcpu=arm7500" msgstr "" -#: config/tc-arm.c:31317 config/tc-arm.c:31318 +#: config/tc-arm.c:31323 config/tc-arm.c:31324 msgid "use -mcpu=arm7500fe" msgstr "" -#: config/tc-arm.c:31319 config/tc-arm.c:31320 config/tc-arm.c:31321 -#: config/tc-arm.c:31322 +#: config/tc-arm.c:31325 config/tc-arm.c:31326 config/tc-arm.c:31327 +#: config/tc-arm.c:31328 msgid "use -mcpu=arm7tdmi" msgstr "" -#: config/tc-arm.c:31323 config/tc-arm.c:31324 +#: config/tc-arm.c:31329 config/tc-arm.c:31330 msgid "use -mcpu=arm710t" msgstr "" -#: config/tc-arm.c:31325 config/tc-arm.c:31326 +#: config/tc-arm.c:31331 config/tc-arm.c:31332 msgid "use -mcpu=arm720t" msgstr "" -#: config/tc-arm.c:31327 config/tc-arm.c:31328 +#: config/tc-arm.c:31333 config/tc-arm.c:31334 msgid "use -mcpu=arm740t" msgstr "" -#: config/tc-arm.c:31329 config/tc-arm.c:31330 +#: config/tc-arm.c:31335 config/tc-arm.c:31336 msgid "use -mcpu=arm8" msgstr "" -#: config/tc-arm.c:31331 config/tc-arm.c:31332 +#: config/tc-arm.c:31337 config/tc-arm.c:31338 msgid "use -mcpu=arm810" msgstr "" -#: config/tc-arm.c:31333 config/tc-arm.c:31334 +#: config/tc-arm.c:31339 config/tc-arm.c:31340 msgid "use -mcpu=arm9" msgstr "" -#: config/tc-arm.c:31335 config/tc-arm.c:31336 +#: config/tc-arm.c:31341 config/tc-arm.c:31342 msgid "use -mcpu=arm9tdmi" msgstr "" -#: config/tc-arm.c:31337 config/tc-arm.c:31338 +#: config/tc-arm.c:31343 config/tc-arm.c:31344 msgid "use -mcpu=arm920" msgstr "" -#: config/tc-arm.c:31339 config/tc-arm.c:31340 +#: config/tc-arm.c:31345 config/tc-arm.c:31346 msgid "use -mcpu=arm940" msgstr "" -#: config/tc-arm.c:31341 +#: config/tc-arm.c:31347 msgid "use -mcpu=strongarm" msgstr "" -#: config/tc-arm.c:31343 +#: config/tc-arm.c:31349 msgid "use -mcpu=strongarm110" msgstr "" -#: config/tc-arm.c:31345 +#: config/tc-arm.c:31351 msgid "use -mcpu=strongarm1100" msgstr "" -#: config/tc-arm.c:31347 +#: config/tc-arm.c:31353 msgid "use -mcpu=strongarm1110" msgstr "" -#: config/tc-arm.c:31348 +#: config/tc-arm.c:31354 msgid "use -mcpu=xscale" msgstr "" -#: config/tc-arm.c:31349 +#: config/tc-arm.c:31355 msgid "use -mcpu=iwmmxt" msgstr "" -#: config/tc-arm.c:31350 +#: config/tc-arm.c:31356 msgid "use -mcpu=all" msgstr "" #. Architecture variants -- don't add any more to this list either. -#: config/tc-arm.c:31353 config/tc-arm.c:31354 +#: config/tc-arm.c:31359 config/tc-arm.c:31360 msgid "use -march=armv2" msgstr "" -#: config/tc-arm.c:31355 config/tc-arm.c:31356 +#: config/tc-arm.c:31361 config/tc-arm.c:31362 msgid "use -march=armv2a" msgstr "" -#: config/tc-arm.c:31357 config/tc-arm.c:31358 +#: config/tc-arm.c:31363 config/tc-arm.c:31364 msgid "use -march=armv3" msgstr "" -#: config/tc-arm.c:31359 config/tc-arm.c:31360 +#: config/tc-arm.c:31365 config/tc-arm.c:31366 msgid "use -march=armv3m" msgstr "" -#: config/tc-arm.c:31361 config/tc-arm.c:31362 +#: config/tc-arm.c:31367 config/tc-arm.c:31368 msgid "use -march=armv4" msgstr "" -#: config/tc-arm.c:31363 config/tc-arm.c:31364 +#: config/tc-arm.c:31369 config/tc-arm.c:31370 msgid "use -march=armv4t" msgstr "" -#: config/tc-arm.c:31365 config/tc-arm.c:31366 +#: config/tc-arm.c:31371 config/tc-arm.c:31372 msgid "use -march=armv5" msgstr "" -#: config/tc-arm.c:31367 config/tc-arm.c:31368 +#: config/tc-arm.c:31373 config/tc-arm.c:31374 msgid "use -march=armv5t" msgstr "" -#: config/tc-arm.c:31369 config/tc-arm.c:31370 +#: config/tc-arm.c:31375 config/tc-arm.c:31376 msgid "use -march=armv5te" msgstr "" #. Floating point variants -- don't add any more to this list either. -#: config/tc-arm.c:31373 +#: config/tc-arm.c:31379 msgid "use -mfpu=fpe" msgstr "" -#: config/tc-arm.c:31374 +#: config/tc-arm.c:31380 msgid "use -mfpu=fpa10" msgstr "" -#: config/tc-arm.c:31375 +#: config/tc-arm.c:31381 msgid "use -mfpu=fpa11" msgstr "" -#: config/tc-arm.c:31377 +#: config/tc-arm.c:31383 msgid "use either -mfpu=softfpa or -mfpu=softvfp" msgstr "" -#: config/tc-arm.c:32501 +#: config/tc-arm.c:32507 msgid "extension does not apply to the base architecture" msgstr "" -#: config/tc-arm.c:32530 +#: config/tc-arm.c:32536 msgid "architectural extensions must be specified in alphabetical order" msgstr "" -#: config/tc-arm.c:32669 config/tc-arm.c:33645 +#: config/tc-arm.c:32675 config/tc-arm.c:33655 #, c-format msgid "unknown floating point format `%s'\n" msgstr "" -#: config/tc-arm.c:32685 config/tc-csky.c:1264 +#: config/tc-arm.c:32691 config/tc-csky.c:1264 #, c-format msgid "unknown floating point abi `%s'\n" msgstr "" -#: config/tc-arm.c:32701 +#: config/tc-arm.c:32707 #, c-format msgid "unknown EABI `%s'\n" msgstr "" -#: config/tc-arm.c:32721 +#: config/tc-arm.c:32727 #, c-format msgid "unknown implicit IT mode `%s', should be arm, thumb, always, or never." msgstr "" -#: config/tc-arm.c:32744 config/tc-metag.c:5911 +#: config/tc-arm.c:32750 config/tc-metag.c:5911 msgid "<fpu name>\t assemble for FPU architecture <fpu name>" msgstr "" -#: config/tc-arm.c:32746 +#: config/tc-arm.c:32752 msgid "<abi>\t assemble for floating point ABI <abi>" msgstr "" -#: config/tc-arm.c:32749 +#: config/tc-arm.c:32755 msgid "<ver>\t\t assemble for eabi version <ver>" msgstr "" -#: config/tc-arm.c:32752 +#: config/tc-arm.c:32758 msgid "<mode>\t controls implicit insertion of IT instructions" msgstr "" -#: config/tc-arm.c:32754 +#: config/tc-arm.c:32760 msgid "\t\t\t TI CodeComposer Studio syntax compatibility mode" msgstr "" -#: config/tc-arm.c:32757 +#: config/tc-arm.c:32763 msgid "" "[ieee|alternative]\n" " set the encoding for half precision floating point " @@ -5794,53 +5793,53 @@ msgid "" " or Arm alternative format." msgstr "" -#: config/tc-arm.c:32868 +#: config/tc-arm.c:32874 #, c-format msgid " ARM-specific assembler options:\n" msgstr "" -#: config/tc-arm.c:32888 +#: config/tc-arm.c:32894 #, c-format msgid " --fix-v4bx Allow BX in ARMv4 code\n" msgstr "" -#: config/tc-arm.c:32892 +#: config/tc-arm.c:32898 #, c-format msgid " --fdpic generate an FDPIC object file\n" msgstr "" -#: config/tc-arm.c:33206 +#: config/tc-arm.c:33216 msgid "no architecture contains all the instructions used\n" msgstr "" -#: config/tc-arm.c:33398 +#: config/tc-arm.c:33408 msgid ".cpu: missing cpu name" msgstr "" -#: config/tc-arm.c:33446 +#: config/tc-arm.c:33456 msgid ".arch: missing architecture name" msgstr "" -#: config/tc-arm.c:33487 +#: config/tc-arm.c:33497 msgid ".object_arch: missing architecture name" msgstr "" -#: config/tc-arm.c:33524 +#: config/tc-arm.c:33534 msgid ".arch_extension: missing architecture extension" msgstr "" -#: config/tc-arm.c:33581 +#: config/tc-arm.c:33591 #, c-format msgid "" "architectural extension `%s' is not allowed for the current base architecture" msgstr "" -#: config/tc-arm.c:33604 +#: config/tc-arm.c:33614 #, c-format msgid "unknown architecture extension `%s'\n" msgstr "" -#: config/tc-arm.c:33625 +#: config/tc-arm.c:33635 msgid ".fpu: missing fpu name" msgstr "" @@ -5941,7 +5940,7 @@ msgstr "" msgid "register number above 15 required" msgstr "" -#: config/tc-avr.c:1131 config/tc-csky.c:6395 config/tc-csky.c:6424 +#: config/tc-avr.c:1131 config/tc-csky.c:6417 config/tc-csky.c:6446 msgid "even register number required" msgstr "" @@ -6028,14 +6027,14 @@ msgstr "" #: config/tc-d30v.c:1768 config/tc-metag.c:7016 config/tc-mn10200.c:772 #: config/tc-mn10300.c:2178 config/tc-msp430.c:4645 config/tc-ppc.c:7768 #: config/tc-spu.c:878 config/tc-spu.c:1091 config/tc-v850.c:3365 -#: config/tc-z80.c:3878 +#: config/tc-z80.c:3881 #, c-format msgid "reloc %d not supported by object file format" msgstr "" #: config/tc-avr.c:1887 config/tc-ft32.c:232 config/tc-h8300.c:1926 #: config/tc-mcore.c:881 config/tc-microblaze.c:941 config/tc-moxie.c:180 -#: config/tc-pj.c:253 config/tc-sh.c:2197 config/tc-wasm32.c:747 +#: config/tc-pj.c:253 config/tc-sh.c:2182 config/tc-wasm32.c:747 #: config/tc-z8k.c:1233 msgid "can't find opcode " msgstr "" @@ -6153,27 +6152,58 @@ msgstr "" msgid "rel too far BFD_RELOC_16" msgstr "" -#: config/tc-bpf.c:176 +#: config/tc-bpf.c:194 +#, c-format +msgid "-mdialect=%s is not valid. Expected normal or pseudoc" +msgstr "" + +#: config/tc-bpf.c:209 +#, c-format +msgid "-misa-spec=%s is not valid. Expected v1, v2, v3, v4 o xbpf" +msgstr "" + +#: config/tc-bpf.c:229 #, c-format msgid "" "\n" "BPF options:\n" msgstr "" -#: config/tc-bpf.c:177 +#: config/tc-bpf.c:230 #, c-format msgid "" -" --EL\t\t\tgenerate code for a little endian machine\n" -" --EB\t\t\tgenerate code for a big endian machine\n" -" -mxbpf generate xBPF instructions\n" +"BPF options:\n" +" -EL generate code for a little endian machine\n" +" -EB generate code for a big endian machine\n" +" -mdialect=DIALECT set the assembly dialect (normal, pseudoc)\n" +" -misa-spec set the BPF ISA spec (v1, v2, v3, v4, xbpf)\n" +" -mxbpf alias for -misa-spec=xbpf\n" msgstr "" -#: config/tc-bpf.c:353 -msgid "convert_frag called" +#: config/tc-bpf.c:589 +msgid "signed instruction operand out of range, shall fit in 32 bits" msgstr "" -#: config/tc-bpf.c:360 config/tc-sparc.h:68 config/tc-z80.h:54 -msgid "estimate_size_before_relax called" +#: config/tc-bpf.c:936 +msgid "immediate out of range, shall fit in 32 bits" +msgstr "" + +#: config/tc-bpf.c:946 +msgid "pc-relative offset out of range, shall fit in 32 bits" +msgstr "" + +#: config/tc-bpf.c:956 config/tc-bpf.c:966 +msgid "pc-relative offset out of range, shall fit in 16 bits" +msgstr "" + +#: config/tc-bpf.c:1568 +#, c-format +msgid "invalid %%-tag in BPF opcode '%s'\n" +msgstr "" + +#: config/tc-bpf.c:1611 +#, c-format +msgid "unrecognized instruction `%s'" msgstr "" #: config/tc-cr16.c:168 @@ -6207,7 +6237,7 @@ msgstr "" msgid "internal error: reloc %d (`%s') not supported by object file format" msgstr "" -#: config/tc-cr16.c:696 config/tc-i386.c:15030 config/tc-s390.c:2120 +#: config/tc-cr16.c:696 config/tc-i386.c:15400 config/tc-s390.c:2120 msgid "GOT already in symbol table" msgstr "" @@ -6385,22 +6415,22 @@ msgstr "" #: config/tc-cr16.c:2476 config/tc-cris.c:1550 config/tc-cris.c:1558 #: config/tc-crx.c:1941 config/tc-dlx.c:681 config/tc-hppa.c:3225 -#: config/tc-hppa.c:3232 config/tc-sparc.c:1749 config/tc-sparc.c:1757 +#: config/tc-hppa.c:3232 config/tc-sparc.c:1753 config/tc-sparc.c:1761 #, c-format msgid "Unknown opcode: `%s'" msgstr "" -#: config/tc-cris.c:550 config/tc-m68hc11.c:3892 +#: config/tc-cris.c:550 config/tc-m68hc11.c:3894 #, c-format msgid "internal inconsistency problem in %s: fr_symbol %lx" msgstr "" -#: config/tc-cris.c:554 config/tc-m68hc11.c:3896 config/tc-msp430.c:4995 +#: config/tc-cris.c:554 config/tc-m68hc11.c:3898 config/tc-msp430.c:4995 #, c-format msgid "internal inconsistency problem in %s: resolved symbol" msgstr "" -#: config/tc-cris.c:564 config/tc-m68hc11.c:3902 +#: config/tc-cris.c:564 config/tc-m68hc11.c:3904 #, c-format msgid "internal inconsistency problem in %s: fr_subtype %d" msgstr "" @@ -6794,8 +6824,8 @@ msgstr "" #. Variable not in small data read only segment accessed #. using small data read only anchor. -#: config/tc-csky.c:1149 config/tc-mcore.c:1927 config/tc-microblaze.c:1999 -#: config/tc-microblaze.c:2301 config/tc-microblaze.c:2324 +#: config/tc-csky.c:1149 config/tc-mcore.c:1927 config/tc-microblaze.c:2082 +#: config/tc-microblaze.c:2386 config/tc-microblaze.c:2409 msgid "unknown" msgstr "" @@ -6975,78 +7005,78 @@ msgstr "" msgid " -mvdsp\t\t\tenable vector DSP instructions\n" msgstr "" -#: config/tc-csky.c:1753 +#: config/tc-csky.c:1773 msgid "C-SKY ABI v1 (ck510/ck610) does not support -mbranch-stub" msgstr "" -#: config/tc-csky.c:1758 +#: config/tc-csky.c:1778 msgid "-mno-force2bsr is ignored with -mbranch-stub" msgstr "" -#: config/tc-csky.c:1766 +#: config/tc-csky.c:1786 msgid "-mno-force2bsr is ignored for ck801/ck802" msgstr "" -#: config/tc-csky.c:1793 +#: config/tc-csky.c:1813 msgid "-mljump is ignored for ck801/ck802" msgstr "" -#: config/tc-csky.c:2073 config/tc-mcore.c:689 +#: config/tc-csky.c:2095 config/tc-mcore.c:689 msgid "more than 65K literal pools" msgstr "" -#: config/tc-csky.c:2320 read.c:3667 +#: config/tc-csky.c:2342 read.c:3667 #, c-format msgid "bad floating literal: %s" msgstr "" -#: config/tc-csky.c:2468 config/tc-mcore.c:743 +#: config/tc-csky.c:2490 config/tc-mcore.c:743 msgid "missing ']'" msgstr "" -#: config/tc-csky.c:2496 config/tc-mips.c:14347 config/tc-mips.c:14411 +#: config/tc-csky.c:2518 config/tc-mips.c:14347 config/tc-mips.c:14411 #: config/tc-mips.c:14422 config/tc-score.c:2692 config/tc-score.c:2739 msgid "unrecognized opcode" msgstr "" -#: config/tc-csky.c:3631 config/tc-mcore.c:1164 +#: config/tc-csky.c:3653 config/tc-mcore.c:1164 msgid "translating mgeni to movi" msgstr "" -#: config/tc-csky.c:5279 config/tc-tilegx.c:1451 config/tc-tilepro.c:1310 +#: config/tc-csky.c:5301 config/tc-tilegx.c:1451 config/tc-tilepro.c:1310 #, c-format msgid "unsupported BFD relocation size %d" msgstr "" -#: config/tc-csky.c:5902 +#: config/tc-csky.c:5924 msgid "second operand must be 4" msgstr "" -#: config/tc-csky.c:5926 config/tc-mcore.c:1527 +#: config/tc-csky.c:5948 config/tc-mcore.c:1527 msgid "second operand must be 1" msgstr "" -#: config/tc-csky.c:5999 config/tc-xtensa.c:1989 +#: config/tc-csky.c:6021 config/tc-xtensa.c:1989 msgid "register number out of range" msgstr "" -#: config/tc-csky.c:6009 +#: config/tc-csky.c:6031 msgid "64-bit operator src/dst register must be less than 15" msgstr "" -#: config/tc-csky.c:7836 +#: config/tc-csky.c:7858 msgid "the first operand must be a symbol" msgstr "" -#: config/tc-csky.c:7845 +#: config/tc-csky.c:7867 msgid "missing stack size" msgstr "" -#: config/tc-csky.c:7858 config/tc-score.c:4244 +#: config/tc-csky.c:7880 config/tc-score.c:4244 msgid "value not in range [0, 0xffffffff]" msgstr "" -#: config/tc-csky.c:7868 config/tc-mcore.c:782 +#: config/tc-csky.c:7890 config/tc-mcore.c:782 msgid "operand must be a constant" msgstr "" @@ -7166,7 +7196,7 @@ msgstr "" #: config/tc-d10v.c:1394 #, c-format -msgid "cr%ld is a reserved control register" +msgid "cr%d is a reserved control register" msgstr "" #: config/tc-d10v.c:1569 @@ -7385,7 +7415,7 @@ msgid "Invalid expression after # number\n" msgstr "" #: config/tc-dlx.c:1178 config/tc-m32r.c:2275 config/tc-nds32.c:7841 -#: config/tc-sparc.c:4010 +#: config/tc-sparc.c:4014 #, c-format msgid "internal error: can't export reloc type %d (`%s')" msgstr "" @@ -7774,7 +7804,7 @@ msgstr "" msgid "operand/size mis-match" msgstr "" -#: config/tc-h8300.c:1943 config/tc-sh.c:2552 config/tc-z8k.c:1243 +#: config/tc-h8300.c:1943 config/tc-sh.c:2537 config/tc-z8k.c:1243 msgid "unknown opcode" msgstr "" @@ -7828,8 +7858,8 @@ msgstr "" msgid "Unexpected reference to a symbol in a non-code section" msgstr "" -#: config/tc-h8300.c:2320 config/tc-mcore.c:2208 config/tc-microblaze.c:2494 -#: config/tc-pj.c:488 config/tc-sh.c:3901 config/tc-tic6x.c:4514 +#: config/tc-h8300.c:2320 config/tc-mcore.c:2208 config/tc-microblaze.c:2580 +#: config/tc-pj.c:488 config/tc-sh.c:3886 config/tc-tic6x.c:4516 #, c-format msgid "Cannot represent relocation type %s" msgstr "" @@ -8249,520 +8279,528 @@ msgstr "" msgid "Broken assembler. No assembly attempted." msgstr "" -#: config/tc-i386.c:1342 +#: config/tc-i386.c:1369 #, c-format msgid "i386_output_nops called to generate nops of at most %d bytes!" msgstr "" -#: config/tc-i386.c:1551 +#: config/tc-i386.c:1538 #, c-format msgid "invalid single nop size: %d (expect within [0, %d])" msgstr "" -#: config/tc-i386.c:1592 +#: config/tc-i386.c:1579 msgid "jump over nop padding out of range" msgstr "" -#: config/tc-i386.c:2448 +#: config/tc-i386.c:2517 #, c-format msgid "0x%<PRIx64> shortened to 0x%<PRIx64>" msgstr "" -#: config/tc-i386.c:2545 config/tc-i386.c:8028 +#: config/tc-i386.c:2614 config/tc-i386.c:8332 msgid "same type of prefix used twice" msgstr "" -#: config/tc-i386.c:2572 +#: config/tc-i386.c:2626 config/tc-i386.c:2945 #, c-format msgid "64bit mode not supported on `%s'." msgstr "" -#: config/tc-i386.c:2581 +#: config/tc-i386.c:2633 config/tc-i386.c:2954 #, c-format msgid "32bit mode not supported on `%s'." msgstr "" -#: config/tc-i386.c:2621 +#: config/tc-i386.c:2675 msgid "bad argument to syntax directive." msgstr "" -#: config/tc-i386.c:2682 +#: config/tc-i386.c:2736 #, c-format msgid "bad argument to %s_check directive." msgstr "" -#: config/tc-i386.c:2686 +#: config/tc-i386.c:2740 #, c-format msgid "missing argument for %s_check directive" msgstr "" -#: config/tc-i386.c:2716 +#: config/tc-i386.c:2770 #, c-format msgid "`%s' is not supported on `%s'" msgstr "" -#: config/tc-i386.c:2818 +#: config/tc-i386.c:2838 +msgid "missing cpu architecture" +msgstr "" + +#: config/tc-i386.c:2876 msgid ".arch stack is empty" msgstr "" -#: config/tc-i386.c:2828 +#: config/tc-i386.c:2886 #, c-format msgid "this `.arch pop' requires `.code%u%s' to be in effect" msgstr "" -#: config/tc-i386.c:2930 -#, c-format -msgid "no such architecture: `%s'" +#: config/tc-i386.c:3002 +msgid "Unrecognized vector size specifier" msgstr "" -#: config/tc-i386.c:2935 -msgid "missing cpu architecture" +#: config/tc-i386.c:3038 +#, c-format +msgid "no such architecture: `%s'" msgstr "" -#: config/tc-i386.c:2952 +#: config/tc-i386.c:3055 #, c-format msgid "no such architecture modifier: `%s'" msgstr "" -#: config/tc-i386.c:2967 config/tc-i386.c:2990 +#: config/tc-i386.c:3070 config/tc-i386.c:3093 msgid "Intel MCU is 32bit ELF only" msgstr "" -#: config/tc-i386.c:2997 config/tc-i386.c:14929 +#: config/tc-i386.c:3100 config/tc-i386.c:15301 msgid "unknown architecture" msgstr "" -#: config/tc-i386.c:3363 +#: config/tc-i386.c:3466 msgid "there are no pc-relative size relocations" msgstr "" -#: config/tc-i386.c:3375 +#: config/tc-i386.c:3478 #, c-format msgid "unknown relocation (%u)" msgstr "" -#: config/tc-i386.c:3377 +#: config/tc-i386.c:3480 #, c-format msgid "%u-byte relocation cannot be applied to %u-byte field" msgstr "" -#: config/tc-i386.c:3381 +#: config/tc-i386.c:3484 msgid "non-pc-relative relocation for pc-relative field" msgstr "" -#: config/tc-i386.c:3386 +#: config/tc-i386.c:3489 msgid "relocated field and relocation type differ in signedness" msgstr "" -#: config/tc-i386.c:3395 +#: config/tc-i386.c:3498 msgid "there are no unsigned pc-relative relocations" msgstr "" -#: config/tc-i386.c:3403 +#: config/tc-i386.c:3506 #, c-format msgid "cannot do %u byte pc-relative relocation" msgstr "" -#: config/tc-i386.c:3420 +#: config/tc-i386.c:3523 #, c-format msgid "cannot do %s %u byte relocation" msgstr "" -#: config/tc-i386.c:3811 +#: config/tc-i386.c:3932 #, c-format msgid "ambiguous broadcast for `%s', using %u-bit form" msgstr "" -#: config/tc-i386.c:4042 config/tc-i386.c:5162 +#: config/tc-i386.c:4162 config/tc-i386.c:5391 #, c-format msgid "invalid instruction `%s' after `%s'" msgstr "" -#: config/tc-i386.c:4048 +#: config/tc-i386.c:4168 #, c-format msgid "missing `lock' with `%s'" msgstr "" -#: config/tc-i386.c:4055 +#: config/tc-i386.c:4175 #, c-format msgid "instruction `%s' after `xacquire' not allowed" msgstr "" -#: config/tc-i386.c:4061 +#: config/tc-i386.c:4181 #, c-format msgid "memory destination needed for instruction `%s' after `xrelease'" msgstr "" -#: config/tc-i386.c:4746 +#: config/tc-i386.c:4952 #, c-format msgid "`%s` changes flags which would affect control flow behavior" msgstr "" -#: config/tc-i386.c:4788 +#: config/tc-i386.c:4994 #, c-format msgid "indirect `%s` with memory operand should be avoided" msgstr "" -#: config/tc-i386.c:4799 +#: config/tc-i386.c:5005 #, c-format msgid "`%s` skips -mlfence-before-indirect-branch on `%s`" msgstr "" -#: config/tc-i386.c:4819 +#: config/tc-i386.c:5025 #, c-format msgid "`%s` skips -mlfence-before-ret on `%s`" msgstr "" -#: config/tc-i386.c:5029 +#: config/tc-i386.c:5255 msgid "operand size mismatch" msgstr "" -#: config/tc-i386.c:5032 +#: config/tc-i386.c:5258 msgid "operand type mismatch" msgstr "" -#: config/tc-i386.c:5035 +#: config/tc-i386.c:5261 msgid "register type mismatch" msgstr "" -#: config/tc-i386.c:5038 +#: config/tc-i386.c:5264 msgid "number of operands mismatch" msgstr "" -#: config/tc-i386.c:5041 +#: config/tc-i386.c:5267 msgid "invalid instruction suffix" msgstr "" -#: config/tc-i386.c:5044 +#: config/tc-i386.c:5270 msgid "constant doesn't fit in 4 bits" msgstr "" -#: config/tc-i386.c:5047 +#: config/tc-i386.c:5273 msgid "unsupported with Intel mnemonic" msgstr "" -#: config/tc-i386.c:5050 +#: config/tc-i386.c:5276 msgid "unsupported syntax" msgstr "" -#: config/tc-i386.c:5053 +#: config/tc-i386.c:5279 #, c-format msgid "unsupported instruction `%s'" msgstr "" -#: config/tc-i386.c:5057 +#: config/tc-i386.c:5283 #, c-format msgid "`%s' is not supported on `%s%s'" msgstr "" -#: config/tc-i386.c:5066 +#: config/tc-i386.c:5292 #, c-format msgid "`%s%c' is not supported in 64-bit mode" msgstr "" -#: config/tc-i386.c:5070 +#: config/tc-i386.c:5296 #, c-format msgid "`%s%c' is only supported in 64-bit mode" msgstr "" -#: config/tc-i386.c:5077 config/tc-i386.c:5542 +#: config/tc-i386.c:5303 config/tc-i386.c:5779 #, c-format msgid "`%s' is not supported in 64-bit mode" msgstr "" -#: config/tc-i386.c:5080 config/tc-i386.c:5541 +#: config/tc-i386.c:5306 config/tc-i386.c:5778 #, c-format msgid "`%s' is only supported in 64-bit mode" msgstr "" -#: config/tc-i386.c:5085 +#: config/tc-i386.c:5311 msgid "invalid SIB address" msgstr "" -#: config/tc-i386.c:5088 +#: config/tc-i386.c:5314 msgid "invalid VSIB address" msgstr "" -#: config/tc-i386.c:5091 +#: config/tc-i386.c:5317 msgid "mask, index, and destination registers must be distinct" msgstr "" -#: config/tc-i386.c:5094 +#: config/tc-i386.c:5320 msgid "all tmm registers must be distinct" msgstr "" -#: config/tc-i386.c:5097 +#: config/tc-i386.c:5323 msgid "destination and source registers must be distinct" msgstr "" -#: config/tc-i386.c:5100 +#: config/tc-i386.c:5326 msgid "unsupported vector index register" msgstr "" -#: config/tc-i386.c:5103 +#: config/tc-i386.c:5329 msgid "unsupported broadcast" msgstr "" -#: config/tc-i386.c:5106 +#: config/tc-i386.c:5332 msgid "broadcast is needed for operand of such type" msgstr "" -#: config/tc-i386.c:5109 +#: config/tc-i386.c:5335 msgid "unsupported masking" msgstr "" -#: config/tc-i386.c:5112 +#: config/tc-i386.c:5338 msgid "mask not on destination operand" msgstr "" -#: config/tc-i386.c:5115 +#: config/tc-i386.c:5341 msgid "default mask isn't allowed" msgstr "" -#: config/tc-i386.c:5118 +#: config/tc-i386.c:5344 msgid "unsupported static rounding/sae" msgstr "" -#: config/tc-i386.c:5121 config/tc-metag.c:4787 config/tc-metag.c:5528 +#: config/tc-i386.c:5347 config/tc-metag.c:4787 config/tc-metag.c:5528 #: config/tc-metag.c:5550 msgid "invalid register operand" msgstr "" -#: config/tc-i386.c:5124 +#: config/tc-i386.c:5350 +msgid "internal error" +msgstr "" + +#: config/tc-i386.c:5353 #, c-format msgid "%s for `%s'" msgstr "" -#: config/tc-i386.c:5152 +#: config/tc-i386.c:5381 #, c-format msgid "SSE instruction `%s' is used" msgstr "" -#: config/tc-i386.c:5176 +#: config/tc-i386.c:5405 msgid "expecting lockable instruction after `lock'" msgstr "" -#: config/tc-i386.c:5192 +#: config/tc-i386.c:5421 #, c-format msgid "data size prefix invalid with `%s'" msgstr "" -#: config/tc-i386.c:5204 +#: config/tc-i386.c:5433 #, c-format msgid "TLS relocation cannot be used with `%s'" msgstr "" -#: config/tc-i386.c:5217 +#: config/tc-i386.c:5446 msgid "expecting valid branch instruction after `bnd'" msgstr "" -#: config/tc-i386.c:5221 +#: config/tc-i386.c:5450 msgid "expecting indirect branch instruction after `notrack'" msgstr "" -#: config/tc-i386.c:5226 +#: config/tc-i386.c:5455 msgid "32-bit address isn't allowed in 64-bit MPX instructions." msgstr "" -#: config/tc-i386.c:5230 +#: config/tc-i386.c:5459 msgid "16-bit address isn't allowed in MPX instructions" msgstr "" -#: config/tc-i386.c:5240 +#: config/tc-i386.c:5469 msgid "replacing `rep'/`repe' prefix by `bnd'" msgstr "" -#: config/tc-i386.c:5260 +#: config/tc-i386.c:5489 #, c-format msgid "input/output port address isn't allowed with `%s'" msgstr "" -#: config/tc-i386.c:5277 +#: config/tc-i386.c:5511 #, c-format msgid "'%s' only supports RIP-relative address" msgstr "" #. UnixWare fsub no args is alias for fsubp, fadd -> faddp, etc. -#: config/tc-i386.c:5323 +#: config/tc-i386.c:5560 #, c-format msgid "translating to `%sp'" msgstr "" -#: config/tc-i386.c:5330 +#: config/tc-i386.c:5567 #, c-format msgid "instruction `%s' isn't supported outside of protected mode." msgstr "" -#: config/tc-i386.c:5338 +#: config/tc-i386.c:5575 #, c-format msgid "REX prefix invalid with `%s'" msgstr "" -#: config/tc-i386.c:5395 +#: config/tc-i386.c:5632 #, c-format msgid "can't encode register '%s%s' in an instruction requiring REX prefix." msgstr "" -#: config/tc-i386.c:5492 config/tc-i386.c:5741 +#: config/tc-i386.c:5729 config/tc-i386.c:5978 #, c-format msgid "no such instruction: `%s'" msgstr "" -#: config/tc-i386.c:5517 config/tc-i386.c:5774 +#: config/tc-i386.c:5754 config/tc-i386.c:6011 #, c-format msgid "invalid character %s in mnemonic" msgstr "" -#: config/tc-i386.c:5524 +#: config/tc-i386.c:5761 msgid "expecting prefix; got nothing" msgstr "" -#: config/tc-i386.c:5526 +#: config/tc-i386.c:5763 msgid "expecting mnemonic; got nothing" msgstr "" -#: config/tc-i386.c:5554 +#: config/tc-i386.c:5791 #, c-format msgid "redundant %s prefix" msgstr "" -#: config/tc-i386.c:5724 +#: config/tc-i386.c:5961 #, c-format msgid "found `%sd'; assuming `%sl' was meant" msgstr "" -#: config/tc-i386.c:5823 +#: config/tc-i386.c:6060 #, c-format msgid "invalid character %s before operand %d" msgstr "" -#: config/tc-i386.c:5835 +#: config/tc-i386.c:6072 #, c-format msgid "unbalanced double quotes in operand %d." msgstr "" -#: config/tc-i386.c:5842 +#: config/tc-i386.c:6079 #, c-format msgid "unbalanced parenthesis in operand %d." msgstr "" -#: config/tc-i386.c:5855 +#: config/tc-i386.c:6092 #, c-format msgid "invalid character %s in operand %d" msgstr "" -#: config/tc-i386.c:5875 +#: config/tc-i386.c:6112 #, c-format msgid "spurious operands; (%d operands/instruction max)" msgstr "" -#: config/tc-i386.c:5885 config/tc-i386.c:10977 +#: config/tc-i386.c:6122 config/tc-i386.c:11303 #, c-format msgid "too many memory references for `%s'" msgstr "" -#: config/tc-i386.c:5906 config/tc-i386.c:10971 +#: config/tc-i386.c:6143 config/tc-i386.c:11297 msgid "expecting operand after ','; got nothing" msgstr "" -#: config/tc-i386.c:5911 +#: config/tc-i386.c:6148 msgid "expecting operand before ','; got nothing" msgstr "" -#: config/tc-i386.c:6181 +#: config/tc-i386.c:6424 #, c-format msgid "0x%<PRIx64> out of range of signed 32bit displacement" msgstr "" -#: config/tc-i386.c:6385 +#: config/tc-i386.c:6628 msgid "mask, index, and destination registers should be distinct" msgstr "" -#: config/tc-i386.c:6402 +#: config/tc-i386.c:6645 msgid "index and destination registers should be distinct" msgstr "" -#: config/tc-i386.c:7201 +#: config/tc-i386.c:7490 #, c-format msgid "indirect %s without `*'" msgstr "" #. Warn them that a data or address size prefix doesn't #. affect assembly of the next line of code. -#: config/tc-i386.c:7208 +#: config/tc-i386.c:7497 #, c-format msgid "stand-alone `%s' prefix" msgstr "" -#: config/tc-i386.c:7273 +#: config/tc-i386.c:7562 #, c-format msgid "`%s' operand %u must use `%ses' segment" msgstr "" -#: config/tc-i386.c:7403 +#: config/tc-i386.c:7692 msgid "generating 16-bit `iret' for .code16gcc directive" msgstr "" -#: config/tc-i386.c:7407 +#: config/tc-i386.c:7696 #, c-format msgid "generating 32-bit `%s', unlike earlier gas versions" msgstr "" -#: config/tc-i386.c:7524 +#: config/tc-i386.c:7827 #, c-format msgid "ambiguous operand size for `%s'" msgstr "" -#: config/tc-i386.c:7529 +#: config/tc-i386.c:7832 #, c-format msgid "" "no instruction mnemonic suffix given and no register operands; can't size `%" "s'" msgstr "" -#: config/tc-i386.c:7534 +#: config/tc-i386.c:7837 #, c-format msgid "%s; using default for `%s'" msgstr "" -#: config/tc-i386.c:7536 +#: config/tc-i386.c:7839 msgid "ambiguous operand size" msgstr "" -#: config/tc-i386.c:7537 +#: config/tc-i386.c:7840 msgid "no instruction mnemonic suffix given and no register operands" msgstr "" -#: config/tc-i386.c:7675 +#: config/tc-i386.c:7978 #, c-format msgid "16-bit addressing unavailable for `%s'" msgstr "" -#: config/tc-i386.c:7743 +#: config/tc-i386.c:8046 #, c-format msgid "invalid register operand size for `%s'" msgstr "" #. Any other register is bad. -#: config/tc-i386.c:7780 config/tc-i386.c:7805 config/tc-i386.c:7853 -#: config/tc-i386.c:7892 +#: config/tc-i386.c:8083 config/tc-i386.c:8108 config/tc-i386.c:8156 +#: config/tc-i386.c:8195 #, c-format msgid "`%s%s' not allowed with `%s%c'" msgstr "" #. Prohibit these changes in the 64bit mode, since the #. lowering is more complicated. -#: config/tc-i386.c:7818 config/tc-i386.c:7829 config/tc-i386.c:7869 -#: config/tc-i386.c:7906 +#: config/tc-i386.c:8121 config/tc-i386.c:8132 config/tc-i386.c:8172 +#: config/tc-i386.c:8209 #, c-format msgid "incorrect register `%s%s' used with `%c' suffix" msgstr "" -#: config/tc-i386.c:7992 +#: config/tc-i386.c:8296 msgid "no instruction mnemonic suffix given; can't determine immediate size" msgstr "" -#: config/tc-i386.c:8186 +#: config/tc-i386.c:8490 #, c-format msgid "" "source register `%s%s' implicitly denotes `%s%.3s%u' to `%s%.3s%u' source " @@ -8770,106 +8808,110 @@ msgid "" msgstr "" #. Reversed arguments on faddp or fmulp. -#: config/tc-i386.c:8228 +#: config/tc-i386.c:8532 #, c-format msgid "translating to `%s %s%s,%s%s'" msgstr "" #. Extraneous `l' suffix on fp insn. -#: config/tc-i386.c:8235 +#: config/tc-i386.c:8539 #, c-format msgid "translating to `%s %s%s'" msgstr "" -#: config/tc-i386.c:8248 +#: config/tc-i386.c:8552 #, c-format msgid "you can't `%s %s%s'" msgstr "" -#: config/tc-i386.c:8305 +#: config/tc-i386.c:8609 #, c-format msgid "segment override on `%s' is ineffectual" msgstr "" -#: config/tc-i386.c:8763 config/tc-riscv.c:1612 +#: config/tc-i386.c:9067 config/tc-loongarch.c:997 config/tc-riscv.c:1654 msgid "relaxable branches not supported in absolute section" msgstr "" -#: config/tc-i386.c:8798 config/tc-i386.c:8946 config/tc-i386.c:9028 +#: config/tc-i386.c:9102 config/tc-i386.c:9248 config/tc-i386.c:9330 #, c-format msgid "skipping prefixes on `%s'" msgstr "" -#: config/tc-i386.c:9054 +#: config/tc-i386.c:9356 msgid "16-bit jump out of range" msgstr "" -#: config/tc-i386.c:9346 config/tc-i386.c:9378 config/tc-i386.c:9467 +#: config/tc-i386.c:9648 config/tc-i386.c:9680 config/tc-i386.c:9769 #, c-format msgid "`%s` skips -malign-branch-boundary on `%s`" msgstr "" -#: config/tc-i386.c:9635 +#: config/tc-i386.c:9937 msgid "use .code16 to ensure correct addressing mode" msgstr "" -#: config/tc-i386.c:9663 +#: config/tc-i386.c:9965 #, c-format msgid "Cannot convert `%s' in 16-bit mode" msgstr "" -#: config/tc-i386.c:9665 +#: config/tc-i386.c:9967 #, c-format msgid "Cannot convert `%s' with `-momit-lock-prefix=yes' in effect" msgstr "" -#: config/tc-i386.c:9753 +#: config/tc-i386.c:10055 msgid "pseudo prefix without instruction" msgstr "" -#: config/tc-i386.c:9899 +#: config/tc-i386.c:10201 #, c-format msgid "instruction length of %u bytes exceeds the limit of 15" msgstr "" -#: config/tc-i386.c:10507 +#: config/tc-i386.c:10810 #, c-format msgid "@%s reloc is not supported with %d-bit output format" msgstr "" -#: config/tc-i386.c:10561 +#: config/tc-i386.c:10864 #, c-format msgid "missing or invalid expression `%s'" msgstr "" -#: config/tc-i386.c:10570 +#: config/tc-i386.c:10873 #, c-format msgid "invalid PLT expression `%s'" msgstr "" -#: config/tc-i386.c:10667 +#: config/tc-i386.c:10970 msgid "pseudo-prefix conflicts with encoding specifier" msgstr "" -#: config/tc-i386.c:10949 +#: config/tc-i386.c:10994 +msgid "illegal prefix used with VEX/XOP/EVEX" +msgstr "" + +#: config/tc-i386.c:11275 #, c-format msgid "opcode residual (%#<PRIx64>) too wide" msgstr "" -#: config/tc-i386.c:10994 config/tc-i386.c:11037 +#: config/tc-i386.c:11324 config/tc-i386.c:11367 msgid "too many register/memory operands" msgstr "" -#: config/tc-i386.c:11005 config/tc-i386.c:11012 +#: config/tc-i386.c:11335 config/tc-i386.c:11342 msgid "too few register/memory operands" msgstr "" -#: config/tc-i386.c:11025 +#: config/tc-i386.c:11355 #, c-format msgid "constant doesn't fit in %d bits" msgstr "" -#: config/tc-i386.c:11088 +#: config/tc-i386.c:11418 msgid "VSIB unavailable with legacy encoding" msgstr "" @@ -8877,359 +8919,363 @@ msgstr "" #. an 8-bit immediate like for 4-register-operand insns, but that #. would require ugly fiddling with process_operands() and/or #. build_modrm_byte(). -#: config/tc-i386.c:11099 +#: config/tc-i386.c:11429 msgid "too many register operands with VSIB" msgstr "" -#: config/tc-i386.c:11312 +#: config/tc-i386.c:11643 msgid "conflicting .insn operands" msgstr "" -#: config/tc-i386.c:11400 +#: config/tc-i386.c:11731 #, c-format msgid "duplicated `{%s}'" msgstr "" -#: config/tc-i386.c:11458 +#: config/tc-i386.c:11795 #, c-format msgid "Unsupported broadcast: `%s'" msgstr "" -#: config/tc-i386.c:11520 +#: config/tc-i386.c:11863 #, c-format msgid "`%s%s' can't be used for write mask" msgstr "" -#: config/tc-i386.c:11540 +#: config/tc-i386.c:11883 #, c-format msgid "invalid write mask `%s'" msgstr "" -#: config/tc-i386.c:11561 +#: config/tc-i386.c:11904 #, c-format msgid "duplicated `%s'" msgstr "" -#: config/tc-i386.c:11571 +#: config/tc-i386.c:11914 #, c-format msgid "invalid zeroing-masking `%s'" msgstr "" -#: config/tc-i386.c:11587 +#: config/tc-i386.c:11930 #, c-format msgid "missing `}' in `%s'" msgstr "" #. We don't know this one. -#: config/tc-i386.c:11601 +#: config/tc-i386.c:11944 #, c-format msgid "unknown vector operation: `%s'" msgstr "" -#: config/tc-i386.c:11607 +#: config/tc-i386.c:11950 msgid "zeroing-masking only allowed with write mask" msgstr "" -#: config/tc-i386.c:11627 +#: config/tc-i386.c:11970 #, c-format msgid "at most %d immediate operands are allowed" msgstr "" -#: config/tc-i386.c:11666 config/tc-i386.c:11932 +#: config/tc-i386.c:12009 config/tc-i386.c:12275 #, c-format msgid "junk `%s' after expression" msgstr "" -#: config/tc-i386.c:11679 +#: config/tc-i386.c:12022 #, c-format msgid "illegal immediate register operand %s" msgstr "" -#: config/tc-i386.c:11693 +#: config/tc-i386.c:12036 #, c-format msgid "missing or invalid immediate expression `%s'" msgstr "" -#: config/tc-i386.c:11717 config/tc-i386.c:12012 +#: config/tc-i386.c:12060 config/tc-i386.c:12355 #, c-format msgid "unimplemented segment %s in operand" msgstr "" -#: config/tc-i386.c:11766 +#: config/tc-i386.c:12109 #, c-format msgid "expecting scale factor of 1, 2, 4, or 8: got `%s'" msgstr "" -#: config/tc-i386.c:11775 +#: config/tc-i386.c:12118 #, c-format msgid "scale factor of %d without an index register" msgstr "" -#: config/tc-i386.c:11797 +#: config/tc-i386.c:12140 #, c-format msgid "at most %d displacement operands are allowed" msgstr "" -#: config/tc-i386.c:11987 +#: config/tc-i386.c:12330 #, c-format msgid "missing or invalid displacement expression `%s'" msgstr "" -#: config/tc-i386.c:12163 +#: config/tc-i386.c:12506 #, c-format msgid "`%s' is not valid here (expected `%c%s%s%c')" msgstr "" -#: config/tc-i386.c:12175 +#: config/tc-i386.c:12518 #, c-format msgid "`%s' is not a valid %s expression" msgstr "" -#: config/tc-i386.c:12189 +#: config/tc-i386.c:12532 #, c-format msgid "invalid `%s' prefix" msgstr "" -#: config/tc-i386.c:12219 +#: config/tc-i386.c:12562 #, c-format msgid "`%s' cannot be used here" msgstr "" -#: config/tc-i386.c:12226 +#: config/tc-i386.c:12569 msgid "register scaling is being ignored here" msgstr "" -#: config/tc-i386.c:12267 +#: config/tc-i386.c:12610 #, c-format msgid "Missing '}': '%s'" msgstr "" -#: config/tc-i386.c:12273 +#: config/tc-i386.c:12616 #, c-format msgid "Junk after '}': '%s'" msgstr "" -#: config/tc-i386.c:12348 +#: config/tc-i386.c:12691 #, c-format msgid "bad memory operand `%s'" msgstr "" -#: config/tc-i386.c:12364 +#: config/tc-i386.c:12707 #, c-format msgid "junk `%s' after register" msgstr "" -#: config/tc-i386.c:12371 +#: config/tc-i386.c:12714 #, c-format msgid "`%s%s' cannot be used here" msgstr "" -#: config/tc-i386.c:12394 +#: config/tc-i386.c:12737 #, c-format msgid "`%s': misplaced `{%s}'" msgstr "" -#: config/tc-i386.c:12401 config/tc-i386.c:12575 config/tc-i386.c:12619 +#: config/tc-i386.c:12744 config/tc-i386.c:12918 config/tc-i386.c:12962 #, c-format msgid "bad register name `%s'" msgstr "" -#: config/tc-i386.c:12409 +#: config/tc-i386.c:12752 msgid "immediate operand illegal with absolute jump" msgstr "" -#: config/tc-i386.c:12416 +#: config/tc-i386.c:12759 #, c-format msgid "`%s': RC/SAE operand must follow immediate operands" msgstr "" -#: config/tc-i386.c:12429 +#: config/tc-i386.c:12772 #, c-format msgid "`%s': misplaced `%s'" msgstr "" -#: config/tc-i386.c:12480 +#: config/tc-i386.c:12823 msgid "unbalanced figure braces" msgstr "" -#: config/tc-i386.c:12564 +#: config/tc-i386.c:12907 #, c-format msgid "expecting `,' or `)' after index register in `%s'" msgstr "" -#: config/tc-i386.c:12592 +#: config/tc-i386.c:12935 #, c-format msgid "expecting `)' after scale factor in `%s'" msgstr "" -#: config/tc-i386.c:12600 +#: config/tc-i386.c:12943 #, c-format msgid "expecting index register or scale factor after `,'; got '%c'" msgstr "" -#: config/tc-i386.c:12608 +#: config/tc-i386.c:12951 #, c-format msgid "expecting `,' or `)' after base register in `%s'" msgstr "" #. It's not a memory operand; argh! -#: config/tc-i386.c:12656 +#: config/tc-i386.c:12999 #, c-format msgid "invalid char %s beginning operand %d `%s'" msgstr "" -#: config/tc-i386.c:13316 +#: config/tc-i386.c:13660 #, c-format msgid "%s:%u: add %d%s at 0x%llx to align %s within %d-byte boundary\n" msgstr "" -#: config/tc-i386.c:13319 +#: config/tc-i386.c:13663 #, c-format msgid "" "%s:%u: add additional %d%s at 0x%llx to align %s within %d-byte boundary\n" msgstr "" -#: config/tc-i386.c:13325 +#: config/tc-i386.c:13669 #, c-format msgid "" "%s:%u: add %d%s-byte nop at 0x%llx to align %s within %d-byte boundary\n" msgstr "" -#: config/tc-i386.c:13392 +#: config/tc-i386.c:13736 msgid "long jump required" msgstr "" -#: config/tc-i386.c:13447 +#: config/tc-i386.c:13791 msgid "jump target out of range" msgstr "" -#: config/tc-i386.c:13874 +#: config/tc-i386.c:14234 #, c-format msgid "register '%s%s' cannot be used here" msgstr "" -#: config/tc-i386.c:14128 +#: config/tc-i386.c:14488 #, c-format msgid "invalid -mx86-used-note= option: `%s'" msgstr "" -#: config/tc-i386.c:14151 +#: config/tc-i386.c:14511 msgid "no compiled in support for x86_64" msgstr "" -#: config/tc-i386.c:14171 +#: config/tc-i386.c:14531 msgid "no compiled in support for 32bit x86_64" msgstr "" -#: config/tc-i386.c:14175 +#: config/tc-i386.c:14535 msgid "32bit x86_64 is only supported for ELF" msgstr "" -#: config/tc-i386.c:14192 +#: config/tc-i386.c:14552 msgid "no compiled in support for ix86" msgstr "" -#: config/tc-i386.c:14223 config/tc-i386.c:14295 +#: config/tc-i386.c:14585 config/tc-i386.c:14671 #, c-format msgid "invalid -march= option: `%s'" msgstr "" -#: config/tc-i386.c:14305 config/tc-i386.c:14318 +#: config/tc-i386.c:14641 +msgid "Unrecognized vector size specifier ignored" +msgstr "" + +#: config/tc-i386.c:14681 config/tc-i386.c:14693 #, c-format msgid "invalid -mtune= option: `%s'" msgstr "" -#: config/tc-i386.c:14327 +#: config/tc-i386.c:14702 #, c-format msgid "invalid -mmnemonic= option: `%s'" msgstr "" -#: config/tc-i386.c:14336 +#: config/tc-i386.c:14711 #, c-format msgid "invalid -msyntax= option: `%s'" msgstr "" -#: config/tc-i386.c:14363 +#: config/tc-i386.c:14738 #, c-format msgid "invalid -msse-check= option: `%s'" msgstr "" -#: config/tc-i386.c:14374 +#: config/tc-i386.c:14749 #, c-format msgid "invalid -moperand-check= option: `%s'" msgstr "" -#: config/tc-i386.c:14383 +#: config/tc-i386.c:14758 #, c-format msgid "invalid -mavxscalar= option: `%s'" msgstr "" -#: config/tc-i386.c:14392 +#: config/tc-i386.c:14767 #, c-format msgid "invalid -mvexwig= option: `%s'" msgstr "" -#: config/tc-i386.c:14407 +#: config/tc-i386.c:14782 #, c-format msgid "invalid -mevexlig= option: `%s'" msgstr "" -#: config/tc-i386.c:14420 +#: config/tc-i386.c:14795 #, c-format msgid "invalid -mevexrcig= option: `%s'" msgstr "" -#: config/tc-i386.c:14429 +#: config/tc-i386.c:14804 #, c-format msgid "invalid -mevexwig= option: `%s'" msgstr "" -#: config/tc-i386.c:14444 +#: config/tc-i386.c:14819 #, c-format msgid "invalid -momit-lock-prefix= option: `%s'" msgstr "" -#: config/tc-i386.c:14453 +#: config/tc-i386.c:14828 #, c-format msgid "invalid -mfence-as-lock-add= option: `%s'" msgstr "" -#: config/tc-i386.c:14462 +#: config/tc-i386.c:14837 #, c-format msgid "invalid -mlfence-after-load= option: `%s'" msgstr "" -#: config/tc-i386.c:14479 +#: config/tc-i386.c:14854 #, c-format msgid "invalid -mlfence-before-indirect-branch= option: `%s'" msgstr "" -#: config/tc-i386.c:14493 +#: config/tc-i386.c:14868 #, c-format msgid "invalid -mlfence-before-ret= option: `%s'" msgstr "" -#: config/tc-i386.c:14503 +#: config/tc-i386.c:14878 #, c-format msgid "invalid -mrelax-relocations= option: `%s'" msgstr "" -#: config/tc-i386.c:14532 +#: config/tc-i386.c:14907 #, c-format msgid "invalid -malign-branch-boundary= value: %s" msgstr "" -#: config/tc-i386.c:14546 +#: config/tc-i386.c:14921 #, c-format msgid "invalid -malign-branch-prefix-size= value: %s" msgstr "" -#: config/tc-i386.c:14573 +#: config/tc-i386.c:14948 #, c-format msgid "invalid -malign-branch= option: `%s'" msgstr "" -#: config/tc-i386.c:14740 +#: config/tc-i386.c:15115 #, c-format msgid "" " -Qy, -Qn ignored\n" @@ -9237,7 +9283,7 @@ msgid "" " -k ignored\n" msgstr "" -#: config/tc-i386.c:14745 +#: config/tc-i386.c:15120 #, c-format msgid "" " -n do not optimize code alignment\n" @@ -9245,32 +9291,32 @@ msgid "" " -q quieten some warnings\n" msgstr "" -#: config/tc-i386.c:14750 +#: config/tc-i386.c:15125 #, c-format msgid " -s ignored\n" msgstr "" -#: config/tc-i386.c:14755 +#: config/tc-i386.c:15130 #, c-format msgid " --32/--64/--x32 generate 32bit/64bit/x32 object\n" msgstr "" -#: config/tc-i386.c:14758 +#: config/tc-i386.c:15133 #, c-format msgid " --32/--64 generate 32bit/64bit object\n" msgstr "" -#: config/tc-i386.c:14763 +#: config/tc-i386.c:15138 #, c-format msgid " --divide do not treat `/' as a comment character\n" msgstr "" -#: config/tc-i386.c:14766 +#: config/tc-i386.c:15141 #, c-format msgid " --divide ignored\n" msgstr "" -#: config/tc-i386.c:14769 +#: config/tc-i386.c:15144 #, c-format msgid "" " -march=CPU[,+EXTENSION...]\n" @@ -9278,24 +9324,24 @@ msgid "" "of:\n" msgstr "" -#: config/tc-i386.c:14773 +#: config/tc-i386.c:15148 #, c-format msgid "" " EXTENSION is combination of (possibly \"no\"-" "prefixed):\n" msgstr "" -#: config/tc-i386.c:14776 +#: config/tc-i386.c:15151 #, c-format msgid " -mtune=CPU optimize for CPU, CPU is one of:\n" msgstr "" -#: config/tc-i386.c:14779 +#: config/tc-i386.c:15154 #, c-format msgid " -msse2avx encode SSE instructions with VEX prefix\n" msgstr "" -#: config/tc-i386.c:14781 +#: config/tc-i386.c:15156 #, c-format msgid "" " -muse-unaligned-vector-move\n" @@ -9303,21 +9349,21 @@ msgid "" "move\n" msgstr "" -#: config/tc-i386.c:14784 +#: config/tc-i386.c:15159 #, c-format msgid "" " -msse-check=[none|error|warning] (default: warning)\n" " check SSE instructions\n" msgstr "" -#: config/tc-i386.c:14787 +#: config/tc-i386.c:15162 #, c-format msgid "" " -moperand-check=[none|error|warning] (default: warning)\n" " check operand combinations for validity\n" msgstr "" -#: config/tc-i386.c:14790 +#: config/tc-i386.c:15165 #, c-format msgid "" " -mavxscalar=[128|256] (default: 128)\n" @@ -9326,7 +9372,7 @@ msgid "" " length\n" msgstr "" -#: config/tc-i386.c:14794 +#: config/tc-i386.c:15169 #, c-format msgid "" " -mvexwig=[0|1] (default: 0)\n" @@ -9334,7 +9380,7 @@ msgid "" " for VEX.W bit ignored instructions\n" msgstr "" -#: config/tc-i386.c:14798 +#: config/tc-i386.c:15173 #, c-format msgid "" " -mevexlig=[128|256|512] (default: 128)\n" @@ -9343,7 +9389,7 @@ msgid "" " length\n" msgstr "" -#: config/tc-i386.c:14802 +#: config/tc-i386.c:15177 #, c-format msgid "" " -mevexwig=[0|1] (default: 0)\n" @@ -9352,7 +9398,7 @@ msgid "" " for EVEX.W bit ignored instructions\n" msgstr "" -#: config/tc-i386.c:14806 +#: config/tc-i386.c:15181 #, c-format msgid "" " -mevexrcig=[rne|rd|ru|rz] (default: rne)\n" @@ -9361,77 +9407,77 @@ msgid "" " for SAE-only ignored instructions\n" msgstr "" -#: config/tc-i386.c:14810 +#: config/tc-i386.c:15185 #, c-format msgid " -mmnemonic=[att|intel] " msgstr "" -#: config/tc-i386.c:14813 +#: config/tc-i386.c:15188 #, c-format msgid "(default: att)\n" msgstr "" -#: config/tc-i386.c:14815 +#: config/tc-i386.c:15190 #, c-format msgid "(default: intel)\n" msgstr "" -#: config/tc-i386.c:14816 +#: config/tc-i386.c:15191 #, c-format msgid " use AT&T/Intel mnemonic\n" msgstr "" -#: config/tc-i386.c:14818 +#: config/tc-i386.c:15193 #, c-format msgid "" " -msyntax=[att|intel] (default: att)\n" " use AT&T/Intel syntax\n" msgstr "" -#: config/tc-i386.c:14821 +#: config/tc-i386.c:15196 #, c-format msgid " -mindex-reg support pseudo index registers\n" msgstr "" -#: config/tc-i386.c:14823 +#: config/tc-i386.c:15198 #, c-format msgid " -mnaked-reg don't require `%%' prefix for registers\n" msgstr "" -#: config/tc-i386.c:14825 +#: config/tc-i386.c:15200 #, c-format msgid " -madd-bnd-prefix add BND prefix for all valid branches\n" msgstr "" -#: config/tc-i386.c:14828 +#: config/tc-i386.c:15203 #, c-format msgid " -mshared disable branch optimization for shared code\n" msgstr "" -#: config/tc-i386.c:14830 +#: config/tc-i386.c:15205 #, c-format msgid " -mx86-used-note=[no|yes] " msgstr "" -#: config/tc-i386.c:14836 +#: config/tc-i386.c:15211 #, c-format msgid "" " generate x86 used ISA and feature properties\n" msgstr "" -#: config/tc-i386.c:14840 +#: config/tc-i386.c:15215 #, c-format msgid " -mbig-obj generate big object files\n" msgstr "" -#: config/tc-i386.c:14843 +#: config/tc-i386.c:15218 #, c-format msgid "" " -momit-lock-prefix=[no|yes] (default: no)\n" " strip all lock prefixes\n" msgstr "" -#: config/tc-i386.c:14846 +#: config/tc-i386.c:15221 #, c-format msgid "" " -mfence-as-lock-add=[no|yes] (default: no)\n" @@ -9439,24 +9485,24 @@ msgid "" " lock addl $0x0, (%%{re}sp)\n" msgstr "" -#: config/tc-i386.c:14850 +#: config/tc-i386.c:15225 #, c-format msgid " -mrelax-relocations=[no|yes] " msgstr "" -#: config/tc-i386.c:14856 +#: config/tc-i386.c:15231 #, c-format msgid " generate relax relocations\n" msgstr "" -#: config/tc-i386.c:14858 +#: config/tc-i386.c:15233 #, c-format msgid "" " -malign-branch-boundary=NUM (default: 0)\n" " align branches within NUM byte boundary\n" msgstr "" -#: config/tc-i386.c:14861 +#: config/tc-i386.c:15236 #, c-format msgid "" " -malign-branch=TYPE[+TYPE...] (default: jcc+fused+jmp)\n" @@ -9466,28 +9512,28 @@ msgid "" " specify types of branches to align\n" msgstr "" -#: config/tc-i386.c:14866 +#: config/tc-i386.c:15241 #, c-format msgid "" " -malign-branch-prefix-size=NUM (default: 5)\n" " align branches with NUM prefixes per instruction\n" msgstr "" -#: config/tc-i386.c:14869 +#: config/tc-i386.c:15244 #, c-format msgid "" " -mbranches-within-32B-boundaries\n" " align branches within 32 byte boundary\n" msgstr "" -#: config/tc-i386.c:14872 +#: config/tc-i386.c:15247 #, c-format msgid "" " -mlfence-after-load=[no|yes] (default: no)\n" " generate lfence after load\n" msgstr "" -#: config/tc-i386.c:14875 +#: config/tc-i386.c:15250 #, c-format msgid "" " -mlfence-before-indirect-branch=[none|all|register|memory] (default: " @@ -9495,84 +9541,84 @@ msgid "" " generate lfence before indirect near branch\n" msgstr "" -#: config/tc-i386.c:14878 +#: config/tc-i386.c:15253 #, c-format msgid "" " -mlfence-before-ret=[none|or|not|shl|yes] (default: none)\n" " generate lfence before ret\n" msgstr "" -#: config/tc-i386.c:14881 +#: config/tc-i386.c:15256 #, c-format msgid " -mamd64 accept only AMD64 ISA [default]\n" msgstr "" -#: config/tc-i386.c:14883 +#: config/tc-i386.c:15258 #, c-format msgid " -mintel64 accept only Intel64 ISA\n" msgstr "" -#: config/tc-i386.c:14925 +#: config/tc-i386.c:15297 #, c-format msgid "Intel MCU doesn't support `%s' architecture" msgstr "" -#: config/tc-i386.c:14993 +#: config/tc-i386.c:15363 msgid "Intel MCU is 32bit only" msgstr "" -#: config/tc-i386.c:15105 +#: config/tc-i386.c:15475 msgid "" "constant directive skips -mlfence-before-ret and -mlfence-before-indirect-" "branch" msgstr "" -#: config/tc-i386.c:15108 +#: config/tc-i386.c:15478 msgid "constant directive skips -mlfence-before-ret" msgstr "" -#: config/tc-i386.c:15111 +#: config/tc-i386.c:15481 msgid "constant directive skips -mlfence-before-indirect-branch" msgstr "" -#: config/tc-i386.c:15124 +#: config/tc-i386.c:15494 #, c-format msgid "invalid %s relocation against register" msgstr "" -#: config/tc-i386.c:15233 +#: config/tc-i386.c:15603 msgid "symbol size computation overflow" msgstr "" -#: config/tc-i386.c:15308 config/tc-sparc.c:3851 +#: config/tc-i386.c:15678 config/tc-sparc.c:3855 #, c-format msgid "can not do %d byte pc-relative relocation" msgstr "" -#: config/tc-i386.c:15326 +#: config/tc-i386.c:15696 #, c-format msgid "can not do %d byte relocation" msgstr "" -#: config/tc-i386.c:15394 +#: config/tc-i386.c:15764 #, c-format msgid "cannot represent relocation type %s in x32 mode" msgstr "" -#: config/tc-i386.c:15431 config/tc-s390.c:2609 +#: config/tc-i386.c:15801 config/tc-s390.c:2615 #, c-format msgid "cannot represent relocation type %s" msgstr "" -#: config/tc-i386.c:15548 +#: config/tc-i386.c:15918 msgid "bad .section directive: want a,l,w,x,M,S,G,T in string" msgstr "" -#: config/tc-i386.c:15551 +#: config/tc-i386.c:15921 msgid "bad .section directive: want a,w,x,M,S,G,T in string" msgstr "" -#: config/tc-i386.c:15570 +#: config/tc-i386.c:15931 msgid ".largecomm supported only in 64bit mode, producing .comm" msgstr "" @@ -10387,7 +10433,7 @@ msgstr "" msgid "Can't add stop bit to mark end of instruction group" msgstr "" -#: config/tc-ia64.c:11750 read.c:2617 read.c:3221 read.c:3798 stabs.c:482 +#: config/tc-ia64.c:11750 read.c:2617 read.c:3221 read.c:3798 stabs.c:461 #, c-format msgid "expected comma after \"%s\"" msgstr "" @@ -10492,12 +10538,24 @@ msgstr "" msgid "missing `.end'" msgstr "" -#: config/tc-loongarch.c:393 +#: config/tc-kvx.c:1737 +msgid "signed16 PCREL value out of range" +msgstr "" + +#: config/tc-kvx.c:1745 +msgid "signed43 PCREL value out of range" +msgstr "" + +#: config/tc-kvx.c:1752 +msgid "signed37 PCREL value out of range" +msgstr "" + +#: config/tc-loongarch.c:404 #, c-format msgid "insn name: %s\tformat: %s\tsyntax error" msgstr "" -#: config/tc-loongarch.c:396 +#: config/tc-loongarch.c:407 #, c-format msgid "" "insn name: %s\n" @@ -10505,7 +10563,7 @@ msgid "" "we want macro but macro is NULL" msgstr "" -#: config/tc-loongarch.c:401 +#: config/tc-loongarch.c:412 #, c-format msgid "" "insn name: %s\n" @@ -10513,24 +10571,24 @@ msgid "" "macro: %s\tsyntax error" msgstr "" -#: config/tc-loongarch.c:444 +#: config/tc-loongarch.c:455 #, c-format msgid "Unsupported use of %s" msgstr "" -#: config/tc-loongarch.c:516 +#: config/tc-loongarch.c:527 msgid "internal error: we have no internal label yet" msgstr "" -#: config/tc-loongarch.c:621 +#: config/tc-loongarch.c:632 msgid "This label shouldn't be with addend." msgstr "" -#: config/tc-loongarch.c:643 +#: config/tc-loongarch.c:654 msgid "expr too huge" msgstr "" -#: config/tc-loongarch.c:670 +#: config/tc-loongarch.c:681 #, c-format msgid "" "not support reloc bit-field\n" @@ -10538,22 +10596,22 @@ msgid "" "args: %s" msgstr "" -#: config/tc-loongarch.c:711 config/tc-loongarch.c:736 +#: config/tc-loongarch.c:722 config/tc-loongarch.c:747 #, c-format msgid "register alias %s is deprecated, use %s instead" msgstr "" -#: config/tc-loongarch.c:769 +#: config/tc-loongarch.c:780 msgid "unknown escape" msgstr "" -#: config/tc-loongarch.c:796 +#: config/tc-loongarch.c:807 #, c-format msgid "require imm low %d bit is 0." msgstr "" #. How to do after we detect overflow. -#: config/tc-loongarch.c:808 +#: config/tc-loongarch.c:819 #, c-format msgid "" "Immediate overflow.\n" @@ -10561,64 +10619,75 @@ msgid "" "arg: %s" msgstr "" -#: config/tc-loongarch.c:895 +#: config/tc-loongarch.c:906 msgid "AMO insns require rd != base && rd != rt when rd isn't $r0" msgstr "" -#: config/tc-loongarch.c:907 +#: config/tc-loongarch.c:918 msgid "bstr(ins|pick).[wd] require msbd >= lsbd" msgstr "" -#: config/tc-loongarch.c:912 +#: config/tc-loongarch.c:923 msgid "csrxchg require rj != $r0 && rj != $r1" msgstr "" -#: config/tc-loongarch.c:965 +#: config/tc-loongarch.c:1011 #, c-format msgid "no HOWTO loong relocation number %d" msgstr "" -#: config/tc-loongarch.c:973 +#: config/tc-loongarch.c:1021 msgid "Internal error: not support relax now" msgstr "" -#: config/tc-loongarch.c:1017 +#: config/tc-loongarch.c:1065 #, c-format msgid "li overflow: hi32:0x%x lo32:0x%x" msgstr "" -#: config/tc-loongarch.c:1022 +#: config/tc-loongarch.c:1070 msgid "we can't li.d on 32bit-arch" msgstr "" -#: config/tc-loongarch.c:1121 +#: config/tc-loongarch.c:1169 #, c-format msgid "no match insn: %s\t%s" msgstr "" -#: config/tc-loongarch.c:1226 config/tc-loongarch.c:1233 +#: config/tc-loongarch.c:1274 config/tc-loongarch.c:1281 msgid "Relocation against a constant" msgstr "" -#: config/tc-loongarch.c:1417 config/tc-riscv.c:4138 +#: config/tc-loongarch.c:1485 config/tc-riscv.c:4153 #, c-format msgid "internal: bad CFA value #%d" msgstr "" -#: config/tc-loongarch.c:1429 +#: config/tc-loongarch.c:1497 msgid "Relocation against a constant." msgstr "" -#: config/tc-loongarch.c:1495 config/tc-riscv.c:4581 +#: config/tc-loongarch.c:1555 config/tc-riscv.c:4597 #, c-format msgid "cannot represent %s relocation in object file" msgstr "" -#: config/tc-loongarch.c:1588 +#: config/tc-loongarch.c:1624 #, c-format msgid "LARCH options:\n" msgstr "" +#. FIXME +#: config/tc-loongarch.c:1626 +#, c-format +msgid "" +" -mthin-add-sub\t Convert a pair of R_LARCH_ADD32/64 and R_LARCH_SUB32/64 " +"to\n" +"\t\t\t R_LARCH_32/64_PCREL as much as possible\n" +"\t\t\t The option does not affect the generation of R_LARCH_32_PCREL\n" +"\t\t\t relocations in .eh_frame\n" +msgstr "" + #: config/tc-m32c.c:141 #, c-format msgid " M32C specific command line options:\n" @@ -10869,7 +10938,7 @@ msgid "Length of .scomm \"%s\" is already %ld. Not changed to %ld." msgstr "" #: config/tc-m32r.c:1927 config/tc-m32r.c:1980 config/tc-nds32.c:4786 -#: config/tc-nds32.c:4830 config/tc-sh.c:391 config/tc-sh.c:2062 +#: config/tc-nds32.c:4830 config/tc-sh.c:391 config/tc-sh.c:2047 msgid "Invalid PIC expression." msgstr "" @@ -11012,15 +11081,15 @@ msgstr "" msgid "Missing `]' to close indexed-indirect mode." msgstr "" -#: config/tc-m68hc11.c:1328 config/tc-m68hc11.c:2959 config/tc-m68hc11.c:3071 -#: config/tc-m68hc11.c:3145 config/tc-m68hc11.c:3329 config/tc-m68hc11.c:3400 +#: config/tc-m68hc11.c:1328 config/tc-m68hc11.c:2961 config/tc-m68hc11.c:3073 +#: config/tc-m68hc11.c:3147 config/tc-m68hc11.c:3331 config/tc-m68hc11.c:3402 msgid "Illegal operand." msgstr "" #. Looks like OP_R_R. -#: config/tc-m68hc11.c:1333 config/tc-m68hc11.c:2964 config/tc-m68hc11.c:3076 -#: config/tc-m68hc11.c:3150 config/tc-m68hc11.c:3256 config/tc-m68hc11.c:3308 -#: config/tc-m68hc11.c:3316 config/tc-m68hc11.c:3334 +#: config/tc-m68hc11.c:1333 config/tc-m68hc11.c:2966 config/tc-m68hc11.c:3078 +#: config/tc-m68hc11.c:3152 config/tc-m68hc11.c:3258 config/tc-m68hc11.c:3310 +#: config/tc-m68hc11.c:3318 config/tc-m68hc11.c:3336 msgid "Missing operand." msgstr "" @@ -11050,215 +11119,215 @@ msgstr "" #: config/tc-m68hc11.c:1577 #, c-format -msgid "Trap id `%ld' is out of range." +msgid "Trap id `%<PRId64>' is out of range." msgstr "" -#: config/tc-m68hc11.c:1581 +#: config/tc-m68hc11.c:1582 msgid "Trap id must be within [0x30..0x39] or [0x40..0xff]." msgstr "" -#: config/tc-m68hc11.c:1588 config/tc-m68hc11.c:1739 +#: config/tc-m68hc11.c:1589 config/tc-m68hc11.c:1741 #, c-format -msgid "Operand out of 8-bit range: `%ld'." +msgid "Operand out of 8-bit range: `%<PRId64>'." msgstr "" -#: config/tc-m68hc11.c:1595 +#: config/tc-m68hc11.c:1597 msgid "The trap id must be a constant." msgstr "" -#: config/tc-m68hc11.c:1627 config/tc-m68hc11.c:1782 config/tc-xgate.c:1347 +#: config/tc-m68hc11.c:1629 config/tc-m68hc11.c:1784 config/tc-xgate.c:1347 #, c-format msgid "Operand `%x' not recognized in fixup8." msgstr "" -#: config/tc-m68hc11.c:1644 config/tc-m68hc11.c:1692 +#: config/tc-m68hc11.c:1646 config/tc-m68hc11.c:1694 #, c-format -msgid "Operand out of 16-bit range: `%ld'." +msgid "Operand out of 16-bit range: `%<PRId64>'." msgstr "" -#: config/tc-m68hc11.c:1675 config/tc-m68hc11.c:1706 +#: config/tc-m68hc11.c:1677 config/tc-m68hc11.c:1708 #, c-format msgid "Operand `%x' not recognized in fixup16." msgstr "" -#: config/tc-m68hc11.c:1799 +#: config/tc-m68hc11.c:1801 #, c-format msgid "Unexpected branch conversion with `%x'" msgstr "" -#: config/tc-m68hc11.c:1885 config/tc-m68hc11.c:2017 +#: config/tc-m68hc11.c:1887 config/tc-m68hc11.c:2019 #, c-format msgid "Operand out of range for a relative branch: `%ld'" msgstr "" -#: config/tc-m68hc11.c:1985 +#: config/tc-m68hc11.c:1987 msgid "Invalid register for dbcc/tbcc instruction." msgstr "" -#: config/tc-m68hc11.c:2073 +#: config/tc-m68hc11.c:2075 #, c-format msgid "Increment/decrement value is out of range: `%ld'." msgstr "" -#: config/tc-m68hc11.c:2085 +#: config/tc-m68hc11.c:2087 msgid "Expecting a register." msgstr "" -#: config/tc-m68hc11.c:2100 +#: config/tc-m68hc11.c:2102 msgid "Invalid register for post/pre increment." msgstr "" -#: config/tc-m68hc11.c:2130 +#: config/tc-m68hc11.c:2132 msgid "Invalid register." msgstr "" -#: config/tc-m68hc11.c:2137 +#: config/tc-m68hc11.c:2139 #, c-format msgid "Offset out of 16-bit range: %ld." msgstr "" -#: config/tc-m68hc11.c:2143 +#: config/tc-m68hc11.c:2145 #, c-format msgid "Offset out of 5-bit range for movw/movb insn: %ld." msgstr "" -#: config/tc-m68hc11.c:2268 +#: config/tc-m68hc11.c:2270 msgid "Expecting register D for indexed indirect mode." msgstr "" -#: config/tc-m68hc11.c:2270 +#: config/tc-m68hc11.c:2272 msgid "Indexed indirect mode is not allowed for movb/movw." msgstr "" -#: config/tc-m68hc11.c:2287 +#: config/tc-m68hc11.c:2289 msgid "Invalid accumulator register." msgstr "" -#: config/tc-m68hc11.c:2313 +#: config/tc-m68hc11.c:2315 msgid "Invalid indexed register." msgstr "" -#: config/tc-m68hc11.c:2323 +#: config/tc-m68hc11.c:2325 msgid "Addressing mode not implemented yet." msgstr "" -#: config/tc-m68hc11.c:2337 +#: config/tc-m68hc11.c:2339 msgid "Invalid source register for this instruction, use 'tfr'." msgstr "" -#: config/tc-m68hc11.c:2339 +#: config/tc-m68hc11.c:2341 msgid "Invalid source register." msgstr "" -#: config/tc-m68hc11.c:2344 +#: config/tc-m68hc11.c:2346 msgid "Invalid destination register for this instruction, use 'tfr'." msgstr "" -#: config/tc-m68hc11.c:2346 +#: config/tc-m68hc11.c:2348 msgid "Invalid destination register." msgstr "" -#: config/tc-m68hc11.c:2521 +#: config/tc-m68hc11.c:2523 msgid "Invalid indexed register, expecting register X." msgstr "" -#: config/tc-m68hc11.c:2523 +#: config/tc-m68hc11.c:2525 msgid "Invalid indexed register, expecting register Y." msgstr "" -#: config/tc-m68hc11.c:2842 config/tc-s12z.c:3804 +#: config/tc-m68hc11.c:2844 config/tc-s12z.c:3804 msgid "No instruction or missing opcode." msgstr "" -#: config/tc-m68hc11.c:2852 config/tc-m68hc11.c:3531 +#: config/tc-m68hc11.c:2854 config/tc-m68hc11.c:3533 #, c-format msgid "Opcode `%s' is not recognized." msgstr "" -#: config/tc-m68hc11.c:2901 config/tc-m68hc11.c:3450 config/tc-m68hc11.c:3553 +#: config/tc-m68hc11.c:2903 config/tc-m68hc11.c:3452 config/tc-m68hc11.c:3555 #, c-format msgid "Garbage at end of instruction: `%s'." msgstr "" -#: config/tc-m68hc11.c:3438 +#: config/tc-m68hc11.c:3440 #, c-format msgid "Failed to find a valid mode for `%s'." msgstr "" -#: config/tc-m68hc11.c:3462 config/tc-m68hc11.c:3681 config/tc-m68hc11.c:3687 +#: config/tc-m68hc11.c:3464 config/tc-m68hc11.c:3683 config/tc-m68hc11.c:3689 #, c-format msgid "Invalid operand for `%s'" msgstr "" -#: config/tc-m68hc11.c:3739 +#: config/tc-m68hc11.c:3741 #, c-format msgid "Invalid mode: %s\n" msgstr "" -#: config/tc-m68hc11.c:3798 +#: config/tc-m68hc11.c:3800 msgid "bad .relax format" msgstr "" -#: config/tc-m68hc11.c:3842 config/tc-s12z.c:3895 config/tc-xgate.c:630 +#: config/tc-m68hc11.c:3844 config/tc-s12z.c:3895 config/tc-xgate.c:630 #, c-format msgid "Relocation %d is not supported by object file format." msgstr "" -#: config/tc-m68hc11.c:4119 +#: config/tc-m68hc11.c:4121 msgid "bra or bsr with undefined symbol." msgstr "" -#: config/tc-m68hc11.c:4220 config/tc-m68hc11.c:4277 +#: config/tc-m68hc11.c:4222 config/tc-m68hc11.c:4279 #, c-format msgid "Subtype %d is not recognized." msgstr "" -#: config/tc-m68hc11.c:4366 config/tc-s12z.c:3976 config/tc-xgate.c:708 +#: config/tc-m68hc11.c:4368 config/tc-s12z.c:3976 config/tc-xgate.c:708 #: config/tc-xgate.c:717 msgid "Value out of 16-bit range." msgstr "" -#: config/tc-m68hc11.c:4388 +#: config/tc-m68hc11.c:4390 #, c-format msgid "Value %ld too large for 8-bit PC-relative branch." msgstr "" -#: config/tc-m68hc11.c:4398 config/tc-xgate.c:674 +#: config/tc-m68hc11.c:4400 config/tc-xgate.c:674 #, c-format msgid "Value %ld too large for 9-bit PC-relative branch." msgstr "" -#: config/tc-m68hc11.c:4407 config/tc-xgate.c:691 +#: config/tc-m68hc11.c:4409 config/tc-xgate.c:691 #, c-format msgid "Value %ld too large for 10-bit PC-relative branch." msgstr "" -#: config/tc-m68hc11.c:4415 +#: config/tc-m68hc11.c:4417 #, c-format msgid "Auto increment/decrement offset '%ld' is out of range." msgstr "" -#: config/tc-m68hc11.c:4428 +#: config/tc-m68hc11.c:4430 #, c-format msgid "Offset out of 5-bit range for movw/movb insn: %ld" msgstr "" -#: config/tc-m68hc11.c:4439 +#: config/tc-m68hc11.c:4441 #, c-format msgid "Offset out of 9-bit range for movw/movb insn: %ld" msgstr "" -#: config/tc-m68hc11.c:4451 +#: config/tc-m68hc11.c:4453 #, c-format msgid "Offset out of 16-bit range for movw/movb insn: %ld" msgstr "" -#: config/tc-m68hc11.c:4468 config/tc-s12z.c:3982 config/tc-xgate.c:752 +#: config/tc-m68hc11.c:4470 config/tc-s12z.c:3982 config/tc-xgate.c:752 #, c-format msgid "Line %d: unknown relocation type: 0x%x." msgstr "" -#: config/tc-m68hc11.c:4493 config/tc-z80.c:3449 config/tc-z80.c:3469 +#: config/tc-m68hc11.c:4495 config/tc-z80.c:3452 config/tc-z80.c:3472 msgid "Invalid directive" msgstr "" @@ -11287,7 +11356,7 @@ msgstr "" msgid "Unable to produce reloc against symbol '%s'" msgstr "" -#: config/tc-m68k.c:1263 config/tc-vax.c:2367 +#: config/tc-m68k.c:1263 config/tc-vax.c:2368 #, c-format msgid "Cannot make %s relocation PC relative" msgstr "" @@ -11392,7 +11461,7 @@ msgstr "" msgid "wrong register in floating-point reglist" msgstr "" -#: config/tc-m68k.c:3822 config/tc-m68k.c:3854 config/tc-sparc.c:3135 +#: config/tc-m68k.c:3822 config/tc-m68k.c:3854 config/tc-sparc.c:3139 msgid "failed sanity check." msgstr "" @@ -11739,9 +11808,9 @@ msgstr "" #: config/tc-mcore.c:888 config/tc-microblaze.c:948 #: config/tc-microblaze.c:1084 config/tc-microblaze.c:1118 -#: config/tc-microblaze.c:1573 config/tc-microblaze.c:1641 -#: config/tc-microblaze.c:1716 config/tc-microblaze.c:2137 -#: config/tc-microblaze.c:2186 +#: config/tc-microblaze.c:1654 config/tc-microblaze.c:1722 +#: config/tc-microblaze.c:1797 config/tc-microblaze.c:2220 +#: config/tc-microblaze.c:2269 #, c-format msgid "unknown opcode \"%s\"" msgstr "" @@ -11828,12 +11897,12 @@ msgstr "" msgid "`af' must appear alone" msgstr "" -#: config/tc-mcore.c:1588 config/tc-microblaze.c:1754 +#: config/tc-mcore.c:1588 config/tc-microblaze.c:1835 #, c-format msgid "unimplemented opcode \"%s\"" msgstr "" -#: config/tc-mcore.c:1597 config/tc-microblaze.c:1763 +#: config/tc-mcore.c:1597 config/tc-microblaze.c:1844 #, c-format msgid "ignoring operands: %s " msgstr "" @@ -11854,11 +11923,11 @@ msgid "" " -EL assemble for a little endian system\n" msgstr "" -#: config/tc-mcore.c:1709 config/tc-microblaze.c:1871 +#: config/tc-mcore.c:1709 config/tc-microblaze.c:1954 msgid "failed sanity check: short_jump" msgstr "" -#: config/tc-mcore.c:1719 config/tc-microblaze.c:1881 +#: config/tc-mcore.c:1719 config/tc-microblaze.c:1964 msgid "failed sanity check: long_jump" msgstr "" @@ -11889,12 +11958,12 @@ msgstr "" msgid "pcrel for loopt too far (0x%lx)" msgstr "" -#: config/tc-mcore.c:2189 config/tc-microblaze.c:2471 config/tc-tic30.c:1364 +#: config/tc-mcore.c:2189 config/tc-microblaze.c:2557 config/tc-tic30.c:1364 #, c-format msgid "Can not do %d byte %srelocation" msgstr "" -#: config/tc-mcore.c:2191 config/tc-microblaze.c:2473 config/tc-tic30.c:1365 +#: config/tc-mcore.c:2191 config/tc-microblaze.c:2559 config/tc-tic30.c:1365 msgid "pc-relative " msgstr "" @@ -12419,34 +12488,37 @@ msgstr "" #: config/tc-microblaze.c:1016 config/tc-microblaze.c:1022 #: config/tc-microblaze.c:1141 config/tc-microblaze.c:1148 #: config/tc-microblaze.c:1154 config/tc-microblaze.c:1185 -#: config/tc-microblaze.c:1192 config/tc-microblaze.c:1212 -#: config/tc-microblaze.c:1219 config/tc-microblaze.c:1239 -#: config/tc-microblaze.c:1246 config/tc-microblaze.c:1264 -#: config/tc-microblaze.c:1271 config/tc-microblaze.c:1293 -#: config/tc-microblaze.c:1300 config/tc-microblaze.c:1318 -#: config/tc-microblaze.c:1330 config/tc-microblaze.c:1348 -#: config/tc-microblaze.c:1365 config/tc-microblaze.c:1372 -#: config/tc-microblaze.c:1418 config/tc-microblaze.c:1425 -#: config/tc-microblaze.c:1471 config/tc-microblaze.c:1478 -#: config/tc-microblaze.c:1500 config/tc-microblaze.c:1507 -#: config/tc-microblaze.c:1527 config/tc-microblaze.c:1533 -#: config/tc-microblaze.c:1595 config/tc-microblaze.c:1601 -#: config/tc-microblaze.c:1663 config/tc-microblaze.c:1739 +#: config/tc-microblaze.c:1193 config/tc-microblaze.c:1207 +#: config/tc-microblaze.c:1225 config/tc-microblaze.c:1266 +#: config/tc-microblaze.c:1273 config/tc-microblaze.c:1293 +#: config/tc-microblaze.c:1300 config/tc-microblaze.c:1320 +#: config/tc-microblaze.c:1327 config/tc-microblaze.c:1345 +#: config/tc-microblaze.c:1352 config/tc-microblaze.c:1374 +#: config/tc-microblaze.c:1381 config/tc-microblaze.c:1399 +#: config/tc-microblaze.c:1411 config/tc-microblaze.c:1429 +#: config/tc-microblaze.c:1446 config/tc-microblaze.c:1453 +#: config/tc-microblaze.c:1499 config/tc-microblaze.c:1506 +#: config/tc-microblaze.c:1552 config/tc-microblaze.c:1559 +#: config/tc-microblaze.c:1581 config/tc-microblaze.c:1588 +#: config/tc-microblaze.c:1608 config/tc-microblaze.c:1614 +#: config/tc-microblaze.c:1676 config/tc-microblaze.c:1682 +#: config/tc-microblaze.c:1744 config/tc-microblaze.c:1820 msgid "Error in statement syntax" msgstr "" #: config/tc-microblaze.c:982 config/tc-microblaze.c:984 #: config/tc-microblaze.c:986 config/tc-microblaze.c:1026 #: config/tc-microblaze.c:1028 config/tc-microblaze.c:1158 -#: config/tc-microblaze.c:1160 config/tc-microblaze.c:1198 -#: config/tc-microblaze.c:1200 config/tc-microblaze.c:1225 -#: config/tc-microblaze.c:1227 config/tc-microblaze.c:1252 -#: config/tc-microblaze.c:1275 config/tc-microblaze.c:1306 -#: config/tc-microblaze.c:1336 config/tc-microblaze.c:1354 -#: config/tc-microblaze.c:1484 config/tc-microblaze.c:1486 -#: config/tc-microblaze.c:1513 config/tc-microblaze.c:1515 -#: config/tc-microblaze.c:1537 config/tc-microblaze.c:1605 -#: config/tc-microblaze.c:1669 +#: config/tc-microblaze.c:1160 config/tc-microblaze.c:1199 +#: config/tc-microblaze.c:1201 config/tc-microblaze.c:1279 +#: config/tc-microblaze.c:1281 config/tc-microblaze.c:1306 +#: config/tc-microblaze.c:1308 config/tc-microblaze.c:1333 +#: config/tc-microblaze.c:1356 config/tc-microblaze.c:1387 +#: config/tc-microblaze.c:1417 config/tc-microblaze.c:1435 +#: config/tc-microblaze.c:1565 config/tc-microblaze.c:1567 +#: config/tc-microblaze.c:1594 config/tc-microblaze.c:1596 +#: config/tc-microblaze.c:1618 config/tc-microblaze.c:1686 +#: config/tc-microblaze.c:1750 msgid "Cannot use special register with this instruction" msgstr "" @@ -12467,68 +12539,103 @@ msgstr "" msgid "Shift value > 32. using <value %% 32>" msgstr "" -#: config/tc-microblaze.c:1278 +#: config/tc-microblaze.c:1212 +msgid "Symbol used as immediate width value for bit field instruction" +msgstr "" + +#: config/tc-microblaze.c:1219 +msgid "Width value must be less than 32" +msgstr "" + +#: config/tc-microblaze.c:1230 +msgid "Symbol used as immediate shift value for bit field instruction" +msgstr "" + +#: config/tc-microblaze.c:1241 +#, c-format +msgid "Shift value greater than 32. using <value %% 32>" +msgstr "" + +#: config/tc-microblaze.c:1247 +msgid "Width value + shift value must not be greater than 32" +msgstr "" + +#: config/tc-microblaze.c:1359 msgid "Symbol used as immediate value for msrset/msrclr instructions" msgstr "" -#: config/tc-microblaze.c:1407 config/tc-microblaze.c:1460 +#: config/tc-microblaze.c:1488 config/tc-microblaze.c:1541 msgid "invalid value for special purpose register" msgstr "" -#: config/tc-microblaze.c:1677 +#: config/tc-microblaze.c:1758 msgid "An IMM instruction should not be present in the .s file" msgstr "" -#: config/tc-microblaze.c:1741 +#: config/tc-microblaze.c:1822 msgid "Symbol used as immediate for mbar instruction" msgstr "" -#: config/tc-microblaze.c:1747 +#: config/tc-microblaze.c:1828 #, c-format msgid "Immediate value for mbar > 32. using <value %% 32>" msgstr "" -#: config/tc-microblaze.c:1821 +#: config/tc-microblaze.c:1902 msgid "Bad call to MD_NTOF()" msgstr "" -#: config/tc-microblaze.c:2088 +#: config/tc-microblaze.c:2171 #, c-format msgid "pcrel for branch to %s too far (0x%x)" msgstr "" #. We know the abs value: Should never happen. -#: config/tc-microblaze.c:2247 +#: config/tc-microblaze.c:2332 msgid "Absolute PC-relative value in relaxation code. Assembler error....." msgstr "" #. Cannot have a PC-relative branch to a diff segment. -#: config/tc-microblaze.c:2261 +#: config/tc-microblaze.c:2346 #, c-format msgid "PC relative branch to label %s which is not in the instruction space" msgstr "" -#: config/tc-microblaze.c:2304 +#: config/tc-microblaze.c:2389 msgid "" "Variable is accessed using small data read only anchor, but it is not in the " "small data read only section" msgstr "" -#: config/tc-microblaze.c:2327 +#: config/tc-microblaze.c:2412 msgid "" "Variable is accessed using small data read write anchor, but it is not in " "the small data read write section" msgstr "" -#: config/tc-microblaze.c:2336 +#: config/tc-microblaze.c:2421 msgid "Incorrect fr_opcode value in frag. Internal error....." msgstr "" #. We know the abs value: Should never happen. -#: config/tc-microblaze.c:2343 +#: config/tc-microblaze.c:2428 msgid "Absolute value in relaxation code. Assembler error....." msgstr "" +#. fprintf(stream, _(" MicroBlaze options:\n -noSmall Data in the comm and data sections do not go into the small data section\n")); +#: config/tc-microblaze.c:2613 +#, c-format +msgid " MicroBlaze specific assembler options:\n" +msgstr "" + +#: config/tc-microblaze.c:2614 +msgid "assemble for a big endian cpu" +msgstr "" + +#: config/tc-microblaze.c:2615 +msgid "assemble for a little endian cpu" +msgstr "" + #: config/tc-mips.c:2178 #, c-format msgid "the %d-bit %s architecture does not support the `%s' extension" @@ -12919,7 +13026,7 @@ msgstr "" msgid "la used to load 64-bit address; recommend using dla instead" msgstr "" -#: config/tc-mips.c:11102 config/tc-riscv.c:2040 +#: config/tc-mips.c:11102 config/tc-riscv.c:2048 msgid "offset too large" msgstr "" @@ -13042,7 +13149,7 @@ msgstr "" msgid "PC-relative reference to a different section" msgstr "" -#: config/tc-mips.c:15905 config/tc-riscv.c:4042 +#: config/tc-mips.c:15905 config/tc-riscv.c:4057 msgid "TLS relocation against a constant" msgstr "" @@ -13161,7 +13268,7 @@ msgstr "" msgid "missing argument separator ',' for .cpsetup" msgstr "" -#: config/tc-mips.c:17270 config/tc-riscv.c:4381 +#: config/tc-mips.c:17270 config/tc-riscv.c:4397 #, c-format msgid "unsupported use of %s" msgstr "" @@ -13729,7 +13836,7 @@ msgstr "" #. We will only get here in rare cases involving #NO_APP, #. where the unterminated string is not recognized by the #. preformatting pass. -#: config/tc-mmix.c:4149 config/tc-mmix.c:4307 config/tc-z80.c:3199 +#: config/tc-mmix.c:4149 config/tc-mmix.c:4307 config/tc-z80.c:3202 msgid "unterminated string" msgstr "" @@ -15147,7 +15254,7 @@ msgstr "" msgid "No instruction found" msgstr "" -#: config/tc-pdp11.c:717 config/tc-z80.c:3675 +#: config/tc-pdp11.c:717 config/tc-z80.c:3678 #, c-format msgid "Unknown instruction '%s'" msgstr "" @@ -15221,8 +15328,8 @@ msgid "" "-big\t\t\tgenerate big endian code\n" msgstr "" -#: config/tc-pj.c:380 config/tc-sh.c:3595 config/tc-sh.c:3602 -#: config/tc-sh.c:3609 config/tc-sh.c:3616 +#: config/tc-pj.c:380 config/tc-sh.c:3580 config/tc-sh.c:3587 +#: config/tc-sh.c:3594 config/tc-sh.c:3601 msgid "pcrel too far" msgstr "" @@ -16003,290 +16110,290 @@ msgstr "" msgid "Label \"%s\" matches a CPU register name" msgstr "" -#: config/tc-riscv.c:215 +#: config/tc-riscv.c:217 #, c-format msgid "" "unknown default privileged spec `%s' set by -mpriv-spec or --with-priv-spec" msgstr "" #. Still can not find the privileged spec class. -#: config/tc-riscv.c:237 +#: config/tc-riscv.c:239 #, c-format msgid "" "unknown default privileged spec `%d.%d.%d' set by privileged elf attributes" msgstr "" -#: config/tc-riscv.c:323 +#: config/tc-riscv.c:325 msgid "" "the architecture string of -march and elf architecture attributes cannot be " "empty" msgstr "" -#: config/tc-riscv.c:888 config/tc-riscv.c:949 config/tc-riscv.c:1502 +#: config/tc-riscv.c:891 config/tc-riscv.c:952 config/tc-riscv.c:1544 #, c-format msgid "internal: duplicate %s" msgstr "" -#: config/tc-riscv.c:1098 +#: config/tc-riscv.c:1108 #, c-format msgid "internal: bad RISC-V CSR class (0x%x)" msgstr "" -#: config/tc-riscv.c:1104 +#: config/tc-riscv.c:1114 #, c-format msgid "invalid CSR `%s', needs rv32i extension" msgstr "" -#: config/tc-riscv.c:1106 +#: config/tc-riscv.c:1116 #, c-format msgid "invalid CSR `%s', needs `h' extension" msgstr "" -#: config/tc-riscv.c:1110 +#: config/tc-riscv.c:1120 #, c-format msgid "invalid CSR `%s', needs `%s' extension" msgstr "" -#: config/tc-riscv.c:1133 +#: config/tc-riscv.c:1143 #, c-format msgid "invalid CSR `%s' for the privileged spec `%s'" msgstr "" -#: config/tc-riscv.c:1267 +#: config/tc-riscv.c:1277 #, c-format msgid "internal: bad RISC-V opcode (mask error): %s %s" msgstr "" -#: config/tc-riscv.c:1462 +#: config/tc-riscv.c:1504 #, c-format msgid "internal: bad RISC-V opcode (unknown operand type `%s'): %s %s" msgstr "" -#: config/tc-riscv.c:1471 +#: config/tc-riscv.c:1513 #, c-format msgid "internal: bad RISC-V opcode (bits %#llx undefined or invalid): %s %s" msgstr "" -#: config/tc-riscv.c:1513 +#: config/tc-riscv.c:1555 msgid "internal: broken assembler. No assembly attempted" msgstr "" -#: config/tc-riscv.c:1626 +#: config/tc-riscv.c:1668 #, c-format msgid "internal: unsupported RISC-V relocation number %d" msgstr "" -#: config/tc-riscv.c:1741 +#: config/tc-riscv.c:1783 #, c-format msgid "internal: invalid macro argument `%s'" msgstr "" -#: config/tc-riscv.c:1766 +#: config/tc-riscv.c:1808 msgid "internal: vasprintf failed" msgstr "" -#: config/tc-riscv.c:1796 config/tc-riscv.c:1874 +#: config/tc-riscv.c:1838 config/tc-riscv.c:1916 msgid "unsupported large constant" msgstr "" -#: config/tc-riscv.c:1798 +#: config/tc-riscv.c:1840 #, c-format msgid "unknown CSR `%s'" msgstr "" -#: config/tc-riscv.c:1801 +#: config/tc-riscv.c:1843 #, c-format msgid "instruction %s requires absolute expression" msgstr "" -#: config/tc-riscv.c:1975 config/tc-riscv.c:2010 +#: config/tc-riscv.c:2018 msgid "must provide temp if destination overlaps mask" msgstr "" -#: config/tc-riscv.c:2175 +#: config/tc-riscv.c:2113 #, c-format msgid "internal: macro %s not implemented" msgstr "" -#: config/tc-riscv.c:2371 +#: config/tc-riscv.c:2309 msgid "multiple vsew constants" msgstr "" -#: config/tc-riscv.c:2379 +#: config/tc-riscv.c:2317 msgid "multiple vlmul constants" msgstr "" -#: config/tc-riscv.c:2387 +#: config/tc-riscv.c:2325 msgid "multiple vta constants" msgstr "" -#: config/tc-riscv.c:2395 +#: config/tc-riscv.c:2333 msgid "multiple vma constants" msgstr "" #. Reset error message of the previous round. -#: config/tc-riscv.c:2566 +#: config/tc-riscv.c:2504 msgid "illegal operands" msgstr "" -#: config/tc-riscv.c:2617 +#: config/tc-riscv.c:2555 #, c-format msgid "read-only CSR is written `%s'" msgstr "" -#: config/tc-riscv.c:2627 +#: config/tc-riscv.c:2565 msgid "illegal opcode for zve32x" msgstr "" -#: config/tc-riscv.c:2879 +#: config/tc-riscv.c:2817 msgid "bad value for compressed funct6 field, value must be 0...63" msgstr "" -#: config/tc-riscv.c:2894 +#: config/tc-riscv.c:2832 msgid "bad value for compressed funct4 field, value must be 0...15" msgstr "" -#: config/tc-riscv.c:2909 +#: config/tc-riscv.c:2847 msgid "bad value for compressed funct3 field, value must be 0...7" msgstr "" -#: config/tc-riscv.c:2924 +#: config/tc-riscv.c:2862 msgid "bad value for compressed funct2 field, value must be 0...3" msgstr "" -#: config/tc-riscv.c:3017 +#: config/tc-riscv.c:2955 msgid "bad value for vsetivli immediate field, value must be 0..1023" msgstr "" -#: config/tc-riscv.c:3029 +#: config/tc-riscv.c:2967 msgid "bad value for vsetvli immediate field, value must be 0..2047" msgstr "" -#: config/tc-riscv.c:3042 +#: config/tc-riscv.c:2980 msgid "bad value for vector immediate field, value must be -16...15" msgstr "" -#: config/tc-riscv.c:3054 +#: config/tc-riscv.c:2992 msgid "bad value for vector immediate field, value must be 0...31" msgstr "" -#: config/tc-riscv.c:3066 +#: config/tc-riscv.c:3004 msgid "bad value for vector immediate field, value must be -15...16" msgstr "" -#: config/tc-riscv.c:3078 +#: config/tc-riscv.c:3016 msgid "bad value for vector immediate field, value must be 0...63" msgstr "" -#: config/tc-riscv.c:3139 config/tc-riscv.c:3150 +#: config/tc-riscv.c:3077 config/tc-riscv.c:3088 #, c-format msgid "improper shift amount (%<PRIu64>)" msgstr "" -#: config/tc-riscv.c:3161 +#: config/tc-riscv.c:3099 #, c-format msgid "improper CSRxI immediate (%<PRIu64>)" msgstr "" -#: config/tc-riscv.c:3178 +#: config/tc-riscv.c:3116 #, c-format msgid "improper CSR address (%<PRIu64>)" msgstr "" -#: config/tc-riscv.c:3358 +#: config/tc-riscv.c:3296 msgid "lui expression not in range 0..1048575" msgstr "" -#: config/tc-riscv.c:3391 +#: config/tc-riscv.c:3329 msgid "" "bad value for opcode field, value must be 0...127 and lower 2 bits must be " "0x3" msgstr "" -#: config/tc-riscv.c:3407 +#: config/tc-riscv.c:3345 msgid "bad value for opcode field, value must be 0...2" msgstr "" -#: config/tc-riscv.c:3430 +#: config/tc-riscv.c:3368 msgid "bad value for funct7 field, value must be 0...127" msgstr "" -#: config/tc-riscv.c:3445 +#: config/tc-riscv.c:3383 msgid "bad value for funct3 field, value must be 0...7" msgstr "" -#: config/tc-riscv.c:3460 +#: config/tc-riscv.c:3398 msgid "bad value for funct2 field, value must be 0...3" msgstr "" -#: config/tc-riscv.c:3478 +#: config/tc-riscv.c:3416 #, c-format msgid "Improper bs immediate (%lu)" msgstr "" -#: config/tc-riscv.c:3489 +#: config/tc-riscv.c:3427 #, c-format msgid "Improper rnum immediate (%lu)" msgstr "" -#: config/tc-riscv.c:3521 +#: config/tc-riscv.c:3459 #, c-format msgid "improper prefetch offset (%ld)" msgstr "" -#: config/tc-riscv.c:3548 +#: config/tc-riscv.c:3487 msgid "" "bad fli constant operand, supported constants must be in decimal or " "hexadecimal floating-point literal form" msgstr "" -#: config/tc-riscv.c:3577 +#: config/tc-riscv.c:3557 #, c-format msgid "unexpected literal (%s)" msgstr "" -#: config/tc-riscv.c:3599 +#: config/tc-riscv.c:3579 #, c-format msgid "improper immediate value (%<PRIu64>)" msgstr "" -#: config/tc-riscv.c:3605 +#: config/tc-riscv.c:3585 #, c-format msgid "improper immediate value (%<PRIi64>)" msgstr "" -#: config/tc-riscv.c:3620 +#: config/tc-riscv.c:3633 #, c-format msgid "internal: unknown argument type `%s'" msgstr "" -#: config/tc-riscv.c:3672 +#: config/tc-riscv.c:3685 msgid "values must be constant" msgstr "" -#: config/tc-riscv.c:3679 +#: config/tc-riscv.c:3692 msgid "unrecognized values" msgstr "" -#: config/tc-riscv.c:3687 config/tc-riscv.c:3698 config/tc-riscv.c:3714 +#: config/tc-riscv.c:3700 config/tc-riscv.c:3711 config/tc-riscv.c:3727 msgid "value conflicts with instruction length" msgstr "" -#: config/tc-riscv.c:4219 +#: config/tc-riscv.c:4234 #, c-format msgid "internal: bad relocation #%d" msgstr "" -#: config/tc-riscv.c:4348 +#: config/tc-riscv.c:4364 msgid ".option pop with no .option push" msgstr "" -#: config/tc-riscv.c:4361 +#: config/tc-riscv.c:4377 #, c-format msgid "unrecognized .option directive: %s" msgstr "" -#: config/tc-riscv.c:4722 +#: config/tc-riscv.c:4738 #, c-format msgid "" "RISC-V options:\n" @@ -16311,33 +16418,33 @@ msgid "" " -mlittle-endian assemble for little-endian\n" msgstr "" -#: config/tc-riscv.c:4767 +#: config/tc-riscv.c:4783 #, c-format msgid "unknown register `%s'" msgstr "" -#: config/tc-riscv.c:4790 +#: config/tc-riscv.c:4806 msgid "non-constant .sleb128 is not supported" msgstr "" -#: config/tc-riscv.c:4792 +#: config/tc-riscv.c:4808 msgid ".uleb128 only supports constant or subtract expressions" msgstr "" -#: config/tc-riscv.c:4892 +#: config/tc-riscv.c:4910 #, c-format msgid "internal: bad RISC-V privileged spec (%s)" msgstr "" -#: config/tc-riscv.c:5030 +#: config/tc-riscv.c:5055 msgid "architecture elf attributes must set before any instructions" msgstr "" -#: config/tc-riscv.c:5048 +#: config/tc-riscv.c:5073 msgid "privileged elf attributes must set before any instructions" msgstr "" -#: config/tc-riscv.c:5070 +#: config/tc-riscv.c:5095 msgid "missing symbol name for .variant_cc directive" msgstr "" @@ -16845,21 +16952,21 @@ msgstr "" msgid "invalid machine mode `%s'" msgstr "" -#: config/tc-s390.c:2379 +#: config/tc-s390.c:2385 msgid "unsupported relocation type" msgstr "" -#: config/tc-s390.c:2434 +#: config/tc-s390.c:2440 #, c-format msgid "cannot emit PC relative %s relocation%s%s" msgstr "" -#: config/tc-s390.c:2573 +#: config/tc-s390.c:2579 #, c-format msgid "Gas failure, reloc type %s\n" msgstr "" -#: config/tc-s390.c:2575 +#: config/tc-s390.c:2581 #, c-format msgid "Gas failure, reloc type #%i\n" msgstr "" @@ -17091,7 +17198,7 @@ msgstr "" msgid "error setting flags for \".sbss\": %s" msgstr "" -#: config/tc-score.c:6144 config/tc-sparc.c:4160 +#: config/tc-score.c:6144 config/tc-sparc.c:4164 msgid "missing alignment" msgstr "" @@ -17267,132 +17374,132 @@ msgstr "" msgid "illegal register after @" msgstr "" -#: config/tc-sh.c:1795 +#: config/tc-sh.c:1780 #, c-format msgid "unhandled %d\n" msgstr "" -#: config/tc-sh.c:2008 +#: config/tc-sh.c:1993 #, c-format msgid "Invalid register: 'r%d'" msgstr "" -#: config/tc-sh.c:2121 +#: config/tc-sh.c:2106 #, c-format msgid "failed for %d\n" msgstr "" -#: config/tc-sh.c:2127 +#: config/tc-sh.c:2112 msgid "misplaced PIC operand" msgstr "" -#: config/tc-sh.c:2238 config/tc-sh.c:2611 +#: config/tc-sh.c:2223 config/tc-sh.c:2596 msgid "invalid operands for opcode" msgstr "" -#: config/tc-sh.c:2243 +#: config/tc-sh.c:2228 msgid "insn can't be combined with parallel processing insn" msgstr "" -#: config/tc-sh.c:2250 config/tc-sh.c:2261 config/tc-sh.c:2293 +#: config/tc-sh.c:2235 config/tc-sh.c:2246 config/tc-sh.c:2278 msgid "multiple movx specifications" msgstr "" -#: config/tc-sh.c:2255 config/tc-sh.c:2277 config/tc-sh.c:2316 +#: config/tc-sh.c:2240 config/tc-sh.c:2262 config/tc-sh.c:2301 msgid "multiple movy specifications" msgstr "" -#: config/tc-sh.c:2264 config/tc-sh.c:2297 +#: config/tc-sh.c:2249 config/tc-sh.c:2282 msgid "invalid movx address register" msgstr "" -#: config/tc-sh.c:2266 +#: config/tc-sh.c:2251 msgid "insn cannot be combined with non-nopy" msgstr "" -#: config/tc-sh.c:2280 config/tc-sh.c:2336 +#: config/tc-sh.c:2265 config/tc-sh.c:2321 msgid "invalid movy address register" msgstr "" -#: config/tc-sh.c:2282 +#: config/tc-sh.c:2267 msgid "insn cannot be combined with non-nopx" msgstr "" -#: config/tc-sh.c:2295 +#: config/tc-sh.c:2280 msgid "previous movy requires nopx" msgstr "" -#: config/tc-sh.c:2303 config/tc-sh.c:2308 +#: config/tc-sh.c:2288 config/tc-sh.c:2293 msgid "invalid movx dsp register" msgstr "" -#: config/tc-sh.c:2318 +#: config/tc-sh.c:2303 msgid "previous movx requires nopy" msgstr "" -#: config/tc-sh.c:2327 config/tc-sh.c:2332 +#: config/tc-sh.c:2312 config/tc-sh.c:2317 msgid "invalid movy dsp register" msgstr "" -#: config/tc-sh.c:2342 +#: config/tc-sh.c:2327 msgid "dsp immediate shift value not constant" msgstr "" -#: config/tc-sh.c:2356 config/tc-sh.c:2382 +#: config/tc-sh.c:2341 config/tc-sh.c:2367 msgid "multiple parallel processing specifications" msgstr "" -#: config/tc-sh.c:2375 +#: config/tc-sh.c:2360 msgid "multiple condition specifications" msgstr "" -#: config/tc-sh.c:2413 +#: config/tc-sh.c:2398 msgid "insn cannot be combined with pmuls" msgstr "" -#: config/tc-sh.c:2429 +#: config/tc-sh.c:2414 msgid "bad combined pmuls output operand" msgstr "" -#: config/tc-sh.c:2439 +#: config/tc-sh.c:2424 msgid "destination register is same for parallel insns" msgstr "" -#: config/tc-sh.c:2448 +#: config/tc-sh.c:2433 msgid "condition not followed by conditionalizable insn" msgstr "" -#: config/tc-sh.c:2458 +#: config/tc-sh.c:2443 msgid "unrecognized characters at end of parallel processing insn" msgstr "" -#: config/tc-sh.c:2550 +#: config/tc-sh.c:2535 msgid "opcode not valid for this cpu variant" msgstr "" -#: config/tc-sh.c:2581 +#: config/tc-sh.c:2566 msgid "Delayed branches not available on SH1" msgstr "" -#: config/tc-sh.c:2616 +#: config/tc-sh.c:2601 #, c-format msgid "excess operands: '%s'" msgstr "" -#: config/tc-sh.c:2693 +#: config/tc-sh.c:2678 msgid ".uses pseudo-op seen when not relaxing" msgstr "" -#: config/tc-sh.c:2699 +#: config/tc-sh.c:2684 msgid "bad .uses format" msgstr "" -#: config/tc-sh.c:2817 +#: config/tc-sh.c:2802 #, c-format msgid "Invalid argument to --isa option: %s" msgstr "" -#: config/tc-sh.c:2841 +#: config/tc-sh.c:2826 #, c-format msgid "" "SH options:\n" @@ -17409,70 +17516,70 @@ msgid "" " | fp" msgstr "" -#: config/tc-sh.c:2866 +#: config/tc-sh.c:2851 #, c-format msgid "--fdpic\t\t\tgenerate an FDPIC object file\n" msgstr "" -#: config/tc-sh.c:2942 +#: config/tc-sh.c:2927 msgid ".uses does not refer to a local symbol in the same section" msgstr "" -#: config/tc-sh.c:2961 +#: config/tc-sh.c:2946 msgid "can't find fixup pointed to by .uses" msgstr "" -#: config/tc-sh.c:2981 +#: config/tc-sh.c:2966 msgid ".uses target does not refer to a local symbol in the same section" msgstr "" -#: config/tc-sh.c:3054 +#: config/tc-sh.c:3039 msgid "displacement overflows 12-bit field" msgstr "" -#: config/tc-sh.c:3057 +#: config/tc-sh.c:3042 #, c-format msgid "displacement to defined symbol %s overflows 12-bit field" msgstr "" -#: config/tc-sh.c:3061 +#: config/tc-sh.c:3046 #, c-format msgid "displacement to undefined symbol %s overflows 12-bit field" msgstr "" -#: config/tc-sh.c:3134 +#: config/tc-sh.c:3119 msgid "displacement overflows 8-bit field" msgstr "" -#: config/tc-sh.c:3137 +#: config/tc-sh.c:3122 #, c-format msgid "displacement to defined symbol %s overflows 8-bit field" msgstr "" -#: config/tc-sh.c:3141 +#: config/tc-sh.c:3126 #, c-format msgid "displacement to undefined symbol %s overflows 8-bit field " msgstr "" -#: config/tc-sh.c:3154 +#: config/tc-sh.c:3139 #, c-format msgid "overflow in branch to %s; converted into longer instruction sequence" msgstr "" -#: config/tc-sh.c:3219 config/tc-sh.c:3266 config/tc-sparc.c:4624 -#: config/tc-sparc.c:4648 +#: config/tc-sh.c:3204 config/tc-sh.c:3251 config/tc-sparc.c:4628 +#: config/tc-sparc.c:4652 msgid "misaligned data" msgstr "" -#: config/tc-sh.c:3572 +#: config/tc-sh.c:3557 msgid "offset to unaligned destination" msgstr "" -#: config/tc-sh.c:3577 +#: config/tc-sh.c:3562 msgid "negative offset" msgstr "" -#: config/tc-sh.c:3717 +#: config/tc-sh.c:3702 msgid "misaligned offset" msgstr "" @@ -17566,328 +17673,328 @@ msgstr "" msgid "Internal error: can't find opcode `%s' for `%s'\n" msgstr "" -#: config/tc-sparc.c:1199 +#: config/tc-sparc.c:1203 msgid "Support for 64-bit arithmetic not compiled in." msgstr "" -#: config/tc-sparc.c:1245 +#: config/tc-sparc.c:1249 msgid "set: number not in 0..4294967295 range" msgstr "" -#: config/tc-sparc.c:1252 +#: config/tc-sparc.c:1256 msgid "set: number not in -2147483648..4294967295 range" msgstr "" -#: config/tc-sparc.c:1311 +#: config/tc-sparc.c:1315 msgid "setsw: number not in -2147483648..4294967295 range" msgstr "" -#: config/tc-sparc.c:1359 +#: config/tc-sparc.c:1363 msgid "setx: temporary register same as destination register" msgstr "" -#: config/tc-sparc.c:1430 +#: config/tc-sparc.c:1434 msgid "setx: illegal temporary register g0" msgstr "" -#: config/tc-sparc.c:1538 +#: config/tc-sparc.c:1542 msgid "unpredictable DCTI couple" msgstr "" -#: config/tc-sparc.c:1548 +#: config/tc-sparc.c:1552 msgid "FP branch in delay slot" msgstr "" -#: config/tc-sparc.c:1565 +#: config/tc-sparc.c:1569 msgid "FP branch preceded by FP compare; NOP inserted" msgstr "" -#: config/tc-sparc.c:1605 +#: config/tc-sparc.c:1609 msgid "failed special case insn sanity check" msgstr "" -#: config/tc-sparc.c:1793 +#: config/tc-sparc.c:1797 msgid ": invalid membar mask name" msgstr "" -#: config/tc-sparc.c:1809 +#: config/tc-sparc.c:1813 msgid ": invalid membar mask expression" msgstr "" -#: config/tc-sparc.c:1814 +#: config/tc-sparc.c:1818 msgid ": invalid membar mask number" msgstr "" -#: config/tc-sparc.c:1829 +#: config/tc-sparc.c:1833 msgid ": invalid siam mode expression" msgstr "" -#: config/tc-sparc.c:1834 +#: config/tc-sparc.c:1838 msgid ": invalid siam mode number" msgstr "" -#: config/tc-sparc.c:1850 +#: config/tc-sparc.c:1854 msgid ": invalid prefetch function name" msgstr "" -#: config/tc-sparc.c:1858 +#: config/tc-sparc.c:1862 msgid ": invalid prefetch function expression" msgstr "" -#: config/tc-sparc.c:1863 +#: config/tc-sparc.c:1867 msgid ": invalid prefetch function number" msgstr "" -#: config/tc-sparc.c:1890 config/tc-sparc.c:1896 config/tc-sparc.c:1905 +#: config/tc-sparc.c:1894 config/tc-sparc.c:1900 config/tc-sparc.c:1909 msgid ": unrecognizable privileged register" msgstr "" -#: config/tc-sparc.c:1928 config/tc-sparc.c:1934 config/tc-sparc.c:1943 +#: config/tc-sparc.c:1932 config/tc-sparc.c:1938 config/tc-sparc.c:1947 msgid ": unrecognizable hyperprivileged register" msgstr "" -#: config/tc-sparc.c:1966 config/tc-sparc.c:1972 config/tc-sparc.c:1981 +#: config/tc-sparc.c:1970 config/tc-sparc.c:1976 config/tc-sparc.c:1985 msgid ": unrecognizable ancillary state register" msgstr "" -#: config/tc-sparc.c:2014 +#: config/tc-sparc.c:2018 msgid ": asr number must be between 0 and 31" msgstr "" -#: config/tc-sparc.c:2023 +#: config/tc-sparc.c:2027 #, c-format msgid ": expecting %asrN" msgstr "" -#: config/tc-sparc.c:2065 +#: config/tc-sparc.c:2069 msgid ": crypto immediate must be between 0 and 31" msgstr "" -#: config/tc-sparc.c:2074 +#: config/tc-sparc.c:2078 msgid ": expecting crypto immediate" msgstr "" -#: config/tc-sparc.c:2235 config/tc-sparc.c:2274 config/tc-sparc.c:2701 -#: config/tc-sparc.c:2737 +#: config/tc-sparc.c:2239 config/tc-sparc.c:2278 config/tc-sparc.c:2705 +#: config/tc-sparc.c:2741 #, c-format msgid "Illegal operands: %%%s requires arguments in ()" msgstr "" -#: config/tc-sparc.c:2242 +#: config/tc-sparc.c:2246 #, c-format msgid "" "Illegal operands: %%%s cannot be used together with other relocs in the insn " "()" msgstr "" -#: config/tc-sparc.c:2253 +#: config/tc-sparc.c:2257 #, c-format msgid "Illegal operands: %%%s can be only used with call __tls_get_addr" msgstr "" -#: config/tc-sparc.c:2460 +#: config/tc-sparc.c:2464 msgid "detected global register use not covered by .register pseudo-op" msgstr "" -#: config/tc-sparc.c:2562 +#: config/tc-sparc.c:2566 msgid ": There are only 64 f registers; [0-63]" msgstr "" -#: config/tc-sparc.c:2564 config/tc-sparc.c:2582 +#: config/tc-sparc.c:2568 config/tc-sparc.c:2586 msgid ": There are only 32 f registers; [0-31]" msgstr "" -#: config/tc-sparc.c:2574 +#: config/tc-sparc.c:2578 msgid ": There are only 32 single precision f registers; [0-31]" msgstr "" -#: config/tc-sparc.c:2595 +#: config/tc-sparc.c:2599 msgid ": Instruction requires frs2 and frsd must be the same register" msgstr "" -#: config/tc-sparc.c:2746 +#: config/tc-sparc.c:2750 #, c-format msgid "Expression inside %%%s could not be parsed" msgstr "" -#: config/tc-sparc.c:2754 +#: config/tc-sparc.c:2758 #, c-format msgid "" "Illegal operands: Can't do arithmetics other than + and - involving %%%s()" msgstr "" -#: config/tc-sparc.c:2871 +#: config/tc-sparc.c:2875 #, c-format msgid "Illegal operands: Can't add non-constant expression to %%%s()" msgstr "" -#: config/tc-sparc.c:2881 +#: config/tc-sparc.c:2885 #, c-format msgid "" "Illegal operands: Can't do arithmetics involving %%%s() of a relocatable " "symbol" msgstr "" -#: config/tc-sparc.c:2899 +#: config/tc-sparc.c:2903 msgid ": PC-relative operand can't be a constant" msgstr "" -#: config/tc-sparc.c:2906 +#: config/tc-sparc.c:2910 msgid ": TLS operand can't be a constant" msgstr "" -#: config/tc-sparc.c:2934 +#: config/tc-sparc.c:2938 msgid ": Immediate value in cbcond is out of range." msgstr "" -#: config/tc-sparc.c:2960 +#: config/tc-sparc.c:2964 msgid ": invalid ASI name" msgstr "" -#: config/tc-sparc.c:2969 +#: config/tc-sparc.c:2973 msgid ": invalid ASI expression" msgstr "" -#: config/tc-sparc.c:2974 +#: config/tc-sparc.c:2978 msgid ": invalid ASI number" msgstr "" -#: config/tc-sparc.c:3079 +#: config/tc-sparc.c:3083 msgid ": non-immdiate imm2 operand" msgstr "" -#: config/tc-sparc.c:3084 +#: config/tc-sparc.c:3088 msgid ": imm2 immediate operand out of range (0-3)" msgstr "" -#: config/tc-sparc.c:3103 +#: config/tc-sparc.c:3107 msgid "OPF immediate operand out of range (0-0x1ff)" msgstr "" -#: config/tc-sparc.c:3108 +#: config/tc-sparc.c:3112 msgid "non-immediate OPF operand, ignored" msgstr "" -#: config/tc-sparc.c:3127 +#: config/tc-sparc.c:3131 msgid ": invalid cpreg name" msgstr "" -#: config/tc-sparc.c:3156 +#: config/tc-sparc.c:3160 #, c-format msgid "Illegal operands%s" msgstr "" -#: config/tc-sparc.c:3205 +#: config/tc-sparc.c:3209 #, c-format msgid "architecture bumped from \"%s\" to \"%s\" on \"%s\"" msgstr "" -#: config/tc-sparc.c:3246 +#: config/tc-sparc.c:3250 #, c-format msgid "Architecture mismatch on \"%s %s\"." msgstr "" -#: config/tc-sparc.c:3247 +#: config/tc-sparc.c:3251 #, c-format msgid "(Requires %s; requested architecture is %s.)" msgstr "" -#: config/tc-sparc.c:3259 +#: config/tc-sparc.c:3263 #, c-format msgid "Hardware capability \"%s\" not enabled for \"%s\"." msgstr "" -#: config/tc-sparc.c:3645 config/tc-sparc.c:3652 config/tc-sparc.c:3659 -#: config/tc-sparc.c:3666 config/tc-sparc.c:3673 config/tc-sparc.c:3682 -#: config/tc-sparc.c:3694 config/tc-sparc.c:3705 config/tc-sparc.c:3727 -#: config/tc-sparc.c:3751 write.c:1190 +#: config/tc-sparc.c:3649 config/tc-sparc.c:3656 config/tc-sparc.c:3663 +#: config/tc-sparc.c:3670 config/tc-sparc.c:3677 config/tc-sparc.c:3686 +#: config/tc-sparc.c:3698 config/tc-sparc.c:3709 config/tc-sparc.c:3731 +#: config/tc-sparc.c:3755 write.c:1190 msgid "relocation overflow" msgstr "" -#: config/tc-sparc.c:3806 +#: config/tc-sparc.c:3810 #, c-format msgid "bad or unhandled relocation type: 0x%02x" msgstr "" -#: config/tc-sparc.c:4122 +#: config/tc-sparc.c:4126 msgid "Expected comma after name" msgstr "" -#: config/tc-sparc.c:4131 +#: config/tc-sparc.c:4135 #, c-format msgid "BSS length (%d.) <0! Ignored." msgstr "" -#: config/tc-sparc.c:4143 +#: config/tc-sparc.c:4147 msgid "bad .reserve segment -- expected BSS segment" msgstr "" -#: config/tc-sparc.c:4169 config/tc-sparc.c:4296 +#: config/tc-sparc.c:4173 config/tc-sparc.c:4300 msgid "negative alignment" msgstr "" -#: config/tc-sparc.c:4179 config/tc-sparc.c:4317 read.c:1515 read.c:2558 +#: config/tc-sparc.c:4183 config/tc-sparc.c:4321 read.c:1515 read.c:2558 msgid "alignment not a power of 2" msgstr "" -#: config/tc-sparc.c:4225 +#: config/tc-sparc.c:4229 #, c-format msgid "Ignoring attempt to re-define symbol %s" msgstr "" -#: config/tc-sparc.c:4248 config/tc-v850.c:283 +#: config/tc-sparc.c:4252 config/tc-v850.c:283 msgid "Expected comma after symbol-name" msgstr "" -#: config/tc-sparc.c:4258 +#: config/tc-sparc.c:4262 #, c-format msgid ".COMMon length (%lu) out of range ignored" msgstr "" -#: config/tc-sparc.c:4284 +#: config/tc-sparc.c:4288 msgid "Expected comma after common length" msgstr "" -#: config/tc-sparc.c:4429 +#: config/tc-sparc.c:4433 msgid "Unknown segment type" msgstr "" -#: config/tc-sparc.c:4498 config/tc-sparc.c:4507 +#: config/tc-sparc.c:4502 config/tc-sparc.c:4511 #, c-format msgid "register syntax is .register %%g[2367],{#scratch|symbolname|#ignore}" msgstr "" -#: config/tc-sparc.c:4525 +#: config/tc-sparc.c:4529 msgid "redefinition of global register" msgstr "" -#: config/tc-sparc.c:4536 +#: config/tc-sparc.c:4540 #, c-format msgid "Register symbol %s already defined." msgstr "" -#: config/tc-sparc.c:4738 +#: config/tc-sparc.c:4742 #, c-format msgid "Illegal operands: %%r_plt in %d-byte data field" msgstr "" -#: config/tc-sparc.c:4748 +#: config/tc-sparc.c:4752 #, c-format msgid "Illegal operands: %%r_tls_dtpoff in %d-byte data field" msgstr "" -#: config/tc-sparc.c:4785 config/tc-vax.c:3313 +#: config/tc-sparc.c:4789 config/tc-vax.c:3315 #, c-format msgid "Illegal operands: Only %%r_%s%d allowed in %d-byte data fields" msgstr "" -#: config/tc-sparc.c:4793 config/tc-sparc.c:4824 config/tc-sparc.c:4833 -#: config/tc-vax.c:3321 config/tc-vax.c:3352 config/tc-vax.c:3361 +#: config/tc-sparc.c:4797 config/tc-sparc.c:4828 config/tc-sparc.c:4837 +#: config/tc-vax.c:3323 config/tc-vax.c:3354 config/tc-vax.c:3363 #, c-format msgid "Illegal operands: %%r_%s%d requires arguments in ()" msgstr "" -#: config/tc-sparc.c:4842 config/tc-vax.c:3370 +#: config/tc-sparc.c:4846 config/tc-vax.c:3372 #, c-format msgid "Illegal operands: garbage after %%r_%s%d()" msgstr "" @@ -17896,6 +18003,10 @@ msgstr "" msgid "sparc convert_frag\n" msgstr "" +#: config/tc-sparc.h:68 config/tc-z80.h:54 +msgid "estimate_size_before_relax called" +msgstr "" + #: config/tc-spu.c:172 msgid "" "SPU options:\n" @@ -19311,64 +19422,64 @@ msgstr "" msgid "PC-relative offset out of range" msgstr "" -#: config/tc-tic6x.c:4536 +#: config/tc-tic6x.c:4538 #, c-format msgid "undefined symbol %s in PCR relocation" msgstr "" -#: config/tc-tic6x.c:4653 +#: config/tc-tic6x.c:4655 #, c-format msgid "group section `%s' has no group signature" msgstr "" -#: config/tc-tic6x.c:4805 +#: config/tc-tic6x.c:4807 msgid "missing .endp before .cfi_startproc" msgstr "" -#: config/tc-tic6x.c:4910 +#: config/tc-tic6x.c:4912 msgid "stack pointer offset too large for personality routine" msgstr "" -#: config/tc-tic6x.c:4917 +#: config/tc-tic6x.c:4919 msgid "stack frame layout does not match personality routine" msgstr "" -#: config/tc-tic6x.c:5051 +#: config/tc-tic6x.c:5053 msgid "too many unwinding instructions" msgstr "" -#: config/tc-tic6x.c:5126 config/tc-tic6x.c:5139 config/tc-tic6x.c:5147 +#: config/tc-tic6x.c:5128 config/tc-tic6x.c:5141 config/tc-tic6x.c:5149 #, c-format msgid "unable to generate unwinding opcode for reg %d" msgstr "" -#: config/tc-tic6x.c:5156 +#: config/tc-tic6x.c:5158 msgid "unable to restore return address from previously restored reg" msgstr "" -#: config/tc-tic6x.c:5168 +#: config/tc-tic6x.c:5170 #, c-format msgid "unhandled CFA insn for unwinding (%d)" msgstr "" -#: config/tc-tic6x.c:5178 +#: config/tc-tic6x.c:5180 #, c-format msgid "unable to generate unwinding opcode for frame pointer reg %d" msgstr "" -#: config/tc-tic6x.c:5187 +#: config/tc-tic6x.c:5189 msgid "unable to generate unwinding opcode for frame pointer offset" msgstr "" -#: config/tc-tic6x.c:5196 +#: config/tc-tic6x.c:5198 msgid "unwound stack pointer not doubleword aligned" msgstr "" -#: config/tc-tic6x.c:5341 +#: config/tc-tic6x.c:5343 msgid "stack frame layout too complex for unwinder" msgstr "" -#: config/tc-tic6x.c:5358 +#: config/tc-tic6x.c:5360 msgid "unwound frame has negative size" msgstr "" @@ -19804,7 +19915,7 @@ msgstr "" msgid "displacement is too large" msgstr "" -#: config/tc-v850.c:2973 config/tc-xtensa.c:13066 +#: config/tc-v850.c:2973 config/tc-xtensa.c:13064 msgid "invalid operand" msgstr "" @@ -19940,29 +20051,29 @@ msgstr "" msgid "Not enough operands" msgstr "" -#: config/tc-vax.c:2218 +#: config/tc-vax.c:2219 msgid "SYMBOL TABLE not implemented" msgstr "" -#: config/tc-vax.c:2222 +#: config/tc-vax.c:2223 msgid "TOKEN TRACE not implemented" msgstr "" -#: config/tc-vax.c:2226 +#: config/tc-vax.c:2227 #, c-format msgid "Displacement length %s ignored!" msgstr "" -#: config/tc-vax.c:2230 +#: config/tc-vax.c:2231 #, c-format msgid "I don't need or use temp. file \"%s\"." msgstr "" -#: config/tc-vax.c:2234 +#: config/tc-vax.c:2235 msgid "I don't use an interpass file! -V ignored" msgstr "" -#: config/tc-vax.c:2291 +#: config/tc-vax.c:2292 #, c-format msgid "" "VAX options:\n" @@ -19974,7 +20085,7 @@ msgid "" "-V\t\t\tignored\n" msgstr "" -#: config/tc-vax.c:2300 +#: config/tc-vax.c:2301 #, c-format msgid "" "VMS options:\n" @@ -19986,56 +20097,56 @@ msgid "" "-v\"VERSION\"\t\tcode being assembled was produced by compiler \"VERSION\"\n" msgstr "" -#: config/tc-vax.c:2465 +#: config/tc-vax.c:2466 #, c-format msgid "Ignoring statement due to \"%s\"" msgstr "" -#: config/tc-vax.c:2482 +#: config/tc-vax.c:2483 #, c-format msgid "Aborting because statement has \"%s\"" msgstr "" -#: config/tc-vax.c:2527 +#: config/tc-vax.c:2528 msgid "Can't relocate expression" msgstr "" -#: config/tc-vax.c:2630 +#: config/tc-vax.c:2631 msgid "Bignum not permitted in short literal. Immediate mode assumed." msgstr "" -#: config/tc-vax.c:2639 +#: config/tc-vax.c:2640 msgid "Can't do flonum short literal: immediate mode used." msgstr "" -#: config/tc-vax.c:2686 +#: config/tc-vax.c:2687 #, c-format -msgid "A bignum/flonum may not be a displacement: 0x%lx used" +msgid "A bignum/flonum may not be a displacement: 0x%<PRIx64> used" msgstr "" -#: config/tc-vax.c:2998 +#: config/tc-vax.c:3000 #, c-format msgid "Short literal overflow(%ld.), immediate mode assumed." msgstr "" -#: config/tc-vax.c:3007 +#: config/tc-vax.c:3009 #, c-format msgid "Forced short literal to immediate mode. now_seg=%s to_seg=%s" msgstr "" -#: config/tc-vax.c:3072 +#: config/tc-vax.c:3074 msgid "Length specification ignored. Address mode 9F used" msgstr "" -#: config/tc-vax.c:3130 +#: config/tc-vax.c:3132 msgid "Invalid operand: immediate value used as base address." msgstr "" -#: config/tc-vax.c:3132 +#: config/tc-vax.c:3134 msgid "Invalid operand: immediate value used as address." msgstr "" -#: config/tc-vax.c:3157 +#: config/tc-vax.c:3159 #, c-format msgid "Symbol %s used as immediate operand in PIC mode." msgstr "" @@ -20118,7 +20229,7 @@ msgstr "" msgid "missing table index" msgstr "" -#: config/tc-wasm32.c:726 config/tc-z80.c:3704 read.c:3900 +#: config/tc-wasm32.c:726 config/tc-z80.c:3707 read.c:3900 #, c-format msgid "junk at end of line, first unrecognized character is `%c'" msgstr "" @@ -20650,137 +20761,137 @@ msgstr "" msgid "..." msgstr "" -#: config/tc-xtensa.c:8320 +#: config/tc-xtensa.c:8321 msgid "" "instruction sequence (write a0, branch, retw) may trigger hardware errata" msgstr "" -#: config/tc-xtensa.c:8432 +#: config/tc-xtensa.c:8433 msgid "branching or jumping to a loop end may trigger hardware errata" msgstr "" -#: config/tc-xtensa.c:8514 +#: config/tc-xtensa.c:8515 msgid "loop end too close to another loop end may trigger hardware errata" msgstr "" -#: config/tc-xtensa.c:8523 +#: config/tc-xtensa.c:8524 #, c-format msgid "fr_var %lu < length %d" msgstr "" -#: config/tc-xtensa.c:8681 +#: config/tc-xtensa.c:8682 msgid "" "loop containing less than three instructions may trigger hardware errata" msgstr "" -#: config/tc-xtensa.c:8753 +#: config/tc-xtensa.c:8754 msgid "undecodable instruction in instruction frag" msgstr "" -#: config/tc-xtensa.c:8863 +#: config/tc-xtensa.c:8864 msgid "invalid empty loop" msgstr "" -#: config/tc-xtensa.c:8868 +#: config/tc-xtensa.c:8869 msgid "loop target does not follow loop instruction in section" msgstr "" -#: config/tc-xtensa.c:9438 +#: config/tc-xtensa.c:9436 msgid "cannot find suitable trampoline" msgstr "" -#: config/tc-xtensa.c:9693 +#: config/tc-xtensa.c:9691 msgid "bad relaxation state" msgstr "" -#: config/tc-xtensa.c:9751 +#: config/tc-xtensa.c:9749 #, c-format msgid "fr_var (%ld) < length (%d)" msgstr "" -#: config/tc-xtensa.c:10451 +#: config/tc-xtensa.c:10449 msgid "jump target out of range; no usable trampoline found" msgstr "" -#: config/tc-xtensa.c:10575 +#: config/tc-xtensa.c:10573 msgid "invalid relaxation fragment result" msgstr "" -#: config/tc-xtensa.c:10657 +#: config/tc-xtensa.c:10655 msgid "unable to widen instruction" msgstr "" -#: config/tc-xtensa.c:10795 +#: config/tc-xtensa.c:10793 msgid "multiple literals in expansion" msgstr "" -#: config/tc-xtensa.c:10799 +#: config/tc-xtensa.c:10797 msgid "no registered fragment for literal" msgstr "" -#: config/tc-xtensa.c:10801 +#: config/tc-xtensa.c:10799 msgid "number of literal tokens != 1" msgstr "" -#: config/tc-xtensa.c:10930 config/tc-xtensa.c:10936 +#: config/tc-xtensa.c:10928 config/tc-xtensa.c:10934 #, c-format msgid "unresolved loop target symbol: %s" msgstr "" -#: config/tc-xtensa.c:11424 +#: config/tc-xtensa.c:11422 #, c-format msgid "fixes not all moved from %s" msgstr "" -#: config/tc-xtensa.c:11552 +#: config/tc-xtensa.c:11550 msgid "" "literal pool location required for text-section-literals; specify with ." "literal_position" msgstr "" -#: config/tc-xtensa.c:12380 +#: config/tc-xtensa.c:12378 msgid "too many operands in instruction" msgstr "" -#: config/tc-xtensa.c:12590 +#: config/tc-xtensa.c:12588 msgid "invalid symbolic operand" msgstr "" -#: config/tc-xtensa.c:12651 +#: config/tc-xtensa.c:12649 msgid "operand number mismatch" msgstr "" -#: config/tc-xtensa.c:12655 +#: config/tc-xtensa.c:12653 #, c-format msgid "cannot encode opcode \"%s\" in the given format \"%s\"" msgstr "" -#: config/tc-xtensa.c:12680 +#: config/tc-xtensa.c:12678 #, c-format msgid "xtensa-isa failure: %s" msgstr "" -#: config/tc-xtensa.c:12757 +#: config/tc-xtensa.c:12755 msgid "invalid opcode" msgstr "" -#: config/tc-xtensa.c:12763 +#: config/tc-xtensa.c:12761 msgid "too few operands" msgstr "" -#: config/tc-xtensa.c:12769 +#: config/tc-xtensa.c:12767 msgid "too many operands" msgstr "" -#: config/tc-xtensa.c:12813 +#: config/tc-xtensa.c:12811 msgid "multiple writes to the same register" msgstr "" -#: config/tc-xtensa.c:12927 config/tc-xtensa.c:12933 +#: config/tc-xtensa.c:12925 config/tc-xtensa.c:12931 msgid "out of memory" msgstr "" -#: config/tc-xtensa.c:13022 +#: config/tc-xtensa.c:13020 msgid "TLS relocation not allowed in FLIX bundle" msgstr "" @@ -20788,33 +20899,33 @@ msgstr "" #. relaxed in the front-end. If "record_fixup" is set, then this #. function is being called during back-end relaxation, so flag #. the unexpected behavior as an error. -#: config/tc-xtensa.c:13028 +#: config/tc-xtensa.c:13026 msgid "unexpected TLS relocation" msgstr "" -#: config/tc-xtensa.c:13072 +#: config/tc-xtensa.c:13070 msgid "symbolic operand not allowed" msgstr "" -#: config/tc-xtensa.c:13109 +#: config/tc-xtensa.c:13107 msgid "cannot decode instruction format" msgstr "" -#: config/tc-xtensa.c:13253 +#: config/tc-xtensa.c:13251 msgid "ignoring extra '-rename-section' delimiter ':'" msgstr "" -#: config/tc-xtensa.c:13258 +#: config/tc-xtensa.c:13256 #, c-format msgid "ignoring invalid '-rename-section' specification: '%s'" msgstr "" -#: config/tc-xtensa.c:13269 +#: config/tc-xtensa.c:13267 #, c-format msgid "section %s renamed multiple times" msgstr "" -#: config/tc-xtensa.c:13271 +#: config/tc-xtensa.c:13269 #, c-format msgid "multiple sections remapped to output section %s" msgstr "" @@ -20892,43 +21003,43 @@ msgstr "" #: config/tc-z80.c:1147 #, c-format -msgid "%d-bit overflow (%+ld)" +msgid "%d-bit overflow (%+<PRId64>)" msgstr "" -#: config/tc-z80.c:1161 +#: config/tc-z80.c:1162 #, c-format msgid "invalid data size %d" msgstr "" -#: config/tc-z80.c:1246 +#: config/tc-z80.c:1247 msgid "cannot make a relative jump to an absolute location" msgstr "" -#: config/tc-z80.c:1253 +#: config/tc-z80.c:1254 #, c-format -msgid "index overflow (%+ld)" +msgid "index overflow (%+<PRId64>)" msgstr "" -#: config/tc-z80.c:1255 +#: config/tc-z80.c:1257 #, c-format -msgid "offset overflow (%+ld)" +msgid "offset overflow (%+<PRId64>)" msgstr "" -#: config/tc-z80.c:1457 config/tc-z80.c:1704 config/tc-z80.c:1747 -#: config/tc-z80.c:1828 config/tc-z80.c:1858 config/tc-z80.c:1917 -#: config/tc-z80.c:1977 config/tc-z80.c:2030 config/tc-z80.c:2063 -#: config/tc-z80.c:2120 config/tc-z80.c:2738 config/tc-z80.c:2787 -#: config/tc-z80.c:2825 config/tc-z80.c:2885 config/tc-z80.c:2945 -#: config/tc-z80.c:3021 config/tc-z80.c:3044 +#: config/tc-z80.c:1460 config/tc-z80.c:1707 config/tc-z80.c:1750 +#: config/tc-z80.c:1831 config/tc-z80.c:1861 config/tc-z80.c:1920 +#: config/tc-z80.c:1980 config/tc-z80.c:2033 config/tc-z80.c:2066 +#: config/tc-z80.c:2123 config/tc-z80.c:2741 config/tc-z80.c:2790 +#: config/tc-z80.c:2828 config/tc-z80.c:2888 config/tc-z80.c:2948 +#: config/tc-z80.c:3024 config/tc-z80.c:3047 msgid "bad instruction syntax" msgstr "" -#: config/tc-z80.c:1895 +#: config/tc-z80.c:1898 msgid "condition code invalid for jr" msgstr "" -#: config/tc-z80.c:2484 config/tc-z80.c:2495 config/tc-z80.c:2511 -#: config/tc-z80.c:2544 +#: config/tc-z80.c:2487 config/tc-z80.c:2498 config/tc-z80.c:2514 +#: config/tc-z80.c:2547 msgid "ADL mode instruction" msgstr "" @@ -20936,62 +21047,62 @@ msgstr "" #. LIS prefix, in Z80 it is LD C,C #. SIL prefix, in Z80 it is LD D,D #. LIL prefix, in Z80 it is LD E,E -#: config/tc-z80.c:2619 +#: config/tc-z80.c:2622 msgid "unsupported instruction, assembled as NOP" msgstr "" -#: config/tc-z80.c:3212 config/tc-z80.c:3243 +#: config/tc-z80.c:3215 config/tc-z80.c:3246 msgid "parentheses ignored" msgstr "" -#: config/tc-z80.c:3260 +#: config/tc-z80.c:3263 msgid "CPU mode is unsupported by target" msgstr "" -#: config/tc-z80.c:3282 +#: config/tc-z80.c:3285 msgid "assignment expected" msgstr "" -#: config/tc-z80.c:3697 +#: config/tc-z80.c:3700 #, c-format msgid "Unknown instruction `%s'" msgstr "" -#: config/tc-z80.c:3773 +#: config/tc-z80.c:3776 #, c-format msgid "8-bit signed offset out of range (%+ld)" msgstr "" -#: config/tc-z80.c:3796 +#: config/tc-z80.c:3799 #, c-format msgid "8-bit overflow (%+ld)" msgstr "" -#: config/tc-z80.c:3813 +#: config/tc-z80.c:3816 #, c-format msgid "16-bit overflow (%+ld)" msgstr "" -#: config/tc-z80.c:3821 +#: config/tc-z80.c:3824 #, c-format msgid "24-bit overflow (%+ld)" msgstr "" -#: config/tc-z80.c:3830 +#: config/tc-z80.c:3833 #, c-format msgid "32-bit overflow (%+ld)" msgstr "" -#: config/tc-z80.c:3843 +#: config/tc-z80.c:3846 #, c-format msgid "md_apply_fix: unknown reloc type 0x%x\n" msgstr "" -#: config/tc-z80.c:4040 config/tc-z80.c:4099 +#: config/tc-z80.c:4043 config/tc-z80.c:4102 msgid "invalid syntax" msgstr "" -#: config/tc-z80.c:4118 +#: config/tc-z80.c:4121 msgid "overflow" msgstr "" @@ -21545,36 +21656,36 @@ msgstr "" msgid ".loc before .file" msgstr "" -#: ecoff.c:3426 +#: ecoff.c:3425 #, c-format msgid ".stab%c is not supported" msgstr "" -#: ecoff.c:3436 +#: ecoff.c:3435 #, c-format msgid ".stab%c: ignoring non-zero other field" msgstr "" -#: ecoff.c:3470 +#: ecoff.c:3469 #, c-format msgid "" "line number (%d) for .stab%c directive cannot fit in index field (20 bits)" msgstr "" -#: ecoff.c:3504 +#: ecoff.c:3503 #, c-format msgid "illegal .stab%c directive, bad character" msgstr "" -#: ecoff.c:3953 ecoff.c:4141 ecoff.c:4166 +#: ecoff.c:3952 ecoff.c:4140 ecoff.c:4165 msgid ".begin/.bend in different segments" msgstr "" -#: ecoff.c:4661 +#: ecoff.c:4660 msgid "missing .end or .bend at end of file" msgstr "" -#: ecoff.c:5138 +#: ecoff.c:5137 msgid "GP prologue size exceeds field size, using 0 instead" msgstr "" @@ -21607,80 +21718,80 @@ msgstr "" #. Either not seen or not defined. #. @@ Should print out the original string instead of #. the parsed number. -#: expr.c:580 +#: expr.c:589 #, c-format msgid "backward ref to unknown label \"%d:\"" msgstr "" -#: expr.c:693 +#: expr.c:702 msgid "character constant too large" msgstr "" -#: expr.c:984 +#: expr.c:1007 #, c-format msgid "found '%c', expected: '%c'" msgstr "" -#: expr.c:987 +#: expr.c:1010 #, c-format msgid "missing '%c'" msgstr "" -#: expr.c:999 read.c:4745 +#: expr.c:1022 read.c:4745 msgid "EBCDIC constants are not supported" msgstr "" -#: expr.c:1151 +#: expr.c:1174 #, c-format msgid "Unary operator %c ignored because bad operand follows" msgstr "" -#: expr.c:1215 expr.c:1237 +#: expr.c:1238 expr.c:1260 msgid "syntax error in .startof. or .sizeof." msgstr "" -#: expr.c:1317 expr.c:1653 +#: expr.c:1340 expr.c:1676 #, c-format msgid "invalid use of operator \"%s\"" msgstr "" -#: expr.c:1838 +#: expr.c:1861 msgid "missing operand; zero assumed" msgstr "" -#: expr.c:1877 +#: expr.c:1900 msgid "left operand is a bignum; integer 0 assumed" msgstr "" -#: expr.c:1879 +#: expr.c:1902 msgid "left operand is a float; integer 0 assumed" msgstr "" -#: expr.c:1888 +#: expr.c:1911 msgid "right operand is a bignum; integer 0 assumed" msgstr "" -#: expr.c:1890 +#: expr.c:1913 msgid "right operand is a float; integer 0 assumed" msgstr "" -#: expr.c:1969 symbols.c:1702 +#: expr.c:1992 symbols.c:1702 msgid "division by zero" msgstr "" -#: expr.c:1995 symbols.c:1713 +#: expr.c:2018 symbols.c:1713 msgid "shift count" msgstr "" -#: expr.c:2121 +#: expr.c:2144 msgid "operation combines symbols in different segments" msgstr "" -#: expr.c:2484 +#: expr.c:2507 msgid "missing closing '\"'" msgstr "" -#: expr.c:2512 +#: expr.c:2535 #, c-format msgid "'\\%c' in quoted symbol name; behavior may change in the future" msgstr "" @@ -21732,7 +21843,7 @@ msgstr "" msgid "can't read from %s: %s" msgstr "" -#: input-file.c:252 listing.c:1422 +#: input-file.c:252 listing.c:1444 #, c-format msgid "can't close %s: %s" msgstr "" @@ -21763,7 +21874,7 @@ msgstr "" msgid "unable to rebuffer file: %s\n" msgstr "" -#: listing.c:1308 +#: listing.c:1330 #, c-format msgid "" "\n" @@ -21771,74 +21882,74 @@ msgid "" "\n" msgstr "" -#: listing.c:1318 +#: listing.c:1340 #, c-format msgid "%s " msgstr "" -#: listing.c:1323 +#: listing.c:1345 #, c-format msgid "" "\n" "\t%s " msgstr "" -#: listing.c:1333 +#: listing.c:1355 msgid "" "\n" " options passed\t: " msgstr "" -#: listing.c:1372 +#: listing.c:1394 #, c-format msgid "" " GNU assembler version %s (%s)\n" "\t using BFD version %s." msgstr "" -#: listing.c:1375 +#: listing.c:1397 #, c-format msgid "" "\n" " input file \t: %s" msgstr "" -#: listing.c:1376 +#: listing.c:1398 #, c-format msgid "" "\n" " output file \t: %s" msgstr "" -#: listing.c:1377 +#: listing.c:1399 #, c-format msgid "" "\n" " target \t: %s" msgstr "" -#: listing.c:1401 +#: listing.c:1423 #, c-format msgid "can't open %s: %s" msgstr "" -#: listing.c:1486 +#: listing.c:1508 msgid "strange paper height, set to no form" msgstr "" -#: listing.c:1510 +#: listing.c:1532 msgid "new paper width is too small" msgstr "" -#: listing.c:1513 +#: listing.c:1535 msgid "bad or irreducible expression for paper width" msgstr "" -#: listing.c:1515 +#: listing.c:1537 msgid "missing expression for paper width" msgstr "" -#: listing.c:1566 +#: listing.c:1588 msgid "new line in title" msgstr "" @@ -22261,7 +22372,7 @@ msgstr "" msgid "junk at end of line, first unrecognized character valued 0x%x" msgstr "" -#: read.c:4031 write.c:2408 +#: read.c:4031 write.c:2413 #, c-format msgid "`%s' can't be equated to common symbol `%s'" msgstr "" @@ -22455,29 +22566,29 @@ msgstr "" msgid "invalid argument '%s' to -fdebug-prefix-map" msgstr "" -#: stabs.c:225 +#: stabs.c:187 #, c-format -msgid ".stab%c: missing string" +msgid ".stab%c: missing comma" msgstr "" -#: stabs.c:238 stabs.c:246 stabs.c:254 stabs.c:273 +#: stabs.c:263 #, c-format -msgid ".stab%c: missing comma" +msgid ".stab%c: missing string" msgstr "" #. This could happen for example with a source file with a huge #. number of lines. The only cure is to use a different debug #. format, probably DWARF. -#: stabs.c:266 +#: stabs.c:290 #, c-format msgid ".stab%c: description field '%x' too big, try a different debug format" msgstr "" -#: stabs.c:450 +#: stabs.c:436 msgid "comma missing in .xstabs" msgstr "" -#: symbols.c:385 symbols.c:2528 +#: symbols.c:385 symbols.c:2527 #, c-format msgid "symbol '%s' contains multibyte characters" msgstr "" @@ -22532,7 +22643,7 @@ msgstr "" msgid "Invalid operation on symbol" msgstr "" -#: symbols.c:1804 write.c:2457 +#: symbols.c:1804 write.c:2462 #, c-format msgid "can't resolve value for symbol `%s'" msgstr "" @@ -22552,20 +22663,20 @@ msgid "attempt to get value of unresolved symbol `%s'" msgstr "" #. Do not reassign section symbols. -#: symbols.c:2549 +#: symbols.c:2548 msgid "can't make section symbol global" msgstr "" -#: symbols.c:2555 +#: symbols.c:2554 msgid "can't make register symbol global" msgstr "" -#: symbols.c:2661 +#: symbols.c:2660 #, c-format msgid "Accessing function `%s' as thread-local object" msgstr "" -#: symbols.c:2665 +#: symbols.c:2664 #, c-format msgid "Accessing `%s' as thread-local object" msgstr "" @@ -22646,65 +22757,65 @@ msgid_plural "can't write %ld bytes to section %s of %s: '%s'" msgstr[0] "" msgstr[1] "" -#: write.c:1675 write.c:1704 write.c:1741 +#: write.c:1675 write.c:1709 write.c:1746 #, c-format msgid "can't fill %ld byte in section %s of %s: '%s'" msgid_plural "can't fill %ld bytes in section %s of %s: '%s'" msgstr[0] "" msgstr[1] "" -#: write.c:1958 +#: write.c:1963 msgid "unable to create reloc for build note" msgstr "" -#: write.c:1962 +#: write.c:1967 msgid "<gnu build note>" msgstr "" -#: write.c:2373 +#: write.c:2378 #, c-format msgid "%s: global symbols not supported in common sections" msgstr "" -#: write.c:2387 +#: write.c:2392 #, c-format msgid "local label `%s' is not defined" msgstr "" -#: write.c:2415 +#: write.c:2420 #, c-format msgid "can't make global register symbol `%s'" msgstr "" -#: write.c:2725 +#: write.c:2730 #, c-format msgid "alignment padding (%lu byte) not a multiple of %ld" msgid_plural "alignment padding (%lu bytes) not a multiple of %ld" msgstr[0] "" msgstr[1] "" -#: write.c:2899 +#: write.c:2904 #, c-format msgid ".word %s-%s+%s didn't fit" msgstr "" -#: write.c:2993 +#: write.c:2998 msgid "padding added" msgstr "" -#: write.c:3044 +#: write.c:3049 msgid "attempt to move .org backwards" msgstr "" -#: write.c:3069 +#: write.c:3074 msgid ".space, .nops or .fill specifies non-absolute value" msgstr "" -#: write.c:3084 +#: write.c:3089 msgid ".space, .nops or .fill with negative value, ignored" msgstr "" -#: write.c:3160 +#: write.c:3165 #, c-format msgid "" "Infinite loop encountered whilst attempting to compute the addresses of " diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4 index 173e40b..d505fbb 100644 --- a/gdb/acinclude.m4 +++ b/gdb/acinclude.m4 @@ -235,7 +235,8 @@ AC_DEFUN([GDB_AC_CHECK_BFD], [ # always want our bfd. CFLAGS="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS" LDFLAGS="-L../bfd -L../libiberty $LDFLAGS" - intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'` + # LTLIBINTL because we use libtool as CC below. + intl="$(echo "$LTLIBINTL" | sed 's,\$[[{(]top_builddir[)}]]/,,')" LIBS="-lbfd -liberty $intl $LIBS" CC="./libtool --quiet --mode=link $CC" AC_CACHE_CHECK( diff --git a/gdb/aclocal.m4 b/gdb/aclocal.m4 index 4aac87b..05b4926 100644 --- a/gdb/aclocal.m4 +++ b/gdb/aclocal.m4 @@ -199,6 +199,11 @@ AC_DEFUN([_AM_SUBST_NOTMAKE]) # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) +m4_include([../libtool.m4]) +m4_include([../ltoptions.m4]) +m4_include([../ltsugar.m4]) +m4_include([../ltversion.m4]) +m4_include([../lt~obsolete.m4]) m4_include([../config/acx.m4]) m4_include([../config/ax_pthread.m4]) m4_include([../config/bfd64.m4]) @@ -206,15 +211,15 @@ m4_include([../config/debuginfod.m4]) m4_include([../config/depstand.m4]) m4_include([../config/enable.m4]) m4_include([../config/gettext-sister.m4]) +m4_include([../config/gettext.m4]) +m4_include([../config/intlmacosx.m4]) m4_include([../config/largefile.m4]) m4_include([../config/lead-dot.m4]) +m4_include([../config/nls.m4]) m4_include([../config/override.m4]) m4_include([../config/pkg.m4]) m4_include([../config/plugins.m4]) +m4_include([../config/po.m4]) +m4_include([../config/progtest.m4]) m4_include([../config/tcl.m4]) -m4_include([../libtool.m4]) -m4_include([../ltoptions.m4]) -m4_include([../ltsugar.m4]) -m4_include([../ltversion.m4]) -m4_include([../lt~obsolete.m4]) m4_include([acinclude.m4]) diff --git a/gdb/config.in b/gdb/config.in index f8926fe..0c144c8 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -93,6 +93,14 @@ /* Define to 1 if you have the `btowc' function. */ #undef HAVE_BTOWC +/* Define to 1 if you have the Mac OS X function + CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES + +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + /* Define to 1 if you have the <cursesX.h> header file. */ #undef HAVE_CURSESX_H @@ -102,6 +110,10 @@ /* define if the compiler supports basic C++17 syntax */ #undef HAVE_CXX17 +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + /* Define to 1 if you have the declaration of `ADDR_NO_RANDOMIZE', and to 0 if you don't. */ #undef HAVE_DECL_ADDR_NO_RANDOMIZE @@ -205,6 +217,9 @@ /* Define to 1 if you have the `getrusage' function. */ #undef HAVE_GETRUSAGE +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + /* Define to 1 if you have the `getuid' function. */ #undef HAVE_GETUID @@ -217,7 +232,7 @@ /* Define if Guile supports manual finalization. */ #undef HAVE_GUILE_MANUAL_FINALIZATION -/* Define if you have the iconv() function. */ +/* Define if you have the iconv() function and it works. */ #undef HAVE_ICONV /* Define to 1 if you have the `iconvlist' function. */ diff --git a/gdb/configure b/gdb/configure index 0878481..7e411cd 100755 --- a/gdb/configure +++ b/gdb/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include <unistd.h> #endif" +gt_needs= enable_option_checking=no ac_header_list= ac_subst_vars='LTLIBOBJS @@ -751,8 +752,6 @@ READLINE_TEXI_INCFLAG READLINE_CFLAGS READLINE_DEPS READLINE -LTLIBICONV -LIBICONV ZSTD_LIBS ZSTD_CFLAGS zlibinc @@ -762,9 +761,6 @@ WINDRES DLLTOOL YFLAGS YACC -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM REPORT_BUGS_TEXI REPORT_BUGS_TO PKGVERSION @@ -789,13 +785,25 @@ GENCAT INSTOBJEXT DATADIRNAME CATALOGS -POSUB -GMSGFMT -XGETTEXT INCINTL LIBINTL_DEP +POSUB +LTLIBINTL LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +INTL_MACOSX_LIBS +MSGMERGE +XGETTEXT +GMSGFMT +MSGFMT USE_NLS +MKINSTALLDIRS +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +SET_MAKE PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG @@ -905,6 +913,12 @@ with_pic enable_fast_install with_gnu_ld enable_libtool_lock +enable_nls +enable_rpath +with_libiconv_prefix +with_libiconv_type +with_libintl_prefix +with_libintl_type with_separate_debug_dir with_additional_debug_dirs with_gdb_datadir @@ -925,9 +939,6 @@ with_pkgversion with_bugurl with_system_zlib with_zstd -enable_rpath -with_libiconv_prefix -with_libiconv_type with_iconv_bin with_system_readline with_jit_reader_dir @@ -1627,6 +1638,8 @@ Optional Features: --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) + --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths --enable-targets=TARGETS alternative target configurations --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) @@ -1634,7 +1647,6 @@ Optional Features: --enable-gdbtk enable gdbtk graphical user interface (GUI) --enable-profiling enable profiling of GDB --enable-codesign=CERT sign gdb with 'codesign -s CERT' - --disable-rpath do not hardcode runtime library paths --enable-source-highlight enable source-highlight for source listings --enable-threading include support for parallel processing of data @@ -1658,6 +1670,13 @@ Optional Packages: --with-pic try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libiconv-type=TYPE type of library to search for (auto/static/shared) + --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 + --with-libintl-type=TYPE type of library to search for (auto/static/shared) --with-separate-debug-dir=PATH look for global separate debug info in this path [LIBDIR/debug] @@ -1687,10 +1706,6 @@ Optional Packages: --with-system-zlib use installed libz --with-zstd support zstd compressed debug sections (default=auto) - --with-gnu-ld assume the C compiler uses GNU ld default=no - --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib - --without-libiconv-prefix don't search for libiconv in includedir and libdir - --with-libiconv-type=TYPE type of library to search for (auto/static/shared) --with-iconv-bin=PATH specify where to find the iconv program --with-system-readline use installed readline library --with-jit-reader-dir=PATH @@ -3010,6 +3025,7 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +gt_needs="$gt_needs " as_fn_append ac_header_list " stdlib.h" as_fn_append ac_header_list " unistd.h" as_fn_append ac_header_list " sys/param.h" @@ -11483,7 +11499,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11486 "configure" +#line 11502 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11589,7 +11605,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11592 "configure" +#line 11608 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -19247,19 +19263,2052 @@ CONFIG_CLEAN= CONFIG_INSTALL= CONFIG_UNINSTALL= -# If we haven't got the data from the intl directory, -# assume NLS is disabled. -USE_NLS=no -LIBINTL= -LIBINTL_DEP= -INCINTL= -XGETTEXT= -GMSGFMT= -POSUB= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + + + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + rm -f messages.po + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test "$GMSGFMT" != ":"; then + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 +$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } + GMSGFMT=":" + fi + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + rm -f messages.po + fi + + ac_config_commands="$ac_config_commands default-1" + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [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 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$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 + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + + + + + + 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-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_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 + + +# Check whether --with-libiconv-type was given. +if test "${with_libiconv_type+set}" = set; then : + withval=$with_libiconv_type; with_libiconv_type=$withval +else + with_libiconv_type=auto +fi + + lib_type=`eval echo \$with_libiconv_type` + + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + 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" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBICONV; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-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 $INCICONV; 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 + INCICONV="${INCICONV}${INCICONV:+ }-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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext" + fi + 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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + +if test -f ../gettext/uninstalled-config.sh; then + relative_builddir='$(top_builddir)/../gettext' + . ../gettext/uninstalled-config.sh +else + # The sister gettext directory doesn't exist and won't collect information on + # using gettext for us. Call a bundled AM_GNU_GETTEXT. + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFPreferences.h> +int +main () +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 +$as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; } +if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFLocale.h> +int +main () +{ +CFLocaleCopyPreferredLanguages(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyPreferredLanguages=yes +else + gt_cv_func_CFLocaleCopyPreferredLanguages=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } + if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + +$as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ + || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" + fi + + + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if eval \${$gt_func_gnugettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libc=yes" +else + eval "$gt_func_gnugettext_libc=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; 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 + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + am_cv_func_iconv_works=no + for ac_iconv_const in '' 'const'; do + if test "$cross_compiling" = yes; then : + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <iconv.h> +#include <string.h> + +#ifndef ICONV_CONST +# define ICONV_CONST $ac_iconv_const +#endif + +int +main () +{ +int result = 0; + /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from + successful returns. This is even documented in + <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 1; + iconv_close (cd_utf8_to_88591); + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\263"; + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 2; + iconv_close (cd_ascii_to_88591); + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + ICONV_CONST char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + result |= 4; + iconv_close (cd_88591_to_utf8); + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + result |= 8; + iconv_close (cd_88591_to_utf8); + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + { + /* Try standardized names. */ + iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); + /* Try IRIX, OSF/1 names. */ + iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); + /* Try AIX names. */ + iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); + /* Try HP-UX names. */ + iconv_t cd4 = iconv_open ("utf8", "eucJP"); + if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) + && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) + result |= 16; + if (cd1 != (iconv_t)(-1)) + iconv_close (cd1); + if (cd2 != (iconv_t)(-1)) + iconv_close (cd2); + if (cd3 != (iconv_t)(-1)) + iconv_close (cd3); + if (cd4 != (iconv_t)(-1)) + iconv_close (cd4); + } + return result; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + test "$am_cv_func_iconv_works" = no || break + done + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + 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-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_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 + + +# Check whether --with-libintl-type was given. +if test "${with_libintl_type+set}" = set; then : + withval=$with_libintl_type; with_libintl_type=$withval +else + with_libintl_type=auto +fi + + lib_type=`eval echo \$with_libintl_type` + + LIBINTL= + LTLIBINTL= + INCINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + 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" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBINTL; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-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 $INCINTL; 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 + INCINTL="${INCINTL}${INCINTL:+ }-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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext" + fi + 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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if eval \${$gt_func_gnugettext_libintl+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" +else + eval "$gt_func_gnugettext_libintl=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" +fi +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; 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 + + fi + + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + -if test -f ../intl/config.intl; then - . ../intl/config.intl fi + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } if test x"$USE_NLS" != xyes; then @@ -20501,98 +22550,6 @@ fi test -n "$AWK" && break done -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -# Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } -if test -z "$INSTALL"; then -if ${ac_cv_path_install+:} false; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in #(( - ./ | .// | /[cC]/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - rm -rf conftest.one conftest.two conftest.dir - echo one > conftest.one - echo two > conftest.two - mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && - test -s conftest.one && test -s conftest.two && - test -s conftest.dir/conftest.one && - test -s conftest.dir/conftest.two - then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - fi - done - done - ;; -esac - - done -IFS=$as_save_IFS - -rm -rf conftest.one conftest.two conftest.dir - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } @@ -21364,460 +23321,15 @@ fi - if test "X$prefix" = "XNONE"; then - acl_final_prefix="$ac_default_prefix" - else - acl_final_prefix="$prefix" - fi - if test "X$exec_prefix" = "XNONE"; then - acl_final_exec_prefix='${prefix}' - else - acl_final_exec_prefix="$exec_prefix" - fi - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" - prefix="$acl_save_prefix" - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -# Prepare PATH_SEPARATOR. -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 -$as_echo_n "checking for ld used by GCC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | [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 - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if ${acl_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - IFS="${IFS= }"; ac_save_ifs="$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 - acl_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some GNU ld's only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break - else - test "$with_gnu_ld" != yes && break - fi - fi - done - IFS="$ac_save_ifs" -else - acl_cv_path_LD="$LD" # Let the user override the test with a path. -fi -fi - -LD="$acl_cv_path_LD" -if test -n "$LD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${acl_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then - acl_cv_prog_gnu_ld=yes -else - acl_cv_prog_gnu_ld=no -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 -$as_echo "$acl_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$acl_cv_prog_gnu_ld - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 -$as_echo_n "checking for shared library run path origin... " >&6; } -if ${acl_cv_rpath+:} false; then : - $as_echo_n "(cached) " >&6 -else - - CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ - ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh - . ./conftest.sh - rm -f ./conftest.sh - acl_cv_rpath=done - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 -$as_echo "$acl_cv_rpath" >&6; } - wl="$acl_cv_wl" - libext="$acl_cv_libext" - shlibext="$acl_cv_shlibext" - hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" - hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" - hardcode_direct="$acl_cv_hardcode_direct" - hardcode_minus_L="$acl_cv_hardcode_minus_L" - # Check whether --enable-rpath was given. -if test "${enable_rpath+set}" = set; then : - enableval=$enable_rpath; : -else - enable_rpath=yes -fi - - - - - - - - - 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-libiconv-prefix was given. -if test "${with_libiconv_prefix+set}" = set; then : - withval=$with_libiconv_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 - - -# Check whether --with-libiconv-type was given. -if test "${with_libiconv_type+set}" = set; then : - withval=$with_libiconv_type; with_libiconv_type=$withval -else - with_libiconv_type=auto -fi - - lib_type=`eval echo \$with_libiconv_type` - LIBICONV= - LTLIBICONV= - INCICONV= - rpathdirs= - ltrpathdirs= - names_already_handled= - names_next_round='iconv ' - 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" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" - eval value=\"\$LTLIB$uppername\" - test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$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" && test x$lib_type != xstatic; 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 - elif test x$lib_type != xshared; then - 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 $LTLIBICONV; 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" && test x$lib_type != xstatic; 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 - elif test x$lib_type != xshared; then - 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 - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" - if test "X$found_so" != "X"; then - if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$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 - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" - else - if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$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 $LIBICONV; 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 - LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" - fi - if test "$hardcode_minus_L" != no; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" - else - LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" - fi - fi - fi - fi - else - if test "X$found_a" != "X"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" - else - LIBICONV="${LIBICONV}${LIBICONV:+ }-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 $INCICONV; do + am_save_CPPFLAGS="$CPPFLAGS" - 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 - INCICONV="${INCICONV}${INCICONV:+ }-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 $LIBICONV; 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 - LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" - fi - fi - haveit= - for x in $LDFLAGS $LTLIBICONV; do + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -21827,101 +23339,15 @@ fi 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 - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" - fi - fi - fi - fi - ;; - -R*) - dir=`echo "X$dep" | sed -e 's/^X-R//'` - if test "$enable_rpath" != no; then - haveit= - for x in $rpathdirs; do - if test "X$x" = "X$dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - rpathdirs="$rpathdirs $dir" - fi - haveit= - for x in $ltrpathdirs; do - if test "X$x" = "X$dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - ltrpathdirs="$ltrpathdirs $dir" - 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$,,'` - ;; - *) - LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" - ;; - esac - done - fi - else - if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" - else - LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext" - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext" - fi - fi - fi + if test "X$x" = "X$element"; then + haveit=yes + break 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" - LIBICONV="${LIBICONV}${LIBICONV:+ }$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" - LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" - done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi - fi - if test "X$ltrpathdirs" != "X"; then - for found_dir in $ltrpathdirs; do - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" - done - fi - - - - - + done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 @@ -21932,39 +23358,12 @@ else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no - am_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $INCICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include <stdlib.h> #include <iconv.h> -int -main () -{ -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - am_cv_func_iconv=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" - - if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then - for _libs in .libs _libs; do - am_save_CPPFLAGS="$CPPFLAGS" - am_save_LIBS="$LIBS" - CPPFLAGS="$CPPFLAGS -I../libiconv/include" - LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> -#include <iconv.h> + int main () { @@ -21976,37 +23375,25 @@ iconv_t cd = iconv_open("",""); } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - INCICONV="-I../libiconv/include" - LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a - LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la - am_cv_lib_iconv=yes - am_cv_func_iconv=yes + am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" - LIBS="$am_save_LIBS" - if test "$am_cv_func_iconv" = "yes"; then - break - fi - done - fi - if test "$am_cv_func_iconv" != yes; then - am_save_CPPFLAGS="$CPPFLAGS" am_save_LIBS="$LIBS" - CPPFLAGS="$CPPFLAGS $INCICONV" LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include <stdlib.h> #include <iconv.h> + int main () { iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); ; return 0; } @@ -22017,7 +23404,6 @@ if ac_fn_c_try_link "$LINENO"; then : fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" LIBS="$am_save_LIBS" fi @@ -22025,39 +23411,181 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 $as_echo "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else -$as_echo "#define HAVE_ICONV 1" >>confdefs.h + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + am_cv_func_iconv_works=no + for ac_iconv_const in '' 'const'; do + if test "$cross_compiling" = yes; then : + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ - fi - if test "$am_cv_lib_iconv" = yes; then +#include <iconv.h> +#include <string.h> - for element in $INCICONV; do - haveit= - for x in $CPPFLAGS; do +#ifndef ICONV_CONST +# define ICONV_CONST $ac_iconv_const +#endif - 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" +int +main () +{ +int result = 0; + /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from + successful returns. This is even documented in + <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 1; + iconv_close (cd_utf8_to_88591); + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\263"; + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 2; + iconv_close (cd_ascii_to_88591); + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + ICONV_CONST char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + result |= 4; + iconv_close (cd_88591_to_utf8); + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + result |= 8; + iconv_close (cd_88591_to_utf8); + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + { + /* Try standardized names. */ + iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); + /* Try IRIX, OSF/1 names. */ + iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); + /* Try AIX names. */ + iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); + /* Try HP-UX names. */ + iconv_t cd4 = iconv_open ("utf8", "eucJP"); + if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) + && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) + result |= 16; + if (cd1 != (iconv_t)(-1)) + iconv_close (cd1); + if (cd2 != (iconv_t)(-1)) + iconv_close (cd2); + if (cd3 != (iconv_t)(-1)) + iconv_close (cd3); + if (cd4 != (iconv_t)(-1)) + iconv_close (cd4); + } + return result; - if test "X$x" = "X$element"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" - fi - done + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + test "$am_cv_func_iconv_works" = no || break + done + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 $as_echo_n "checking how to link with libiconv... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 $as_echo "$LIBICONV" >&6; } else + CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi @@ -22065,13 +23593,12 @@ $as_echo "$LIBICONV" >&6; } if test "$am_cv_func_iconv" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 -$as_echo_n "checking for iconv declaration... " >&6; } - if ${am_cv_proto_iconv+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv is compatible with its POSIX signature" >&5 +$as_echo_n "checking whether iconv is compatible with its POSIX signature... " >&6; } +if ${gl_cv_iconv_nonconst+:} false; then : $as_echo_n "(cached) " >&6 else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <stdlib.h> @@ -22080,11 +23607,7 @@ extern #ifdef __cplusplus "C" #endif -#if defined(__STDC__) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); -#else -size_t iconv(); -#endif int main () @@ -22095,24 +23618,42 @@ main () } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : - am_cv_proto_iconv_arg1="" + gl_cv_iconv_nonconst=yes else - am_cv_proto_iconv_arg1="const" + gl_cv_iconv_nonconst=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" -fi - am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- - }$am_cv_proto_iconv" >&5 -$as_echo "${ac_t:- - }$am_cv_proto_iconv" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_iconv_nonconst" >&5 +$as_echo "$gl_cv_iconv_nonconst" >&6; } + else + gl_cv_iconv_nonconst=yes + fi + if test $gl_cv_iconv_nonconst = yes; then + iconv_arg1="" + else + iconv_arg1="const" + fi cat >>confdefs.h <<_ACEOF -#define ICONV_CONST $am_cv_proto_iconv_arg1 +#define ICONV_CONST $iconv_arg1 _ACEOF + + + if test "$am_func_iconv" = yes; then + if test -n "$LIBICONV"; then + am_cv_func_iconv_summary='yes, in libiconv' + else + am_cv_func_iconv_summary='yes, in libc' + fi + else + if test "$am_cv_func_iconv" = yes; then + am_cv_func_iconv_summary='not working, consider installing GNU libiconv' + else + am_cv_func_iconv_summary='no, consider installing GNU libiconv' + fi fi @@ -29901,7 +31442,8 @@ WIN32LIBS="$WIN32LIBS $WIN32APILIBS" # always want our bfd. CFLAGS="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS" LDFLAGS="-L../bfd -L../libiberty $LDFLAGS" - intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'` + # LTLIBINTL because we use libtool as CC below. + intl="$(echo "$LTLIBINTL" | sed 's,\$[{(]top_builddir[)}]/,,')" LIBS="-lbfd -liberty $intl $LIBS" CC="./libtool --quiet --mode=link $CC" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF support in BFD" >&5 @@ -30018,7 +31560,8 @@ fi # always want our bfd. CFLAGS="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS" LDFLAGS="-L../bfd -L../libiberty $LDFLAGS" - intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'` + # LTLIBINTL because we use libtool as CC below. + intl="$(echo "$LTLIBINTL" | sed 's,\$[{(]top_builddir[)}]/,,')" LIBS="-lbfd -liberty $intl $LIBS" CC="./libtool --quiet --mode=link $CC" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mach-O support in BFD" >&5 @@ -33186,6 +34729,13 @@ ac_aux_dir='$ac_aux_dir' ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it + # from automake. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + GDB_NM_FILE=$GDB_NM_FILE _ACEOF @@ -33199,6 +34749,7 @@ do "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "depdir") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir" ;; + "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "jit-reader.h") CONFIG_FILES="$CONFIG_FILES jit-reader.h:jit-reader.in" ;; "nm.h") CONFIG_LINKS="$CONFIG_LINKS nm.h:$GDB_NM_FILE" ;; "gcore") CONFIG_FILES="$CONFIG_FILES gcore" ;; @@ -34645,6 +36196,107 @@ _LT_EOF ;; "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;; + "default-1":C) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.ac. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + GMOFILES= + UPDATEPOFILES= + DUMMYPOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; "nm.h":L) echo > stamp-nmh ;; "gcore":F) chmod +x gcore ;; diff --git a/gdbsupport/Makefile.am b/gdbsupport/Makefile.am index 00524e9..f1a6413 100644 --- a/gdbsupport/Makefile.am +++ b/gdbsupport/Makefile.am @@ -20,6 +20,11 @@ AUTOMAKE_OPTIONS = no-dist foreign ACLOCAL_AMFLAGS = -I . -I ../config +# Suppress 'configure.ac: error: AM_GNU_GETTEXT used but SUBDIRS not defined' +# from Automake, as gdbsupport uses AM_GNU_GETTEXT through +# ZW_GNU_GETTEXT_SISTER_DIR, but doesn't have any translations (currently). +SUBDIRS = + AM_CPPFLAGS = -I$(srcdir)/../include -I$(srcdir)/../gdb \ -I../gnulib/import -I$(srcdir)/../gnulib/import \ -I.. -I$(srcdir)/.. $(INCINTL) -I../bfd -I$(srcdir)/../bfd \ diff --git a/gdbsupport/Makefile.in b/gdbsupport/Makefile.in index 50a5a55..9fdc23c 100644 --- a/gdbsupport/Makefile.in +++ b/gdbsupport/Makefile.in @@ -112,13 +112,19 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/../config/codeset.m4 \ $(top_srcdir)/../config/depstand.m4 \ $(top_srcdir)/../config/gettext-sister.m4 \ + $(top_srcdir)/../config/gettext.m4 \ + $(top_srcdir)/../config/iconv.m4 \ + $(top_srcdir)/../config/intlmacosx.m4 \ $(top_srcdir)/../config/largefile.m4 \ $(top_srcdir)/../config/lead-dot.m4 \ $(top_srcdir)/../config/lib-ld.m4 \ $(top_srcdir)/../config/lib-link.m4 \ $(top_srcdir)/../config/lib-prefix.m4 \ + $(top_srcdir)/../config/nls.m4 \ $(top_srcdir)/../config/override.m4 \ - $(top_srcdir)/../config/plugins.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/../config/plugins.m4 \ + $(top_srcdir)/../config/po.m4 \ + $(top_srcdir)/../config/progtest.m4 $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/../bfd/bfd.m4 $(top_srcdir)/common.m4 \ $(top_srcdir)/../config/ax_pthread.m4 \ $(top_srcdir)/../gdb/ax_cxx_compile_stdcxx.m4 \ @@ -193,11 +199,27 @@ am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) am__v_CXXLD_0 = @echo " CXXLD " $@; am__v_CXXLD_1 = SOURCES = $(libgdbsupport_a_SOURCES) +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + cscope am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ $(LISP)config.in # Read a list of newline-separated strings from the standard input, @@ -219,7 +241,7 @@ am__define_uniq_tagged_files = \ ETAGS = etags CTAGS = ctags CSCOPE = cscope -AM_RECURSIVE_TARGETS = cscope +DIST_SUBDIRS = $(SUBDIRS) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMTAR = @AMTAR@ @@ -262,20 +284,28 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LARGEFILE_CPPFLAGS = @LARGEFILE_CPPFLAGS@ LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBINTL_DEP = @LIBINTL_DEP@ LIBIPT = @LIBIPT@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBXXHASH = @LIBXXHASH@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ LTLIBIPT = @LTLIBIPT@ LTLIBOBJS = @LTLIBOBJS@ LTLIBXXHASH = @LTLIBXXHASH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -357,6 +387,11 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = no-dist foreign ACLOCAL_AMFLAGS = -I . -I ../config + +# Suppress 'configure.ac: error: AM_GNU_GETTEXT used but SUBDIRS not defined' +# from Automake, as gdbsupport uses AM_GNU_GETTEXT through +# ZW_GNU_GETTEXT_SISTER_DIR, but doesn't have any translations (currently). +SUBDIRS = AM_CPPFLAGS = -I$(srcdir)/../include -I$(srcdir)/../gdb \ -I../gnulib/import -I$(srcdir)/../gnulib/import \ -I.. -I$(srcdir)/.. $(INCINTL) -I../bfd -I$(srcdir)/../bfd \ @@ -408,7 +443,7 @@ libgdbsupport_a_SOURCES = \ $(selftest) all: config.h - $(MAKE) $(AM_MAKEFLAGS) all-am + $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: .SUFFIXES: .cc .o .obj @@ -529,14 +564,61 @@ distclean-compile: @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique -tags: tags-am +tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ @@ -549,7 +631,7 @@ tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $$unique; \ fi; \ fi -ctags: ctags-am +ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) @@ -568,7 +650,7 @@ cscope: cscope.files clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist -cscopelist: cscopelist-am +cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ @@ -588,18 +670,19 @@ distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files check-am: all-am -check: check-am +check: check-recursive all-am: Makefile $(LIBRARIES) config.h -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -installcheck: installcheck-am +installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ @@ -621,93 +704,93 @@ distclean-generic: maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -clean: clean-am +clean: clean-recursive clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am -distclean: distclean-am +distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-tags -dvi: dvi-am +dvi: dvi-recursive dvi-am: -html: html-am +html: html-recursive html-am: -info: info-am +info: info-recursive info-am: install-data-am: -install-dvi: install-dvi-am +install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: -install-html: install-html-am +install-html: install-html-recursive install-html-am: -install-info: install-info-am +install-info: install-info-recursive install-info-am: install-man: -install-pdf: install-pdf-am +install-pdf: install-pdf-recursive install-pdf-am: -install-ps: install-ps-am +install-ps: install-ps-recursive install-ps-am: installcheck-am: -maintainer-clean: maintainer-clean-am +maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic -mostlyclean: mostlyclean-am +mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic -pdf: pdf-am +pdf: pdf-recursive pdf-am: -ps: ps-am +ps: ps-recursive ps-am: uninstall-am: -.MAKE: all install-am install-strip - -.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \ - clean-cscope clean-generic clean-noinstLIBRARIES cscope \ - cscopelist-am ctags ctags-am distclean distclean-compile \ - distclean-generic distclean-hdr distclean-tags dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ - uninstall-am +.MAKE: $(am__recursive_targets) all install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--refresh check check-am clean clean-cscope clean-generic \ + clean-noinstLIBRARIES cscope cscopelist-am ctags ctags-am \ + distclean distclean-compile distclean-generic distclean-hdr \ + distclean-tags dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ + ps ps-am tags tags-am uninstall uninstall-am .PRECIOUS: Makefile diff --git a/gdbsupport/aclocal.m4 b/gdbsupport/aclocal.m4 index cb00597..f6bbeab 100644 --- a/gdbsupport/aclocal.m4 +++ b/gdbsupport/aclocal.m4 @@ -1170,11 +1170,17 @@ AC_SUBST([am__untar]) m4_include([../config/codeset.m4]) m4_include([../config/depstand.m4]) m4_include([../config/gettext-sister.m4]) +m4_include([../config/gettext.m4]) +m4_include([../config/iconv.m4]) +m4_include([../config/intlmacosx.m4]) m4_include([../config/largefile.m4]) m4_include([../config/lead-dot.m4]) m4_include([../config/lib-ld.m4]) m4_include([../config/lib-link.m4]) m4_include([../config/lib-prefix.m4]) +m4_include([../config/nls.m4]) m4_include([../config/override.m4]) m4_include([../config/plugins.m4]) +m4_include([../config/po.m4]) +m4_include([../config/progtest.m4]) m4_include([acinclude.m4]) diff --git a/gdbsupport/config.in b/gdbsupport/config.in index 1cef126..832c92b 100644 --- a/gdbsupport/config.in +++ b/gdbsupport/config.in @@ -28,9 +28,21 @@ */ #undef HAVE_ALLOCA_H +/* Define to 1 if you have the Mac OS X function + CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES + +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + /* define if the compiler supports basic C++17 syntax */ #undef HAVE_CXX17 +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + /* Define to 1 if you have the declaration of `ADDR_NO_RANDOMIZE', and to 0 if you don't. */ #undef HAVE_DECL_ADDR_NO_RANDOMIZE @@ -109,9 +121,15 @@ /* Define to 1 if you have the `getrusage' function. */ #undef HAVE_GETRUSAGE +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + /* Define if <sys/procfs.h> has gregset_t. */ #undef HAVE_GREGSET_T +/* Define if you have the iconv() function and it works. */ +#undef HAVE_ICONV + /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H diff --git a/gdbsupport/configure b/gdbsupport/configure index 0ef3d25..3f262a5 100755 --- a/gdbsupport/configure +++ b/gdbsupport/configure @@ -619,6 +619,7 @@ ac_includes_default="\ # include <unistd.h> #endif" +gt_needs= ac_header_list= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE @@ -648,13 +649,21 @@ GENCAT INSTOBJEXT DATADIRNAME CATALOGS -POSUB -GMSGFMT -XGETTEXT INCINTL LIBINTL_DEP +POSUB +LTLIBINTL LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +INTL_MACOSX_LIBS +MSGMERGE +XGETTEXT +GMSGFMT +MSGFMT USE_NLS +MKINSTALLDIRS CXX_DIALECT HAVE_CXX17 LARGEFILE_CPPFLAGS @@ -773,10 +782,15 @@ enable_silent_rules enable_dependency_tracking enable_plugins enable_largefile -enable_threading -with_intel_pt +enable_nls with_gnu_ld enable_rpath +with_libiconv_prefix +with_libiconv_type +with_libintl_prefix +with_libintl_type +enable_threading +with_intel_pt with_libipt_prefix with_libipt_type with_xxhash @@ -1429,9 +1443,10 @@ Optional Features: speeds up one-time build --enable-plugins Enable support for plugins --disable-largefile omit support for large files + --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths --enable-threading include support for parallel processing of data (yes/no) - --disable-rpath do not hardcode runtime library paths --enable-unit-tests Enable the inclusion of unit tests when compiling GDB --enable-werror treat compile warnings as errors @@ -1443,8 +1458,14 @@ Optional Features: Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-intel-pt include Intel Processor Trace support (auto/yes/no) --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libiconv-type=TYPE type of library to search for (auto/static/shared) + --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 + --with-libintl-type=TYPE type of library to search for (auto/static/shared) + --with-intel-pt include Intel Processor Trace support (auto/yes/no) --with-libipt-prefix[=DIR] search for libipt in DIR/include and DIR/lib --without-libipt-prefix don't search for libipt in includedir and libdir --with-libipt-type=TYPE type of library to search for (auto/static/shared) @@ -2667,6 +2688,7 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +gt_needs="$gt_needs " as_fn_append ac_header_list " stdlib.h" as_fn_append ac_header_list " unistd.h" as_fn_append ac_header_list " sys/param.h" @@ -8415,19 +8437,1928 @@ $as_echo "#define HAVE_CXX17 1" >>confdefs.h -# If we haven't got the data from the intl directory, -# assume NLS is disabled. -USE_NLS=no -LIBINTL= -LIBINTL_DEP= -INCINTL= -XGETTEXT= -GMSGFMT= -POSUB= -if test -f ../intl/config.intl; then - . ../intl/config.intl + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + rm -f messages.po + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test "$GMSGFMT" != ":"; then + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 +$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } + GMSGFMT=":" + fi + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + rm -f messages.po + fi + + ac_config_commands="$ac_config_commands default-1" + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [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 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$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 + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + + + + + + 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-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_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 + + +# Check whether --with-libiconv-type was given. +if test "${with_libiconv_type+set}" = set; then : + withval=$with_libiconv_type; with_libiconv_type=$withval +else + with_libiconv_type=auto +fi + + lib_type=`eval echo \$with_libiconv_type` + + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + 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" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBICONV; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-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 $INCICONV; 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 + INCICONV="${INCICONV}${INCICONV:+ }-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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext" + fi + 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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + +if test -f ../gettext/uninstalled-config.sh; then + relative_builddir='$(top_builddir)/../gettext' + . ../gettext/uninstalled-config.sh +else + # The sister gettext directory doesn't exist and won't collect information on + # using gettext for us. Call a bundled AM_GNU_GETTEXT. + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFPreferences.h> +int +main () +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 +$as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; } +if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFLocale.h> +int +main () +{ +CFLocaleCopyPreferredLanguages(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyPreferredLanguages=yes +else + gt_cv_func_CFLocaleCopyPreferredLanguages=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } + if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + +$as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ + || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" + fi + + + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if eval \${$gt_func_gnugettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libc=yes" +else + eval "$gt_func_gnugettext_libc=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; 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 + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + am_cv_func_iconv_works=no + for ac_iconv_const in '' 'const'; do + if test "$cross_compiling" = yes; then : + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <iconv.h> +#include <string.h> + +#ifndef ICONV_CONST +# define ICONV_CONST $ac_iconv_const +#endif + +int +main () +{ +int result = 0; + /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from + successful returns. This is even documented in + <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 1; + iconv_close (cd_utf8_to_88591); + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\263"; + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 2; + iconv_close (cd_ascii_to_88591); + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + ICONV_CONST char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + result |= 4; + iconv_close (cd_88591_to_utf8); + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + result |= 8; + iconv_close (cd_88591_to_utf8); + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + { + /* Try standardized names. */ + iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); + /* Try IRIX, OSF/1 names. */ + iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); + /* Try AIX names. */ + iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); + /* Try HP-UX names. */ + iconv_t cd4 = iconv_open ("utf8", "eucJP"); + if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) + && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) + result |= 16; + if (cd1 != (iconv_t)(-1)) + iconv_close (cd1); + if (cd2 != (iconv_t)(-1)) + iconv_close (cd2); + if (cd3 != (iconv_t)(-1)) + iconv_close (cd3); + if (cd4 != (iconv_t)(-1)) + iconv_close (cd4); + } + return result; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + test "$am_cv_func_iconv_works" = no || break + done + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + 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-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_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 + + +# Check whether --with-libintl-type was given. +if test "${with_libintl_type+set}" = set; then : + withval=$with_libintl_type; with_libintl_type=$withval +else + with_libintl_type=auto +fi + + lib_type=`eval echo \$with_libintl_type` + + LIBINTL= + LTLIBINTL= + INCINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + 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" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBINTL; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-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 $INCINTL; 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 + INCINTL="${INCINTL}${INCINTL:+ }-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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext" + fi + 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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if eval \${$gt_func_gnugettext_libintl+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" +else + eval "$gt_func_gnugettext_libintl=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" fi +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; 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 + + fi + + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + + +fi + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } if test x"$USE_NLS" != xyes; then @@ -8761,164 +10692,6 @@ $as_echo "$ac_cv_path_SED" >&6; } rm -f conftest.sed - if test "X$prefix" = "XNONE"; then - acl_final_prefix="$ac_default_prefix" - else - acl_final_prefix="$prefix" - fi - if test "X$exec_prefix" = "XNONE"; then - acl_final_exec_prefix='${prefix}' - else - acl_final_exec_prefix="$exec_prefix" - fi - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" - prefix="$acl_save_prefix" - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -# Prepare PATH_SEPARATOR. -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 -$as_echo_n "checking for ld used by GCC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | [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 - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if ${acl_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - IFS="${IFS= }"; ac_save_ifs="$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 - acl_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some GNU ld's only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break - else - test "$with_gnu_ld" != yes && break - fi - fi - done - IFS="$ac_save_ifs" -else - acl_cv_path_LD="$LD" # Let the user override the test with a path. -fi -fi - -LD="$acl_cv_path_LD" -if test -n "$LD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${acl_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then - acl_cv_prog_gnu_ld=yes -else - acl_cv_prog_gnu_ld=no -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 -$as_echo "$acl_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$acl_cv_prog_gnu_ld - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 -$as_echo_n "checking for shared library run path origin... " >&6; } -if ${acl_cv_rpath+:} false; then : - $as_echo_n "(cached) " >&6 -else - - CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ - ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh - . ./conftest.sh - rm -f ./conftest.sh - acl_cv_rpath=done - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 -$as_echo "$acl_cv_rpath" >&6; } - wl="$acl_cv_wl" - libext="$acl_cv_libext" - shlibext="$acl_cv_shlibext" - hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" - hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" - hardcode_direct="$acl_cv_hardcode_direct" - hardcode_minus_L="$acl_cv_hardcode_minus_L" - # Check whether --enable-rpath was given. -if test "${enable_rpath+set}" = set; then : - enableval=$enable_rpath; : -else - enable_rpath=yes -fi - - - # Set the 'development' global. . $srcdir/../bfd/development.sh @@ -13306,6 +15079,13 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it + # from automake. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + _ACEOF @@ -13317,6 +15097,7 @@ do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; @@ -14006,6 +15787,107 @@ $as_echo X"$file" | done } ;; + "default-1":C) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.ac. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + GMOFILES= + UPDATEPOFILES= + DUMMYPOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; esac done # for ac_tag diff --git a/gold/ChangeLog b/gold/ChangeLog index 0a7ff50..5237916 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,10 @@ +2023-11-15 Arsen Arsenović <arsen@aarsen.me> + + * aclocal.m4: Regenerate. + * configure: Regenerate. + * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot + temporary file, to suppress xgettext checking charset names. + 2023-11-10 YunQiang Su <yunqiang.su@cipunited.com> * configure.tgt (targ_machine): Set to EM_MIPS for little endian diff --git a/gold/Makefile.in b/gold/Makefile.in index 4eda84b..639b1df 100644 --- a/gold/Makefile.in +++ b/gold/Makefile.in @@ -126,8 +126,14 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/../config/ax_pthread.m4 \ $(top_srcdir)/../config/depstand.m4 \ $(top_srcdir)/../config/gettext-sister.m4 \ + $(top_srcdir)/../config/gettext.m4 \ + $(top_srcdir)/../config/iconv.m4 \ + $(top_srcdir)/../config/intlmacosx.m4 \ $(top_srcdir)/../config/lcmessage.m4 \ $(top_srcdir)/../config/lead-dot.m4 \ + $(top_srcdir)/../config/lib-ld.m4 \ + $(top_srcdir)/../config/lib-link.m4 \ + $(top_srcdir)/../config/lib-prefix.m4 \ $(top_srcdir)/../config/nls.m4 \ $(top_srcdir)/../config/override.m4 \ $(top_srcdir)/../config/pkg.m4 \ @@ -552,15 +558,20 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ JANSSON_CFLAGS = @JANSSON_CFLAGS@ JANSSON_LIBS = @JANSSON_LIBS@ LDFLAGS = @LDFLAGS@ LFS_CFLAGS = @LFS_CFLAGS@ +LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBINTL_DEP = @LIBINTL_DEP@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ diff --git a/gold/aclocal.m4 b/gold/aclocal.m4 index e4bdc46..c2bf21c 100644 --- a/gold/aclocal.m4 +++ b/gold/aclocal.m4 @@ -1199,8 +1199,14 @@ AC_SUBST([am__untar]) m4_include([../config/ax_pthread.m4]) m4_include([../config/depstand.m4]) m4_include([../config/gettext-sister.m4]) +m4_include([../config/gettext.m4]) +m4_include([../config/iconv.m4]) +m4_include([../config/intlmacosx.m4]) m4_include([../config/lcmessage.m4]) m4_include([../config/lead-dot.m4]) +m4_include([../config/lib-ld.m4]) +m4_include([../config/lib-link.m4]) +m4_include([../config/lib-prefix.m4]) m4_include([../config/nls.m4]) m4_include([../config/override.m4]) m4_include([../config/pkg.m4]) diff --git a/gold/config.in b/gold/config.in index 333b2c6..11d446f 100644 --- a/gold/config.in +++ b/gold/config.in @@ -41,9 +41,21 @@ /* Define to 1 if you have the <byteswap.h> header file. */ #undef HAVE_BYTESWAP_H +/* Define to 1 if you have the Mac OS X function + CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES + +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + /* Define to 1 if you have the `chsize' function. */ #undef HAVE_CHSIZE +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + /* Define to 1 if you have the declaration of `asprintf', and to 0 if you don't. */ #undef HAVE_DECL_ASPRINTF @@ -109,6 +121,12 @@ /* Define to 1 if you have the `ftruncate' function. */ #undef HAVE_FTRUNCATE +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define if you have the iconv() function and it works. */ +#undef HAVE_ICONV + /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H diff --git a/gold/configure b/gold/configure index 5c6fe2a..d4d76bb 100755 --- a/gold/configure +++ b/gold/configure @@ -619,6 +619,7 @@ ac_includes_default="\ # include <unistd.h> #endif" +gt_needs= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS @@ -690,21 +691,26 @@ GCC_FALSE GCC_TRUE NATIVE_LINKER_FALSE NATIVE_LINKER_TRUE -MSGMERGE -MSGFMT -MKINSTALLDIRS CATOBJEXT GENCAT INSTOBJEXT DATADIRNAME CATALOGS -POSUB -GMSGFMT -XGETTEXT INCINTL LIBINTL_DEP +POSUB +LTLIBINTL LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +INTL_MACOSX_LIBS +MSGMERGE +XGETTEXT +GMSGFMT +MSGFMT USE_NLS +MKINSTALLDIRS LN_S RANLIB YFLAGS @@ -854,6 +860,12 @@ enable_targets enable_default_hash_style with_lib_path enable_nls +with_gnu_ld +enable_rpath +with_libiconv_prefix +with_libiconv_type +with_libintl_prefix +with_libintl_type enable_werror enable_build_warnings with_gold_ldflags @@ -1518,6 +1530,7 @@ Optional Features: --enable-default-hash-style={sysv,gnu,both} use this default hash style --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths --enable-werror treat compile warnings as errors --enable-build-warnings enable build-time compiler warnings --enable-threads[=ARG] multi-threaded linking [ARG={auto,yes,no}] @@ -1531,6 +1544,13 @@ Optional Packages: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-sysroot=DIR search for usr/lib et al within DIR --with-lib-path=dir1:dir2... set default LIB_PATH + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libiconv-type=TYPE type of library to search for (auto/static/shared) + --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 + --with-libintl-type=TYPE type of library to search for (auto/static/shared) --with-gold-ldflags=FLAGS additional link flags for gold --with-gold-ldadd=LIBS additional libraries for gold --with-system-zlib use installed libz @@ -2645,6 +2665,7 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +gt_needs="$gt_needs " # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -6832,19 +6853,1928 @@ fi -# If we haven't got the data from the intl directory, -# assume NLS is disabled. -USE_NLS=no -LIBINTL= -LIBINTL_DEP= -INCINTL= -XGETTEXT= -GMSGFMT= -POSUB= -if test -f ../intl/config.intl; then - . ../intl/config.intl + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + rm -f messages.po + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test "$GMSGFMT" != ":"; then + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 +$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } + GMSGFMT=":" + fi + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + rm -f messages.po + fi + + ac_config_commands="$ac_config_commands default-1" + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [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 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$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 + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + + + + + + 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-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_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 + + +# Check whether --with-libiconv-type was given. +if test "${with_libiconv_type+set}" = set; then : + withval=$with_libiconv_type; with_libiconv_type=$withval +else + with_libiconv_type=auto +fi + + lib_type=`eval echo \$with_libiconv_type` + + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + 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" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBICONV; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-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 $INCICONV; 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 + INCICONV="${INCICONV}${INCICONV:+ }-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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext" + fi + 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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + +if test -f ../gettext/uninstalled-config.sh; then + relative_builddir='$(top_builddir)/../gettext' + . ../gettext/uninstalled-config.sh +else + # The sister gettext directory doesn't exist and won't collect information on + # using gettext for us. Call a bundled AM_GNU_GETTEXT. + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFPreferences.h> +int +main () +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 +$as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; } +if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFLocale.h> +int +main () +{ +CFLocaleCopyPreferredLanguages(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyPreferredLanguages=yes +else + gt_cv_func_CFLocaleCopyPreferredLanguages=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } + if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + +$as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ + || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" + fi + + + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if eval \${$gt_func_gnugettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libc=yes" +else + eval "$gt_func_gnugettext_libc=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; 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 + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + am_cv_func_iconv_works=no + for ac_iconv_const in '' 'const'; do + if test "$cross_compiling" = yes; then : + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <iconv.h> +#include <string.h> + +#ifndef ICONV_CONST +# define ICONV_CONST $ac_iconv_const +#endif + +int +main () +{ +int result = 0; + /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from + successful returns. This is even documented in + <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 1; + iconv_close (cd_utf8_to_88591); + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\263"; + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 2; + iconv_close (cd_ascii_to_88591); + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + ICONV_CONST char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + result |= 4; + iconv_close (cd_88591_to_utf8); + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + result |= 8; + iconv_close (cd_88591_to_utf8); + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + { + /* Try standardized names. */ + iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); + /* Try IRIX, OSF/1 names. */ + iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); + /* Try AIX names. */ + iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); + /* Try HP-UX names. */ + iconv_t cd4 = iconv_open ("utf8", "eucJP"); + if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) + && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) + result |= 16; + if (cd1 != (iconv_t)(-1)) + iconv_close (cd1); + if (cd2 != (iconv_t)(-1)) + iconv_close (cd2); + if (cd3 != (iconv_t)(-1)) + iconv_close (cd3); + if (cd4 != (iconv_t)(-1)) + iconv_close (cd4); + } + return result; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + test "$am_cv_func_iconv_works" = no || break + done + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + 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-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_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 + + +# Check whether --with-libintl-type was given. +if test "${with_libintl_type+set}" = set; then : + withval=$with_libintl_type; with_libintl_type=$withval +else + with_libintl_type=auto +fi + + lib_type=`eval echo \$with_libintl_type` + + LIBINTL= + LTLIBINTL= + INCINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + 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" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBINTL; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-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 $INCINTL; 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 + INCINTL="${INCINTL}${INCINTL:+ }-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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext" + fi + 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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if eval \${$gt_func_gnugettext_libintl+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" +else + eval "$gt_func_gnugettext_libintl=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" +fi +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; 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 + + fi + + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + + +fi + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } if test x"$USE_NLS" != xyes; then @@ -6903,33 +8833,6 @@ $as_echo "$LINGUAS" >&6; } fi - MKINSTALLDIRS= - if test -n "$ac_aux_dir"; then - case "$ac_aux_dir" in - /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; - *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; - esac - fi - if test -z "$MKINSTALLDIRS"; then - MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 -$as_echo_n "checking whether NLS is requested... " >&6; } - # Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then : - enableval=$enable_nls; USE_NLS=$enableval -else - USE_NLS=yes -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -$as_echo "$USE_NLS" >&6; } - - - @@ -7207,7 +9110,7 @@ $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } rm -f messages.po fi - ac_config_commands="$ac_config_commands default-1" + ac_config_commands="$ac_config_commands default-2" @@ -11739,6 +13642,13 @@ AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it + # from automake. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + _ACEOF @@ -11751,6 +13661,7 @@ do "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;; @@ -12543,6 +14454,107 @@ $as_echo X"$file" | ;; esac done ;; + "default-2":C) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.ac. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + GMOFILES= + UPDATEPOFILES= + DUMMYPOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; esac done # for ac_tag diff --git a/gold/po/gold.pot b/gold/po/gold.pot index a7a0641..5517dec 100644 --- a/gold/po/gold.pot +++ b/gold/po/gold.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: https://sourceware.org/bugzilla/\n" -"POT-Creation-Date: 2023-07-03 11:43+0100\n" +"POT-Creation-Date: 2023-11-15 11:13+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -80,14 +80,14 @@ msgid "" "current value is 0x%lx." msgstr "" -#: aarch64.cc:6016 arm.cc:8477 i386.cc:1772 mips.cc:12461 powerpc.cc:7845 +#: aarch64.cc:6016 arm.cc:8477 i386.cc:1772 mips.cc:12461 powerpc.cc:7848 #: s390.cc:2185 s390.cc:2633 sparc.cc:2134 tilegx.cc:3137 tilegx.cc:3589 #: x86_64.cc:3012 x86_64.cc:3459 #, c-format msgid "%s: unsupported reloc %u against local symbol" msgstr "" -#: aarch64.cc:6057 powerpc.cc:7950 s390.cc:2259 sparc.cc:2230 +#: aarch64.cc:6057 powerpc.cc:7953 s390.cc:2259 sparc.cc:2230 msgid "requires unsupported dynamic reloc; recompile with -fPIC" msgstr "" @@ -106,7 +106,7 @@ msgstr "" msgid "%s: unsupported TLSLE reloc %u in shared code." msgstr "" -#: aarch64.cc:6373 arm.cc:8885 i386.cc:2127 mips.cc:12474 powerpc.cc:8785 +#: aarch64.cc:6373 arm.cc:8885 i386.cc:2127 mips.cc:12474 powerpc.cc:8788 #: s390.cc:3064 s390.cc:3081 sparc.cc:2572 tilegx.cc:3605 tilegx.cc:4144 #: x86_64.cc:3475 x86_64.cc:3979 #, c-format @@ -123,7 +123,7 @@ msgstr "" msgid "%s: unsupported reloc type in global scan" msgstr "" -#: aarch64.cc:6908 powerpc.cc:9922 s390.cc:4014 sparc.cc:3164 tilegx.cc:4211 +#: aarch64.cc:6908 powerpc.cc:9925 s390.cc:4014 sparc.cc:3164 tilegx.cc:4211 #: x86_64.cc:4044 #, c-format msgid "%s: unsupported REL reloc section" @@ -134,7 +134,7 @@ msgstr "" msgid "cannot relocate %s in object file" msgstr "" -#: aarch64.cc:7344 i386.cc:2987 i386.cc:3753 mips.cc:10076 powerpc.cc:12279 +#: aarch64.cc:7344 i386.cc:2987 i386.cc:3753 mips.cc:10076 powerpc.cc:12282 #: s390.cc:3465 sparc.cc:3695 tilegx.cc:4726 x86_64.cc:4537 #, c-format msgid "unexpected reloc %u in object file" @@ -394,7 +394,7 @@ msgstr "" msgid "%s: unsupported TLS reloc %u for IFUNC symbol" msgstr "" -#: arm.cc:8643 i386.cc:1862 powerpc.cc:8254 s390.cc:2369 x86_64.cc:3216 +#: arm.cc:8643 i386.cc:1862 powerpc.cc:8257 s390.cc:2369 x86_64.cc:3216 #, c-format msgid "section symbol %u has bad shndx %u" msgstr "" @@ -426,7 +426,7 @@ msgid "" msgstr "" #: arm.cc:10247 i386.cc:3019 i386.cc:3101 i386.cc:3166 i386.cc:3202 -#: i386.cc:3274 mips.cc:12296 powerpc.cc:12393 s390.cc:3471 s390.cc:3542 +#: i386.cc:3274 mips.cc:12296 powerpc.cc:12396 s390.cc:3471 s390.cc:3542 #: s390.cc:3579 s390.cc:3601 s390.cc:3626 sparc.cc:3701 sparc.cc:3892 #: sparc.cc:3953 sparc.cc:4060 tilegx.cc:4732 x86_64.cc:4558 x86_64.cc:4684 #: x86_64.cc:4756 x86_64.cc:4790 @@ -550,7 +550,7 @@ msgstr "" msgid "cannot open %s: %s:" msgstr "" -#: common.cc:351 output.cc:2469 output.cc:2568 +#: common.cc:351 output.cc:2470 output.cc:2569 #, c-format msgid "out of patch space in section %s; relink with --incremental-full" msgstr "" @@ -1124,7 +1124,7 @@ msgstr "" msgid "unsupported reloc %u in object file" msgstr "" -#: i386.cc:4036 powerpc.cc:9876 s390.cc:4886 x86_64.cc:5642 +#: i386.cc:4036 powerpc.cc:9879 s390.cc:4886 x86_64.cc:5642 #, c-format msgid "failed to match split-stack sequence at section %u offset %0zx" msgstr "" @@ -1182,7 +1182,7 @@ msgstr "" msgid "unsupported ELF machine number %d" msgstr "" -#: incremental.cc:871 object.cc:3403 +#: incremental.cc:871 object.cc:3432 #, c-format msgid "%s: incompatible target" msgstr "" @@ -1335,12 +1335,12 @@ msgstr "" msgid "load segment overlap [0x%llx -> 0x%llx] and [0x%llx -> 0x%llx]" msgstr "" -#: layout.cc:4311 output.cc:4549 +#: layout.cc:4311 output.cc:4550 #, c-format msgid "out of patch space for section %s; relink with --incremental-full" msgstr "" -#: layout.cc:4320 output.cc:4557 +#: layout.cc:4320 output.cc:4558 #, c-format msgid "%s: section changed size; relink with --incremental-full" msgstr "" @@ -1634,7 +1634,7 @@ msgstr "" msgid "unaligned PC-relative relocation" msgstr "" -#: nacl.cc:43 object.cc:174 object.cc:3451 output.cc:5191 +#: nacl.cc:43 object.cc:174 object.cc:3480 output.cc:5192 #, c-format msgid "%s: %s" msgstr "" @@ -1742,41 +1742,41 @@ msgstr "" msgid "local symbol %u section index %u out of range" msgstr "" -#: object.cc:3156 reloc.cc:833 +#: object.cc:3185 reloc.cc:833 #, c-format msgid "could not decompress section %s" msgstr "" -#: object.cc:3282 +#: object.cc:3311 #, c-format msgid "%s is not supported but is required for %s in %s" msgstr "" -#: object.cc:3359 +#: object.cc:3388 msgid "function " msgstr "" -#: object.cc:3393 +#: object.cc:3422 #, c-format msgid "%s: unsupported ELF machine number %d" msgstr "" -#: object.cc:3467 plugin.cc:2279 +#: object.cc:3496 plugin.cc:2279 #, c-format msgid "%s: not configured to support 32-bit big-endian object" msgstr "" -#: object.cc:3483 plugin.cc:2288 +#: object.cc:3512 plugin.cc:2288 #, c-format msgid "%s: not configured to support 32-bit little-endian object" msgstr "" -#: object.cc:3502 plugin.cc:2300 +#: object.cc:3531 plugin.cc:2300 #, c-format msgid "%s: not configured to support 64-bit big-endian object" msgstr "" -#: object.cc:3518 plugin.cc:2309 +#: object.cc:3547 plugin.cc:2309 #, c-format msgid "%s: not configured to support 64-bit little-endian object" msgstr "" @@ -3330,96 +3330,96 @@ msgstr "" msgid "Merge all .text.* prefix sections." msgstr "" -#: output.cc:1346 +#: output.cc:1347 msgid "section group retained but group element discarded" msgstr "" -#: output.cc:1733 output.cc:1765 +#: output.cc:1734 output.cc:1766 msgid "out of patch space (GOT); relink with --incremental-full" msgstr "" -#: output.cc:2414 +#: output.cc:2415 #, c-format msgid "invalid alignment %lu for section \"%s\"" msgstr "" -#: output.cc:4577 +#: output.cc:4578 msgid "" "script places BSS section in the middle of a LOAD segment; space will be " "allocated in the file" msgstr "" -#: output.cc:4599 +#: output.cc:4600 #, c-format msgid "dot moves backward in linker script from 0x%llx to 0x%llx" msgstr "" -#: output.cc:4602 +#: output.cc:4603 #, c-format msgid "address of section '%s' moves backward from 0x%llx to 0x%llx" msgstr "" -#: output.cc:4971 +#: output.cc:4972 #, c-format msgid "%s: incremental base and output file name are the same" msgstr "" -#: output.cc:4978 +#: output.cc:4979 #, c-format msgid "%s: stat: %s" msgstr "" -#: output.cc:4983 +#: output.cc:4984 #, c-format msgid "%s: incremental base file is empty" msgstr "" -#: output.cc:4995 output.cc:5093 +#: output.cc:4996 output.cc:5094 #, c-format msgid "%s: open: %s" msgstr "" -#: output.cc:5012 +#: output.cc:5013 #, c-format msgid "%s: read failed: %s" msgstr "" -#: output.cc:5017 +#: output.cc:5018 #, c-format msgid "%s: file too short: read only %lld of %lld bytes" msgstr "" -#: output.cc:5117 +#: output.cc:5118 #, c-format msgid "%s: mremap: %s" msgstr "" -#: output.cc:5136 +#: output.cc:5137 #, c-format msgid "%s: mmap: %s" msgstr "" -#: output.cc:5228 +#: output.cc:5229 #, c-format msgid "%s: mmap: failed to allocate %lu bytes for output file: %s" msgstr "" -#: output.cc:5246 +#: output.cc:5247 #, c-format msgid "%s: munmap: %s" msgstr "" -#: output.cc:5266 +#: output.cc:5267 #, c-format msgid "%s: write: unexpected 0 return-value" msgstr "" -#: output.cc:5268 +#: output.cc:5269 #, c-format msgid "%s: write: %s" msgstr "" -#: output.cc:5283 +#: output.cc:5284 #, c-format msgid "%s: close: %s" msgstr "" @@ -3563,107 +3563,112 @@ msgstr "" msgid "%s:%s: branch in non-executable section, no long branch stub for you" msgstr "" -#: powerpc.cc:3795 +#: powerpc.cc:3798 #, c-format msgid "%s: stub group size is too large; retrying with %#x" msgstr "" -#: powerpc.cc:5738 +#: powerpc.cc:5741 msgid "** glink" msgstr "" -#: powerpc.cc:6403 powerpc.cc:7118 +#: powerpc.cc:6406 powerpc.cc:7121 #, c-format msgid "linkage table error against `%s'" msgstr "" -#: powerpc.cc:6406 +#: powerpc.cc:6409 #, c-format msgid "linkage table error against `%s:[local %u]'" msgstr "" -#: powerpc.cc:7245 +#: powerpc.cc:7248 msgid "** save/restore" msgstr "" -#: powerpc.cc:8043 +#: powerpc.cc:8046 #, c-format msgid "%s: unsupported reloc %u for IFUNC symbol" msgstr "" -#: powerpc.cc:8309 powerpc.cc:9096 +#: powerpc.cc:8312 powerpc.cc:9099 #, c-format msgid "tocsave symbol %u has bad shndx %u" msgstr "" -#: powerpc.cc:8600 powerpc.cc:9433 +#: powerpc.cc:8603 powerpc.cc:9436 #, c-format msgid "%s: toc optimization is not supported for %#08x instruction" msgstr "" -#: powerpc.cc:8666 powerpc.cc:9495 +#: powerpc.cc:8669 powerpc.cc:9498 #, c-format msgid "%s: unsupported -mbss-plt code" msgstr "" -#: powerpc.cc:9842 +#: powerpc.cc:9845 #, c-format msgid "split-stack stack size overflow at section %u offset %0zx" msgstr "" -#: powerpc.cc:9913 +#: powerpc.cc:9916 msgid "" "--plt-localentry is especially dangerous without ld.so support to detect ABI " "violations" msgstr "" -#: powerpc.cc:9942 +#: powerpc.cc:9945 msgid "--plt-localentry is incompatible with power10 pc-relative code" msgstr "" -#: powerpc.cc:10249 powerpc.cc:10255 +#: powerpc.cc:10252 powerpc.cc:10258 #, c-format msgid "%s uses hard float, %s uses soft float" msgstr "" -#: powerpc.cc:10261 powerpc.cc:10268 +#: powerpc.cc:10264 powerpc.cc:10271 #, c-format msgid "" "%s uses double-precision hard float, %s uses single-precision hard float" msgstr "" -#: powerpc.cc:10288 powerpc.cc:10294 +#: powerpc.cc:10291 powerpc.cc:10297 #, c-format msgid "%s uses 64-bit long double, %s uses 128-bit long double" msgstr "" -#: powerpc.cc:10300 powerpc.cc:10306 +#: powerpc.cc:10303 powerpc.cc:10309 #, c-format msgid "%s uses IBM long double, %s uses IEEE long double" msgstr "" -#: powerpc.cc:10360 powerpc.cc:10366 +#: powerpc.cc:10363 powerpc.cc:10369 #, c-format msgid "%s uses AltiVec vector ABI, %s uses SPE vector ABI" msgstr "" -#: powerpc.cc:10395 powerpc.cc:10402 +#: powerpc.cc:10398 powerpc.cc:10405 #, c-format msgid "%s uses r3/r4 for small structure returns, %s uses memory" msgstr "" -#: powerpc.cc:10972 +#: powerpc.cc:10975 msgid "call lacks nop, can't restore toc; recompile with -fPIC" msgstr "" -#: powerpc.cc:12424 s390.cc:3479 -msgid "relocation overflow" +#: powerpc.cc:12434 powerpc.cc:12442 +#, c-format +msgid "reloc type %u overflow against '%s'" msgstr "" -#: powerpc.cc:12426 +#: powerpc.cc:12437 msgid "try relinking with a smaller --stub-group-size" msgstr "" +#: powerpc.cc:12444 +msgid "debug info may be unreliable, compile with -gdwarf64" +msgstr "" + #: readsyms.cc:285 #, c-format msgid "%s: file is empty" @@ -3807,6 +3812,10 @@ msgstr "" msgid "out of patch space (PLT); relink with --incremental-full" msgstr "" +#: s390.cc:3479 +msgid "relocation overflow" +msgstr "" + #: s390.cc:3677 s390.cc:3733 x86_64.cc:4878 #, c-format msgid "unsupported reloc type %u" @@ -4113,17 +4122,17 @@ msgstr "" msgid "%s: little endian elf flag clear on LE object" msgstr "" -#: stringpool.cc:513 +#: stringpool.cc:514 #, c-format msgid "%s: %s entries: %zu; buckets: %zu\n" msgstr "" -#: stringpool.cc:517 +#: stringpool.cc:518 #, c-format msgid "%s: %s entries: %zu\n" msgstr "" -#: stringpool.cc:520 +#: stringpool.cc:521 #, c-format msgid "%s: %s Stringdata structures: %zu\n" msgstr "" diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in index fb0eb12..ab48f07 100644 --- a/gold/testsuite/Makefile.in +++ b/gold/testsuite/Makefile.in @@ -1138,8 +1138,14 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/../config/ax_pthread.m4 \ $(top_srcdir)/../config/depstand.m4 \ $(top_srcdir)/../config/gettext-sister.m4 \ + $(top_srcdir)/../config/gettext.m4 \ + $(top_srcdir)/../config/iconv.m4 \ + $(top_srcdir)/../config/intlmacosx.m4 \ $(top_srcdir)/../config/lcmessage.m4 \ $(top_srcdir)/../config/lead-dot.m4 \ + $(top_srcdir)/../config/lib-ld.m4 \ + $(top_srcdir)/../config/lib-link.m4 \ + $(top_srcdir)/../config/lib-prefix.m4 \ $(top_srcdir)/../config/nls.m4 \ $(top_srcdir)/../config/override.m4 \ $(top_srcdir)/../config/pkg.m4 \ @@ -2645,15 +2651,20 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ JANSSON_CFLAGS = @JANSSON_CFLAGS@ JANSSON_LIBS = @JANSSON_LIBS@ LDFLAGS = @LDFLAGS@ LFS_CFLAGS = @LFS_CFLAGS@ +LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBINTL_DEP = @LIBINTL_DEP@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ diff --git a/gprof/ChangeLog b/gprof/ChangeLog index a57b89c..f5be4d8 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,10 @@ +2023-11-15 Arsen Arsenović <arsen@aarsen.me> + + * aclocal.m4: Regenerate. + * configure: Regenerate. + * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot + temporary file, to suppress xgettext checking charset names. + 2023-07-03 Nick Clifton <nickc@redhat.com> * configure: Regenerate. diff --git a/gprof/Makefile.in b/gprof/Makefile.in index c9914e4..3edab45 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -114,9 +114,15 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/../bfd/warning.m4 \ $(top_srcdir)/../config/depstand.m4 \ $(top_srcdir)/../config/gettext-sister.m4 \ + $(top_srcdir)/../config/gettext.m4 \ + $(top_srcdir)/../config/iconv.m4 \ + $(top_srcdir)/../config/intlmacosx.m4 \ $(top_srcdir)/../config/jobserver.m4 \ $(top_srcdir)/../config/largefile.m4 \ $(top_srcdir)/../config/lead-dot.m4 \ + $(top_srcdir)/../config/lib-ld.m4 \ + $(top_srcdir)/../config/lib-link.m4 \ + $(top_srcdir)/../config/lib-prefix.m4 \ $(top_srcdir)/../config/nls.m4 \ $(top_srcdir)/../config/override.m4 \ $(top_srcdir)/../config/plugins.m4 \ @@ -339,9 +345,12 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LARGEFILE_CPPFLAGS = @LARGEFILE_CPPFLAGS@ LD = @LD@ LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBINTL_DEP = @LIBINTL_DEP@ LIBOBJS = @LIBOBJS@ @@ -349,6 +358,8 @@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ diff --git a/gprof/aclocal.m4 b/gprof/aclocal.m4 index 671b731..36ccc3e 100644 --- a/gprof/aclocal.m4 +++ b/gprof/aclocal.m4 @@ -1170,9 +1170,15 @@ AC_SUBST([am__untar]) m4_include([../bfd/warning.m4]) m4_include([../config/depstand.m4]) m4_include([../config/gettext-sister.m4]) +m4_include([../config/gettext.m4]) +m4_include([../config/iconv.m4]) +m4_include([../config/intlmacosx.m4]) m4_include([../config/jobserver.m4]) m4_include([../config/largefile.m4]) m4_include([../config/lead-dot.m4]) +m4_include([../config/lib-ld.m4]) +m4_include([../config/lib-link.m4]) +m4_include([../config/lib-prefix.m4]) m4_include([../config/nls.m4]) m4_include([../config/override.m4]) m4_include([../config/plugins.m4]) diff --git a/gprof/configure b/gprof/configure index 4727b2a..49801fd 100755 --- a/gprof/configure +++ b/gprof/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include <unistd.h> #endif" +gt_needs= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS @@ -642,21 +643,26 @@ GENINSRC_NEVER_TRUE MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE -MSGMERGE -MSGFMT -MKINSTALLDIRS CATOBJEXT GENCAT INSTOBJEXT DATADIRNAME CATALOGS -POSUB -GMSGFMT -XGETTEXT INCINTL LIBINTL_DEP +POSUB +LTLIBINTL LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +INTL_MACOSX_LIBS +MSGMERGE +XGETTEXT +GMSGFMT +MSGFMT USE_NLS +MKINSTALLDIRS LARGEFILE_CPPFLAGS OTOOL64 OTOOL @@ -785,6 +791,11 @@ enable_libtool_lock enable_plugins enable_largefile enable_nls +enable_rpath +with_libiconv_prefix +with_libiconv_type +with_libintl_prefix +with_libintl_type enable_maintainer_mode enable_werror enable_build_warnings @@ -1431,6 +1442,7 @@ Optional Features: --enable-plugins Enable support for plugins --disable-largefile omit support for large files --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer @@ -1443,6 +1455,13 @@ Optional Packages: --with-pic try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libiconv-type=TYPE type of library to search for (auto/static/shared) + --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 + --with-libintl-type=TYPE type of library to search for (auto/static/shared) Some influential environment variables: CC C compiler command @@ -2165,6 +2184,7 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +gt_needs="$gt_needs " # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -10635,7 +10655,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10638 "configure" +#line 10658 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10741,7 +10761,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10744 "configure" +#line 10764 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11372,19 +11392,1928 @@ done ALL_LINGUAS="bg da de eo es fi fr ga hu id it ja ms nl pt_BR ro ru rw sr sv tr uk vi" -# If we haven't got the data from the intl directory, -# assume NLS is disabled. -USE_NLS=no -LIBINTL= -LIBINTL_DEP= -INCINTL= -XGETTEXT= -GMSGFMT= -POSUB= - -if test -f ../intl/config.intl; then - . ../intl/config.intl + + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + rm -f messages.po + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test "$GMSGFMT" != ":"; then + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 +$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } + GMSGFMT=":" + fi + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + rm -f messages.po + fi + + ac_config_commands="$ac_config_commands default-1" + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [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 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$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 + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + + + + + + 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-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_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 + + +# Check whether --with-libiconv-type was given. +if test "${with_libiconv_type+set}" = set; then : + withval=$with_libiconv_type; with_libiconv_type=$withval +else + with_libiconv_type=auto +fi + + lib_type=`eval echo \$with_libiconv_type` + + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + 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" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBICONV; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-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 $INCICONV; 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 + INCICONV="${INCICONV}${INCICONV:+ }-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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext" + fi + 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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + +if test -f ../gettext/uninstalled-config.sh; then + relative_builddir='$(top_builddir)/../gettext' + . ../gettext/uninstalled-config.sh +else + # The sister gettext directory doesn't exist and won't collect information on + # using gettext for us. Call a bundled AM_GNU_GETTEXT. + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFPreferences.h> +int +main () +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 +$as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; } +if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFLocale.h> +int +main () +{ +CFLocaleCopyPreferredLanguages(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyPreferredLanguages=yes +else + gt_cv_func_CFLocaleCopyPreferredLanguages=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } + if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + +$as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ + || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" + fi + + + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if eval \${$gt_func_gnugettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libc=yes" +else + eval "$gt_func_gnugettext_libc=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; 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 + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + am_cv_func_iconv_works=no + for ac_iconv_const in '' 'const'; do + if test "$cross_compiling" = yes; then : + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <iconv.h> +#include <string.h> + +#ifndef ICONV_CONST +# define ICONV_CONST $ac_iconv_const +#endif + +int +main () +{ +int result = 0; + /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from + successful returns. This is even documented in + <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 1; + iconv_close (cd_utf8_to_88591); + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\263"; + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 2; + iconv_close (cd_ascii_to_88591); + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + ICONV_CONST char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + result |= 4; + iconv_close (cd_88591_to_utf8); + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + result |= 8; + iconv_close (cd_88591_to_utf8); + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + { + /* Try standardized names. */ + iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); + /* Try IRIX, OSF/1 names. */ + iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); + /* Try AIX names. */ + iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); + /* Try HP-UX names. */ + iconv_t cd4 = iconv_open ("utf8", "eucJP"); + if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) + && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) + result |= 16; + if (cd1 != (iconv_t)(-1)) + iconv_close (cd1); + if (cd2 != (iconv_t)(-1)) + iconv_close (cd2); + if (cd3 != (iconv_t)(-1)) + iconv_close (cd3); + if (cd4 != (iconv_t)(-1)) + iconv_close (cd4); + } + return result; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + test "$am_cv_func_iconv_works" = no || break + done + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + 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-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_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 + + +# Check whether --with-libintl-type was given. +if test "${with_libintl_type+set}" = set; then : + withval=$with_libintl_type; with_libintl_type=$withval +else + with_libintl_type=auto +fi + + lib_type=`eval echo \$with_libintl_type` + + LIBINTL= + LTLIBINTL= + INCINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + 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" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBINTL; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-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 $INCINTL; 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 + INCINTL="${INCINTL}${INCINTL:+ }-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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext" + fi + 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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if eval \${$gt_func_gnugettext_libintl+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" +else + eval "$gt_func_gnugettext_libintl=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" fi +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; 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 + + fi + + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + + +fi + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } if test x"$USE_NLS" != xyes; then @@ -11443,33 +13372,6 @@ $as_echo "$LINGUAS" >&6; } fi - MKINSTALLDIRS= - if test -n "$ac_aux_dir"; then - case "$ac_aux_dir" in - /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; - *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; - esac - fi - if test -z "$MKINSTALLDIRS"; then - MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 -$as_echo_n "checking whether NLS is requested... " >&6; } - # Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then : - enableval=$enable_nls; USE_NLS=$enableval -else - USE_NLS=yes -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -$as_echo "$USE_NLS" >&6; } - - - @@ -11747,7 +13649,7 @@ $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } rm -f messages.po fi - ac_config_commands="$ac_config_commands default-1" + ac_config_commands="$ac_config_commands default-2" @@ -13056,6 +14958,13 @@ fi # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it + # from automake. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + _ACEOF @@ -13069,6 +14978,7 @@ do "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;; @@ -14499,6 +16409,107 @@ _LT_EOF ;; esac done ;; + "default-2":C) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.ac. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + GMOFILES= + UPDATEPOFILES= + DUMMYPOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; esac done # for ac_tag diff --git a/gprof/gconfig.in b/gprof/gconfig.in index c18b790..f8cf42d 100644 --- a/gprof/gconfig.in +++ b/gprof/gconfig.in @@ -4,12 +4,30 @@ language is requested. */ #undef ENABLE_NLS +/* Define to 1 if you have the Mac OS X function + CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES + +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + /* Is the prototype for getopt in <unistd.h> in the expected format? */ #undef HAVE_DECL_GETOPT /* Define to 1 if you have the <dlfcn.h> header file. */ #undef HAVE_DLFCN_H +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define if you have the iconv() function and it works. */ +#undef HAVE_ICONV + /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H diff --git a/gprof/po/gprof.pot b/gprof/po/gprof.pot index c9f538a..67489c53 100644 --- a/gprof/po/gprof.pot +++ b/gprof/po/gprof.pot @@ -8,11 +8,10 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: https://sourceware.org/bugzilla/\n" -"POT-Creation-Date: 2022-07-08 11:14+0100\n" +"POT-Creation-Date: 2023-11-15 11:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" -"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" @@ -26,12 +25,12 @@ msgstr "" msgid "[find_call] %s: 0x%lx to 0x%lx\n" msgstr "" -#: alpha.c:129 +#: alpha.c:131 #, c-format msgid "[find_call] 0x%lx: jsr%s <indirect_child>\n" msgstr "" -#: alpha.c:139 +#: alpha.c:141 #, c-format msgid "[find_call] 0x%lx: bsr" msgstr "" @@ -56,7 +55,7 @@ msgstr "" msgid "<unknown>" msgstr "" -#: basic_blocks.c:543 +#: basic_blocks.c:539 #, c-format msgid "" "\n" @@ -67,7 +66,7 @@ msgid "" "\n" msgstr "" -#: basic_blocks.c:567 +#: basic_blocks.c:563 #, c-format msgid "" "\n" @@ -75,29 +74,29 @@ msgid "" "\n" msgstr "" -#: basic_blocks.c:568 +#: basic_blocks.c:564 #, c-format msgid "%9ld Executable lines in this file\n" msgstr "" -#: basic_blocks.c:570 +#: basic_blocks.c:566 #, c-format msgid "%9ld Lines executed\n" msgstr "" -#: basic_blocks.c:571 +#: basic_blocks.c:567 #, c-format msgid "%9.2f Percent of the file executed\n" msgstr "" -#: basic_blocks.c:575 +#: basic_blocks.c:571 #, c-format msgid "" "\n" "%9lu Total number of line executions\n" msgstr "" -#: basic_blocks.c:577 +#: basic_blocks.c:573 #, c-format msgid "%9.2f Average executions per line\n" msgstr "" @@ -246,7 +245,7 @@ msgstr "" msgid "%s: -c not supported on architecture %s\n" msgstr "" -#: corefile.c:533 corefile.c:638 +#: corefile.c:533 corefile.c:640 #, c-format msgid "%s: file `%s' has no symbols\n" msgstr "" @@ -256,7 +255,7 @@ msgstr "" msgid "%s: file `%s' has too many symbols\n" msgstr "" -#: corefile.c:905 +#: corefile.c:907 #, c-format msgid "%s: somebody miscounted: ltab.len=%d instead of %ld\n" msgstr "" @@ -354,7 +353,7 @@ msgstr "" #: gprof.c:162 #, c-format msgid "" -"Usage: %s [-[abcDhilLrsTvwxyz]] [-[ACeEfFJnNOpPqQRStZ][name]] [-I dirs]\n" +"Usage: %s [-[abcDhilLrsTvwxyz]] [-[ABCeEfFJnNOpPqQRStZ][name]] [-I dirs]\n" "\t[-d[num]] [-k from/to] [-m min-count] [-t table-length]\n" "\t[--[no-]annotated-source[=name]] [--[no-]exec-counts[=name]]\n" "\t[--[no-]flat-profile[=name]] [--[no-]graph[=name]]\n" @@ -525,12 +524,12 @@ msgstr "" msgid "%s: found a symbol that covers several histogram records" msgstr "" -#: mips.c:71 +#: mips.c:73 #, c-format msgid "[find_call] 0x%lx: jal" msgstr "" -#: mips.c:99 +#: mips.c:101 #, c-format msgid "[find_call] 0x%lx: jalr\n" msgstr "" diff --git a/gprofng/doc/version.texi b/gprofng/doc/version.texi index dea0bfa..9003d45 100644 --- a/gprofng/doc/version.texi +++ b/gprofng/doc/version.texi @@ -1,4 +1,4 @@ -@set UPDATED 18 April 2023 -@set UPDATED-MONTH April 2023 +@set UPDATED 4 September 2023 +@set UPDATED-MONTH September 2023 @set EDITION 2.41.50 @set VERSION 2.41.50 diff --git a/intl/ChangeLog b/intl/ChangeLog deleted file mode 100644 index 00827d7..0000000 --- a/intl/ChangeLog +++ /dev/null @@ -1,272 +0,0 @@ -2021-06-14 Michael Forney <mforney@mforney.org> - - * configure: Regenerate. - -2021-02-04 Nick Alcock <nick.alcock@oracle.com> - - * configure.ac (LIBINTL): Transform into -L/-lintl form. - * configure: Regenerate. - -2021-02-02 Nick Alcock <nick.alcock@oracle.com> - - * aclocal.m4: include picflag.m4. - * configure.ac (PICFLAG): Add and substitute. - * Makefile.in (PICFLAG): New. - (COMPILE): Use it. - * configure: Regenerate. - -2020-04-16 Jakub Jelinek <jakub@redhat.com> - - PR bootstrap/92008 - * configure.ac: Remove HAVE_BISON3 AC_DEFINE. - * Makefile.in (HEADERS): Add plural-config.h. - (.y.c): Also create plural-config.h. - (dcigettext.o loadmsgcat.o plural.o plural-exp.o): Also depend - on plural-config.h. - (plural-config.h): Depend on plural.c. - * plural-exp.h: Include plural-config.h. Use USE_BISON3 instead - of HAVE_BISON3. - * plural.y: Use USE_BISON3 instead of HAVE_BISON3. - * configure: Regenerated. - * plural.c: Regenerated. - * config.h.in: Regenerated. - * plural-config.h: Generated. - -2020-04-16 Jakub Jelinek <jakub@redhat.com> - - PR bootstrap/92008 - * configure.ac: Add check for bison >= 3, AC_DEFINE HAVE_BISON3 - and AC_SUBST BISON3_YES and BISON3_NO. - * Makefile.in (.y.c): Prefix $(YACC) invocation with @BISON3_NO@, - add @BISON3_YES@ prefixed rule to adjust the *.y source using sed - and adjust output afterwards. - * plural-exp.h (PLURAL_PARSE): If HAVE_BISON3 is defined, use - struct parse_args * type for arg instead of void *. - * plural.y: Add magic /* BISON3 ... */ comments with bison >= 3 - directives. - (YYLEX_PARAM, YYPARSE_PARAM): Don't define if HAVE_BISON3 is defined. - (yylex, yyerror): Adjust prototypes and definitions if HAVE_BISON3 - is defined. - * plural.c: Regenerated. - * config.h.in: Regenerated. - * configure: Regenerated. - -2020-02-20 Alan Modra <amodra@gmail.com> - - * aclocal.m4: Regenerate. - -2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com> - - * configure: Regenerate. - -2019-01-19 Nick Clifton <nickc@redhat.com> - - * aclocal.m4: Regenerate. - -2018-11-09 Hafiz Abid Qadeer <abidh@codesourcery.com> - - * configure: Regenerate. - -2018-08-02 Simon Marchi <simon.marchi@ericsson.com> - - * libgnuintl.h (_INTL_MAY_RETURN_STRING_ARG, gettext, dgettext, - dcgettext, ngettext, dngettext, dcngettext): Backport changes - from upstream gettext. - -2018-06-19 Simon Marchi <simon.marchi@ericsson.com> - - * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ. - * configure: Re-generate. - * config.h.in: Re-generate. - * aclocal.m4: Re-generate. - -2017-11-07 Alan Modra <amodra@gmail.com> - - * configure.ac: Invole AM_GNU_GETTEXT with need_ngettext. - * configure: Regenerate. - * aclocal.m4: Regenerate. - -2015-08-31 Alan Modra <amodra@gmail.com> - - * configure: Regenerate. - -2010-08-06 Yaakov Selkowitz <yselkowi@redhat.com> - - * configure: Regenerate. - -2010-06-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - PR bootstrap/44621 - * configure: Regenerate. - -2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * aclocal.m4: Regenerate. - -2009-10-15 Jim Blandy <jimb@red-bean.com> - - * libgnuintl.h (_INTL_MAY_RETURN_STRING_ARG, gettext, dgettext) - (dcgettext, ngettext, dngettext, dcngettext): Backport changes - from current gettext to provide GCC format_arg attributes. - -2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure.ac (AC_PREREQ): Bump to 2.64. - -2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * aclocal.m4: Regenerate. - * configure: Regenerate. - * config.h.in: Regenerate. - -2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.in (aclocal_deps): New variable. - ($(srcdir)/aclocal.m4): Use it, for portable makefile syntax. - -2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2008-06-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.in (datarootdir): New variable. - -2008-04-18 Paolo Bonzini <bonzini@gnu.org> - - PR bootstrap/35457 - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * aclocal.m4: Regenerate. - * configure: Likewise. - -2006-09-27 Alan Modra <amodra@bigpond.net.au> - - * Makefile.in (distclean): Delete config files. - -2006-09-13 Eric Botcazou <ebotcazou@libertysurf.fr> - - PR other/23541 - PR other/26507 - Backport from gettext repository: - - 2003-09-04 Bruno Haible <bruno@clisp.org> - * dgettext.c: Include <locale.h> after gettextP.h, not before. This - ensures that libintl_dcgettext is correctly declared on Solaris. - (Needed because Solaris <locale.h> includes libintl.h.) - * dngettext.c: Likewise, for the libintl_dcngettext declaration. - -2006-06-07 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.in (install-info, install-dvi, install-ps, install-pdf): - New dummy targets. - -2005-05-23 Carlos O'Donell <carlos@codesourcery.com> - - * Makefile.in: Add info dvi ps pdf html install-html to .PHONY - Add install-html target. - -2005-05-13 Nick Clifton <nickc@redhat.com> - - * Update the address and phone number of the FSF organization in - the GPL notices in the following files: - Makefile.in, bindtextdom.c, dcgettext.c, dcigettext.c, - dcngettext.c, dgettext.c, dngettext.c, eval-plural.h, - explodename.c, finddomain.c, gettext.c, gettextP.h, gmo.h, - hash-string.h, intl-compat.c, l10nflist.c, libgnuintl.h, - loadinfo.h, loadmsgcat.c, localcharset.c, localcharset.h, - locale.alias, localealias.c, localename.c, log.c, ngettext.c, - osdep.c, plural-exp.c, plural-exp.h, plural.c, plural.y, - relocatable.c, relocatable.h, textdomain.c - -2004-11-24 Kelley Cook <kcook@gcc.gnu.org> - - * aclocal.m4: Regenerate. - -2004-09-23 Kelley Cook <kcook@gcc.gnu.org> - - * Makefile.in (config.h.in): Correct dependencies. - (stamp-h1): Likewise. - (config.intl): Likewise. - -2004-09-22 Kelley Cook <kcook@gcc.gnu.org> - - * configure.ac (AC_CONFIG_MACRO_DIR): New. - (ACLOCAL, AUTOCONF, AUTOHEADER, MAINT): Substitute. - * Makefile.in: Update with maintainer mode rules. - * README: Update aclocal regeneration instructions. - * aclocal.m4, configure: Regenerate. - -2004-09-22 Kelley Cook <kcook@gcc.gnu.org> - - * .cvsignore: Ignore autom4te.cache - -2004-04-25 Paolo Bonzini <bonzini@gnu.org> - - * configure.ac: Point config.intl to the parent directory of - ${top_builddir}. - * configure: Regenerate. - -2004-03-10 Kelley Cook <kcook@gcc.gnu.org> - - * configure.ac: Bump AC_PREREQ to 2.59. - * configure: Regenerate. - * config.h.in: Regenerate. - -2004-02-29 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Convert to autoconf 2.57, gratuitous stylistic - cleanup, rename to configure.ac. - * configure.ac: Renamed from configure.in. - * config.h.in: Rebuilt with autoheader 2.57. - * configure: Rebuilt with autoconf 2.57 - * README: Update to reflect rename of configure.in to configure.ac. - -2003-07-07 Zack Weinberg <zack@codesourcery.com> - - * README: Update. - * Makefile.in (INSTALL, INSTALL_DATA, MKINSTALLDIRS, - mkinstalldirs, gettextsrcdir, l): Delete. - (COMPILE): Add $(DEFS-$@), remove $(XCFLAGS). - (HEADERS): libgnuintl.h not libgnuintl.h.in. Remove os2compat.h. - (SOURCES): Remove os2compat.c. - (DEFS-dcigettext.o, DEFS-localealias.o, DEFS-localcharset.o, - DEFS-relocatable.o): New. - (all-yes): Add config.intl. - (libintl.h): Use cp, not cat. - (INCLUDES): Remove -I.. - (TAGS, CTAGS, ID): Word wrap. - (mostlyclean, distclean): Remove junk. - (config.intl): New rule. - * aclocal.m4: sinclude ../config/progtest.m4 instead of - including it inline. - * config.intl.in: New file. - * configure.in: Take out unnecessary AC_CONFIG_AUX_DIR. - Take out AC_DEFINEs for LOCALEDIR, LOCALE_ALIAS_PATH, - LIBDIR, INSTALLDIR. Set LIBINTL_DEP and INCINTL and AC_SUBST - them. Add config.intl to AC_OUTPUT. - * os2compat.c, os2compat.h: Delete, unused. - -2003-07-04 Zack Weinberg <zack@codesourcery.com> - - * Makefile.in: Remove unnecessary capabilities for - installation, build of shared libraries, generation of - distribution tarballs, etc. Fix all the places that rely on - the parent directory. Don't generate libgnuintl.h from - anything; do generate $(objdir)/libintl.h from libgnuintl.h if - necessary. Adjust DEFS for use of config.h. - * libgnuintl.h.in: Rename libgnuintl.h. - * README: New file. - * config.charset, ref-add.sin, ref-del.sin: Delete (unused). - * COPYING.LIB-2.0, COPYING.LIB-2.1: Delete (redundant). - * aclocal.m4: New; generated per instructions in gettext manual. - * configure.in: New; written from scratch for this configuration. - * configure, config.h.in: Generated. - -2003-05-22 GNU <bug-gnu-gettext@gnu.org> - - * Version 0.12.1 released. - diff --git a/intl/Makefile.in b/intl/Makefile.in deleted file mode 100644 index 96df727..0000000 --- a/intl/Makefile.in +++ /dev/null @@ -1,261 +0,0 @@ -# Makefile for directory with message catalog handling library of GNU gettext -# Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU Library General Public License as published -# by the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Library General Public License for more details. -# -# You should have received a copy of the GNU Library General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, -# USA. - -# This Makefile has been modified from the original shipped with -# gettext 0.12.1 to remove the ability to install libintl (which -# we do not need nor want), the ability to build a shared library -# (likewise), and a large number of heinous kludges. - -SHELL = @SHELL@ - -srcdir = @srcdir@ -VPATH = $(srcdir) - -prefix = @prefix@ -exec_prefix = @exec_prefix@ -transform = @program_transform_name@ -libdir = @libdir@ -includedir = @includedir@ -datarootdir = @datarootdir@ -datadir = @datadir@ -localedir = $(datadir)/locale -aliaspath = $(localedir) - -AR = ar -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -CC = @CC@ -RANLIB = @RANLIB@ -YACC = @INTLBISON@ -y -d -YFLAGS = --name-prefix=__gettext -CPPFLAGS = @CPPFLAGS@ -CFLAGS = @CFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -DEFS = -DHAVE_CONFIG_H -PICFLAG = @PICFLAG@ - -COMPILE = $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PICFLAG) $(DEFS) $(DEFS-$@) $(INCLUDES) - -HEADERS = \ - gmo.h \ - gettextP.h \ - hash-string.h \ - loadinfo.h \ - plural-config.h \ - plural-exp.h \ - eval-plural.h \ - localcharset.h \ - relocatable.h \ - libgnuintl.h -SOURCES = \ - bindtextdom.c \ - dcgettext.c \ - dgettext.c \ - gettext.c \ - finddomain.c \ - loadmsgcat.c \ - localealias.c \ - textdomain.c \ - l10nflist.c \ - explodename.c \ - dcigettext.c \ - dcngettext.c \ - dngettext.c \ - ngettext.c \ - plural.y \ - plural-exp.c \ - localcharset.c \ - relocatable.c \ - localename.c \ - log.c \ - osdep.c \ - intl-compat.c -OBJECTS = \ - bindtextdom.o \ - dcgettext.o \ - dgettext.o \ - gettext.o \ - finddomain.o \ - loadmsgcat.o \ - localealias.o \ - textdomain.o \ - l10nflist.o \ - explodename.o \ - dcigettext.o \ - dcngettext.o \ - dngettext.o \ - ngettext.o \ - plural.o \ - plural-exp.o \ - localcharset.o \ - relocatable.o \ - localename.o \ - log.o \ - osdep.o \ - intl-compat.o - -DEFS-dcigettext.o = -DLOCALEDIR="\"$(localedir)\"" -DEFS-localealias.o = -DLOCALE_ALIAS_PATH="\"$(aliaspath)\"" -DEFS-localcharset.o = -DLIBDIR="\"$(libdir)\"" -DEFS-relocatable.o = -DINSTALLDIR="\"$(libdir)\"" - -all: all-@USE_INCLUDED_LIBINTL@ -all-yes: libintl.a libintl.h config.intl -all-no: # nothing - -libintl.a: $(OBJECTS) - rm -f $@ - $(AR) cru $@ $(OBJECTS) - $(RANLIB) $@ - -libintl.h: $(srcdir)/libgnuintl.h - cp $(srcdir)/libgnuintl.h $@ - -.SUFFIXES: -.SUFFIXES: .c .y .o - -.c.o: - $(COMPILE) $< - -.y.c: -@BISON3_YES@ echo '#define USE_BISON3' > $(patsubst %.c,%-config.h,$@) -@BISON3_YES@ sed 's,%pure_parser,,;s,^/\* BISON3 \(.*\) \*/$$,\1,' $< > $@.y -@BISON3_YES@ $(YACC) $(YFLAGS) --output $@.c $@.y -@BISON3_YES@ sed 's/\.c\.y"/.y"/' $@.c > $@ -@BISON3_YES@ rm -f $@.c $@.y $@.h -@BISON3_NO@ echo '/* #define USE_BISON3 */' > $(patsubst %.c,%-config.h,$@) -@BISON3_NO@ $(YACC) $(YFLAGS) --output $@ $< - rm -f $*.h - -INCLUDES = -I. -I$(srcdir) - -check: all - -# The installation targets have been disabled. -install: install-exec install-data -install-exec: all -install-data: all -install-strip: install -installdirs: -installcheck: -uninstall: - -.PHONY: info dvi ps pdf html -.PHONY: install-info install-dvi install-ps install-pdf install-html - -info dvi ps pdf html: -install-info install-dvi install-ps install-pdf install-html: - -$(OBJECTS): config.h libintl.h -bindtextdom.o dcgettext.o dcigettext.o dcngettext.o dgettext.o \ -dngettext.o finddomain.o gettext.o intl-compat.o loadmsgcat.o \ -localealias.o ngettext.o textdomain.o: gettextP.h gmo.h loadinfo.h -dcigettext.o loadmsgcat.o: hash-string.h -explodename.o l10nflist.o: loadinfo.h -dcigettext.o loadmsgcat.o plural.o plural-exp.o: plural-exp.h plural-config.h -dcigettext.o: eval-plural.h -localcharset.o: localcharset.h -localealias.o localcharset.o relocatable.o: relocatable.h - -tags: TAGS -TAGS: $(HEADERS) $(SOURCES) - here=`pwd`; cd $(srcdir) && \ - etags -o $$here/TAGS $(HEADERS) $(SOURCES) - -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) - here=`pwd`; cd $(srcdir) && \ - ctags -o $$here/CTAGS $(HEADERS) $(SOURCES) - -id: ID -ID: $(HEADERS) $(SOURCES) - here=`pwd`; cd $(srcdir) && \ - mkid -f$$here/ID $(HEADERS) $(SOURCES) - -mostlyclean: - rm -f *.a *.la *.o *.obj *.lo core core.* libintl.h - -clean: mostlyclean - -distclean: clean - rm -f config.status config.cache config.log config.intl config.h - rm -f Makefile ID TAGS - -maintainer-clean: distclean - -# The 'make dist' targets have been disabled; the GNU toolchain handles this -# with a script maintained separately from the Makefile. -dist: -distdir: - -# Rules to rebuild the configuration - -Makefile: $(srcdir)/Makefile.in config.status - $(SHELL) ./config.status Makefile - -config.intl: $(srcdir)/config.intl.in config.status - $(SHELL) ./config.status config.intl - -config.status: $(srcdir)/configure - $(SHELL) ./config.status --recheck - -$(srcdir)/configure: @MAINT@ $(srcdir)/aclocal.m4 $(srcdir)/configure.ac - cd $(srcdir) && $(AUTOCONF) - -aclocal_deps = \ - $(srcdir)/configure.ac \ - $(srcdir)/../config/codeset.m4 \ - $(srcdir)/../config/gettext.m4 \ - $(srcdir)/../config/glibc21.m4 \ - $(srcdir)/../config/iconv.m4 \ - $(srcdir)/../config/intdiv0.m4 \ - $(srcdir)/../config/inttypes-pri.m4 \ - $(srcdir)/../config/inttypes.m4 \ - $(srcdir)/../config/inttypes_h.m4 \ - $(srcdir)/../config/lcmessage.m4 \ - $(srcdir)/../config/lib-ld.m4 \ - $(srcdir)/../config/lib-link.m4 \ - $(srcdir)/../config/lib-prefix.m4 \ - $(srcdir)/../config/nls.m4 \ - $(srcdir)/../config/po.m4 \ - $(srcdir)/../config/progtest.m4 \ - $(srcdir)/../config/stdint_h.m4 \ - $(srcdir)/../config/uintmax_t.m4 \ - $(srcdir)/../config/ulonglong.m4 - -$(srcdir)/aclocal.m4: @MAINT@ $(aclocal_deps) - cd $(srcdir) && $(ACLOCAL) -I ../config - -config.h: stamp-h1 - test -f config.h || (rm -f stamp-h1 && $(MAKE) stamp-h1) - -plural-config.h: plural.c - -stamp-h1: $(srcdir)/config.h.in config.status - -rm -f stamp-h1 - $(SHELL) ./config.status config.h - -$(srcdir)/config.h.in: @MAINT@ $(srcdir)/aclocal.m4 $(srcdir)/configure.ac - cd $(srcdir) && $(AUTOHEADER) - -rm -f stamp-h1 - -# Tell versions [3.59,3.63) of GNU make not to export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/intl/README b/intl/README deleted file mode 100644 index 6104343..0000000 --- a/intl/README +++ /dev/null @@ -1,21 +0,0 @@ -GNU toolchain edition of GNU libintl 0.12.1 - -Most of the content of this directory is taken from gettext 0.12.1 -and is owned by that project. Patches should be directed to the -gettext developers first. However, note the following: - -* libintl.h comes from gettext, but is named libgnuintl.h.in in that - project's source tree. - -* The files COPYING.LIB-2.0 and COPYING.LIB-2.1 are redundant with the - top-level COPYING.LIB and have therefore been removed. - -* The files config.charset, ref-add.sin, ref-del.sin, os2compat.c, - and os2compat.h are not used in this setup and have therefore been - removed. - -* aclocal.m4 was constructed using automake's "aclocal -I ../config". - -* configure.ac, config.intl.in, and Makefile.in were written for this - directory layout, by Zack Weinberg <zack@codesourcery.com>. Please - direct patches for these files to gcc-patches@gcc.gnu.org. diff --git a/intl/VERSION b/intl/VERSION deleted file mode 100644 index 1303183..0000000 --- a/intl/VERSION +++ /dev/null @@ -1 +0,0 @@ -GNU gettext library from gettext-0.12.1 diff --git a/intl/aclocal.m4 b/intl/aclocal.m4 deleted file mode 100644 index 0a42b42..0000000 --- a/intl/aclocal.m4 +++ /dev/null @@ -1,34 +0,0 @@ -# generated automatically by aclocal 1.15.1 -*- Autoconf -*- - -# Copyright (C) 1996-2017 Free Software Foundation, Inc. - -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) -m4_include([../config/codeset.m4]) -m4_include([../config/gettext.m4]) -m4_include([../config/glibc21.m4]) -m4_include([../config/iconv.m4]) -m4_include([../config/intdiv0.m4]) -m4_include([../config/inttypes-pri.m4]) -m4_include([../config/inttypes.m4]) -m4_include([../config/inttypes_h.m4]) -m4_include([../config/lcmessage.m4]) -m4_include([../config/lib-ld.m4]) -m4_include([../config/lib-link.m4]) -m4_include([../config/lib-prefix.m4]) -m4_include([../config/nls.m4]) -m4_include([../config/override.m4]) -m4_include([../config/picflag.m4]) -m4_include([../config/po.m4]) -m4_include([../config/progtest.m4]) -m4_include([../config/stdint_h.m4]) -m4_include([../config/uintmax_t.m4]) -m4_include([../config/ulonglong.m4]) diff --git a/intl/bindtextdom.c b/intl/bindtextdom.c deleted file mode 100644 index 6faac57..0000000 --- a/intl/bindtextdom.c +++ /dev/null @@ -1,374 +0,0 @@ -/* Implementation of the bindtextdomain(3) function - Copyright (C) 1995-1998, 2000, 2001, 2002 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include <stddef.h> -#include <stdlib.h> -#include <string.h> - -#ifdef _LIBC -# include <libintl.h> -#else -# include "libgnuintl.h" -#endif -#include "gettextP.h" - -#ifdef _LIBC -/* We have to handle multi-threaded applications. */ -# include <bits/libc-lock.h> -#else -/* Provide dummy implementation if this is outside glibc. */ -# define __libc_rwlock_define(CLASS, NAME) -# define __libc_rwlock_wrlock(NAME) -# define __libc_rwlock_unlock(NAME) -#endif - -/* The internal variables in the standalone libintl.a must have different - names than the internal variables in GNU libc, otherwise programs - using libintl.a cannot be linked statically. */ -#if !defined _LIBC -# define _nl_default_dirname libintl_nl_default_dirname -# define _nl_domain_bindings libintl_nl_domain_bindings -#endif - -/* Some compilers, like SunOS4 cc, don't have offsetof in <stddef.h>. */ -#ifndef offsetof -# define offsetof(type,ident) ((size_t)&(((type*)0)->ident)) -#endif - -/* @@ end of prolog @@ */ - -/* Contains the default location of the message catalogs. */ -extern const char _nl_default_dirname[]; -#ifdef _LIBC -extern const char _nl_default_dirname_internal[] attribute_hidden; -#else -# define INTUSE(name) name -#endif - -/* List with bindings of specific domains. */ -extern struct binding *_nl_domain_bindings; - -/* Lock variable to protect the global data in the gettext implementation. */ -__libc_rwlock_define (extern, _nl_state_lock attribute_hidden) - - -/* Names for the libintl functions are a problem. They must not clash - with existing names and they should follow ANSI C. But this source - code is also used in GNU C Library where the names have a __ - prefix. So we have to make a difference here. */ -#ifdef _LIBC -# define BINDTEXTDOMAIN __bindtextdomain -# define BIND_TEXTDOMAIN_CODESET __bind_textdomain_codeset -# ifndef strdup -# define strdup(str) __strdup (str) -# endif -#else -# define BINDTEXTDOMAIN libintl_bindtextdomain -# define BIND_TEXTDOMAIN_CODESET libintl_bind_textdomain_codeset -#endif - -/* Prototypes for local functions. */ -static void set_binding_values PARAMS ((const char *domainname, - const char **dirnamep, - const char **codesetp)); - -/* Specifies the directory name *DIRNAMEP and the output codeset *CODESETP - to be used for the DOMAINNAME message catalog. - If *DIRNAMEP or *CODESETP is NULL, the corresponding attribute is not - modified, only the current value is returned. - If DIRNAMEP or CODESETP is NULL, the corresponding attribute is neither - modified nor returned. */ -static void -set_binding_values (domainname, dirnamep, codesetp) - const char *domainname; - const char **dirnamep; - const char **codesetp; -{ - struct binding *binding; - int modified; - - /* Some sanity checks. */ - if (domainname == NULL || domainname[0] == '\0') - { - if (dirnamep) - *dirnamep = NULL; - if (codesetp) - *codesetp = NULL; - return; - } - - __libc_rwlock_wrlock (_nl_state_lock); - - modified = 0; - - for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next) - { - int compare = strcmp (domainname, binding->domainname); - if (compare == 0) - /* We found it! */ - break; - if (compare < 0) - { - /* It is not in the list. */ - binding = NULL; - break; - } - } - - if (binding != NULL) - { - if (dirnamep) - { - const char *dirname = *dirnamep; - - if (dirname == NULL) - /* The current binding has be to returned. */ - *dirnamep = binding->dirname; - else - { - /* The domain is already bound. If the new value and the old - one are equal we simply do nothing. Otherwise replace the - old binding. */ - char *result = binding->dirname; - if (strcmp (dirname, result) != 0) - { - if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0) - result = (char *) INTUSE(_nl_default_dirname); - else - { -#if defined _LIBC || defined HAVE_STRDUP - result = strdup (dirname); -#else - size_t len = strlen (dirname) + 1; - result = (char *) malloc (len); - if (__builtin_expect (result != NULL, 1)) - memcpy (result, dirname, len); -#endif - } - - if (__builtin_expect (result != NULL, 1)) - { - if (binding->dirname != INTUSE(_nl_default_dirname)) - free (binding->dirname); - - binding->dirname = result; - modified = 1; - } - } - *dirnamep = result; - } - } - - if (codesetp) - { - const char *codeset = *codesetp; - - if (codeset == NULL) - /* The current binding has be to returned. */ - *codesetp = binding->codeset; - else - { - /* The domain is already bound. If the new value and the old - one are equal we simply do nothing. Otherwise replace the - old binding. */ - char *result = binding->codeset; - if (result == NULL || strcmp (codeset, result) != 0) - { -#if defined _LIBC || defined HAVE_STRDUP - result = strdup (codeset); -#else - size_t len = strlen (codeset) + 1; - result = (char *) malloc (len); - if (__builtin_expect (result != NULL, 1)) - memcpy (result, codeset, len); -#endif - - if (__builtin_expect (result != NULL, 1)) - { - if (binding->codeset != NULL) - free (binding->codeset); - - binding->codeset = result; - binding->codeset_cntr++; - modified = 1; - } - } - *codesetp = result; - } - } - } - else if ((dirnamep == NULL || *dirnamep == NULL) - && (codesetp == NULL || *codesetp == NULL)) - { - /* Simply return the default values. */ - if (dirnamep) - *dirnamep = INTUSE(_nl_default_dirname); - if (codesetp) - *codesetp = NULL; - } - else - { - /* We have to create a new binding. */ - size_t len = strlen (domainname) + 1; - struct binding *new_binding = - (struct binding *) malloc (offsetof (struct binding, domainname) + len); - - if (__builtin_expect (new_binding == NULL, 0)) - goto failed; - - memcpy (new_binding->domainname, domainname, len); - - if (dirnamep) - { - const char *dirname = *dirnamep; - - if (dirname == NULL) - /* The default value. */ - dirname = INTUSE(_nl_default_dirname); - else - { - if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0) - dirname = INTUSE(_nl_default_dirname); - else - { - char *result; -#if defined _LIBC || defined HAVE_STRDUP - result = strdup (dirname); - if (__builtin_expect (result == NULL, 0)) - goto failed_dirname; -#else - size_t len = strlen (dirname) + 1; - result = (char *) malloc (len); - if (__builtin_expect (result == NULL, 0)) - goto failed_dirname; - memcpy (result, dirname, len); -#endif - dirname = result; - } - } - *dirnamep = dirname; - new_binding->dirname = (char *) dirname; - } - else - /* The default value. */ - new_binding->dirname = (char *) INTUSE(_nl_default_dirname); - - new_binding->codeset_cntr = 0; - - if (codesetp) - { - const char *codeset = *codesetp; - - if (codeset != NULL) - { - char *result; - -#if defined _LIBC || defined HAVE_STRDUP - result = strdup (codeset); - if (__builtin_expect (result == NULL, 0)) - goto failed_codeset; -#else - size_t len = strlen (codeset) + 1; - result = (char *) malloc (len); - if (__builtin_expect (result == NULL, 0)) - goto failed_codeset; - memcpy (result, codeset, len); -#endif - codeset = result; - new_binding->codeset_cntr++; - } - *codesetp = codeset; - new_binding->codeset = (char *) codeset; - } - else - new_binding->codeset = NULL; - - /* Now enqueue it. */ - if (_nl_domain_bindings == NULL - || strcmp (domainname, _nl_domain_bindings->domainname) < 0) - { - new_binding->next = _nl_domain_bindings; - _nl_domain_bindings = new_binding; - } - else - { - binding = _nl_domain_bindings; - while (binding->next != NULL - && strcmp (domainname, binding->next->domainname) > 0) - binding = binding->next; - - new_binding->next = binding->next; - binding->next = new_binding; - } - - modified = 1; - - /* Here we deal with memory allocation failures. */ - if (0) - { - failed_codeset: - if (new_binding->dirname != INTUSE(_nl_default_dirname)) - free (new_binding->dirname); - failed_dirname: - free (new_binding); - failed: - if (dirnamep) - *dirnamep = NULL; - if (codesetp) - *codesetp = NULL; - } - } - - /* If we modified any binding, we flush the caches. */ - if (modified) - ++_nl_msg_cat_cntr; - - __libc_rwlock_unlock (_nl_state_lock); -} - -/* Specify that the DOMAINNAME message catalog will be found - in DIRNAME rather than in the system locale data base. */ -char * -BINDTEXTDOMAIN (domainname, dirname) - const char *domainname; - const char *dirname; -{ - set_binding_values (domainname, &dirname, NULL); - return (char *) dirname; -} - -/* Specify the character encoding in which the messages from the - DOMAINNAME message catalog will be returned. */ -char * -BIND_TEXTDOMAIN_CODESET (domainname, codeset) - const char *domainname; - const char *codeset; -{ - set_binding_values (domainname, NULL, &codeset); - return (char *) codeset; -} - -#ifdef _LIBC -/* Aliases for function names in GNU C Library. */ -weak_alias (__bindtextdomain, bindtextdomain); -weak_alias (__bind_textdomain_codeset, bind_textdomain_codeset); -#endif diff --git a/intl/config.h.in b/intl/config.h.in deleted file mode 100644 index 9c9b53d..0000000 --- a/intl/config.h.in +++ /dev/null @@ -1,280 +0,0 @@ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP - systems. This function is required for `alloca.c' support on those systems. - */ -#undef CRAY_STACKSEG_END - -/* Define to 1 if using `alloca.c'. */ -#undef C_ALLOCA - -/* Define because we depend on libiconv. */ -#undef DEPENDS_ON_LIBICONV - -/* Define to 1 if translation of program messages to the user's native - language is requested. */ -#undef ENABLE_NLS - -/* Define to enable relocation. */ -#undef ENABLE_RELOCATABLE - -/* Define to 1 if you have `alloca', as a function or macro. */ -#undef HAVE_ALLOCA - -/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). - */ -#undef HAVE_ALLOCA_H - -/* Define to 1 if you have the <argz.h> header file. */ -#undef HAVE_ARGZ_H - -/* Define if the GNU dcgettext() function is already present or preinstalled. - */ -#undef HAVE_DCGETTEXT - -/* Define to 1 if you have the `feof_unlocked' function. */ -#undef HAVE_FEOF_UNLOCKED - -/* Define to 1 if you have the `fgets_unlocked' function. */ -#undef HAVE_FGETS_UNLOCKED - -/* Define to 1 if you have the `getcwd' function. */ -#undef HAVE_GETCWD - -/* Define to 1 if you have the `getc_unlocked' function. */ -#undef HAVE_GETC_UNLOCKED - -/* Define to 1 if you have the `getegid' function. */ -#undef HAVE_GETEGID - -/* Define to 1 if you have the `geteuid' function. */ -#undef HAVE_GETEUID - -/* Define to 1 if you have the `getgid' function. */ -#undef HAVE_GETGID - -/* Define to 1 if you have the `getpagesize' function. */ -#undef HAVE_GETPAGESIZE - -/* Define if the GNU gettext() function is already present or preinstalled. */ -#undef HAVE_GETTEXT - -/* Define to 1 if you have the `getuid' function. */ -#undef HAVE_GETUID - -/* Define if you have the iconv() function. */ -#undef HAVE_ICONV - -/* Define if <inttypes.h> exists and doesn't clash with <sys/types.h>. */ -#undef HAVE_INTTYPES_H - -/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and - declares uintmax_t. */ -#undef HAVE_INTTYPES_H_WITH_UINTMAX - -/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ -#undef HAVE_LANGINFO_CODESET - -/* Define if your <locale.h> file defines LC_MESSAGES. */ -#undef HAVE_LC_MESSAGES - -/* Define to 1 if you have the <limits.h> header file. */ -#undef HAVE_LIMITS_H - -/* Define to 1 if you have the <locale.h> header file. */ -#undef HAVE_LOCALE_H - -/* Define to 1 if you have the <malloc.h> header file. */ -#undef HAVE_MALLOC_H - -/* Define to 1 if you have the <memory.h> header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the `mempcpy' function. */ -#undef HAVE_MEMPCPY - -/* Define to 1 if you have a working `mmap' system call. */ -#undef HAVE_MMAP - -/* Define to 1 if you have the `munmap' function. */ -#undef HAVE_MUNMAP - -/* Define to 1 if you have the <nl_types.h> header file. */ -#undef HAVE_NL_TYPES_H - -/* Define to 1 if you have the `putenv' function. */ -#undef HAVE_PUTENV - -/* Define to 1 if you have the `setenv' function. */ -#undef HAVE_SETENV - -/* Define to 1 if you have the `setlocale' function. */ -#undef HAVE_SETLOCALE - -/* Define to 1 if you have the <stddef.h> header file. */ -#undef HAVE_STDDEF_H - -/* Define to 1 if you have the <stdint.h> header file. */ -#undef HAVE_STDINT_H - -/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares - uintmax_t. */ -#undef HAVE_STDINT_H_WITH_UINTMAX - -/* Define to 1 if you have the <stdlib.h> header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the `stpcpy' function. */ -#undef HAVE_STPCPY - -/* Define to 1 if you have the `strcasecmp' function. */ -#undef HAVE_STRCASECMP - -/* Define to 1 if you have the `strdup' function. */ -#undef HAVE_STRDUP - -/* Define to 1 if you have the <strings.h> header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the <string.h> header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the `strtoul' function. */ -#undef HAVE_STRTOUL - -/* Define to 1 if you have the <sys/param.h> header file. */ -#undef HAVE_SYS_PARAM_H - -/* Define to 1 if you have the <sys/stat.h> header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the <sys/types.h> header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the `tsearch' function. */ -#undef HAVE_TSEARCH - -/* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */ -#undef HAVE_UINTMAX_T - -/* Define to 1 if you have the <unistd.h> header file. */ -#undef HAVE_UNISTD_H - -/* Define if you have the unsigned long long type. */ -#undef HAVE_UNSIGNED_LONG_LONG - -/* Define to 1 if you have the `__argz_count' function. */ -#undef HAVE___ARGZ_COUNT - -/* Define to 1 if you have the `__argz_next' function. */ -#undef HAVE___ARGZ_NEXT - -/* Define to 1 if you have the `__argz_stringify' function. */ -#undef HAVE___ARGZ_STRINGIFY - -/* Define to 1 if you have the `__fsetlocking' function. */ -#undef HAVE___FSETLOCKING - -/* Define as const if the declaration of iconv() needs const. */ -#undef ICONV_CONST - -/* Define if integer division by zero raises signal SIGFPE. */ -#undef INTDIV0_RAISES_SIGFPE - -/* Define because this is libintl. */ -#undef IN_LIBINTL - -/* Define because this is a library. */ -#undef IN_LIBRARY - -/* Define if there is no xmalloc. */ -#undef NO_XMALLOC - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the home page for this package. */ -#undef PACKAGE_URL - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Define if <inttypes.h> exists and defines unusable PRI* macros. */ -#undef PRI_MACROS_BROKEN - -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at runtime. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown */ -#undef STACK_DIRECTION - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# undef _ALL_SOURCE -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# undef _GNU_SOURCE -#endif -/* Enable threading extensions on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# undef _POSIX_PTHREAD_SEMANTICS -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# undef _TANDEM_SOURCE -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# undef __EXTENSIONS__ -#endif - - -/* Define to 1 if on MINIX. */ -#undef _MINIX - -/* Define to 2 if the system does not provide POSIX.1 features except with - this defined. */ -#undef _POSIX_1_SOURCE - -/* Define to 1 if you need to in order for `stat' and other things to work. */ -#undef _POSIX_SOURCE - -/* Define to empty if `const' does not conform to ANSI C. */ -#undef const - -/* Define to `__inline__' or `__inline' if that's what the C compiler - calls it, or to nothing if 'inline' is not supported under any name. */ -#ifndef __cplusplus -#undef inline -#endif - -/* Define to `long int' if <sys/types.h> does not define. */ -#undef off_t - -/* Define this entry point correctly. */ -#undef relocate - -/* Define this entry point correctly. */ -#undef set_relocation_prefix - -/* Define to `unsigned int' if <sys/types.h> does not define. */ -#undef size_t - -/* Define to unsigned long or unsigned long long if <stdint.h> and - <inttypes.h> don't define. */ -#undef uintmax_t diff --git a/intl/config.intl.in b/intl/config.intl.in deleted file mode 100644 index 040b7cf..0000000 --- a/intl/config.intl.in +++ /dev/null @@ -1,12 +0,0 @@ -# This file records the configuration of libintl in a form that -# can be read back in by a configure script in a sister directory. -# See config/gettext.m4 for its use. - -USE_NLS='@USE_NLS@' -LIBINTL='@LIBINTL@' -LIBINTL_DEP='@LIBINTL_DEP@' -INCINTL='@INCINTL@' - -XGETTEXT='@XGETTEXT@' -GMSGFMT='@GMSGFMT@' -POSUB='@POSUB@' diff --git a/intl/configure b/intl/configure deleted file mode 100755 index b0aae14..0000000 --- a/intl/configure +++ /dev/null @@ -1,8357 +0,0 @@ -#! /bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69. -# -# -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. -# -# -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -as_myself= -case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -# Use a proper internal environment variable to ensure we don't fall - # into an infinite loop, continuously re-executing ourselves. - if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then - _as_can_reexec=no; export _as_can_reexec; - # We cannot yet assume a decent shell, so we have to provide a -# neutralization value for shells without unset; and this also -# works around shells that cannot unset nonexistent variables. -# Preserve -v and -x to the replacement shell. -BASH_ENV=/dev/null -ENV=/dev/null -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -case $- in # (((( - *v*x* | *x*v* ) as_opts=-vx ;; - *v* ) as_opts=-v ;; - *x* ) as_opts=-x ;; - * ) as_opts= ;; -esac -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -# Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -as_fn_exit 255 - fi - # We don't want this to propagate to other subprocesses. - { _as_can_reexec=; unset _as_can_reexec;} -if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi -" - as_required="as_fn_return () { (exit \$1); } -as_fn_success () { as_fn_return 0; } -as_fn_failure () { as_fn_return 1; } -as_fn_ret_success () { return 0; } -as_fn_ret_failure () { return 1; } - -exitcode=0 -as_fn_success || { exitcode=1; echo as_fn_success failed.; } -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : - -else - exitcode=1; echo positional parameters were not saved. -fi -test x\$exitcode = x0 || exit 1 -test -x / || exit 1" - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 -test \$(( 1 + 1 )) = 2 || exit 1" - if (eval "$as_required") 2>/dev/null; then : - as_have_required=yes -else - as_have_required=no -fi - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : - -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_found=false -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - as_found=: - case $as_dir in #( - /*) - for as_base in sh bash ksh sh5; do - # Try only shells that exist, to save several forks. - as_shell=$as_dir/$as_base - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : - CONFIG_SHELL=$as_shell as_have_required=yes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : - break 2 -fi -fi - done;; - esac - as_found=false -done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : - CONFIG_SHELL=$SHELL as_have_required=yes -fi; } -IFS=$as_save_IFS - - - if test "x$CONFIG_SHELL" != x; then : - export CONFIG_SHELL - # We cannot yet assume a decent shell, so we have to provide a -# neutralization value for shells without unset; and this also -# works around shells that cannot unset nonexistent variables. -# Preserve -v and -x to the replacement shell. -BASH_ENV=/dev/null -ENV=/dev/null -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -case $- in # (((( - *v*x* | *x*v* ) as_opts=-vx ;; - *v* ) as_opts=-v ;; - *x* ) as_opts=-x ;; - * ) as_opts= ;; -esac -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -# Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -exit 255 -fi - - if test x$as_have_required = xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} = xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." - else - $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, -$0: including any error possibly output before this -$0: message. Then install a modern shell, or manually run -$0: the script under such a shell if you do have one." - fi - exit 1 -fi -fi -fi -SHELL=${CONFIG_SHELL-/bin/sh} -export SHELL -# Unset more variables known to interfere with behavior of common tools. -CLICOLOR_FORCE= GREP_OPTIONS= -unset CLICOLOR_FORCE GREP_OPTIONS - -## --------------------- ## -## M4sh Shell Functions. ## -## --------------------- ## -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" - - -} # as_fn_mkdir_p - -# as_fn_executable_p FILE -# ----------------------- -# Test if FILE is an executable regular file. -as_fn_executable_p () -{ - test -f "$1" && test -x "$1" -} # as_fn_executable_p -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -# as_fn_error STATUS ERROR [LINENO LOG_FD] -# ---------------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with STATUS, using 1 if that was 0. -as_fn_error () -{ - as_status=$1; test $as_status -eq 0 && as_status=1 - if test "$4"; then - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 - fi - $as_echo "$as_me: error: $2" >&2 - as_fn_exit $as_status -} # as_fn_error - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - - - as_lineno_1=$LINENO as_lineno_1a=$LINENO - as_lineno_2=$LINENO as_lineno_2a=$LINENO - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } - - # If we had to re-execute with $CONFIG_SHELL, we're ensured to have - # already done that, so ensure we don't try to do so again and fall - # in an infinite loop. This has already happened in practice. - _as_can_reexec=no; export _as_can_reexec - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -pR'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -pR' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -pR' - fi -else - as_ln_s='cp -pR' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -as_test_x='test -x' -as_executable_p=as_fn_executable_p - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -test -n "$DJDIR" || exec 7<&0 </dev/null -exec 6>&1 - -# Name of the host. -# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIBOBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= - -# Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= -PACKAGE_URL= - -# Factoring default headers for most tests. -ac_includes_default="\ -#include <stdio.h> -#ifdef HAVE_SYS_TYPES_H -# include <sys/types.h> -#endif -#ifdef HAVE_SYS_STAT_H -# include <sys/stat.h> -#endif -#ifdef STDC_HEADERS -# include <stdlib.h> -# include <stddef.h> -#else -# ifdef HAVE_STDLIB_H -# include <stdlib.h> -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include <memory.h> -# endif -# include <string.h> -#endif -#ifdef HAVE_STRINGS_H -# include <strings.h> -#endif -#ifdef HAVE_INTTYPES_H -# include <inttypes.h> -#endif -#ifdef HAVE_STDINT_H -# include <stdint.h> -#endif -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif" - -ac_unique_file="gettext.c" -ac_header_list= -ac_subst_vars='LTLIBOBJS -LIBOBJS -enable_host_pie -enable_host_shared -BISON3_NO -BISON3_YES -PICFLAG -INCINTL -LIBINTL_DEP -MAINT -AUTOHEADER -AUTOCONF -ACLOCAL -POSUB -LTLIBINTL -LIBINTL -INTLLIBS -INTL_LIBTOOL_SUFFIX_PREFIX -INTLOBJS -GENCAT -INSTOBJEXT -DATADIRNAME -CATOBJEXT -USE_INCLUDED_LIBINTL -BUILD_INCLUDED_LIBINTL -INTLBISON -LTLIBICONV -LIBICONV -GLIBC21 -ALLOCA -RANLIB -host_os -host_vendor -host_cpu -host -build_os -build_vendor -build_cpu -build -MSGMERGE -XGETTEXT -GMSGFMT -MSGFMT -USE_NLS -MKINSTALLDIRS -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM -SET_MAKE -EGREP -GREP -CPP -OBJEXT -EXEEXT -ac_ct_CC -CPPFLAGS -LDFLAGS -CFLAGS -CC -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_URL -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL' -ac_subst_files='' -ac_user_opts=' -enable_option_checking -enable_nls -with_gnu_ld -enable_rpath -with_libiconv_prefix -with_libiconv_type -with_included_gettext -with_libintl_prefix -with_libintl_type -enable_maintainer_mode -enable_host_shared -enable_host_pie -' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -CPP' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -ac_unrecognized_opts= -ac_unrecognized_sep= -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *=) ac_optarg= ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) as_fn_error $? "unrecognized option: \`$ac_option' -Try \`$0 --help' for more information" - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - case $ac_envvar in #( - '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; - esac - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error $? "missing argument to $ac_option" -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -ac_pwd=`pwd` && test -n "$ac_pwd" && -ac_ls_di=`ls -di .` && -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - as_fn_error $? "working directory cannot be determined" -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - as_fn_error $? "pwd does not report name of working directory" - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_myself" : 'X\(//\)[^/]' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" -fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking ...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF - -System types: - --build=BUILD configure for building on BUILD [guessed] - --host=HOST cross-compile to build programs to run on HOST [BUILD] -_ACEOF -fi - -if test -n "$ac_init_help"; then - - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --disable-nls do not use Native Language Support - --disable-rpath do not hardcode runtime library paths - --enable-maintainer-mode enable rules only needed by maintainers - --enable-host-shared build host code as shared libraries - --enable-host-pie build host code as PIE - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-gnu-ld assume the C compiler uses GNU ld default=no - --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib - --without-libiconv-prefix don't search for libiconv in includedir and libdir - --with-libiconv-type=TYPE type of library to search for (auto/static/shared) - --with-included-gettext use the GNU gettext library included here - --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 - --with-libintl-type=TYPE type of library to search for (auto/static/shared) - -Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a - nonstandard directory <lib dir> - LIBS libraries to pass to the linker, e.g. -l<library> - CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if - you have headers in a nonstandard directory <include dir> - CPP C preprocessor - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -Report bugs to the package provider. -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -configure -generated by GNU Autoconf 2.69 - -Copyright (C) 2012 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi - -## ------------------------ ## -## Autoconf initialization. ## -## ------------------------ ## - -# ac_fn_c_try_compile LINENO -# -------------------------- -# Try to compile conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext - if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_compile - -# ac_fn_c_try_cpp LINENO -# ---------------------- -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_cpp () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } > conftest.i && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_cpp - -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists, giving a warning if it cannot be compiled using -# the include files in INCLUDES and setting the cache variable VAR -# accordingly. -ac_fn_c_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if eval \${$3+:} false; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -$as_echo_n "checking $2 usability... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <$2> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.i conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=\$ac_header_compiler" -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_mongrel - -# ac_fn_c_try_run LINENO -# ---------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. -ac_fn_c_try_run () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : - ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_run - -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - -# ac_fn_c_try_link LINENO -# ----------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - test -x conftest$ac_exeext - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would - # interfere with the next link command; also delete a directory that is - # left behind by Apple's compiler. We do this before executing the actions. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_link - -# ac_fn_c_check_type LINENO TYPE VAR INCLUDES -# ------------------------------------------- -# Tests whether TYPE exists after having included INCLUDES, setting cache -# variable VAR accordingly. -ac_fn_c_check_type () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=no" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof ($2)) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof (($2))) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - eval "$3=yes" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_type - -# ac_fn_c_check_func LINENO FUNC VAR -# ---------------------------------- -# Tests whether FUNC exists, setting the cache variable VAR accordingly -ac_fn_c_check_func () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Define $2 to an innocuous variant, in case <limits.h> declares $2. - For example, HP-UX 11i <limits.h> declares gettimeofday. */ -#define $2 innocuous_$2 - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - -#undef $2 - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $2 (); -/* 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_$2 || defined __stub___$2 -choke me -#endif - -int -main () -{ -return $2 (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_func -cat >config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by $as_me, which was -generated by GNU Autoconf 2.69. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" - done -IFS=$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; - 2) - as_fn_append ac_configure_args1 " '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - as_fn_append ac_configure_args " '$ac_arg'" - ;; - esac - done -done -{ ac_configure_args0=; unset ac_configure_args0;} -{ ac_configure_args1=; unset ac_configure_args1;} - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - $as_echo "## ---------------- ## -## Cache variables. ## -## ---------------- ##" - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) - echo - - $as_echo "## ----------------- ## -## Output variables. ## -## ----------------- ##" - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - $as_echo "## ------------------- ## -## File substitutions. ## -## ------------------- ##" - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - $as_echo "## ----------- ## -## confdefs.h. ## -## ----------- ##" - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -$as_echo "/* confdefs.h */" > confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_URL "$PACKAGE_URL" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=NONE -ac_site_file2=NONE -if test -n "$CONFIG_SITE"; then - # We do not want a PATH search for config.site. - case $CONFIG_SITE in #(( - -*) ac_site_file1=./$CONFIG_SITE;; - */*) ac_site_file1=$CONFIG_SITE;; - *) ac_site_file1=./$CONFIG_SITE;; - esac -elif test "x$prefix" != xNONE; then - ac_site_file1=$prefix/share/config.site - ac_site_file2=$prefix/etc/config.site -else - ac_site_file1=$ac_default_prefix/share/config.site - ac_site_file2=$ac_default_prefix/etc/config.site -fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" -do - test "x$ac_site_file" = xNONE && continue - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" \ - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "failed to load site script $ac_site_file -See \`config.log' for more details" "$LINENO" 5; } - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special files - # actually), so we avoid doing that. DJGPP emulates it as a regular file. - if test /dev/null != "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -as_fn_append ac_header_list " stdlib.h" -as_fn_append ac_header_list " unistd.h" -as_fn_append ac_header_list " sys/param.h" -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - # differences in whitespace do not lead to failure. - ac_old_val_w=`echo x $ac_old_val` - ac_new_val_w=`echo x $ac_new_val` - if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - ac_cache_corrupted=: - else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} - eval $ac_var=\$ac_old_val - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) as_fn_append ac_configure_args " '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 -fi -## -------------------- ## -## Main body of script. ## -## -------------------- ## - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -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 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5; } - -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { { ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi -if test -z "$ac_file"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "C compiler cannot create executables -See \`config.log' for more details" "$LINENO" 5; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -ac_exeext=$ac_cv_exeext - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details" "$LINENO" 5; } -fi -rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdio.h> -int -main () -{ -FILE *f = fopen ("conftest.out", "w"); - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -ac_clean_files="$ac_clean_files conftest.out" -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -if test "$cross_compiling" != yes; then - { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if { ac_try='./conftest$ac_cv_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details" "$LINENO" 5; } - fi - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if ${ac_cv_objext+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot compute suffix of object files: cannot compile -See \`config.log' for more details" "$LINENO" 5; } -fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if ${ac_cv_c_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if ${ac_cv_prog_cc_g+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if ${ac_cv_prog_cc_c89+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdarg.h> -#include <stdio.h> -struct stat; -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c89=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if ${ac_cv_prog_CPP+:} false; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <ac_nonexistent.h> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <ac_nonexistent.h> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if ${ac_cv_path_GREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_GREP" || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if ${ac_cv_path_EGREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_EGREP" || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if ${ac_cv_header_stdc+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> -#include <stdarg.h> -#include <string.h> -#include <float.h> - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <string.h> - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <ctype.h> -#include <stdlib.h> -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - -else - ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -$as_echo "#define STDC_HEADERS 1" >>confdefs.h - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - - ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" -if test "x$ac_cv_header_minix_config_h" = xyes; then : - MINIX=yes -else - MINIX= -fi - - - if test "$MINIX" = yes; then - -$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h - - -$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h - - -$as_echo "#define _MINIX 1" >>confdefs.h - - fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 -$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } -if ${ac_cv_safe_to_define___extensions__+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -# define __EXTENSIONS__ 1 - $ac_includes_default -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_safe_to_define___extensions__=yes -else - ac_cv_safe_to_define___extensions__=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 -$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } - test $ac_cv_safe_to_define___extensions__ = yes && - $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h - - $as_echo "#define _ALL_SOURCE 1" >>confdefs.h - - $as_echo "#define _GNU_SOURCE 1" >>confdefs.h - - $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h - - $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h - - - -ac_config_headers="$ac_config_headers config.h" - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat >conftest.make <<\_ACEOF -SHELL = /bin/sh -all: - @echo '@@@%%%=$(MAKE)=@@@%%%' -_ACEOF -# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. -case `${MAKE-make} -f conftest.make 2>/dev/null` in - *@@@%%%=?*=@@@%%%*) - eval ac_cv_prog_make_${ac_make}_set=yes;; - *) - eval ac_cv_prog_make_${ac_make}_set=no;; -esac -rm -f conftest.make -fi -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - SET_MAKE= -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - SET_MAKE="MAKE=${MAKE-make}" -fi - -ac_aux_dir= -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -# Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } -if test -z "$INSTALL"; then -if ${ac_cv_path_install+:} false; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in #(( - ./ | .// | /[cC]/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - rm -rf conftest.one conftest.two conftest.dir - echo one > conftest.one - echo two > conftest.two - mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && - test -s conftest.one && test -s conftest.two && - test -s conftest.dir/conftest.one && - test -s conftest.dir/conftest.two - then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - fi - done - done - ;; -esac - - done -IFS=$as_save_IFS - -rm -rf conftest.one conftest.two conftest.dir - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - - - MKINSTALLDIRS= - if test -n "$ac_aux_dir"; then - case "$ac_aux_dir" in - /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; - *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; - esac - fi - if test -z "$MKINSTALLDIRS"; then - MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 -$as_echo_n "checking whether NLS is requested... " >&6; } - # Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then : - enableval=$enable_nls; USE_NLS=$enableval -else - USE_NLS=yes -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -$as_echo "$USE_NLS" >&6; } - - - - - - -# Prepare PATH_SEPARATOR. -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi - -# Find out how to test for executable files. Don't use a zero-byte file, -# as systems may use methods other than mode bits to determine executability. -cat >conf$$.file <<_ASEOF -#! /bin/sh -exit 0 -_ASEOF -chmod +x conf$$.file -if test -x conf$$.file >/dev/null 2>&1; then - ac_executable_p="test -x" -else - ac_executable_p="test -f" -fi -rm -f conf$$.file - -# Extract the first word of "msgfmt", so it can be a program name with args. -set dummy msgfmt; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_MSGFMT+:} false; then : - $as_echo_n "(cached) " >&6 -else - case "$MSGFMT" in - [\\/]* | ?:[\\/]*) - ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. - ;; - *) - ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$ac_save_IFS" - test -z "$ac_dir" && ac_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then - if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && - (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then - ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" - break 2 - fi - fi - done - done - IFS="$ac_save_IFS" - test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" - ;; -esac -fi -MSGFMT="$ac_cv_path_MSGFMT" -if test "$MSGFMT" != ":"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 -$as_echo "$MSGFMT" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - # Extract the first word of "gmsgfmt", so it can be a program name with args. -set dummy gmsgfmt; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_GMSGFMT+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $GMSGFMT in - [\\/]* | ?:[\\/]*) - ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" - ;; -esac -fi -GMSGFMT=$ac_cv_path_GMSGFMT -if test -n "$GMSGFMT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 -$as_echo "$GMSGFMT" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - - -# Prepare PATH_SEPARATOR. -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi - -# Find out how to test for executable files. Don't use a zero-byte file, -# as systems may use methods other than mode bits to determine executability. -cat >conf$$.file <<_ASEOF -#! /bin/sh -exit 0 -_ASEOF -chmod +x conf$$.file -if test -x conf$$.file >/dev/null 2>&1; then - ac_executable_p="test -x" -else - ac_executable_p="test -f" -fi -rm -f conf$$.file - -# Extract the first word of "xgettext", so it can be a program name with args. -set dummy xgettext; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_XGETTEXT+:} false; then : - $as_echo_n "(cached) " >&6 -else - case "$XGETTEXT" in - [\\/]* | ?:[\\/]*) - ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. - ;; - *) - ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$ac_save_IFS" - test -z "$ac_dir" && ac_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then - if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && - (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then - ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" - break 2 - fi - fi - done - done - IFS="$ac_save_IFS" - test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" - ;; -esac -fi -XGETTEXT="$ac_cv_path_XGETTEXT" -if test "$XGETTEXT" != ":"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 -$as_echo "$XGETTEXT" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - rm -f messages.po - - -# Prepare PATH_SEPARATOR. -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi - -# Find out how to test for executable files. Don't use a zero-byte file, -# as systems may use methods other than mode bits to determine executability. -cat >conf$$.file <<_ASEOF -#! /bin/sh -exit 0 -_ASEOF -chmod +x conf$$.file -if test -x conf$$.file >/dev/null 2>&1; then - ac_executable_p="test -x" -else - ac_executable_p="test -f" -fi -rm -f conf$$.file - -# Extract the first word of "msgmerge", so it can be a program name with args. -set dummy msgmerge; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_MSGMERGE+:} false; then : - $as_echo_n "(cached) " >&6 -else - case "$MSGMERGE" in - [\\/]* | ?:[\\/]*) - ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. - ;; - *) - ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$ac_save_IFS" - test -z "$ac_dir" && ac_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then - if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then - ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" - break 2 - fi - fi - done - done - IFS="$ac_save_IFS" - test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" - ;; -esac -fi -MSGMERGE="$ac_cv_path_MSGMERGE" -if test "$MSGMERGE" != ":"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 -$as_echo "$MSGMERGE" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - if test "$GMSGFMT" != ":"; then - if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && - (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then - : ; - else - GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 -$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } - GMSGFMT=":" - fi - fi - - if test "$XGETTEXT" != ":"; then - if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && - (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then - : ; - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 -$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } - XGETTEXT=":" - fi - rm -f messages.po - fi - - ac_config_commands="$ac_config_commands default-1" - - -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if ${ac_cv_build+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_build_alias=$build_alias -test "x$ac_build_alias" = x && - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` -test "x$ac_build_alias" = x && - as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } -case $ac_cv_build in -*-*-*) ;; -*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; -esac -build=$ac_cv_build -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_build -shift -build_cpu=$1 -build_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -build_os=$* -IFS=$ac_save_IFS -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if ${ac_cv_host+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "x$host_alias" = x; then - ac_cv_host=$ac_cv_build -else - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -$as_echo "$ac_cv_host" >&6; } -case $ac_cv_host in -*-*-*) ;; -*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; -esac -host=$ac_cv_host -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_host -shift -host_cpu=$1 -host_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -host_os=$* -IFS=$ac_save_IFS -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac - - -if test -n "$ac_tool_prefix"; then - # 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 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -$as_echo "$RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_RANLIB"; then - ac_ct_RANLIB=$RANLIB - # Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_RANLIB="ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -$as_echo "$ac_ct_RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_RANLIB" = x; then - RANLIB=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - RANLIB=$ac_ct_RANLIB - fi -else - RANLIB="$ac_cv_prog_RANLIB" -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 -$as_echo_n "checking for library containing strerror... " >&6; } -if ${ac_cv_search_strerror+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char strerror (); -int -main () -{ -return strerror (); - ; - return 0; -} -_ACEOF -for ac_lib in '' cposix; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_strerror=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_strerror+:} false; then : - break -fi -done -if ${ac_cv_search_strerror+:} false; then : - -else - ac_cv_search_strerror=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 -$as_echo "$ac_cv_search_strerror" >&6; } -ac_res=$ac_cv_search_strerror -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 -$as_echo_n "checking for an ANSI C-conforming const... " >&6; } -if ${ac_cv_c_const+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - -#ifndef __cplusplus - /* Ultrix mips cc rejects this sort of thing. */ - typedef int charset[2]; - const charset cs = { 0, 0 }; - /* SunOS 4.1.1 cc rejects this. */ - char const *const *pcpcc; - char **ppc; - /* NEC SVR4.0.2 mips cc rejects this. */ - struct point {int x, y;}; - static struct point const zero = {0,0}; - /* AIX XL C 1.02.0.0 rejects this. - It does not let you subtract one const X* pointer from another in - an arm of an if-expression whose if-part is not a constant - expression */ - const char *g = "string"; - pcpcc = &g + (g ? g-g : 0); - /* HPUX 7.0 cc rejects these. */ - ++pcpcc; - ppc = (char**) pcpcc; - pcpcc = (char const *const *) ppc; - { /* SCO 3.2v4 cc rejects this sort of thing. */ - char tx; - char *t = &tx; - char const *s = 0 ? (char *) 0 : (char const *) 0; - - *t++ = 0; - if (s) return 0; - } - { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ - int x[] = {25, 17}; - const int *foo = &x[0]; - ++foo; - } - { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ - typedef const int *iptr; - iptr p = 0; - ++p; - } - { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; } bx; - struct s *b = &bx; b->j = 5; - } - { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; - if (!foo) return 0; - } - return !cs[0] && !zero.x; -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_const=yes -else - ac_cv_c_const=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 -$as_echo "$ac_cv_c_const" >&6; } -if test $ac_cv_c_const = no; then - -$as_echo "#define const /**/" >>confdefs.h - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 -$as_echo_n "checking for inline... " >&6; } -if ${ac_cv_c_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_c_inline=no -for ac_kw in inline __inline__ __inline; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifndef __cplusplus -typedef int foo_t; -static $ac_kw foo_t static_foo () {return 0; } -$ac_kw foo_t foo () {return 0; } -#endif - -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_inline=$ac_kw -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - test "$ac_cv_c_inline" != no && break -done - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 -$as_echo "$ac_cv_c_inline" >&6; } - -case $ac_cv_c_inline in - inline | yes) ;; - *) - case $ac_cv_c_inline in - no) ac_val=;; - *) ac_val=$ac_cv_c_inline;; - esac - cat >>confdefs.h <<_ACEOF -#ifndef __cplusplus -#define inline $ac_val -#endif -_ACEOF - ;; -esac - -ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" -if test "x$ac_cv_type_off_t" = xyes; then : - -else - -cat >>confdefs.h <<_ACEOF -#define off_t long int -_ACEOF - -fi - -ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" -if test "x$ac_cv_type_size_t" = xyes; then : - -else - -cat >>confdefs.h <<_ACEOF -#define size_t unsigned int -_ACEOF - -fi - -# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works -# for constant arguments. Useless! -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 -$as_echo_n "checking for working alloca.h... " >&6; } -if ${ac_cv_working_alloca_h+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <alloca.h> -int -main () -{ -char *p = (char *) alloca (2 * sizeof (int)); - if (p) return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_working_alloca_h=yes -else - ac_cv_working_alloca_h=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 -$as_echo "$ac_cv_working_alloca_h" >&6; } -if test $ac_cv_working_alloca_h = yes; then - -$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 -$as_echo_n "checking for alloca... " >&6; } -if ${ac_cv_func_alloca_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __GNUC__ -# define alloca __builtin_alloca -#else -# ifdef _MSC_VER -# include <malloc.h> -# define alloca _alloca -# else -# ifdef HAVE_ALLOCA_H -# include <alloca.h> -# else -# ifdef _AIX - #pragma alloca -# else -# ifndef alloca /* predefined by HP cc +Olibcalls */ -void *alloca (size_t); -# endif -# endif -# endif -# endif -#endif - -int -main () -{ -char *p = (char *) alloca (1); - if (p) return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_func_alloca_works=yes -else - ac_cv_func_alloca_works=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 -$as_echo "$ac_cv_func_alloca_works" >&6; } - -if test $ac_cv_func_alloca_works = yes; then - -$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h - -else - # The SVR3 libPW and SVR4 libucb both contain incompatible functions -# that cause trouble. Some versions do not even contain alloca or -# contain a buggy version. If you still want to use their alloca, -# use ar to extract alloca.o from them instead of compiling alloca.c. - -ALLOCA=\${LIBOBJDIR}alloca.$ac_objext - -$as_echo "#define C_ALLOCA 1" >>confdefs.h - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 -$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } -if ${ac_cv_os_cray+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#if defined CRAY && ! defined CRAY2 -webecray -#else -wenotbecray -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "webecray" >/dev/null 2>&1; then : - ac_cv_os_cray=yes -else - ac_cv_os_cray=no -fi -rm -f conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 -$as_echo "$ac_cv_os_cray" >&6; } -if test $ac_cv_os_cray = yes; then - for ac_func in _getb67 GETB67 getb67; do - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -cat >>confdefs.h <<_ACEOF -#define CRAY_STACKSEG_END $ac_func -_ACEOF - - break -fi - - done -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 -$as_echo_n "checking stack direction for C alloca... " >&6; } -if ${ac_cv_c_stack_direction+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - ac_cv_c_stack_direction=0 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -int -find_stack_direction (int *addr, int depth) -{ - int dir, dummy = 0; - if (! addr) - addr = &dummy; - *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; - dir = depth ? find_stack_direction (addr, depth - 1) : 0; - return dir + dummy; -} - -int -main (int argc, char **argv) -{ - return find_stack_direction (0, argc + !argv + 20) < 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - ac_cv_c_stack_direction=1 -else - ac_cv_c_stack_direction=-1 -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 -$as_echo "$ac_cv_c_stack_direction" >&6; } -cat >>confdefs.h <<_ACEOF -#define STACK_DIRECTION $ac_cv_c_stack_direction -_ACEOF - - -fi - - - - - for ac_header in $ac_header_list -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - - - - - - -for ac_func in getpagesize -do : - ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" -if test "x$ac_cv_func_getpagesize" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_GETPAGESIZE 1 -_ACEOF - -fi -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 -$as_echo_n "checking for working mmap... " >&6; } -if ${ac_cv_func_mmap_fixed_mapped+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - ac_cv_func_mmap_fixed_mapped=no -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -/* malloc might have been renamed as rpl_malloc. */ -#undef malloc - -/* Thanks to Mike Haertel and Jim Avera for this test. - Here is a matrix of mmap possibilities: - mmap private not fixed - mmap private fixed at somewhere currently unmapped - mmap private fixed at somewhere already mapped - mmap shared not fixed - mmap shared fixed at somewhere currently unmapped - mmap shared fixed at somewhere already mapped - For private mappings, we should verify that changes cannot be read() - back from the file, nor mmap's back from the file at a different - address. (There have been systems where private was not correctly - implemented like the infamous i386 svr4.0, and systems where the - VM page cache was not coherent with the file system buffer cache - like early versions of FreeBSD and possibly contemporary NetBSD.) - For shared mappings, we should conversely verify that changes get - propagated back to all the places they're supposed to be. - - Grep wants private fixed already mapped. - The main things grep needs to know about mmap are: - * does it exist and is it safe to write into the mmap'd area - * how to use it (BSD variants) */ - -#include <fcntl.h> -#include <sys/mman.h> - -#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H -char *malloc (); -#endif - -/* This mess was copied from the GNU getpagesize.h. */ -#ifndef HAVE_GETPAGESIZE -# ifdef _SC_PAGESIZE -# define getpagesize() sysconf(_SC_PAGESIZE) -# else /* no _SC_PAGESIZE */ -# ifdef HAVE_SYS_PARAM_H -# include <sys/param.h> -# ifdef EXEC_PAGESIZE -# define getpagesize() EXEC_PAGESIZE -# else /* no EXEC_PAGESIZE */ -# ifdef NBPG -# define getpagesize() NBPG * CLSIZE -# ifndef CLSIZE -# define CLSIZE 1 -# endif /* no CLSIZE */ -# else /* no NBPG */ -# ifdef NBPC -# define getpagesize() NBPC -# else /* no NBPC */ -# ifdef PAGESIZE -# define getpagesize() PAGESIZE -# endif /* PAGESIZE */ -# endif /* no NBPC */ -# endif /* no NBPG */ -# endif /* no EXEC_PAGESIZE */ -# else /* no HAVE_SYS_PARAM_H */ -# define getpagesize() 8192 /* punt totally */ -# endif /* no HAVE_SYS_PARAM_H */ -# endif /* no _SC_PAGESIZE */ - -#endif /* no HAVE_GETPAGESIZE */ - -int -main () -{ - char *data, *data2, *data3; - const char *cdata2; - int i, pagesize; - int fd, fd2; - - pagesize = getpagesize (); - - /* First, make a file with some known garbage in it. */ - data = (char *) malloc (pagesize); - if (!data) - return 1; - for (i = 0; i < pagesize; ++i) - *(data + i) = rand (); - umask (0); - fd = creat ("conftest.mmap", 0600); - if (fd < 0) - return 2; - if (write (fd, data, pagesize) != pagesize) - return 3; - close (fd); - - /* Next, check that the tail of a page is zero-filled. File must have - non-zero length, otherwise we risk SIGBUS for entire page. */ - fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); - if (fd2 < 0) - return 4; - cdata2 = ""; - if (write (fd2, cdata2, 1) != 1) - return 5; - data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); - if (data2 == MAP_FAILED) - return 6; - for (i = 0; i < pagesize; ++i) - if (*(data2 + i)) - return 7; - close (fd2); - if (munmap (data2, pagesize)) - return 8; - - /* Next, try to mmap the file at a fixed address which already has - something else allocated at it. If we can, also make sure that - we see the same garbage. */ - fd = open ("conftest.mmap", O_RDWR); - if (fd < 0) - return 9; - if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, - MAP_PRIVATE | MAP_FIXED, fd, 0L)) - return 10; - for (i = 0; i < pagesize; ++i) - if (*(data + i) != *(data2 + i)) - return 11; - - /* Finally, make sure that changes to the mapped area do not - percolate back to the file as seen by read(). (This is a bug on - some variants of i386 svr4.0.) */ - for (i = 0; i < pagesize; ++i) - *(data2 + i) = *(data2 + i) + 1; - data3 = (char *) malloc (pagesize); - if (!data3) - return 12; - if (read (fd, data3, pagesize) != pagesize) - return 13; - for (i = 0; i < pagesize; ++i) - if (*(data + i) != *(data3 + i)) - return 14; - close (fd); - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - ac_cv_func_mmap_fixed_mapped=yes -else - ac_cv_func_mmap_fixed_mapped=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 -$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } -if test $ac_cv_func_mmap_fixed_mapped = yes; then - -$as_echo "#define HAVE_MMAP 1" >>confdefs.h - -fi -rm -f conftest.mmap conftest.txt - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5 -$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; } -if ${ac_cv_gnu_library_2_1+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <features.h> -#ifdef __GNU_LIBRARY__ - #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) - Lucky GNU user - #endif -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "Lucky GNU user" >/dev/null 2>&1; then : - ac_cv_gnu_library_2_1=yes -else - ac_cv_gnu_library_2_1=no -fi -rm -f conftest* - - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5 -$as_echo "$ac_cv_gnu_library_2_1" >&6; } - - GLIBC21="$ac_cv_gnu_library_2_1" - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5 -$as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; } -if ${gt_cv_int_divbyzero_sigfpe+:} false; then : - $as_echo_n "(cached) " >&6 -else - - if test "$cross_compiling" = yes; then : - - # Guess based on the CPU. - case "$host_cpu" in - alpha* | i3456786 | m68k | s390*) - gt_cv_int_divbyzero_sigfpe="guessing yes";; - *) - gt_cv_int_divbyzero_sigfpe="guessing no";; - esac - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <stdlib.h> -#include <signal.h> - -static void -#ifdef __cplusplus -sigfpe_handler (int sig) -#else -sigfpe_handler (sig) int sig; -#endif -{ - /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ - exit (sig != SIGFPE); -} - -int x = 1; -int y = 0; -int z; -int nan; - -int main () -{ - signal (SIGFPE, sigfpe_handler); -/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ -#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) - signal (SIGTRAP, sigfpe_handler); -#endif -/* Linux/SPARC yields signal SIGILL. */ -#if defined (__sparc__) && defined (__linux__) - signal (SIGILL, sigfpe_handler); -#endif - - z = x / y; - nan = y / y; - exit (1); -} - -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - gt_cv_int_divbyzero_sigfpe=yes -else - gt_cv_int_divbyzero_sigfpe=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5 -$as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; } - case "$gt_cv_int_divbyzero_sigfpe" in - *yes) value=1;; - *) value=0;; - esac - -cat >>confdefs.h <<_ACEOF -#define INTDIV0_RAISES_SIGFPE $value -_ACEOF - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 -$as_echo_n "checking for inttypes.h... " >&6; } -if ${jm_ac_cv_header_inttypes_h+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <sys/types.h> -#include <inttypes.h> -int -main () -{ -uintmax_t i = (uintmax_t) -1; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - jm_ac_cv_header_inttypes_h=yes -else - jm_ac_cv_header_inttypes_h=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5 -$as_echo "$jm_ac_cv_header_inttypes_h" >&6; } - if test $jm_ac_cv_header_inttypes_h = yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_INTTYPES_H_WITH_UINTMAX 1 -_ACEOF - - fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 -$as_echo_n "checking for stdint.h... " >&6; } -if ${jm_ac_cv_header_stdint_h+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <sys/types.h> -#include <stdint.h> -int -main () -{ -uintmax_t i = (uintmax_t) -1; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - jm_ac_cv_header_stdint_h=yes -else - jm_ac_cv_header_stdint_h=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5 -$as_echo "$jm_ac_cv_header_stdint_h" >&6; } - if test $jm_ac_cv_header_stdint_h = yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_STDINT_H_WITH_UINTMAX 1 -_ACEOF - - fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5 -$as_echo_n "checking for unsigned long long... " >&6; } -if ${ac_cv_type_unsigned_long_long+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -unsigned long long ull = 1; int i = 63; -int -main () -{ -unsigned long long ullmax = (unsigned long long) -1; - return ull << i | ull >> i | ullmax / ull | ullmax % ull; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_type_unsigned_long_long=yes -else - ac_cv_type_unsigned_long_long=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5 -$as_echo "$ac_cv_type_unsigned_long_long" >&6; } - if test $ac_cv_type_unsigned_long_long = yes; then - -$as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h - - fi - - - - - if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then - - test $ac_cv_type_unsigned_long_long = yes \ - && ac_type='unsigned long long' \ - || ac_type='unsigned long' - -cat >>confdefs.h <<_ACEOF -#define uintmax_t $ac_type -_ACEOF - - else - -$as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h - - fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 -$as_echo_n "checking for inttypes.h... " >&6; } -if ${gt_cv_header_inttypes_h+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <sys/types.h> -#include <inttypes.h> -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - gt_cv_header_inttypes_h=yes -else - gt_cv_header_inttypes_h=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5 -$as_echo "$gt_cv_header_inttypes_h" >&6; } - if test $gt_cv_header_inttypes_h = yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_INTTYPES_H 1 -_ACEOF - - fi - - - - if test $gt_cv_header_inttypes_h = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5 -$as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; } -if ${gt_cv_inttypes_pri_broken+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <inttypes.h> -#ifdef PRId32 -char *p = PRId32; -#endif - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - gt_cv_inttypes_pri_broken=no -else - gt_cv_inttypes_pri_broken=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5 -$as_echo "$gt_cv_inttypes_pri_broken" >&6; } - fi - if test "$gt_cv_inttypes_pri_broken" = yes; then - -cat >>confdefs.h <<_ACEOF -#define PRI_MACROS_BROKEN 1 -_ACEOF - - fi - - - if test "X$prefix" = "XNONE"; then - acl_final_prefix="$ac_default_prefix" - else - acl_final_prefix="$prefix" - fi - if test "X$exec_prefix" = "XNONE"; then - acl_final_exec_prefix='${prefix}' - else - acl_final_exec_prefix="$exec_prefix" - fi - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" - prefix="$acl_save_prefix" - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -# Prepare PATH_SEPARATOR. -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 -$as_echo_n "checking for ld used by GCC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | [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 - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if ${acl_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - IFS="${IFS= }"; ac_save_ifs="$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 - acl_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some GNU ld's only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break - else - test "$with_gnu_ld" != yes && break - fi - fi - done - IFS="$ac_save_ifs" -else - acl_cv_path_LD="$LD" # Let the user override the test with a path. -fi -fi - -LD="$acl_cv_path_LD" -if test -n "$LD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${acl_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then - acl_cv_prog_gnu_ld=yes -else - acl_cv_prog_gnu_ld=no -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 -$as_echo "$acl_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$acl_cv_prog_gnu_ld - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 -$as_echo_n "checking for shared library run path origin... " >&6; } -if ${acl_cv_rpath+:} false; then : - $as_echo_n "(cached) " >&6 -else - - CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ - ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh - . ./conftest.sh - rm -f ./conftest.sh - acl_cv_rpath=done - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 -$as_echo "$acl_cv_rpath" >&6; } - wl="$acl_cv_wl" - libext="$acl_cv_libext" - shlibext="$acl_cv_shlibext" - hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" - hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" - hardcode_direct="$acl_cv_hardcode_direct" - hardcode_minus_L="$acl_cv_hardcode_minus_L" - # Check whether --enable-rpath was given. -if test "${enable_rpath+set}" = set; then : - enableval=$enable_rpath; : -else - enable_rpath=yes -fi - - - - - - - - - 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-libiconv-prefix was given. -if test "${with_libiconv_prefix+set}" = set; then : - withval=$with_libiconv_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 - - -# Check whether --with-libiconv-type was given. -if test "${with_libiconv_type+set}" = set; then : - withval=$with_libiconv_type; with_libiconv_type=$withval -else - with_libiconv_type=auto -fi - - lib_type=`eval echo \$with_libiconv_type` - - LIBICONV= - LTLIBICONV= - INCICONV= - rpathdirs= - ltrpathdirs= - names_already_handled= - names_next_round='iconv ' - 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" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" - eval value=\"\$LTLIB$uppername\" - test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$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" && test x$lib_type != xstatic; 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 - elif test x$lib_type != xshared; then - 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 $LTLIBICONV; 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" && test x$lib_type != xstatic; 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 - elif test x$lib_type != xshared; then - 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 - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" - if test "X$found_so" != "X"; then - if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$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 - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" - else - if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$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 $LIBICONV; 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 - LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" - fi - if test "$hardcode_minus_L" != no; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" - else - LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" - fi - fi - fi - fi - else - if test "X$found_a" != "X"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" - else - LIBICONV="${LIBICONV}${LIBICONV:+ }-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 $INCICONV; 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 - INCICONV="${INCICONV}${INCICONV:+ }-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 $LIBICONV; 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 - LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" - fi - fi - haveit= - for x in $LDFLAGS $LTLIBICONV; 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 - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" - fi - fi - fi - fi - ;; - -R*) - dir=`echo "X$dep" | sed -e 's/^X-R//'` - if test "$enable_rpath" != no; then - haveit= - for x in $rpathdirs; do - if test "X$x" = "X$dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - rpathdirs="$rpathdirs $dir" - fi - haveit= - for x in $ltrpathdirs; do - if test "X$x" = "X$dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - ltrpathdirs="$ltrpathdirs $dir" - 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$,,'` - ;; - *) - LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" - ;; - esac - done - fi - else - if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" - else - LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext" - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext" - fi - 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" - LIBICONV="${LIBICONV}${LIBICONV:+ }$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" - LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" - done - fi - fi - if test "X$ltrpathdirs" != "X"; then - for found_dir in $ltrpathdirs; do - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" - done - fi - - - - - for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ -stdlib.h string.h unistd.h sys/param.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - for ac_func in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \ -geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \ -strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \ -__fsetlocking -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 -$as_echo_n "checking for iconv... " >&6; } -if ${am_cv_func_iconv+:} false; then : - $as_echo_n "(cached) " >&6 -else - - am_cv_func_iconv="no, consider installing GNU libiconv" - am_cv_lib_iconv=no - am_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $INCICONV" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> -#include <iconv.h> -int -main () -{ -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - am_cv_func_iconv=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" - - if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then - for _libs in .libs _libs; do - am_save_CPPFLAGS="$CPPFLAGS" - am_save_LIBS="$LIBS" - CPPFLAGS="$CPPFLAGS -I../libiconv/include" - LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> -#include <iconv.h> -int -main () -{ -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - INCICONV="-I../libiconv/include" - LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a - LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la - am_cv_lib_iconv=yes - am_cv_func_iconv=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" - LIBS="$am_save_LIBS" - if test "$am_cv_func_iconv" = "yes"; then - break - fi - done - fi - - if test "$am_cv_func_iconv" != yes; then - am_save_CPPFLAGS="$CPPFLAGS" - am_save_LIBS="$LIBS" - CPPFLAGS="$CPPFLAGS $INCICONV" - LIBS="$LIBS $LIBICONV" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> -#include <iconv.h> -int -main () -{ -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - am_cv_lib_iconv=yes - am_cv_func_iconv=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" - LIBS="$am_save_LIBS" - fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 -$as_echo "$am_cv_func_iconv" >&6; } - if test "$am_cv_func_iconv" = yes; then - -$as_echo "#define HAVE_ICONV 1" >>confdefs.h - - fi - if test "$am_cv_lib_iconv" = yes; then - - for element in $INCICONV; 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 - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 -$as_echo_n "checking how to link with libiconv... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 -$as_echo "$LIBICONV" >&6; } - else - LIBICONV= - LTLIBICONV= - fi - - - - if test "$am_cv_func_iconv" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 -$as_echo_n "checking for iconv declaration... " >&6; } - if ${am_cv_proto_iconv+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <stdlib.h> -#include <iconv.h> -extern -#ifdef __cplusplus -"C" -#endif -#if defined(__STDC__) || defined(__cplusplus) -size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); -#else -size_t iconv(); -#endif - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - am_cv_proto_iconv_arg1="" -else - am_cv_proto_iconv_arg1="const" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" -fi - - am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- - }$am_cv_proto_iconv" >&5 -$as_echo "${ac_t:- - }$am_cv_proto_iconv" >&6; } - -cat >>confdefs.h <<_ACEOF -#define ICONV_CONST $am_cv_proto_iconv_arg1 -_ACEOF - - fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 -$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } -if ${am_cv_langinfo_codeset+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <langinfo.h> -int -main () -{ -char* cs = nl_langinfo(CODESET); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - am_cv_langinfo_codeset=yes -else - am_cv_langinfo_codeset=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 -$as_echo "$am_cv_langinfo_codeset" >&6; } - if test $am_cv_langinfo_codeset = yes; then - -$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h - - fi - - if test $ac_cv_header_locale_h = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 -$as_echo_n "checking for LC_MESSAGES... " >&6; } -if ${am_cv_val_LC_MESSAGES+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <locale.h> -int -main () -{ -return LC_MESSAGES - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - am_cv_val_LC_MESSAGES=yes -else - am_cv_val_LC_MESSAGES=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 -$as_echo "$am_cv_val_LC_MESSAGES" >&6; } - if test $am_cv_val_LC_MESSAGES = yes; then - -$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h - - fi - - fi - - for ac_prog in bison -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_INTLBISON+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$INTLBISON"; then - ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_INTLBISON="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -INTLBISON=$ac_cv_prog_INTLBISON -if test -n "$INTLBISON"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5 -$as_echo "$INTLBISON" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$INTLBISON" && break -done - - if test -z "$INTLBISON"; then - ac_verc_fail=yes - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5 -$as_echo_n "checking version of bison... " >&6; } - 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;; - 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) - ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; - *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; - esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5 -$as_echo "$ac_prog_version" >&6; } - fi - if test $ac_verc_fail = yes; then - INTLBISON=: - fi - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 -$as_echo_n "checking whether NLS is requested... " >&6; } - # Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then : - enableval=$enable_nls; USE_NLS=$enableval -else - USE_NLS=yes -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -$as_echo "$USE_NLS" >&6; } - - - - - BUILD_INCLUDED_LIBINTL=no - USE_INCLUDED_LIBINTL=no - - LIBINTL= - LTLIBINTL= - POSUB= - - if test "$USE_NLS" = "yes"; then - gt_use_preinstalled_gnugettext=no - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5 -$as_echo_n "checking whether included gettext is requested... " >&6; } - -# Check whether --with-included-gettext was given. -if test "${with_included_gettext+set}" = set; then : - withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval -else - nls_cv_force_use_gnu_gettext=no -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5 -$as_echo "$nls_cv_force_use_gnu_gettext" >&6; } - - nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" - if test "$nls_cv_force_use_gnu_gettext" != "yes"; then - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 -$as_echo_n "checking for GNU gettext in libc... " >&6; } -if ${gt_cv_func_gnugettext2_libc+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <libintl.h> -#ifndef __GNU_GETTEXT_SUPPORTED_REVISION -extern int _nl_msg_cat_cntr; -extern int *_nl_domain_bindings; -#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) -#else -#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 -#endif - -int -main () -{ -bindtextdomain ("", ""); -return (int) gettext ("") + (int) ngettext ("", "", 0) + __GNU_GETTEXT_SYMBOL_EXPRESSION - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - gt_cv_func_gnugettext2_libc=yes -else - gt_cv_func_gnugettext2_libc=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5 -$as_echo "$gt_cv_func_gnugettext2_libc" >&6; } - - if test "$gt_cv_func_gnugettext2_libc" != "yes"; then - - - - 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-libintl-prefix was given. -if test "${with_libintl_prefix+set}" = set; then : - withval=$with_libintl_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 - - -# Check whether --with-libintl-type was given. -if test "${with_libintl_type+set}" = set; then : - withval=$with_libintl_type; with_libintl_type=$withval -else - with_libintl_type=auto -fi - - lib_type=`eval echo \$with_libintl_type` - - LIBINTL= - LTLIBINTL= - INCINTL= - rpathdirs= - ltrpathdirs= - names_already_handled= - names_next_round='intl ' - 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" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" - eval value=\"\$LTLIB$uppername\" - test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$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" && test x$lib_type != xstatic; 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 - elif test x$lib_type != xshared; then - 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 $LTLIBINTL; 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" && test x$lib_type != xstatic; 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 - elif test x$lib_type != xshared; then - 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 - LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" - if test "X$found_so" != "X"; then - if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then - LIBINTL="${LIBINTL}${LIBINTL:+ }$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 - LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" - else - if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then - LIBINTL="${LIBINTL}${LIBINTL:+ }$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 $LIBINTL; 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 - LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" - fi - if test "$hardcode_minus_L" != no; then - LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" - else - LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" - fi - fi - fi - fi - else - if test "X$found_a" != "X"; then - LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" - else - LIBINTL="${LIBINTL}${LIBINTL:+ }-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 $INCINTL; 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 - INCINTL="${INCINTL}${INCINTL:+ }-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 $LIBINTL; 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 - LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" - fi - fi - haveit= - for x in $LDFLAGS $LTLIBINTL; 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 - LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" - fi - fi - fi - fi - ;; - -R*) - dir=`echo "X$dep" | sed -e 's/^X-R//'` - if test "$enable_rpath" != no; then - haveit= - for x in $rpathdirs; do - if test "X$x" = "X$dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - rpathdirs="$rpathdirs $dir" - fi - haveit= - for x in $ltrpathdirs; do - if test "X$x" = "X$dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - ltrpathdirs="$ltrpathdirs $dir" - 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$,,'` - ;; - *) - LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" - LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" - ;; - esac - done - fi - else - if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then - LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" - LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" - else - LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext" - LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext" - fi - 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" - LIBINTL="${LIBINTL}${LIBINTL:+ }$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" - LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" - done - fi - fi - if test "X$ltrpathdirs" != "X"; then - for found_dir in $ltrpathdirs; do - LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" - done - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 -$as_echo_n "checking for GNU gettext in libintl... " >&6; } -if ${gt_cv_func_gnugettext2_libintl+:} false; then : - $as_echo_n "(cached) " >&6 -else - gt_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $INCINTL" - gt_save_LIBS="$LIBS" - LIBS="$LIBS $LIBINTL" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <libintl.h> -#ifndef __GNU_GETTEXT_SUPPORTED_REVISION -extern int _nl_msg_cat_cntr; -extern -#ifdef __cplusplus -"C" -#endif -const char *_nl_expand_alias (); -#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (0)) -#else -#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 -#endif - -int -main () -{ -bindtextdomain ("", ""); -return (int) gettext ("") + (int) ngettext ("", "", 0) + __GNU_GETTEXT_SYMBOL_EXPRESSION - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - gt_cv_func_gnugettext2_libintl=yes -else - gt_cv_func_gnugettext2_libintl=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then - LIBS="$LIBS $LIBICONV" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <libintl.h> -#ifndef __GNU_GETTEXT_SUPPORTED_REVISION -extern int _nl_msg_cat_cntr; -extern -#ifdef __cplusplus -"C" -#endif -const char *_nl_expand_alias (); -#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (0)) -#else -#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 -#endif - -int -main () -{ -bindtextdomain ("", ""); -return (int) gettext ("") + (int) ngettext ("", "", 0) + __GNU_GETTEXT_SYMBOL_EXPRESSION - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - LIBINTL="$LIBINTL $LIBICONV" - LTLIBINTL="$LTLIBINTL $LTLIBICONV" - gt_cv_func_gnugettext2_libintl=yes - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - fi - CPPFLAGS="$gt_save_CPPFLAGS" - LIBS="$gt_save_LIBS" -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5 -$as_echo "$gt_cv_func_gnugettext2_libintl" >&6; } - fi - - if test "$gt_cv_func_gnugettext2_libc" = "yes" \ - || { test "$gt_cv_func_gnugettext2_libintl" = "yes" \ - && test "$PACKAGE" != gettext-runtime \ - && test "$PACKAGE" != gettext-tools; }; then - gt_use_preinstalled_gnugettext=yes - else - LIBINTL= - LTLIBINTL= - INCINTL= - fi - - - if test "$gt_use_preinstalled_gnugettext" != "yes"; then - nls_cv_use_gnu_gettext=yes - fi - fi - - if test "$nls_cv_use_gnu_gettext" = "yes"; then - BUILD_INCLUDED_LIBINTL=yes - USE_INCLUDED_LIBINTL=yes - LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV" - LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV" - LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` - fi - - if test "$gt_use_preinstalled_gnugettext" = "yes" \ - || test "$nls_cv_use_gnu_gettext" = "yes"; then - CATOBJEXT=.gmo - fi - - - if test "$gt_use_preinstalled_gnugettext" = "yes" \ - || test "$nls_cv_use_gnu_gettext" = "yes"; then - -$as_echo "#define ENABLE_NLS 1" >>confdefs.h - - else - USE_NLS=no - fi - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 -$as_echo_n "checking whether to use NLS... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -$as_echo "$USE_NLS" >&6; } - if test "$USE_NLS" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 -$as_echo_n "checking where the gettext function comes from... " >&6; } - if test "$gt_use_preinstalled_gnugettext" = "yes"; then - if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then - gt_source="external libintl" - else - gt_source="libc" - fi - else - gt_source="included intl directory" - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 -$as_echo "$gt_source" >&6; } - fi - - if test "$USE_NLS" = "yes"; then - - if test "$gt_use_preinstalled_gnugettext" = "yes"; then - if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 -$as_echo_n "checking how to link with libintl... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 -$as_echo "$LIBINTL" >&6; } - - for element in $INCINTL; 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 - - fi - - -$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h - - -$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h - - fi - - POSUB=po - fi - - - if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then - BUILD_INCLUDED_LIBINTL=yes - fi - - - - - - nls_cv_header_intl= - nls_cv_header_libgt= - - DATADIRNAME=share - - - INSTOBJEXT=.mo - - - GENCAT=gencat - - - if test "$USE_INCLUDED_LIBINTL" = yes; then - INTLOBJS="\$(GETTOBJS)" - fi - - - INTL_LIBTOOL_SUFFIX_PREFIX= - - - - INTLLIBS="$LIBINTL" - - - - - - - -# This replaces the extensive use of DEFS in the original Makefile.in. - -$as_echo "#define IN_LIBINTL 1" >>confdefs.h - - -$as_echo "#define IN_LIBRARY 1" >>confdefs.h - - -$as_echo "#define DEPENDS_ON_LIBICONV 1" >>confdefs.h - - -$as_echo "#define ENABLE_RELOCATABLE 1" >>confdefs.h - - -$as_echo "#define NO_XMALLOC 1" >>confdefs.h - - -$as_echo "#define set_relocation_prefix libintl_set_relocation_prefix" >>confdefs.h - - -$as_echo "#define relocate libintl_relocate" >>confdefs.h - - -MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing -for ac_prog in aclocal -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ACLOCAL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ACLOCAL"; then - ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ACLOCAL="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ACLOCAL=$ac_cv_prog_ACLOCAL -if test -n "$ACLOCAL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5 -$as_echo "$ACLOCAL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ACLOCAL" && break -done -test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal" - -for ac_prog in autoconf -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AUTOCONF+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AUTOCONF"; then - ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AUTOCONF="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AUTOCONF=$ac_cv_prog_AUTOCONF -if test -n "$AUTOCONF"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5 -$as_echo "$AUTOCONF" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AUTOCONF" && break -done -test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf" - -for ac_prog in autoheader -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AUTOHEADER+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AUTOHEADER"; then - ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AUTOHEADER="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AUTOHEADER=$ac_cv_prog_AUTOHEADER -if test -n "$AUTOHEADER"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5 -$as_echo "$AUTOHEADER" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AUTOHEADER" && break -done -test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader" - - -# Check whether --enable-maintainer-mode was given. -if test "${enable_maintainer_mode+set}" = set; then : - enableval=$enable_maintainer_mode; -else - enable_maintainer_mode=no -fi - -if test "x$enable_maintainer_mode" = xno; then - MAINT='#' -else - MAINT= -fi - - -# Additional info for config.intl. - - - -LIBINTL_DEP= -INCINTL= -case $USE_INCLUDED_LIBINTL in - yes) - LIBINTL=`echo $LIBINTL | sed 's,${top_builddir},-L&/..,; s,\.\./intl/libintl\.a,../intl -lintl,' ` - LIBINTL_DEP='${top_builddir}/../intl/libintl.a' - INCINTL='-I${top_builddir}/../intl' - ;; -esac - -# intl is sometimes linked into shared libraries even without --enable-shared -# (e.g. gdbsupport's inprocess agent): so always PICify, just in case. - - - - -case "${host}" in - # PIC is the default on some targets or must not be used. - *-*-darwin*) - # For darwin, common symbols are not allowed in MH_DYLIB files - case "${CFLAGS}" in - # If we are using a compiler supporting mdynamic-no-pic - # and the option has been tested as safe to add, then cancel - # it here, since the code generated is incompatible with shared - # libs. - *-mdynamic-no-pic*) PICFLAG='-fno-common -mno-dynamic-no-pic' ;; - *) PICFLAG=-fno-common ;; - esac - ;; - alpha*-dec-osf5*) - # PIC is the default. - ;; - hppa*64*-*-hpux*) - # PIC is the default for 64-bit PA HP-UX. - ;; - i[34567]86-*-cygwin* | x86_64-*-cygwin*) - ;; - i[34567]86-*-mingw* | x86_64-*-mingw*) - ;; - i[34567]86-*-interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - i[34567]86-*-nto-qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - PICFLAG='-fPIC -shared' - ;; - i[34567]86-pc-msdosdjgpp*) - # DJGPP does not support shared libraries at all. - ;; - ia64*-*-hpux*) - # On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - PICFLAG=-fPIC - ;; - loongarch*-*-*) - PICFLAG=-fpic - ;; - mips-sgi-irix6*) - # PIC is the default. - ;; - rs6000-ibm-aix* | powerpc-ibm-aix*) - # All AIX code is PIC. - ;; - - # Some targets support both -fPIC and -fpic, but prefer the latter. - # FIXME: Why? - i[34567]86-*-* | x86_64-*-*) - PICFLAG=-fpic - ;; - # FIXME: Override -fPIC default in libgcc only? - sh-*-linux* | sh[2346lbe]*-*-linux*) - PICFLAG=-fpic - ;; - sh*-*-netbsd*) - PICFLAG=-fpic - ;; - # Default to -fPIC unless specified otherwise. - *) - PICFLAG=-fPIC - ;; -esac - -# If the user explicitly uses -fpic/-fPIC, keep that. -case "${CFLAGS}" in - *-fpic*) - PICFLAG=-fpic - ;; - *-fPIC*) - PICFLAG=-fPIC - ;; -esac - - - -BISON3_YES='#' -BISON3_NO= -if test "$INTLBISON" != :; then - ac_bison3=no - { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison 3 or later" >&5 -$as_echo_n "checking bison 3 or later... " >&6; } - ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` - case $ac_prog_version in - [3-9].*) - ac_prog_version="$ac_prog_version, bison3"; ac_bison3=yes;; - *) ac_prog_version="$ac_prog_version, old";; - esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5 -$as_echo "$ac_prog_version" >&6; } - if test $ac_bison3 = yes; then - BISON3_YES= - BISON3_NO='#' - fi -fi - - - -# Enable --enable-host-shared. -# Check whether --enable-host-shared was given. -if test "${enable_host_shared+set}" = set; then : - enableval=$enable_host_shared; -fi - - - -# Enable --enable-host-pie. -# Check whether --enable-host-pie was given. -if test "${enable_host_pie+set}" = set; then : - enableval=$enable_host_pie; -fi - - - -if test x$enable_host_shared = xyes; then - PICFLAG=-fPIC -elif test x$enable_host_pie = xyes; then - PICFLAG=-fPIE -else - PICFLAG= -fi - - -ac_config_files="$ac_config_files Makefile config.intl" - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - if test "x$cache_file" != "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - if test ! -f "$cache_file" || test -h "$cache_file"; then - cat confcache >"$cache_file" - else - case $cache_file in #( - */* | ?:*) - mv -f confcache "$cache_file"$$ && - mv -f "$cache_file"$$ "$cache_file" ;; #( - *) - mv -f confcache "$cache_file" ;; - esac - fi - fi - else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -DEFS=-DHAVE_CONFIG_H - -ac_libobjs= -ac_ltlibobjs= -U= -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" - as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIBOBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - - -: "${CONFIG_STATUS=./config.status}" -ac_write_fail=0 -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -as_write_fail=0 -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false - -SHELL=\${CONFIG_SHELL-$SHELL} -export SHELL -_ASEOF -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -as_myself= -case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -# as_fn_error STATUS ERROR [LINENO LOG_FD] -# ---------------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with STATUS, using 1 if that was 0. -as_fn_error () -{ - as_status=$1; test $as_status -eq 0 && as_status=1 - if test "$4"; then - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 - fi - $as_echo "$as_me: error: $2" >&2 - as_fn_exit $as_status -} # as_fn_error - - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -pR'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -pR' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -pR' - fi -else - as_ln_s='cp -pR' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" - - -} # as_fn_mkdir_p -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - - -# as_fn_executable_p FILE -# ----------------------- -# Test if FILE is an executable regular file. -as_fn_executable_p () -{ - test -f "$1" && test -x "$1" -} # as_fn_executable_p -as_test_x='test -x' -as_executable_p=as_fn_executable_p - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## -_ASEOF -test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# Save the log message, to keep $0 and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by $as_me, which was -generated by GNU Autoconf 2.69. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=$*;; -esac - -case $ac_config_headers in *" -"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -esac - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" -config_headers="$ac_config_headers" -config_commands="$ac_config_commands" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -ac_cs_usage="\ -\`$as_me' instantiates files and other configuration actions -from templates according to the current configuration. Unless the files -and actions are specified as TAGs, all are instantiated by default. - -Usage: $0 [OPTION]... [TAG]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - --config print configuration, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration commands: -$config_commands - -Report bugs to the package provider." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" -ac_cs_version="\\ -config.status -configured by $0, generated by GNU Autoconf 2.69, - with options \\"\$ac_cs_config\\" - -Copyright (C) 2012 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -test -n "\$AWK" || AWK=awk -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=?*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - --*=) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg= - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - '') as_fn_error $? "missing file argument" ;; - esac - as_fn_append CONFIG_FILES " '$ac_optarg'" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_HEADERS " '$ac_optarg'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - as_fn_error $? "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) as_fn_error $? "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; - - *) as_fn_append ac_config_targets " $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -if \$ac_cs_recheck; then - set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion - shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 - CONFIG_SHELL='$SHELL' - export CONFIG_SHELL - exec "\$@" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX - $as_echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# -# INIT-COMMANDS -# -# Capture the value of obsolete ALL_LINGUAS because we need it to compute - # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it - # from automake. - eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' - # Capture the value of LINGUAS because we need it to compute CATALOGS. - LINGUAS="${LINGUAS-%UNSET%}" - - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "config.intl") CONFIG_FILES="$CONFIG_FILES config.intl" ;; - - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= ac_tmp= - trap 'exit_status=$? - : "${ac_tmp:=$tmp}" - { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status -' 0 - trap 'as_fn_exit 1' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 -ac_tmp=$tmp - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then - - -ac_cr=`echo X | tr X '\015'` -# On cygwin, bash can eat \r inside `` if the user requested igncr. -# But we know of no other shell where ac_cr would be empty at this -# point, so we can use a bashism as a fallback. -if test "x$ac_cr" = x; then - eval ac_cr=\$\'\\r\' -fi -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\\r' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$ac_tmp/subs1.awk" && -_ACEOF - - -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && - echo "_ACEOF" -} >conf$$subs.sh || - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 - - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - if test $ac_delim_n = $ac_delim_num; then - break - elif $ac_last_try; then - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S["/; s/!.*/"]=/ -p -g -s/^[^!]*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\)..*/\1/ -t more1 -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\)..*/\1/ -t more2 -s/["\\]/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' <conf$$subs.awk | sed ' -/^[^""]/{ - N - s/\n// -} -' >>$CONFIG_STATUS || ac_write_fail=1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACAWK -cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ - || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 -_ACEOF - -# VPATH may cause trouble with some makes, so we remove sole $(srcdir), -# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ -h -s/// -s/^/:/ -s/[ ]*$/:/ -s/:\$(srcdir):/:/g -s/:\${srcdir}:/:/g -s/:@srcdir@:/:/g -s/^:*// -s/:*$// -x -s/\(=[ ]*\).*/\1/ -G -s/\n// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$ac_tmp/defines.awk" <<\_ACAWK || -BEGIN { -_ACEOF - -# Transform confdefs.h into an awk script `defines.awk', embedded as -# here-document in config.status, that substitutes the proper values into -# config.h.in to produce config.h. - -# Create a delimiter string that does not exist in confdefs.h, to ease -# handling of long lines. -ac_delim='%!_!# ' -for ac_last_try in false false :; do - ac_tt=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_tt"; then - break - elif $ac_last_try; then - as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -# For the awk script, D is an array of macro values keyed by name, -# likewise P contains macro parameters if any. Preserve backslash -# newline sequences. - -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -sed -n ' -s/.\{148\}/&'"$ac_delim"'/g -t rset -:rset -s/^[ ]*#[ ]*define[ ][ ]*/ / -t def -d -:def -s/\\$// -t bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3"/p -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p -d -:bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3\\\\\\n"\\/p -t cont -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p -t cont -d -:cont -n -s/.\{148\}/&'"$ac_delim"'/g -t clear -:clear -s/\\$// -t bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/"/p -d -:bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -b cont -' <confdefs.h | sed ' -s/'"$ac_delim"'/"\\\ -"/g' >>$CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { - line = \$ 0 - split(line, arg, " ") - if (arg[1] == "#") { - defundef = arg[2] - mac1 = arg[3] - } else { - defundef = substr(arg[1], 2) - mac1 = arg[2] - } - split(mac1, mac2, "(") #) - macro = mac2[1] - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$ac_tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$ac_tmp/stdin" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir="$ac_dir"; as_fn_mkdir_p - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_sed_extra="$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ - >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ - "$ac_tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined" >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined" >&2;} - - rm -f "$ac_tmp/stdin" - case $ac_file in - -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; - *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; - esac \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" - } >"$ac_tmp/config.h" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} - else - rm -f "$ac_file" - mv "$ac_tmp/config.h" "$ac_file" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error $? "could not create -" "$LINENO" 5 - fi - ;; - - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "default-1":C) - for ac_file in $CONFIG_FILES; do - # Support "outfile[:infile[:infile...]]" - case "$ac_file" in - *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - esac - # PO directories have a Makefile.in generated from Makefile.in.in. - case "$ac_file" in */Makefile.in) - # Adjust a relative srcdir. - ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` - ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` - ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` - # In autoconf-2.13 it is called $ac_given_srcdir. - # In autoconf-2.50 it is called $srcdir. - test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" - case "$ac_given_srcdir" in - .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; - /*) top_srcdir="$ac_given_srcdir" ;; - *) top_srcdir="$ac_dots$ac_given_srcdir" ;; - esac - if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then - rm -f "$ac_dir/POTFILES" - test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" - cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" - POMAKEFILEDEPS="POTFILES.in" - # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend - # on $ac_dir but don't depend on user-specified configuration - # parameters. - if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then - # The LINGUAS file contains the set of available languages. - if test -n "$OBSOLETE_ALL_LINGUAS"; then - test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete" - fi - ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` - # Hide the ALL_LINGUAS assigment from automake. - eval 'ALL_LINGUAS''=$ALL_LINGUAS_' - POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" - else - # The set of available languages was given in configure.ac. - eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' - fi - case "$ac_given_srcdir" in - .) srcdirpre= ;; - *) srcdirpre='$(srcdir)/' ;; - esac - POFILES= - GMOFILES= - UPDATEPOFILES= - DUMMYPOFILES= - for lang in $ALL_LINGUAS; do - POFILES="$POFILES $srcdirpre$lang.po" - GMOFILES="$GMOFILES $srcdirpre$lang.gmo" - UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" - DUMMYPOFILES="$DUMMYPOFILES $lang.nop" - done - # CATALOGS depends on both $ac_dir and the user's LINGUAS - # environment variable. - INST_LINGUAS= - if test -n "$ALL_LINGUAS"; then - for presentlang in $ALL_LINGUAS; do - useit=no - if test "%UNSET%" != "$LINGUAS"; then - desiredlanguages="$LINGUAS" - else - desiredlanguages="$ALL_LINGUAS" - fi - for desiredlang in $desiredlanguages; do - # Use the presentlang catalog if desiredlang is - # a. equal to presentlang, or - # b. a variant of presentlang (because in this case, - # presentlang can be used as a fallback for messages - # which are not translated in the desiredlang catalog). - case "$desiredlang" in - "$presentlang"*) useit=yes;; - esac - done - if test $useit = yes; then - INST_LINGUAS="$INST_LINGUAS $presentlang" - fi - done - fi - CATALOGS= - if test -n "$INST_LINGUAS"; then - for lang in $INST_LINGUAS; do - CATALOGS="$CATALOGS $lang.gmo" - done - fi - test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" - sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" - for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do - if test -f "$f"; then - case "$f" in - *.orig | *.bak | *~) ;; - *) cat "$f" >> "$ac_dir/Makefile" ;; - esac - fi - done - fi - ;; - esac - done ;; - - esac -done # for ac_tag - - -as_fn_exit 0 -_ACEOF -ac_clean_files=$ac_clean_files_save - -test $ac_write_fail = 0 || - as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || as_fn_exit 1 -fi -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - diff --git a/intl/configure.ac b/intl/configure.ac deleted file mode 100644 index a5fc45b..0000000 --- a/intl/configure.ac +++ /dev/null @@ -1,98 +0,0 @@ -AC_INIT -AC_USE_SYSTEM_EXTENSIONS -AC_CONFIG_SRCDIR(gettext.c) -AC_CONFIG_HEADER(config.h) -AC_CONFIG_MACRO_DIR(../config) -AM_GNU_GETTEXT_VERSION(0.12.1) -AM_GNU_GETTEXT([], [need-ngettext]) - -# This replaces the extensive use of DEFS in the original Makefile.in. -AC_DEFINE(IN_LIBINTL, 1, [Define because this is libintl.]) -AC_DEFINE(IN_LIBRARY, 1, [Define because this is a library.]) -AC_DEFINE(DEPENDS_ON_LIBICONV, 1, [Define because we depend on libiconv.]) -AC_DEFINE(ENABLE_RELOCATABLE, 1, [Define to enable relocation.]) -AC_DEFINE(NO_XMALLOC, 1, [Define if there is no xmalloc.]) -AC_DEFINE(set_relocation_prefix, libintl_set_relocation_prefix, -[Define this entry point correctly.]) -AC_DEFINE(relocate, libintl_relocate, -[Define this entry point correctly.]) - -MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing -AC_CHECK_PROGS([ACLOCAL], [aclocal], [$MISSING aclocal]) -AC_CHECK_PROGS([AUTOCONF], [autoconf], [$MISSING autoconf]) -AC_CHECK_PROGS([AUTOHEADER], [autoheader], [$MISSING autoheader]) - -AC_ARG_ENABLE(maintainer-mode, -[ --enable-maintainer-mode enable rules only needed by maintainers],, -enable_maintainer_mode=no) -if test "x$enable_maintainer_mode" = xno; then - MAINT='#' -else - MAINT= -fi -AC_SUBST(MAINT) - -# Additional info for config.intl. -AC_SUBST(LIBINTL_DEP) -AC_SUBST(INCINTL) - -LIBINTL_DEP= -INCINTL= -case $USE_INCLUDED_LIBINTL in - yes) - LIBINTL=`echo $LIBINTL | sed 's,${top_builddir},-L&/..,; s,\.\./intl/libintl\.a,../intl -lintl,' ` - LIBINTL_DEP='${top_builddir}/../intl/libintl.a' - INCINTL='-I${top_builddir}/../intl' - ;; -esac - -# intl is sometimes linked into shared libraries even without --enable-shared -# (e.g. gdbsupport's inprocess agent): so always PICify, just in case. -GCC_PICFLAG -AC_SUBST(PICFLAG) - -BISON3_YES='#' -BISON3_NO= -if test "$INTLBISON" != :; then - ac_bison3=no - AC_MSG_CHECKING([bison 3 or later]) -changequote(<<,>>)dnl - ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` - case $ac_prog_version in - [3-9].*) -changequote([,])dnl - ac_prog_version="$ac_prog_version, bison3"; ac_bison3=yes;; - *) ac_prog_version="$ac_prog_version, old";; - esac - AC_MSG_RESULT([$ac_prog_version]) - if test $ac_bison3 = yes; then - BISON3_YES= - BISON3_NO='#' - fi -fi -AC_SUBST(BISON3_YES) -AC_SUBST(BISON3_NO) - -# Enable --enable-host-shared. -AC_ARG_ENABLE(host-shared, -[AS_HELP_STRING([--enable-host-shared], - [build host code as shared libraries])]) -AC_SUBST(enable_host_shared) - -# Enable --enable-host-pie. -AC_ARG_ENABLE(host-pie, -[AS_HELP_STRING([--enable-host-pie], - [build host code as PIE])]) -AC_SUBST(enable_host_pie) - -if test x$enable_host_shared = xyes; then - PICFLAG=-fPIC -elif test x$enable_host_pie = xyes; then - PICFLAG=-fPIE -else - PICFLAG= -fi -AC_SUBST(PICFLAG) - -AC_CONFIG_FILES(Makefile config.intl) -AC_OUTPUT diff --git a/intl/dcgettext.c b/intl/dcgettext.c deleted file mode 100644 index 338fd7c..0000000 --- a/intl/dcgettext.c +++ /dev/null @@ -1,59 +0,0 @@ -/* Implementation of the dcgettext(3) function. - Copyright (C) 1995-1999, 2000, 2001, 2002 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include "gettextP.h" -#ifdef _LIBC -# include <libintl.h> -#else -# include "libgnuintl.h" -#endif - -/* @@ end of prolog @@ */ - -/* Names for the libintl functions are a problem. They must not clash - with existing names and they should follow ANSI C. But this source - code is also used in GNU C Library where the names have a __ - prefix. So we have to make a difference here. */ -#ifdef _LIBC -# define DCGETTEXT __dcgettext -# define DCIGETTEXT __dcigettext -#else -# define DCGETTEXT libintl_dcgettext -# define DCIGETTEXT libintl_dcigettext -#endif - -/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY - locale. */ -char * -DCGETTEXT (domainname, msgid, category) - const char *domainname; - const char *msgid; - int category; -{ - return DCIGETTEXT (domainname, msgid, NULL, 0, 0, category); -} - -#ifdef _LIBC -/* Alias for function name in GNU C Library. */ -INTDEF(__dcgettext) -weak_alias (__dcgettext, dcgettext); -#endif diff --git a/intl/dcigettext.c b/intl/dcigettext.c deleted file mode 100644 index a8d4a14..0000000 --- a/intl/dcigettext.c +++ /dev/null @@ -1,1238 +0,0 @@ -/* Implementation of the internal dcigettext function. - Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -/* Tell glibc's <string.h> to provide a prototype for mempcpy(). - This must come before <config.h> because <config.h> may include - <features.h>, and once <features.h> has been included, it's too late. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include <sys/types.h> - -#ifdef __GNUC__ -# define alloca __builtin_alloca -# define HAVE_ALLOCA 1 -#else -# ifdef _MSC_VER -# include <malloc.h> -# define alloca _alloca -# else -# if defined HAVE_ALLOCA_H || defined _LIBC -# include <alloca.h> -# else -# ifdef _AIX - #pragma alloca -# else -# ifndef alloca -char *alloca (); -# endif -# endif -# endif -# endif -#endif - -#include <errno.h> -#ifndef errno -extern int errno; -#endif -#ifndef __set_errno -# define __set_errno(val) errno = (val) -#endif - -#include <stddef.h> -#include <stdlib.h> -#include <string.h> - -#if defined HAVE_UNISTD_H || defined _LIBC -# include <unistd.h> -#endif - -#include <locale.h> - -#ifdef _LIBC - /* Guess whether integer division by zero raises signal SIGFPE. - Set to 1 only if you know for sure. In case of doubt, set to 0. */ -# if defined __alpha__ || defined __arm__ || defined __i386__ \ - || defined __m68k__ || defined __s390__ -# define INTDIV0_RAISES_SIGFPE 1 -# else -# define INTDIV0_RAISES_SIGFPE 0 -# endif -#endif -#if !INTDIV0_RAISES_SIGFPE -# include <signal.h> -#endif - -#if defined HAVE_SYS_PARAM_H || defined _LIBC -# include <sys/param.h> -#endif - -#include "gettextP.h" -#include "plural-exp.h" -#ifdef _LIBC -# include <libintl.h> -#else -# include "libgnuintl.h" -#endif -#include "hash-string.h" - -/* Thread safetyness. */ -#ifdef _LIBC -# include <bits/libc-lock.h> -#else -/* Provide dummy implementation if this is outside glibc. */ -# define __libc_lock_define_initialized(CLASS, NAME) -# define __libc_lock_lock(NAME) -# define __libc_lock_unlock(NAME) -# define __libc_rwlock_define_initialized(CLASS, NAME) -# define __libc_rwlock_rdlock(NAME) -# define __libc_rwlock_unlock(NAME) -#endif - -/* Alignment of types. */ -#if defined __GNUC__ && __GNUC__ >= 2 -# define alignof(TYPE) __alignof__ (TYPE) -#else -# define alignof(TYPE) \ - ((int) &((struct { char dummy1; TYPE dummy2; } *) 0)->dummy2) -#endif - -/* The internal variables in the standalone libintl.a must have different - names than the internal variables in GNU libc, otherwise programs - using libintl.a cannot be linked statically. */ -#if !defined _LIBC -# define _nl_default_default_domain libintl_nl_default_default_domain -# define _nl_current_default_domain libintl_nl_current_default_domain -# define _nl_default_dirname libintl_nl_default_dirname -# define _nl_domain_bindings libintl_nl_domain_bindings -#endif - -/* Some compilers, like SunOS4 cc, don't have offsetof in <stddef.h>. */ -#ifndef offsetof -# define offsetof(type,ident) ((size_t)&(((type*)0)->ident)) -#endif - -/* @@ end of prolog @@ */ - -#ifdef _LIBC -/* Rename the non ANSI C functions. This is required by the standard - because some ANSI C functions will require linking with this object - file and the name space must not be polluted. */ -# define getcwd __getcwd -# ifndef stpcpy -# define stpcpy __stpcpy -# endif -# define tfind __tfind -#else -# if !defined HAVE_GETCWD -char *getwd (); -# define getcwd(buf, max) getwd (buf) -# else -char *getcwd (); -# endif -# ifndef HAVE_STPCPY -static char *stpcpy PARAMS ((char *dest, const char *src)); -# endif -# ifndef HAVE_MEMPCPY -static void *mempcpy PARAMS ((void *dest, const void *src, size_t n)); -# endif -#endif - -/* Amount to increase buffer size by in each try. */ -#define PATH_INCR 32 - -/* The following is from pathmax.h. */ -/* Non-POSIX BSD systems might have gcc's limits.h, which doesn't define - PATH_MAX but might cause redefinition warnings when sys/param.h is - later included (as on MORE/BSD 4.3). */ -#if defined _POSIX_VERSION || (defined HAVE_LIMITS_H && !defined __GNUC__) -# include <limits.h> -#endif - -#ifndef _POSIX_PATH_MAX -# define _POSIX_PATH_MAX 255 -#endif - -#if !defined PATH_MAX && defined _PC_PATH_MAX -# define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX)) -#endif - -/* Don't include sys/param.h if it already has been. */ -#if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN -# include <sys/param.h> -#endif - -#if !defined PATH_MAX && defined MAXPATHLEN -# define PATH_MAX MAXPATHLEN -#endif - -#ifndef PATH_MAX -# define PATH_MAX _POSIX_PATH_MAX -#endif - -/* Pathname support. - ISSLASH(C) tests whether C is a directory separator character. - IS_ABSOLUTE_PATH(P) tests whether P is an absolute path. If it is not, - it may be concatenated to a directory pathname. - IS_PATH_WITH_DIR(P) tests whether P contains a directory specification. - */ -#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ - /* Win32, OS/2, DOS */ -# define ISSLASH(C) ((C) == '/' || (C) == '\\') -# define HAS_DEVICE(P) \ - ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ - && (P)[1] == ':') -# define IS_ABSOLUTE_PATH(P) (ISSLASH ((P)[0]) || HAS_DEVICE (P)) -# define IS_PATH_WITH_DIR(P) \ - (strchr (P, '/') != NULL || strchr (P, '\\') != NULL || HAS_DEVICE (P)) -#else - /* Unix */ -# define ISSLASH(C) ((C) == '/') -# define IS_ABSOLUTE_PATH(P) ISSLASH ((P)[0]) -# define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL) -#endif - -/* This is the type used for the search tree where known translations - are stored. */ -struct known_translation_t -{ - /* Domain in which to search. */ - char *domainname; - - /* The category. */ - int category; - - /* State of the catalog counter at the point the string was found. */ - int counter; - - /* Catalog where the string was found. */ - struct loaded_l10nfile *domain; - - /* And finally the translation. */ - const char *translation; - size_t translation_length; - - /* Pointer to the string in question. */ - char msgid[ZERO]; -}; - -/* Root of the search tree with known translations. We can use this - only if the system provides the `tsearch' function family. */ -#if defined HAVE_TSEARCH || defined _LIBC -# include <search.h> - -static void *root; - -# ifdef _LIBC -# define tsearch __tsearch -# endif - -/* Function to compare two entries in the table of known translations. */ -static int transcmp PARAMS ((const void *p1, const void *p2)); -static int -transcmp (p1, p2) - const void *p1; - const void *p2; -{ - const struct known_translation_t *s1; - const struct known_translation_t *s2; - int result; - - s1 = (const struct known_translation_t *) p1; - s2 = (const struct known_translation_t *) p2; - - result = strcmp (s1->msgid, s2->msgid); - if (result == 0) - { - result = strcmp (s1->domainname, s2->domainname); - if (result == 0) - /* We compare the category last (though this is the cheapest - operation) since it is hopefully always the same (namely - LC_MESSAGES). */ - result = s1->category - s2->category; - } - - return result; -} -#endif - -#ifndef INTVARDEF -# define INTVARDEF(name) -#endif -#ifndef INTUSE -# define INTUSE(name) name -#endif - -/* Name of the default domain used for gettext(3) prior any call to - textdomain(3). The default value for this is "messages". */ -const char _nl_default_default_domain[] attribute_hidden = "messages"; - -/* Value used as the default domain for gettext(3). */ -const char *_nl_current_default_domain attribute_hidden - = _nl_default_default_domain; - -/* Contains the default location of the message catalogs. */ -#if defined __EMX__ -extern const char _nl_default_dirname[]; -#else -const char _nl_default_dirname[] = LOCALEDIR; -INTVARDEF (_nl_default_dirname) -#endif - -/* List with bindings of specific domains created by bindtextdomain() - calls. */ -struct binding *_nl_domain_bindings; - -/* Prototypes for local functions. */ -static char *plural_lookup PARAMS ((struct loaded_l10nfile *domain, - unsigned long int n, - const char *translation, - size_t translation_len)) - internal_function; -static const char *guess_category_value PARAMS ((int category, - const char *categoryname)) - internal_function; -#ifdef _LIBC -# include "../locale/localeinfo.h" -# define category_to_name(category) _nl_category_names[category] -#else -static const char *category_to_name PARAMS ((int category)) internal_function; -#endif - - -/* For those loosing systems which don't have `alloca' we have to add - some additional code emulating it. */ -#ifdef HAVE_ALLOCA -/* Nothing has to be done. */ -# define freea(p) /* nothing */ -# define ADD_BLOCK(list, address) /* nothing */ -# define FREE_BLOCKS(list) /* nothing */ -#else -struct block_list -{ - void *address; - struct block_list *next; -}; -# define ADD_BLOCK(list, addr) \ - do { \ - struct block_list *newp = (struct block_list *) malloc (sizeof (*newp)); \ - /* If we cannot get a free block we cannot add the new element to \ - the list. */ \ - if (newp != NULL) { \ - newp->address = (addr); \ - newp->next = (list); \ - (list) = newp; \ - } \ - } while (0) -# define FREE_BLOCKS(list) \ - do { \ - while (list != NULL) { \ - struct block_list *old = list; \ - list = list->next; \ - free (old->address); \ - free (old); \ - } \ - } while (0) -# undef alloca -# define alloca(size) (malloc (size)) -# define freea(p) free (p) -#endif /* have alloca */ - - -#ifdef _LIBC -/* List of blocks allocated for translations. */ -typedef struct transmem_list -{ - struct transmem_list *next; - char data[ZERO]; -} transmem_block_t; -static struct transmem_list *transmem_list; -#else -typedef unsigned char transmem_block_t; -#endif - - -/* Names for the libintl functions are a problem. They must not clash - with existing names and they should follow ANSI C. But this source - code is also used in GNU C Library where the names have a __ - prefix. So we have to make a difference here. */ -#ifdef _LIBC -# define DCIGETTEXT __dcigettext -#else -# define DCIGETTEXT libintl_dcigettext -#endif - -/* Lock variable to protect the global data in the gettext implementation. */ -#ifdef _LIBC -__libc_rwlock_define_initialized (, _nl_state_lock attribute_hidden) -#endif - -/* Checking whether the binaries runs SUID must be done and glibc provides - easier methods therefore we make a difference here. */ -#ifdef _LIBC -# define ENABLE_SECURE __libc_enable_secure -# define DETERMINE_SECURE -#else -# ifndef HAVE_GETUID -# define getuid() 0 -# endif -# ifndef HAVE_GETGID -# define getgid() 0 -# endif -# ifndef HAVE_GETEUID -# define geteuid() getuid() -# endif -# ifndef HAVE_GETEGID -# define getegid() getgid() -# endif -static int enable_secure; -# define ENABLE_SECURE (enable_secure == 1) -# define DETERMINE_SECURE \ - if (enable_secure == 0) \ - { \ - if (getuid () != geteuid () || getgid () != getegid ()) \ - enable_secure = 1; \ - else \ - enable_secure = -1; \ - } -#endif - -/* Get the function to evaluate the plural expression. */ -#include "eval-plural.h" - -/* Look up MSGID in the DOMAINNAME message catalog for the current - CATEGORY locale and, if PLURAL is nonzero, search over string - depending on the plural form determined by N. */ -char * -DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) - const char *domainname; - const char *msgid1; - const char *msgid2; - int plural; - unsigned long int n; - int category; -{ -#ifndef HAVE_ALLOCA - struct block_list *block_list = NULL; -#endif - struct loaded_l10nfile *domain; - struct binding *binding; - const char *categoryname; - const char *categoryvalue; - char *dirname, *xdomainname; - char *single_locale; - char *retval; - size_t retlen; - int saved_errno; -#if defined HAVE_TSEARCH || defined _LIBC - struct known_translation_t *search; - struct known_translation_t **foundp = NULL; - size_t msgid_len; -#endif - size_t domainname_len; - - /* If no real MSGID is given return NULL. */ - if (msgid1 == NULL) - return NULL; - -#ifdef _LIBC - if (category < 0 || category >= __LC_LAST || category == LC_ALL) - /* Bogus. */ - return (plural == 0 - ? (char *) msgid1 - /* Use the Germanic plural rule. */ - : n == 1 ? (char *) msgid1 : (char *) msgid2); -#endif - - __libc_rwlock_rdlock (_nl_state_lock); - - /* If DOMAINNAME is NULL, we are interested in the default domain. If - CATEGORY is not LC_MESSAGES this might not make much sense but the - definition left this undefined. */ - if (domainname == NULL) - domainname = _nl_current_default_domain; - - /* OS/2 specific: backward compatibility with older libintl versions */ -#ifdef LC_MESSAGES_COMPAT - if (category == LC_MESSAGES_COMPAT) - category = LC_MESSAGES; -#endif - -#if defined HAVE_TSEARCH || defined _LIBC - msgid_len = strlen (msgid1) + 1; - - /* Try to find the translation among those which we found at - some time. */ - search = (struct known_translation_t *) - alloca (offsetof (struct known_translation_t, msgid) + msgid_len); - memcpy (search->msgid, msgid1, msgid_len); - search->domainname = (char *) domainname; - search->category = category; - - foundp = (struct known_translation_t **) tfind (search, &root, transcmp); - freea (search); - if (foundp != NULL && (*foundp)->counter == _nl_msg_cat_cntr) - { - /* Now deal with plural. */ - if (plural) - retval = plural_lookup ((*foundp)->domain, n, (*foundp)->translation, - (*foundp)->translation_length); - else - retval = (char *) (*foundp)->translation; - - __libc_rwlock_unlock (_nl_state_lock); - return retval; - } -#endif - - /* Preserve the `errno' value. */ - saved_errno = errno; - - /* See whether this is a SUID binary or not. */ - DETERMINE_SECURE; - - /* First find matching binding. */ - for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next) - { - int compare = strcmp (domainname, binding->domainname); - if (compare == 0) - /* We found it! */ - break; - if (compare < 0) - { - /* It is not in the list. */ - binding = NULL; - break; - } - } - - if (binding == NULL) - dirname = (char *) INTUSE(_nl_default_dirname); - else if (IS_ABSOLUTE_PATH (binding->dirname)) - dirname = binding->dirname; - else - { - /* We have a relative path. Make it absolute now. */ - size_t dirname_len = strlen (binding->dirname) + 1; - size_t path_max; - char *ret; - - path_max = (unsigned int) PATH_MAX; - path_max += 2; /* The getcwd docs say to do this. */ - - for (;;) - { - dirname = (char *) alloca (path_max + dirname_len); - ADD_BLOCK (block_list, dirname); - - __set_errno (0); - ret = getcwd (dirname, path_max); - if (ret != NULL || errno != ERANGE) - break; - - path_max += path_max / 2; - path_max += PATH_INCR; - } - - if (ret == NULL) - /* We cannot get the current working directory. Don't signal an - error but simply return the default string. */ - goto return_untranslated; - - stpcpy (stpcpy (strchr (dirname, '\0'), "/"), binding->dirname); - } - - /* Now determine the symbolic name of CATEGORY and its value. */ - categoryname = category_to_name (category); - categoryvalue = guess_category_value (category, categoryname); - - domainname_len = strlen (domainname); - xdomainname = (char *) alloca (strlen (categoryname) - + domainname_len + 5); - ADD_BLOCK (block_list, xdomainname); - - stpcpy (mempcpy (stpcpy (stpcpy (xdomainname, categoryname), "/"), - domainname, domainname_len), - ".mo"); - - /* Creating working area. */ - single_locale = (char *) alloca (strlen (categoryvalue) + 1); - ADD_BLOCK (block_list, single_locale); - - - /* Search for the given string. This is a loop because we perhaps - got an ordered list of languages to consider for the translation. */ - while (1) - { - /* Make CATEGORYVALUE point to the next element of the list. */ - while (categoryvalue[0] != '\0' && categoryvalue[0] == ':') - ++categoryvalue; - if (categoryvalue[0] == '\0') - { - /* The whole contents of CATEGORYVALUE has been searched but - no valid entry has been found. We solve this situation - by implicitly appending a "C" entry, i.e. no translation - will take place. */ - single_locale[0] = 'C'; - single_locale[1] = '\0'; - } - else - { - char *cp = single_locale; - while (categoryvalue[0] != '\0' && categoryvalue[0] != ':') - *cp++ = *categoryvalue++; - *cp = '\0'; - - /* When this is a SUID binary we must not allow accessing files - outside the dedicated directories. */ - if (ENABLE_SECURE && IS_PATH_WITH_DIR (single_locale)) - /* Ingore this entry. */ - continue; - } - - /* If the current locale value is C (or POSIX) we don't load a - domain. Return the MSGID. */ - if (strcmp (single_locale, "C") == 0 - || strcmp (single_locale, "POSIX") == 0) - break; - - /* Find structure describing the message catalog matching the - DOMAINNAME and CATEGORY. */ - domain = _nl_find_domain (dirname, single_locale, xdomainname, binding); - - if (domain != NULL) - { - retval = _nl_find_msg (domain, binding, msgid1, &retlen); - - if (retval == NULL) - { - int cnt; - - for (cnt = 0; domain->successor[cnt] != NULL; ++cnt) - { - retval = _nl_find_msg (domain->successor[cnt], binding, - msgid1, &retlen); - - if (retval != NULL) - { - domain = domain->successor[cnt]; - break; - } - } - } - - if (retval != NULL) - { - /* Found the translation of MSGID1 in domain DOMAIN: - starting at RETVAL, RETLEN bytes. */ - FREE_BLOCKS (block_list); -#if defined HAVE_TSEARCH || defined _LIBC - if (foundp == NULL) - { - /* Create a new entry and add it to the search tree. */ - struct known_translation_t *newp; - - newp = (struct known_translation_t *) - malloc (offsetof (struct known_translation_t, msgid) - + msgid_len + domainname_len + 1); - if (newp != NULL) - { - newp->domainname = - mempcpy (newp->msgid, msgid1, msgid_len); - memcpy (newp->domainname, domainname, domainname_len + 1); - newp->category = category; - newp->counter = _nl_msg_cat_cntr; - newp->domain = domain; - newp->translation = retval; - newp->translation_length = retlen; - - /* Insert the entry in the search tree. */ - foundp = (struct known_translation_t **) - tsearch (newp, &root, transcmp); - if (foundp == NULL - || __builtin_expect (*foundp != newp, 0)) - /* The insert failed. */ - free (newp); - } - } - else - { - /* We can update the existing entry. */ - (*foundp)->counter = _nl_msg_cat_cntr; - (*foundp)->domain = domain; - (*foundp)->translation = retval; - (*foundp)->translation_length = retlen; - } -#endif - __set_errno (saved_errno); - - /* Now deal with plural. */ - if (plural) - retval = plural_lookup (domain, n, retval, retlen); - - __libc_rwlock_unlock (_nl_state_lock); - return retval; - } - } - } - - return_untranslated: - /* Return the untranslated MSGID. */ - FREE_BLOCKS (block_list); - __libc_rwlock_unlock (_nl_state_lock); -#ifndef _LIBC - if (!ENABLE_SECURE) - { - extern void _nl_log_untranslated PARAMS ((const char *logfilename, - const char *domainname, - const char *msgid1, - const char *msgid2, - int plural)); - const char *logfilename = getenv ("GETTEXT_LOG_UNTRANSLATED"); - - if (logfilename != NULL && logfilename[0] != '\0') - _nl_log_untranslated (logfilename, domainname, msgid1, msgid2, plural); - } -#endif - __set_errno (saved_errno); - return (plural == 0 - ? (char *) msgid1 - /* Use the Germanic plural rule. */ - : n == 1 ? (char *) msgid1 : (char *) msgid2); -} - - -char * -internal_function -_nl_find_msg (domain_file, domainbinding, msgid, lengthp) - struct loaded_l10nfile *domain_file; - struct binding *domainbinding; - const char *msgid; - size_t *lengthp; -{ - struct loaded_domain *domain; - nls_uint32 nstrings; - size_t act; - char *result; - size_t resultlen; - - if (domain_file->decided == 0) - _nl_load_domain (domain_file, domainbinding); - - if (domain_file->data == NULL) - return NULL; - - domain = (struct loaded_domain *) domain_file->data; - - nstrings = domain->nstrings; - - /* Locate the MSGID and its translation. */ - if (domain->hash_tab != NULL) - { - /* Use the hashing table. */ - nls_uint32 len = strlen (msgid); - nls_uint32 hash_val = hash_string (msgid); - nls_uint32 idx = hash_val % domain->hash_size; - nls_uint32 incr = 1 + (hash_val % (domain->hash_size - 2)); - - while (1) - { - nls_uint32 nstr = - W (domain->must_swap_hash_tab, domain->hash_tab[idx]); - - if (nstr == 0) - /* Hash table entry is empty. */ - return NULL; - - nstr--; - - /* Compare msgid with the original string at index nstr. - We compare the lengths with >=, not ==, because plural entries - are represented by strings with an embedded NUL. */ - if (nstr < nstrings - ? W (domain->must_swap, domain->orig_tab[nstr].length) >= len - && (strcmp (msgid, - domain->data + W (domain->must_swap, - domain->orig_tab[nstr].offset)) - == 0) - : domain->orig_sysdep_tab[nstr - nstrings].length > len - && (strcmp (msgid, - domain->orig_sysdep_tab[nstr - nstrings].pointer) - == 0)) - { - act = nstr; - goto found; - } - - if (idx >= domain->hash_size - incr) - idx -= domain->hash_size - incr; - else - idx += incr; - } - /* NOTREACHED */ - } - else - { - /* Try the default method: binary search in the sorted array of - messages. */ - size_t top, bottom; - - bottom = 0; - top = nstrings; - while (bottom < top) - { - int cmp_val; - - act = (bottom + top) / 2; - cmp_val = strcmp (msgid, (domain->data - + W (domain->must_swap, - domain->orig_tab[act].offset))); - if (cmp_val < 0) - top = act; - else if (cmp_val > 0) - bottom = act + 1; - else - goto found; - } - /* No translation was found. */ - return NULL; - } - - found: - /* The translation was found at index ACT. If we have to convert the - string to use a different character set, this is the time. */ - if (act < nstrings) - { - result = (char *) - (domain->data + W (domain->must_swap, domain->trans_tab[act].offset)); - resultlen = W (domain->must_swap, domain->trans_tab[act].length) + 1; - } - else - { - result = (char *) domain->trans_sysdep_tab[act - nstrings].pointer; - resultlen = domain->trans_sysdep_tab[act - nstrings].length; - } - -#if defined _LIBC || HAVE_ICONV - if (domain->codeset_cntr - != (domainbinding != NULL ? domainbinding->codeset_cntr : 0)) - { - /* The domain's codeset has changed through bind_textdomain_codeset() - since the message catalog was initialized or last accessed. We - have to reinitialize the converter. */ - _nl_free_domain_conv (domain); - _nl_init_domain_conv (domain_file, domain, domainbinding); - } - - if ( -# ifdef _LIBC - domain->conv != (__gconv_t) -1 -# else -# if HAVE_ICONV - domain->conv != (iconv_t) -1 -# endif -# endif - ) - { - /* We are supposed to do a conversion. First allocate an - appropriate table with the same structure as the table - of translations in the file, where we can put the pointers - to the converted strings in. - There is a slight complication with plural entries. They - are represented by consecutive NUL terminated strings. We - handle this case by converting RESULTLEN bytes, including - NULs. */ - - if (domain->conv_tab == NULL - && ((domain->conv_tab = - (char **) calloc (nstrings + domain->n_sysdep_strings, - sizeof (char *))) - == NULL)) - /* Mark that we didn't succeed allocating a table. */ - domain->conv_tab = (char **) -1; - - if (__builtin_expect (domain->conv_tab == (char **) -1, 0)) - /* Nothing we can do, no more memory. */ - goto converted; - - if (domain->conv_tab[act] == NULL) - { - /* We haven't used this string so far, so it is not - translated yet. Do this now. */ - /* We use a bit more efficient memory handling. - We allocate always larger blocks which get used over - time. This is faster than many small allocations. */ - __libc_lock_define_initialized (static, lock) -# define INITIAL_BLOCK_SIZE 4080 - static unsigned char *freemem; - static size_t freemem_size; - - const unsigned char *inbuf; - unsigned char *outbuf; - int malloc_count; -# ifndef _LIBC - transmem_block_t *transmem_list = NULL; -# endif - - __libc_lock_lock (lock); - - inbuf = (const unsigned char *) result; - outbuf = freemem + sizeof (size_t); - - malloc_count = 0; - while (1) - { - transmem_block_t *newmem; -# ifdef _LIBC - size_t non_reversible; - int res; - - if (freemem_size < sizeof (size_t)) - goto resize_freemem; - - res = __gconv (domain->conv, - &inbuf, inbuf + resultlen, - &outbuf, - outbuf + freemem_size - sizeof (size_t), - &non_reversible); - - if (res == __GCONV_OK || res == __GCONV_EMPTY_INPUT) - break; - - if (res != __GCONV_FULL_OUTPUT) - { - __libc_lock_unlock (lock); - goto converted; - } - - inbuf = result; -# else -# if HAVE_ICONV - const char *inptr = (const char *) inbuf; - size_t inleft = resultlen; - char *outptr = (char *) outbuf; - size_t outleft; - - if (freemem_size < sizeof (size_t)) - goto resize_freemem; - - outleft = freemem_size - sizeof (size_t); - if (iconv (domain->conv, - (ICONV_CONST char **) &inptr, &inleft, - &outptr, &outleft) - != (size_t) (-1)) - { - outbuf = (unsigned char *) outptr; - break; - } - if (errno != E2BIG) - { - __libc_lock_unlock (lock); - goto converted; - } -# endif -# endif - - resize_freemem: - /* We must allocate a new buffer or resize the old one. */ - if (malloc_count > 0) - { - ++malloc_count; - freemem_size = malloc_count * INITIAL_BLOCK_SIZE; - newmem = (transmem_block_t *) realloc (transmem_list, - freemem_size); -# ifdef _LIBC - if (newmem != NULL) - transmem_list = transmem_list->next; - else - { - struct transmem_list *old = transmem_list; - - transmem_list = transmem_list->next; - free (old); - } -# endif - } - else - { - malloc_count = 1; - freemem_size = INITIAL_BLOCK_SIZE; - newmem = (transmem_block_t *) malloc (freemem_size); - } - if (__builtin_expect (newmem == NULL, 0)) - { - freemem = NULL; - freemem_size = 0; - __libc_lock_unlock (lock); - goto converted; - } - -# ifdef _LIBC - /* Add the block to the list of blocks we have to free - at some point. */ - newmem->next = transmem_list; - transmem_list = newmem; - - freemem = newmem->data; - freemem_size -= offsetof (struct transmem_list, data); -# else - transmem_list = newmem; - freemem = newmem; -# endif - - outbuf = freemem + sizeof (size_t); - } - - /* We have now in our buffer a converted string. Put this - into the table of conversions. */ - *(size_t *) freemem = outbuf - freemem - sizeof (size_t); - domain->conv_tab[act] = (char *) freemem; - /* Shrink freemem, but keep it aligned. */ - freemem_size -= outbuf - freemem; - freemem = outbuf; - freemem += freemem_size & (alignof (size_t) - 1); - freemem_size = freemem_size & ~ (alignof (size_t) - 1); - - __libc_lock_unlock (lock); - } - - /* Now domain->conv_tab[act] contains the translation of all - the plural variants. */ - result = domain->conv_tab[act] + sizeof (size_t); - resultlen = *(size_t *) domain->conv_tab[act]; - } - - converted: - /* The result string is converted. */ - -#endif /* _LIBC || HAVE_ICONV */ - - *lengthp = resultlen; - return result; -} - - -/* Look up a plural variant. */ -static char * -internal_function -plural_lookup (domain, n, translation, translation_len) - struct loaded_l10nfile *domain; - unsigned long int n; - const char *translation; - size_t translation_len; -{ - struct loaded_domain *domaindata = (struct loaded_domain *) domain->data; - unsigned long int index; - const char *p; - - index = plural_eval (domaindata->plural, n); - if (index >= domaindata->nplurals) - /* This should never happen. It means the plural expression and the - given maximum value do not match. */ - index = 0; - - /* Skip INDEX strings at TRANSLATION. */ - p = translation; - while (index-- > 0) - { -#ifdef _LIBC - p = __rawmemchr (p, '\0'); -#else - p = strchr (p, '\0'); -#endif - /* And skip over the NUL byte. */ - p++; - - if (p >= translation + translation_len) - /* This should never happen. It means the plural expression - evaluated to a value larger than the number of variants - available for MSGID1. */ - return (char *) translation; - } - return (char *) p; -} - -#ifndef _LIBC -/* Return string representation of locale CATEGORY. */ -static const char * -internal_function -category_to_name (category) - int category; -{ - const char *retval; - - switch (category) - { -#ifdef LC_COLLATE - case LC_COLLATE: - retval = "LC_COLLATE"; - break; -#endif -#ifdef LC_CTYPE - case LC_CTYPE: - retval = "LC_CTYPE"; - break; -#endif -#ifdef LC_MONETARY - case LC_MONETARY: - retval = "LC_MONETARY"; - break; -#endif -#ifdef LC_NUMERIC - case LC_NUMERIC: - retval = "LC_NUMERIC"; - break; -#endif -#ifdef LC_TIME - case LC_TIME: - retval = "LC_TIME"; - break; -#endif -#ifdef LC_MESSAGES - case LC_MESSAGES: - retval = "LC_MESSAGES"; - break; -#endif -#ifdef LC_RESPONSE - case LC_RESPONSE: - retval = "LC_RESPONSE"; - break; -#endif -#ifdef LC_ALL - case LC_ALL: - /* This might not make sense but is perhaps better than any other - value. */ - retval = "LC_ALL"; - break; -#endif - default: - /* If you have a better idea for a default value let me know. */ - retval = "LC_XXX"; - } - - return retval; -} -#endif - -/* Guess value of current locale from value of the environment variables. */ -static const char * -internal_function -guess_category_value (category, categoryname) - int category; - const char *categoryname; -{ - const char *language; - const char *retval; - - /* The highest priority value is the `LANGUAGE' environment - variable. But we don't use the value if the currently selected - locale is the C locale. This is a GNU extension. */ - language = getenv ("LANGUAGE"); - if (language != NULL && language[0] == '\0') - language = NULL; - - /* We have to proceed with the POSIX methods of looking to `LC_ALL', - `LC_xxx', and `LANG'. On some systems this can be done by the - `setlocale' function itself. */ -#ifdef _LIBC - retval = __current_locale_name (category); -#else - retval = _nl_locale_name (category, categoryname); -#endif - - /* Ignore LANGUAGE if the locale is set to "C" because - 1. "C" locale usually uses the ASCII encoding, and most international - messages use non-ASCII characters. These characters get displayed - as question marks (if using glibc's iconv()) or as invalid 8-bit - characters (because other iconv()s refuse to convert most non-ASCII - characters to ASCII). In any case, the output is ugly. - 2. The precise output of some programs in the "C" locale is specified - by POSIX and should not depend on environment variables like - "LANGUAGE". We allow such programs to use gettext(). */ - return language != NULL && strcmp (retval, "C") != 0 ? language : retval; -} - -/* @@ begin of epilog @@ */ - -/* We don't want libintl.a to depend on any other library. So we - avoid the non-standard function stpcpy. In GNU C Library this - function is available, though. Also allow the symbol HAVE_STPCPY - to be defined. */ -#if !_LIBC && !HAVE_STPCPY -static char * -stpcpy (dest, src) - char *dest; - const char *src; -{ - while ((*dest++ = *src++) != '\0') - /* Do nothing. */ ; - return dest - 1; -} -#endif - -#if !_LIBC && !HAVE_MEMPCPY -static void * -mempcpy (dest, src, n) - void *dest; - const void *src; - size_t n; -{ - return (void *) ((char *) memcpy (dest, src, n) + n); -} -#endif - - -#ifdef _LIBC -/* If we want to free all resources we have to do some work at - program's end. */ -libc_freeres_fn (free_mem) -{ - void *old; - - while (_nl_domain_bindings != NULL) - { - struct binding *oldp = _nl_domain_bindings; - _nl_domain_bindings = _nl_domain_bindings->next; - if (oldp->dirname != INTUSE(_nl_default_dirname)) - /* Yes, this is a pointer comparison. */ - free (oldp->dirname); - free (oldp->codeset); - free (oldp); - } - - if (_nl_current_default_domain != _nl_default_default_domain) - /* Yes, again a pointer comparison. */ - free ((char *) _nl_current_default_domain); - - /* Remove the search tree with the known translations. */ - __tdestroy (root, free); - root = NULL; - - while (transmem_list != NULL) - { - old = transmem_list; - transmem_list = transmem_list->next; - free (old); - } -} -#endif diff --git a/intl/dcngettext.c b/intl/dcngettext.c deleted file mode 100644 index d2fb0f9..0000000 --- a/intl/dcngettext.c +++ /dev/null @@ -1,60 +0,0 @@ -/* Implementation of the dcngettext(3) function. - Copyright (C) 1995-1999, 2000, 2001, 2002 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include "gettextP.h" -#ifdef _LIBC -# include <libintl.h> -#else -# include "libgnuintl.h" -#endif - -/* @@ end of prolog @@ */ - -/* Names for the libintl functions are a problem. They must not clash - with existing names and they should follow ANSI C. But this source - code is also used in GNU C Library where the names have a __ - prefix. So we have to make a difference here. */ -#ifdef _LIBC -# define DCNGETTEXT __dcngettext -# define DCIGETTEXT __dcigettext -#else -# define DCNGETTEXT libintl_dcngettext -# define DCIGETTEXT libintl_dcigettext -#endif - -/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY - locale. */ -char * -DCNGETTEXT (domainname, msgid1, msgid2, n, category) - const char *domainname; - const char *msgid1; - const char *msgid2; - unsigned long int n; - int category; -{ - return DCIGETTEXT (domainname, msgid1, msgid2, 1, n, category); -} - -#ifdef _LIBC -/* Alias for function name in GNU C Library. */ -weak_alias (__dcngettext, dcngettext); -#endif diff --git a/intl/dgettext.c b/intl/dgettext.c deleted file mode 100644 index e497dd9..0000000 --- a/intl/dgettext.c +++ /dev/null @@ -1,60 +0,0 @@ -/* Implementation of the dgettext(3) function. - Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include "gettextP.h" - -#include <locale.h> - -#ifdef _LIBC -# include <libintl.h> -#else -# include "libgnuintl.h" -#endif - -/* @@ end of prolog @@ */ - -/* Names for the libintl functions are a problem. They must not clash - with existing names and they should follow ANSI C. But this source - code is also used in GNU C Library where the names have a __ - prefix. So we have to make a difference here. */ -#ifdef _LIBC -# define DGETTEXT __dgettext -# define DCGETTEXT INTUSE(__dcgettext) -#else -# define DGETTEXT libintl_dgettext -# define DCGETTEXT libintl_dcgettext -#endif - -/* Look up MSGID in the DOMAINNAME message catalog of the current - LC_MESSAGES locale. */ -char * -DGETTEXT (domainname, msgid) - const char *domainname; - const char *msgid; -{ - return DCGETTEXT (domainname, msgid, LC_MESSAGES); -} - -#ifdef _LIBC -/* Alias for function name in GNU C Library. */ -weak_alias (__dgettext, dgettext); -#endif diff --git a/intl/dngettext.c b/intl/dngettext.c deleted file mode 100644 index 8dee800..0000000 --- a/intl/dngettext.c +++ /dev/null @@ -1,62 +0,0 @@ -/* Implementation of the dngettext(3) function. - Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include "gettextP.h" - -#include <locale.h> - -#ifdef _LIBC -# include <libintl.h> -#else -# include "libgnuintl.h" -#endif - -/* @@ end of prolog @@ */ - -/* Names for the libintl functions are a problem. They must not clash - with existing names and they should follow ANSI C. But this source - code is also used in GNU C Library where the names have a __ - prefix. So we have to make a difference here. */ -#ifdef _LIBC -# define DNGETTEXT __dngettext -# define DCNGETTEXT __dcngettext -#else -# define DNGETTEXT libintl_dngettext -# define DCNGETTEXT libintl_dcngettext -#endif - -/* Look up MSGID in the DOMAINNAME message catalog of the current - LC_MESSAGES locale and skip message according to the plural form. */ -char * -DNGETTEXT (domainname, msgid1, msgid2, n) - const char *domainname; - const char *msgid1; - const char *msgid2; - unsigned long int n; -{ - return DCNGETTEXT (domainname, msgid1, msgid2, n, LC_MESSAGES); -} - -#ifdef _LIBC -/* Alias for function name in GNU C Library. */ -weak_alias (__dngettext, dngettext); -#endif diff --git a/intl/eval-plural.h b/intl/eval-plural.h deleted file mode 100644 index 5bf1dd1..0000000 --- a/intl/eval-plural.h +++ /dev/null @@ -1,114 +0,0 @@ -/* Plural expression evaluation. - Copyright (C) 2000-2002 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifndef STATIC -#define STATIC static -#endif - -/* Evaluate the plural expression and return an index value. */ -STATIC unsigned long int plural_eval PARAMS ((struct expression *pexp, - unsigned long int n)) - internal_function; - -STATIC -unsigned long int -internal_function -plural_eval (pexp, n) - struct expression *pexp; - unsigned long int n; -{ - switch (pexp->nargs) - { - case 0: - switch (pexp->operation) - { - case var: - return n; - case num: - return pexp->val.num; - default: - break; - } - /* NOTREACHED */ - break; - case 1: - { - /* pexp->operation must be lnot. */ - unsigned long int arg = plural_eval (pexp->val.args[0], n); - return ! arg; - } - case 2: - { - unsigned long int leftarg = plural_eval (pexp->val.args[0], n); - if (pexp->operation == lor) - return leftarg || plural_eval (pexp->val.args[1], n); - else if (pexp->operation == land) - return leftarg && plural_eval (pexp->val.args[1], n); - else - { - unsigned long int rightarg = plural_eval (pexp->val.args[1], n); - - switch (pexp->operation) - { - case mult: - return leftarg * rightarg; - case divide: -#if !INTDIV0_RAISES_SIGFPE - if (rightarg == 0) - raise (SIGFPE); -#endif - return leftarg / rightarg; - case module: -#if !INTDIV0_RAISES_SIGFPE - if (rightarg == 0) - raise (SIGFPE); -#endif - return leftarg % rightarg; - case plus: - return leftarg + rightarg; - case minus: - return leftarg - rightarg; - case less_than: - return leftarg < rightarg; - case greater_than: - return leftarg > rightarg; - case less_or_equal: - return leftarg <= rightarg; - case greater_or_equal: - return leftarg >= rightarg; - case equal: - return leftarg == rightarg; - case not_equal: - return leftarg != rightarg; - default: - break; - } - } - /* NOTREACHED */ - break; - } - case 3: - { - /* pexp->operation must be qmop. */ - unsigned long int boolarg = plural_eval (pexp->val.args[0], n); - return plural_eval (pexp->val.args[boolarg ? 1 : 2], n); - } - } - /* NOTREACHED */ - return 0; -} diff --git a/intl/explodename.c b/intl/explodename.c deleted file mode 100644 index c577c54..0000000 --- a/intl/explodename.c +++ /dev/null @@ -1,192 +0,0 @@ -/* Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. - Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include <stdlib.h> -#include <string.h> -#include <sys/types.h> - -#include "loadinfo.h" - -/* On some strange systems still no definition of NULL is found. Sigh! */ -#ifndef NULL -# if defined __STDC__ && __STDC__ -# define NULL ((void *) 0) -# else -# define NULL 0 -# endif -#endif - -/* @@ end of prolog @@ */ - -char * -_nl_find_language (name) - const char *name; -{ - while (name[0] != '\0' && name[0] != '_' && name[0] != '@' - && name[0] != '+' && name[0] != ',') - ++name; - - return (char *) name; -} - - -int -_nl_explode_name (name, language, modifier, territory, codeset, - normalized_codeset, special, sponsor, revision) - char *name; - const char **language; - const char **modifier; - const char **territory; - const char **codeset; - const char **normalized_codeset; - const char **special; - const char **sponsor; - const char **revision; -{ - enum { undecided, xpg, cen } syntax; - char *cp; - int mask; - - *modifier = NULL; - *territory = NULL; - *codeset = NULL; - *normalized_codeset = NULL; - *special = NULL; - *sponsor = NULL; - *revision = NULL; - - /* Now we determine the single parts of the locale name. First - look for the language. Termination symbols are `_' and `@' if - we use XPG4 style, and `_', `+', and `,' if we use CEN syntax. */ - mask = 0; - syntax = undecided; - *language = cp = name; - cp = _nl_find_language (*language); - - if (*language == cp) - /* This does not make sense: language has to be specified. Use - this entry as it is without exploding. Perhaps it is an alias. */ - cp = strchr (*language, '\0'); - else if (cp[0] == '_') - { - /* Next is the territory. */ - cp[0] = '\0'; - *territory = ++cp; - - while (cp[0] != '\0' && cp[0] != '.' && cp[0] != '@' - && cp[0] != '+' && cp[0] != ',' && cp[0] != '_') - ++cp; - - mask |= TERRITORY; - - if (cp[0] == '.') - { - /* Next is the codeset. */ - syntax = xpg; - cp[0] = '\0'; - *codeset = ++cp; - - while (cp[0] != '\0' && cp[0] != '@') - ++cp; - - mask |= XPG_CODESET; - - if (*codeset != cp && (*codeset)[0] != '\0') - { - *normalized_codeset = _nl_normalize_codeset (*codeset, - cp - *codeset); - if (strcmp (*codeset, *normalized_codeset) == 0) - free ((char *) *normalized_codeset); - else - mask |= XPG_NORM_CODESET; - } - } - } - - if (cp[0] == '@' || (syntax != xpg && cp[0] == '+')) - { - /* Next is the modifier. */ - syntax = cp[0] == '@' ? xpg : cen; - cp[0] = '\0'; - *modifier = ++cp; - - while (syntax == cen && cp[0] != '\0' && cp[0] != '+' - && cp[0] != ',' && cp[0] != '_') - ++cp; - - mask |= XPG_MODIFIER | CEN_AUDIENCE; - } - - if (syntax != xpg && (cp[0] == '+' || cp[0] == ',' || cp[0] == '_')) - { - syntax = cen; - - if (cp[0] == '+') - { - /* Next is special application (CEN syntax). */ - cp[0] = '\0'; - *special = ++cp; - - while (cp[0] != '\0' && cp[0] != ',' && cp[0] != '_') - ++cp; - - mask |= CEN_SPECIAL; - } - - if (cp[0] == ',') - { - /* Next is sponsor (CEN syntax). */ - cp[0] = '\0'; - *sponsor = ++cp; - - while (cp[0] != '\0' && cp[0] != '_') - ++cp; - - mask |= CEN_SPONSOR; - } - - if (cp[0] == '_') - { - /* Next is revision (CEN syntax). */ - cp[0] = '\0'; - *revision = ++cp; - - mask |= CEN_REVISION; - } - } - - /* For CEN syntax values it might be important to have the - separator character in the file name, not for XPG syntax. */ - if (syntax == xpg) - { - if (*territory != NULL && (*territory)[0] == '\0') - mask &= ~TERRITORY; - - if (*codeset != NULL && (*codeset)[0] == '\0') - mask &= ~XPG_CODESET; - - if (*modifier != NULL && (*modifier)[0] == '\0') - mask &= ~XPG_MODIFIER; - } - - return mask; -} diff --git a/intl/finddomain.c b/intl/finddomain.c deleted file mode 100644 index e12a638..0000000 --- a/intl/finddomain.c +++ /dev/null @@ -1,195 +0,0 @@ -/* Handle list of needed message catalogs - Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc. - Written by Ulrich Drepper <drepper@gnu.org>, 1995. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include <stdio.h> -#include <sys/types.h> -#include <stdlib.h> -#include <string.h> - -#if defined HAVE_UNISTD_H || defined _LIBC -# include <unistd.h> -#endif - -#include "gettextP.h" -#ifdef _LIBC -# include <libintl.h> -#else -# include "libgnuintl.h" -#endif - -/* @@ end of prolog @@ */ -/* List of already loaded domains. */ -static struct loaded_l10nfile *_nl_loaded_domains; - - -/* Return a data structure describing the message catalog described by - the DOMAINNAME and CATEGORY parameters with respect to the currently - established bindings. */ -struct loaded_l10nfile * -internal_function -_nl_find_domain (dirname, locale, domainname, domainbinding) - const char *dirname; - char *locale; - const char *domainname; - struct binding *domainbinding; -{ - struct loaded_l10nfile *retval; - const char *language; - const char *modifier; - const char *territory; - const char *codeset; - const char *normalized_codeset; - const char *special; - const char *sponsor; - const char *revision; - const char *alias_value; - int mask; - - /* LOCALE can consist of up to four recognized parts for the XPG syntax: - - language[_territory[.codeset]][@modifier] - - and six parts for the CEN syntax: - - language[_territory][+audience][+special][,[sponsor][_revision]] - - Beside the first part all of them are allowed to be missing. If - the full specified locale is not found, the less specific one are - looked for. The various parts will be stripped off according to - the following order: - (1) revision - (2) sponsor - (3) special - (4) codeset - (5) normalized codeset - (6) territory - (7) audience/modifier - */ - - /* If we have already tested for this locale entry there has to - be one data set in the list of loaded domains. */ - retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname, - strlen (dirname) + 1, 0, locale, NULL, NULL, - NULL, NULL, NULL, NULL, NULL, domainname, 0); - if (retval != NULL) - { - /* We know something about this locale. */ - int cnt; - - if (retval->decided == 0) - _nl_load_domain (retval, domainbinding); - - if (retval->data != NULL) - return retval; - - for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) - { - if (retval->successor[cnt]->decided == 0) - _nl_load_domain (retval->successor[cnt], domainbinding); - - if (retval->successor[cnt]->data != NULL) - break; - } - return cnt >= 0 ? retval : NULL; - /* NOTREACHED */ - } - - /* See whether the locale value is an alias. If yes its value - *overwrites* the alias name. No test for the original value is - done. */ - alias_value = _nl_expand_alias (locale); - if (alias_value != NULL) - { -#if defined _LIBC || defined HAVE_STRDUP - locale = strdup (alias_value); - if (locale == NULL) - return NULL; -#else - size_t len = strlen (alias_value) + 1; - locale = (char *) malloc (len); - if (locale == NULL) - return NULL; - - memcpy (locale, alias_value, len); -#endif - } - - /* Now we determine the single parts of the locale name. First - look for the language. Termination symbols are `_' and `@' if - we use XPG4 style, and `_', `+', and `,' if we use CEN syntax. */ - mask = _nl_explode_name (locale, &language, &modifier, &territory, - &codeset, &normalized_codeset, &special, - &sponsor, &revision); - - /* Create all possible locale entries which might be interested in - generalization. */ - retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname, - strlen (dirname) + 1, mask, language, territory, - codeset, normalized_codeset, modifier, special, - sponsor, revision, domainname, 1); - if (retval == NULL) - /* This means we are out of core. */ - return NULL; - - if (retval->decided == 0) - _nl_load_domain (retval, domainbinding); - if (retval->data == NULL) - { - int cnt; - for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) - { - if (retval->successor[cnt]->decided == 0) - _nl_load_domain (retval->successor[cnt], domainbinding); - if (retval->successor[cnt]->data != NULL) - break; - } - } - - /* The room for an alias was dynamically allocated. Free it now. */ - if (alias_value != NULL) - free (locale); - - /* The space for normalized_codeset is dynamically allocated. Free it. */ - if (mask & XPG_NORM_CODESET) - free ((void *) normalized_codeset); - - return retval; -} - - -#ifdef _LIBC -libc_freeres_fn (free_mem) -{ - struct loaded_l10nfile *runp = _nl_loaded_domains; - - while (runp != NULL) - { - struct loaded_l10nfile *here = runp; - if (runp->data != NULL) - _nl_unload_domain ((struct loaded_domain *) runp->data); - runp = runp->next; - free ((char *) here->filename); - free (here); - } -} -#endif diff --git a/intl/gettext.c b/intl/gettext.c deleted file mode 100644 index 57130f4..0000000 --- a/intl/gettext.c +++ /dev/null @@ -1,64 +0,0 @@ -/* Implementation of gettext(3) function. - Copyright (C) 1995, 1997, 2000, 2001, 2002 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#ifdef _LIBC -# define __need_NULL -# include <stddef.h> -#else -# include <stdlib.h> /* Just for NULL. */ -#endif - -#include "gettextP.h" -#ifdef _LIBC -# include <libintl.h> -#else -# include "libgnuintl.h" -#endif - -/* @@ end of prolog @@ */ - -/* Names for the libintl functions are a problem. They must not clash - with existing names and they should follow ANSI C. But this source - code is also used in GNU C Library where the names have a __ - prefix. So we have to make a difference here. */ -#ifdef _LIBC -# define GETTEXT __gettext -# define DCGETTEXT INTUSE(__dcgettext) -#else -# define GETTEXT libintl_gettext -# define DCGETTEXT libintl_dcgettext -#endif - -/* Look up MSGID in the current default message catalog for the current - LC_MESSAGES locale. If not found, returns MSGID itself (the default - text). */ -char * -GETTEXT (msgid) - const char *msgid; -{ - return DCGETTEXT (NULL, msgid, LC_MESSAGES); -} - -#ifdef _LIBC -/* Alias for function name in GNU C Library. */ -weak_alias (__gettext, gettext); -#endif diff --git a/intl/gettextP.h b/intl/gettextP.h deleted file mode 100644 index 3ff2dd7..0000000 --- a/intl/gettextP.h +++ /dev/null @@ -1,224 +0,0 @@ -/* Header describing internals of libintl library. - Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. - Written by Ulrich Drepper <drepper@cygnus.com>, 1995. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifndef _GETTEXTP_H -#define _GETTEXTP_H - -#include <stddef.h> /* Get size_t. */ - -#ifdef _LIBC -# include "../iconv/gconv_int.h" -#else -# if HAVE_ICONV -# include <iconv.h> -# endif -#endif - -#include "loadinfo.h" - -#include "gmo.h" /* Get nls_uint32. */ - -/* @@ end of prolog @@ */ - -#ifndef PARAMS -# if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES -# define PARAMS(args) args -# else -# define PARAMS(args) () -# endif -#endif - -#ifndef internal_function -# define internal_function -#endif - -#ifndef attribute_hidden -# define attribute_hidden -#endif - -/* Tell the compiler when a conditional or integer expression is - almost always true or almost always false. */ -#ifndef HAVE_BUILTIN_EXPECT -# define __builtin_expect(expr, val) (expr) -#endif - -#ifndef W -# define W(flag, data) ((flag) ? SWAP (data) : (data)) -#endif - - -#ifdef _LIBC -# include <byteswap.h> -# define SWAP(i) bswap_32 (i) -#else -static inline nls_uint32 -SWAP (i) - nls_uint32 i; -{ - return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24); -} -#endif - - -/* In-memory representation of system dependent string. */ -struct sysdep_string_desc -{ - /* Length of addressed string, including the trailing NUL. */ - size_t length; - /* Pointer to addressed string. */ - const char *pointer; -}; - -/* The representation of an opened message catalog. */ -struct loaded_domain -{ - /* Pointer to memory containing the .mo file. */ - const char *data; - /* 1 if the memory is mmap()ed, 0 if the memory is malloc()ed. */ - int use_mmap; - /* Size of mmap()ed memory. */ - size_t mmap_size; - /* 1 if the .mo file uses a different endianness than this machine. */ - int must_swap; - /* Pointer to additional malloc()ed memory. */ - void *malloced; - - /* Number of static strings pairs. */ - nls_uint32 nstrings; - /* Pointer to descriptors of original strings in the file. */ - const struct string_desc *orig_tab; - /* Pointer to descriptors of translated strings in the file. */ - const struct string_desc *trans_tab; - - /* Number of system dependent strings pairs. */ - nls_uint32 n_sysdep_strings; - /* Pointer to descriptors of original sysdep strings. */ - const struct sysdep_string_desc *orig_sysdep_tab; - /* Pointer to descriptors of translated sysdep strings. */ - const struct sysdep_string_desc *trans_sysdep_tab; - - /* Size of hash table. */ - nls_uint32 hash_size; - /* Pointer to hash table. */ - const nls_uint32 *hash_tab; - /* 1 if the hash table uses a different endianness than this machine. */ - int must_swap_hash_tab; - - int codeset_cntr; -#ifdef _LIBC - __gconv_t conv; -#else -# if HAVE_ICONV - iconv_t conv; -# endif -#endif - char **conv_tab; - - struct expression *plural; - unsigned long int nplurals; -}; - -/* We want to allocate a string at the end of the struct. But ISO C - doesn't allow zero sized arrays. */ -#ifdef __GNUC__ -# define ZERO 0 -#else -# define ZERO 1 -#endif - -/* A set of settings bound to a message domain. Used to store settings - from bindtextdomain() and bind_textdomain_codeset(). */ -struct binding -{ - struct binding *next; - char *dirname; - int codeset_cntr; /* Incremented each time codeset changes. */ - char *codeset; - char domainname[ZERO]; -}; - -/* A counter which is incremented each time some previous translations - become invalid. - This variable is part of the external ABI of the GNU libintl. */ -extern int _nl_msg_cat_cntr; - -#ifndef _LIBC -const char *_nl_locale_name PARAMS ((int category, const char *categoryname)); -#endif - -struct loaded_l10nfile *_nl_find_domain PARAMS ((const char *__dirname, - char *__locale, - const char *__domainname, - struct binding *__domainbinding)) - internal_function; -void _nl_load_domain PARAMS ((struct loaded_l10nfile *__domain, - struct binding *__domainbinding)) - internal_function; -void _nl_unload_domain PARAMS ((struct loaded_domain *__domain)) - internal_function; -const char *_nl_init_domain_conv PARAMS ((struct loaded_l10nfile *__domain_file, - struct loaded_domain *__domain, - struct binding *__domainbinding)) - internal_function; -void _nl_free_domain_conv PARAMS ((struct loaded_domain *__domain)) - internal_function; - -char *_nl_find_msg PARAMS ((struct loaded_l10nfile *domain_file, - struct binding *domainbinding, - const char *msgid, size_t *lengthp)) - internal_function; - -#ifdef _LIBC -extern char *__gettext PARAMS ((const char *__msgid)); -extern char *__dgettext PARAMS ((const char *__domainname, - const char *__msgid)); -extern char *__dcgettext PARAMS ((const char *__domainname, - const char *__msgid, int __category)); -extern char *__ngettext PARAMS ((const char *__msgid1, const char *__msgid2, - unsigned long int __n)); -extern char *__dngettext PARAMS ((const char *__domainname, - const char *__msgid1, const char *__msgid2, - unsigned long int n)); -extern char *__dcngettext PARAMS ((const char *__domainname, - const char *__msgid1, const char *__msgid2, - unsigned long int __n, int __category)); -extern char *__dcigettext PARAMS ((const char *__domainname, - const char *__msgid1, const char *__msgid2, - int __plural, unsigned long int __n, - int __category)); -extern char *__textdomain PARAMS ((const char *__domainname)); -extern char *__bindtextdomain PARAMS ((const char *__domainname, - const char *__dirname)); -extern char *__bind_textdomain_codeset PARAMS ((const char *__domainname, - const char *__codeset)); -#else -/* Declare the exported libintl_* functions, in a way that allows us to - call them under their real name. */ -# define _INTL_REDIRECT_MACROS -# include "libintl.h" -extern char *libintl_dcigettext PARAMS ((const char *__domainname, - const char *__msgid1, - const char *__msgid2, - int __plural, unsigned long int __n, - int __category)); -#endif - -/* @@ begin of epilog @@ */ - -#endif /* gettextP.h */ diff --git a/intl/gmo.h b/intl/gmo.h deleted file mode 100644 index ccebb3a..0000000 --- a/intl/gmo.h +++ /dev/null @@ -1,148 +0,0 @@ -/* Description of GNU message catalog format: general file layout. - Copyright (C) 1995, 1997, 2000-2002 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifndef _GETTEXT_H -#define _GETTEXT_H 1 - -#include <limits.h> - -/* @@ end of prolog @@ */ - -/* The magic number of the GNU message catalog format. */ -#define _MAGIC 0x950412de -#define _MAGIC_SWAPPED 0xde120495 - -/* Revision number of the currently used .mo (binary) file format. */ -#define MO_REVISION_NUMBER 0 - -/* The following contortions are an attempt to use the C preprocessor - to determine an unsigned integral type that is 32 bits wide. An - alternative approach is to use autoconf's AC_CHECK_SIZEOF macro, but - as of version autoconf-2.13, the AC_CHECK_SIZEOF macro doesn't work - when cross-compiling. */ - -#if __STDC__ -# define UINT_MAX_32_BITS 4294967295U -#else -# define UINT_MAX_32_BITS 0xFFFFFFFF -#endif - -/* If UINT_MAX isn't defined, assume it's a 32-bit type. - This should be valid for all systems GNU cares about because - that doesn't include 16-bit systems, and only modern systems - (that certainly have <limits.h>) have 64+-bit integral types. */ - -#ifndef UINT_MAX -# define UINT_MAX UINT_MAX_32_BITS -#endif - -#if UINT_MAX == UINT_MAX_32_BITS -typedef unsigned nls_uint32; -#else -# if USHRT_MAX == UINT_MAX_32_BITS -typedef unsigned short nls_uint32; -# else -# if ULONG_MAX == UINT_MAX_32_BITS -typedef unsigned long nls_uint32; -# else - /* The following line is intended to throw an error. Using #error is - not portable enough. */ - "Cannot determine unsigned 32-bit data type." -# endif -# endif -#endif - - -/* Header for binary .mo file format. */ -struct mo_file_header -{ - /* The magic number. */ - nls_uint32 magic; - /* The revision number of the file format. */ - nls_uint32 revision; - - /* The following are only used in .mo files with major revision 0. */ - - /* The number of strings pairs. */ - nls_uint32 nstrings; - /* Offset of table with start offsets of original strings. */ - nls_uint32 orig_tab_offset; - /* Offset of table with start offsets of translated strings. */ - nls_uint32 trans_tab_offset; - /* Size of hash table. */ - nls_uint32 hash_tab_size; - /* Offset of first hash table entry. */ - nls_uint32 hash_tab_offset; - - /* The following are only used in .mo files with minor revision >= 1. */ - - /* The number of system dependent segments. */ - nls_uint32 n_sysdep_segments; - /* Offset of table describing system dependent segments. */ - nls_uint32 sysdep_segments_offset; - /* The number of system dependent strings pairs. */ - nls_uint32 n_sysdep_strings; - /* Offset of table with start offsets of original sysdep strings. */ - nls_uint32 orig_sysdep_tab_offset; - /* Offset of table with start offsets of translated sysdep strings. */ - nls_uint32 trans_sysdep_tab_offset; -}; - -/* Descriptor for static string contained in the binary .mo file. */ -struct string_desc -{ - /* Length of addressed string, not including the trailing NUL. */ - nls_uint32 length; - /* Offset of string in file. */ - nls_uint32 offset; -}; - -/* The following are only used in .mo files with minor revision >= 1. */ - -/* Descriptor for system dependent string segment. */ -struct sysdep_segment -{ - /* Length of addressed string, including the trailing NUL. */ - nls_uint32 length; - /* Offset of string in file. */ - nls_uint32 offset; -}; - -/* Descriptor for system dependent string. */ -struct sysdep_string -{ - /* Offset of static string segments in file. */ - nls_uint32 offset; - /* Alternating sequence of static and system dependent segments. - The last segment is a static segment, including the trailing NUL. */ - struct segment_pair - { - /* Size of static segment. */ - nls_uint32 segsize; - /* Reference to system dependent string segment, or ~0 at the end. */ - nls_uint32 sysdepref; - } segments[1]; -}; - -/* Marker for the end of the segments[] array. This has the value 0xFFFFFFFF, - regardless whether 'int' is 16 bit, 32 bit, or 64 bit. */ -#define SEGMENTS_END ((nls_uint32) ~0) - -/* @@ begin of epilog @@ */ - -#endif /* gettext.h */ diff --git a/intl/hash-string.h b/intl/hash-string.h deleted file mode 100644 index 6eab80f..0000000 --- a/intl/hash-string.h +++ /dev/null @@ -1,59 +0,0 @@ -/* Description of GNU message catalog format: string hashing function. - Copyright (C) 1995, 1997, 1998, 2000, 2001 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -/* @@ end of prolog @@ */ - -#ifndef PARAMS -# if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES -# define PARAMS(Args) Args -# else -# define PARAMS(Args) () -# endif -#endif - -/* We assume to have `unsigned long int' value with at least 32 bits. */ -#define HASHWORDBITS 32 - - -/* Defines the so called `hashpjw' function by P.J. Weinberger - [see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools, - 1986, 1987 Bell Telephone Laboratories, Inc.] */ -static unsigned long int hash_string PARAMS ((const char *__str_param)); - -static inline unsigned long int -hash_string (str_param) - const char *str_param; -{ - unsigned long int hval, g; - const char *str = str_param; - - /* Compute the hash value for the given string. */ - hval = 0; - while (*str != '\0') - { - hval <<= 4; - hval += (unsigned long int) *str++; - g = hval & ((unsigned long int) 0xf << (HASHWORDBITS - 4)); - if (g != 0) - { - hval ^= g >> (HASHWORDBITS - 8); - hval ^= g; - } - } - return hval; -} diff --git a/intl/intl-compat.c b/intl/intl-compat.c deleted file mode 100644 index 71a621a..0000000 --- a/intl/intl-compat.c +++ /dev/null @@ -1,151 +0,0 @@ -/* intl-compat.c - Stub functions to call gettext functions from GNU gettext - Library. - Copyright (C) 1995, 2000-2003 Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include "gettextP.h" - -/* @@ end of prolog @@ */ - -/* This file redirects the gettext functions (without prefix) to those - defined in the included GNU libintl library (with "libintl_" prefix). - It is compiled into libintl in order to make the AM_GNU_GETTEXT test - of gettext <= 0.11.2 work with the libintl library >= 0.11.3 which - has the redirections primarily in the <libintl.h> include file. - It is also compiled into libgnuintl so that libgnuintl.so can be used - as LD_PRELOADable library on glibc systems, to provide the extra - features that the functions in the libc don't have (namely, logging). */ - - -#undef gettext -#undef dgettext -#undef dcgettext -#undef ngettext -#undef dngettext -#undef dcngettext -#undef textdomain -#undef bindtextdomain -#undef bind_textdomain_codeset - - -/* When building a DLL, we must export some functions. Note that because - the functions are only defined for binary backward compatibility, we - don't need to use __declspec(dllimport) in any case. */ -#if defined _MSC_VER && BUILDING_DLL -# define DLL_EXPORTED __declspec(dllexport) -#else -# define DLL_EXPORTED -#endif - - -DLL_EXPORTED -char * -gettext (msgid) - const char *msgid; -{ - return libintl_gettext (msgid); -} - - -DLL_EXPORTED -char * -dgettext (domainname, msgid) - const char *domainname; - const char *msgid; -{ - return libintl_dgettext (domainname, msgid); -} - - -DLL_EXPORTED -char * -dcgettext (domainname, msgid, category) - const char *domainname; - const char *msgid; - int category; -{ - return libintl_dcgettext (domainname, msgid, category); -} - - -DLL_EXPORTED -char * -ngettext (msgid1, msgid2, n) - const char *msgid1; - const char *msgid2; - unsigned long int n; -{ - return libintl_ngettext (msgid1, msgid2, n); -} - - -DLL_EXPORTED -char * -dngettext (domainname, msgid1, msgid2, n) - const char *domainname; - const char *msgid1; - const char *msgid2; - unsigned long int n; -{ - return libintl_dngettext (domainname, msgid1, msgid2, n); -} - - -DLL_EXPORTED -char * -dcngettext (domainname, msgid1, msgid2, n, category) - const char *domainname; - const char *msgid1; - const char *msgid2; - unsigned long int n; - int category; -{ - return libintl_dcngettext (domainname, msgid1, msgid2, n, category); -} - - -DLL_EXPORTED -char * -textdomain (domainname) - const char *domainname; -{ - return libintl_textdomain (domainname); -} - - -DLL_EXPORTED -char * -bindtextdomain (domainname, dirname) - const char *domainname; - const char *dirname; -{ - return libintl_bindtextdomain (domainname, dirname); -} - - -DLL_EXPORTED -char * -bind_textdomain_codeset (domainname, codeset) - const char *domainname; - const char *codeset; -{ - return libintl_bind_textdomain_codeset (domainname, codeset); -} diff --git a/intl/l10nflist.c b/intl/l10nflist.c deleted file mode 100644 index e858a99..0000000 --- a/intl/l10nflist.c +++ /dev/null @@ -1,453 +0,0 @@ -/* Copyright (C) 1995-1999, 2000, 2001, 2002 Free Software Foundation, Inc. - Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -/* Tell glibc's <string.h> to provide a prototype for stpcpy(). - This must come before <config.h> because <config.h> may include - <features.h>, and once <features.h> has been included, it's too late. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include <string.h> - -#if defined _LIBC || defined HAVE_ARGZ_H -# include <argz.h> -#endif -#include <ctype.h> -#include <sys/types.h> -#include <stdlib.h> - -#include "loadinfo.h" - -/* On some strange systems still no definition of NULL is found. Sigh! */ -#ifndef NULL -# if defined __STDC__ && __STDC__ -# define NULL ((void *) 0) -# else -# define NULL 0 -# endif -#endif - -/* @@ end of prolog @@ */ - -#ifdef _LIBC -/* Rename the non ANSI C functions. This is required by the standard - because some ANSI C functions will require linking with this object - file and the name space must not be polluted. */ -# ifndef stpcpy -# define stpcpy(dest, src) __stpcpy(dest, src) -# endif -#else -# ifndef HAVE_STPCPY -static char *stpcpy PARAMS ((char *dest, const char *src)); -# endif -#endif - -/* Pathname support. - ISSLASH(C) tests whether C is a directory separator character. - IS_ABSOLUTE_PATH(P) tests whether P is an absolute path. If it is not, - it may be concatenated to a directory pathname. - */ -#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ - /* Win32, OS/2, DOS */ -# define ISSLASH(C) ((C) == '/' || (C) == '\\') -# define HAS_DEVICE(P) \ - ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ - && (P)[1] == ':') -# define IS_ABSOLUTE_PATH(P) (ISSLASH ((P)[0]) || HAS_DEVICE (P)) -#else - /* Unix */ -# define ISSLASH(C) ((C) == '/') -# define IS_ABSOLUTE_PATH(P) ISSLASH ((P)[0]) -#endif - -/* Define function which are usually not available. */ - -#if !defined _LIBC && !defined HAVE___ARGZ_COUNT -/* Returns the number of strings in ARGZ. */ -static size_t argz_count__ PARAMS ((const char *argz, size_t len)); - -static size_t -argz_count__ (argz, len) - const char *argz; - size_t len; -{ - size_t count = 0; - while (len > 0) - { - size_t part_len = strlen (argz); - argz += part_len + 1; - len -= part_len + 1; - count++; - } - return count; -} -# undef __argz_count -# define __argz_count(argz, len) argz_count__ (argz, len) -#else -# ifdef _LIBC -# define __argz_count(argz, len) INTUSE(__argz_count) (argz, len) -# endif -#endif /* !_LIBC && !HAVE___ARGZ_COUNT */ - -#if !defined _LIBC && !defined HAVE___ARGZ_STRINGIFY -/* Make '\0' separated arg vector ARGZ printable by converting all the '\0's - except the last into the character SEP. */ -static void argz_stringify__ PARAMS ((char *argz, size_t len, int sep)); - -static void -argz_stringify__ (argz, len, sep) - char *argz; - size_t len; - int sep; -{ - while (len > 0) - { - size_t part_len = strlen (argz); - argz += part_len; - len -= part_len + 1; - if (len > 0) - *argz++ = sep; - } -} -# undef __argz_stringify -# define __argz_stringify(argz, len, sep) argz_stringify__ (argz, len, sep) -#else -# ifdef _LIBC -# define __argz_stringify(argz, len, sep) \ - INTUSE(__argz_stringify) (argz, len, sep) -# endif -#endif /* !_LIBC && !HAVE___ARGZ_STRINGIFY */ - -#if !defined _LIBC && !defined HAVE___ARGZ_NEXT -static char *argz_next__ PARAMS ((char *argz, size_t argz_len, - const char *entry)); - -static char * -argz_next__ (argz, argz_len, entry) - char *argz; - size_t argz_len; - const char *entry; -{ - if (entry) - { - if (entry < argz + argz_len) - entry = strchr (entry, '\0') + 1; - - return entry >= argz + argz_len ? NULL : (char *) entry; - } - else - if (argz_len > 0) - return argz; - else - return 0; -} -# undef __argz_next -# define __argz_next(argz, len, entry) argz_next__ (argz, len, entry) -#endif /* !_LIBC && !HAVE___ARGZ_NEXT */ - - -/* Return number of bits set in X. */ -static int pop PARAMS ((int x)); - -static inline int -pop (x) - int x; -{ - /* We assume that no more than 16 bits are used. */ - x = ((x & ~0x5555) >> 1) + (x & 0x5555); - x = ((x & ~0x3333) >> 2) + (x & 0x3333); - x = ((x >> 4) + x) & 0x0f0f; - x = ((x >> 8) + x) & 0xff; - - return x; -} - - -struct loaded_l10nfile * -_nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, mask, language, - territory, codeset, normalized_codeset, modifier, special, - sponsor, revision, filename, do_allocate) - struct loaded_l10nfile **l10nfile_list; - const char *dirlist; - size_t dirlist_len; - int mask; - const char *language; - const char *territory; - const char *codeset; - const char *normalized_codeset; - const char *modifier; - const char *special; - const char *sponsor; - const char *revision; - const char *filename; - int do_allocate; -{ - char *abs_filename; - struct loaded_l10nfile **lastp; - struct loaded_l10nfile *retval; - char *cp; - size_t dirlist_count; - size_t entries; - int cnt; - - /* If LANGUAGE contains an absolute directory specification, we ignore - DIRLIST. */ - if (IS_ABSOLUTE_PATH (language)) - dirlist_len = 0; - - /* Allocate room for the full file name. */ - abs_filename = (char *) malloc (dirlist_len - + strlen (language) - + ((mask & TERRITORY) != 0 - ? strlen (territory) + 1 : 0) - + ((mask & XPG_CODESET) != 0 - ? strlen (codeset) + 1 : 0) - + ((mask & XPG_NORM_CODESET) != 0 - ? strlen (normalized_codeset) + 1 : 0) - + (((mask & XPG_MODIFIER) != 0 - || (mask & CEN_AUDIENCE) != 0) - ? strlen (modifier) + 1 : 0) - + ((mask & CEN_SPECIAL) != 0 - ? strlen (special) + 1 : 0) - + (((mask & CEN_SPONSOR) != 0 - || (mask & CEN_REVISION) != 0) - ? (1 + ((mask & CEN_SPONSOR) != 0 - ? strlen (sponsor) : 0) - + ((mask & CEN_REVISION) != 0 - ? strlen (revision) + 1 : 0)) : 0) - + 1 + strlen (filename) + 1); - - if (abs_filename == NULL) - return NULL; - - /* Construct file name. */ - cp = abs_filename; - if (dirlist_len > 0) - { - memcpy (cp, dirlist, dirlist_len); - __argz_stringify (cp, dirlist_len, PATH_SEPARATOR); - cp += dirlist_len; - cp[-1] = '/'; - } - - cp = stpcpy (cp, language); - - if ((mask & TERRITORY) != 0) - { - *cp++ = '_'; - cp = stpcpy (cp, territory); - } - if ((mask & XPG_CODESET) != 0) - { - *cp++ = '.'; - cp = stpcpy (cp, codeset); - } - if ((mask & XPG_NORM_CODESET) != 0) - { - *cp++ = '.'; - cp = stpcpy (cp, normalized_codeset); - } - if ((mask & (XPG_MODIFIER | CEN_AUDIENCE)) != 0) - { - /* This component can be part of both syntaces but has different - leading characters. For CEN we use `+', else `@'. */ - *cp++ = (mask & CEN_AUDIENCE) != 0 ? '+' : '@'; - cp = stpcpy (cp, modifier); - } - if ((mask & CEN_SPECIAL) != 0) - { - *cp++ = '+'; - cp = stpcpy (cp, special); - } - if ((mask & (CEN_SPONSOR | CEN_REVISION)) != 0) - { - *cp++ = ','; - if ((mask & CEN_SPONSOR) != 0) - cp = stpcpy (cp, sponsor); - if ((mask & CEN_REVISION) != 0) - { - *cp++ = '_'; - cp = stpcpy (cp, revision); - } - } - - *cp++ = '/'; - stpcpy (cp, filename); - - /* Look in list of already loaded domains whether it is already - available. */ - lastp = l10nfile_list; - for (retval = *l10nfile_list; retval != NULL; retval = retval->next) - if (retval->filename != NULL) - { - int compare = strcmp (retval->filename, abs_filename); - if (compare == 0) - /* We found it! */ - break; - if (compare < 0) - { - /* It's not in the list. */ - retval = NULL; - break; - } - - lastp = &retval->next; - } - - if (retval != NULL || do_allocate == 0) - { - free (abs_filename); - return retval; - } - - dirlist_count = (dirlist_len > 0 ? __argz_count (dirlist, dirlist_len) : 1); - - /* Allocate a new loaded_l10nfile. */ - retval = - (struct loaded_l10nfile *) - malloc (sizeof (*retval) - + (((dirlist_count << pop (mask)) + (dirlist_count > 1 ? 1 : 0)) - * sizeof (struct loaded_l10nfile *))); - if (retval == NULL) - return NULL; - - retval->filename = abs_filename; - - /* We set retval->data to NULL here; it is filled in later. - Setting retval->decided to 1 here means that retval does not - correspond to a real file (dirlist_count > 1) or is not worth - looking up (if an unnormalized codeset was specified). */ - retval->decided = (dirlist_count > 1 - || ((mask & XPG_CODESET) != 0 - && (mask & XPG_NORM_CODESET) != 0)); - retval->data = NULL; - - retval->next = *lastp; - *lastp = retval; - - entries = 0; - /* Recurse to fill the inheritance list of RETVAL. - If the DIRLIST is a real list (i.e. DIRLIST_COUNT > 1), the RETVAL - entry does not correspond to a real file; retval->filename contains - colons. In this case we loop across all elements of DIRLIST and - across all bit patterns dominated by MASK. - If the DIRLIST is a single directory or entirely redundant (i.e. - DIRLIST_COUNT == 1), we loop across all bit patterns dominated by - MASK, excluding MASK itself. - In either case, we loop down from MASK to 0. This has the effect - that the extra bits in the locale name are dropped in this order: - first the modifier, then the territory, then the codeset, then the - normalized_codeset. */ - for (cnt = dirlist_count > 1 ? mask : mask - 1; cnt >= 0; --cnt) - if ((cnt & ~mask) == 0 - && ((cnt & CEN_SPECIFIC) == 0 || (cnt & XPG_SPECIFIC) == 0) - && ((cnt & XPG_CODESET) == 0 || (cnt & XPG_NORM_CODESET) == 0)) - { - if (dirlist_count > 1) - { - /* Iterate over all elements of the DIRLIST. */ - char *dir = NULL; - - while ((dir = __argz_next ((char *) dirlist, dirlist_len, dir)) - != NULL) - retval->successor[entries++] - = _nl_make_l10nflist (l10nfile_list, dir, strlen (dir) + 1, - cnt, language, territory, codeset, - normalized_codeset, modifier, special, - sponsor, revision, filename, 1); - } - else - retval->successor[entries++] - = _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, - cnt, language, territory, codeset, - normalized_codeset, modifier, special, - sponsor, revision, filename, 1); - } - retval->successor[entries] = NULL; - - return retval; -} - -/* Normalize codeset name. There is no standard for the codeset - names. Normalization allows the user to use any of the common - names. The return value is dynamically allocated and has to be - freed by the caller. */ -const char * -_nl_normalize_codeset (codeset, name_len) - const char *codeset; - size_t name_len; -{ - int len = 0; - int only_digit = 1; - char *retval; - char *wp; - size_t cnt; - - for (cnt = 0; cnt < name_len; ++cnt) - if (isalnum ((unsigned char) codeset[cnt])) - { - ++len; - - if (isalpha ((unsigned char) codeset[cnt])) - only_digit = 0; - } - - retval = (char *) malloc ((only_digit ? 3 : 0) + len + 1); - - if (retval != NULL) - { - if (only_digit) - wp = stpcpy (retval, "iso"); - else - wp = retval; - - for (cnt = 0; cnt < name_len; ++cnt) - if (isalpha ((unsigned char) codeset[cnt])) - *wp++ = tolower ((unsigned char) codeset[cnt]); - else if (isdigit ((unsigned char) codeset[cnt])) - *wp++ = codeset[cnt]; - - *wp = '\0'; - } - - return (const char *) retval; -} - - -/* @@ begin of epilog @@ */ - -/* We don't want libintl.a to depend on any other library. So we - avoid the non-standard function stpcpy. In GNU C Library this - function is available, though. Also allow the symbol HAVE_STPCPY - to be defined. */ -#if !_LIBC && !HAVE_STPCPY -static char * -stpcpy (dest, src) - char *dest; - const char *src; -{ - while ((*dest++ = *src++) != '\0') - /* Do nothing. */ ; - return dest - 1; -} -#endif diff --git a/intl/libgnuintl.h b/intl/libgnuintl.h deleted file mode 100644 index 7616d6f..0000000 --- a/intl/libgnuintl.h +++ /dev/null @@ -1,341 +0,0 @@ -/* Message catalogs for internationalization. - Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifndef _LIBINTL_H -#define _LIBINTL_H 1 - -#include <locale.h> - -/* The LC_MESSAGES locale category is the category used by the functions - gettext() and dgettext(). It is specified in POSIX, but not in ANSI C. - On systems that don't define it, use an arbitrary value instead. - On Solaris, <locale.h> defines __LOCALE_H (or _LOCALE_H in Solaris 2.5) - then includes <libintl.h> (i.e. this file!) and then only defines - LC_MESSAGES. To avoid a redefinition warning, don't define LC_MESSAGES - in this case. */ -#if !defined LC_MESSAGES && !(defined __LOCALE_H || (defined _LOCALE_H && defined __sun)) -# define LC_MESSAGES 1729 -#endif - -/* We define an additional symbol to signal that we use the GNU - implementation of gettext. */ -#define __USE_GNU_GETTEXT 1 - -/* Provide information about the supported file formats. Returns the - maximum minor revision number supported for a given major revision. */ -#define __GNU_GETTEXT_SUPPORTED_REVISION(major) \ - ((major) == 0 ? 1 : -1) - -/* Resolve a platform specific conflict on DJGPP. GNU gettext takes - precedence over _conio_gettext. */ -#ifdef __DJGPP__ -# undef gettext -#endif - -/* Use _INTL_PARAMS, not PARAMS, in order to avoid clashes with identifiers - used by programs. Similarly, test __PROTOTYPES, not PROTOTYPES. */ -#ifndef _INTL_PARAMS -# if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES -# define _INTL_PARAMS(args) args -# else -# define _INTL_PARAMS(args) () -# endif -#endif - -#ifdef __cplusplus -extern "C" { -#endif - - -/* We redirect the functions to those prefixed with "libintl_". This is - necessary, because some systems define gettext/textdomain/... in the C - library (namely, Solaris 2.4 and newer, and GNU libc 2.0 and newer). - If we used the unprefixed names, there would be cases where the - definition in the C library would override the one in the libintl.so - shared library. Recall that on ELF systems, the symbols are looked - up in the following order: - 1. in the executable, - 2. in the shared libraries specified on the link command line, in order, - 3. in the dependencies of the shared libraries specified on the link - command line, - 4. in the dlopen()ed shared libraries, in the order in which they were - dlopen()ed. - The definition in the C library would override the one in libintl.so if - either - * -lc is given on the link command line and -lintl isn't, or - * -lc is given on the link command line before -lintl, or - * libintl.so is a dependency of a dlopen()ed shared library but not - linked to the executable at link time. - Since Solaris gettext() behaves differently than GNU gettext(), this - would be unacceptable. - - The redirection happens by default through macros in C, so that &gettext - is independent of the compilation unit, but through inline functions in - C++, in order not to interfere with the name mangling of class fields or - class methods called 'gettext'. */ - -/* The user can define _INTL_REDIRECT_INLINE or _INTL_REDIRECT_MACROS. - If he doesn't, we choose the method. A third possible method is - _INTL_REDIRECT_ASM, supported only by GCC. */ -#if !(defined _INTL_REDIRECT_INLINE || defined _INTL_REDIRECT_MACROS) -# if __GNUC__ >= 2 && !defined __APPLE_CC__ && (defined __STDC__ || defined __cplusplus) -# define _INTL_REDIRECT_ASM -# else -# ifdef __cplusplus -# define _INTL_REDIRECT_INLINE -# else -# define _INTL_REDIRECT_MACROS -# endif -# endif -#endif -/* Auxiliary macros. */ -#ifdef _INTL_REDIRECT_ASM -# define _INTL_ASM(cname) __asm__ (_INTL_ASMNAME (__USER_LABEL_PREFIX__, #cname)) -# define _INTL_ASMNAME(prefix,cnamestring) _INTL_STRINGIFY (prefix) cnamestring -# define _INTL_STRINGIFY(prefix) #prefix -#else -# define _INTL_ASM(cname) -#endif - -/* _INTL_MAY_RETURN_STRING_ARG(n) declares that the given function may return - its n-th argument literally. This enables GCC to warn for example about - printf (gettext ("foo %y")). */ -#if defined __GNUC__ && __GNUC__ >= 3 && !(defined __APPLE_CC__ && __APPLE_CC__ > 1 && !(defined __clang__ && __clang__ && __clang_major__ >= 3) && defined __cplusplus) -# define _INTL_MAY_RETURN_STRING_ARG(n) __attribute__ ((__format_arg__ (n))) -#else -# define _INTL_MAY_RETURN_STRING_ARG(n) -#endif - -/* Look up MSGID in the current default message catalog for the current - LC_MESSAGES locale. If not found, returns MSGID itself (the default - text). */ -#ifdef _INTL_REDIRECT_INLINE -extern char *libintl_gettext (const char *__msgid) - _INTL_MAY_RETURN_STRING_ARG (1); -static inline -_INTL_MAY_RETURN_STRING_ARG (1) -char *gettext (const char *__msgid) -{ - return libintl_gettext (__msgid); -} -#else -#ifdef _INTL_REDIRECT_MACROS -# define gettext libintl_gettext -#endif -extern char *gettext _INTL_PARAMS ((const char *__msgid)) - _INTL_ASM (libintl_gettext) - _INTL_MAY_RETURN_STRING_ARG (1); -#endif - -/* Look up MSGID in the DOMAINNAME message catalog for the current - LC_MESSAGES locale. */ -#ifdef _INTL_REDIRECT_INLINE -extern char *libintl_dgettext (const char *__domainname, const char *__msgid) - _INTL_MAY_RETURN_STRING_ARG (2); -static inline -_INTL_MAY_RETURN_STRING_ARG (2) -char *dgettext (const char *__domainname, const char *__msgid) -{ - return libintl_dgettext (__domainname, __msgid); -} -#else -#ifdef _INTL_REDIRECT_MACROS -# define dgettext libintl_dgettext -#endif -extern char *dgettext _INTL_PARAMS ((const char *__domainname, - const char *__msgid)) - _INTL_ASM (libintl_dgettext) - _INTL_MAY_RETURN_STRING_ARG (2); -#endif - -/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY - locale. */ -#ifdef _INTL_REDIRECT_INLINE -extern char *libintl_dcgettext (const char *__domainname, const char *__msgid, - int __category) - _INTL_MAY_RETURN_STRING_ARG (2); -static inline -_INTL_MAY_RETURN_STRING_ARG (2) -char *dcgettext (const char *__domainname, const char *__msgid, int __category) -{ - return libintl_dcgettext (__domainname, __msgid, __category); -} -#else -#ifdef _INTL_REDIRECT_MACROS -# define dcgettext libintl_dcgettext -#endif -extern char *dcgettext _INTL_PARAMS ((const char *__domainname, - const char *__msgid, - int __category)) - _INTL_ASM (libintl_dcgettext) - _INTL_MAY_RETURN_STRING_ARG (2); -#endif - - -/* Similar to `gettext' but select the plural form corresponding to the - number N. */ -#ifdef _INTL_REDIRECT_INLINE -extern char *libintl_ngettext (const char *__msgid1, const char *__msgid2, - unsigned long int __n) - _INTL_MAY_RETURN_STRING_ARG (1) _INTL_MAY_RETURN_STRING_ARG (2); -static inline -_INTL_MAY_RETURN_STRING_ARG (1) _INTL_MAY_RETURN_STRING_ARG (2) -char *ngettext (const char *__msgid1, const char *__msgid2, - unsigned long int __n) -{ - return libintl_ngettext (__msgid1, __msgid2, __n); -} -#else -#ifdef _INTL_REDIRECT_MACROS -# define ngettext libintl_ngettext -#endif -extern char *ngettext _INTL_PARAMS ((const char *__msgid1, - const char *__msgid2, - unsigned long int __n)) - _INTL_ASM (libintl_ngettext) - _INTL_MAY_RETURN_STRING_ARG (1) _INTL_MAY_RETURN_STRING_ARG (2); -#endif - -/* Similar to `dgettext' but select the plural form corresponding to the - number N. */ -#ifdef _INTL_REDIRECT_INLINE -extern char *libintl_dngettext (const char *__domainname, const char *__msgid1, - const char *__msgid2, unsigned long int __n) - _INTL_MAY_RETURN_STRING_ARG (2) _INTL_MAY_RETURN_STRING_ARG (3); -static inline -_INTL_MAY_RETURN_STRING_ARG (2) _INTL_MAY_RETURN_STRING_ARG (3) -char *dngettext (const char *__domainname, const char *__msgid1, - const char *__msgid2, unsigned long int __n) -{ - return libintl_dngettext (__domainname, __msgid1, __msgid2, __n); -} -#else -#ifdef _INTL_REDIRECT_MACROS -# define dngettext libintl_dngettext -#endif -extern char *dngettext _INTL_PARAMS ((const char *__domainname, - const char *__msgid1, - const char *__msgid2, - unsigned long int __n)) - _INTL_ASM (libintl_dngettext) - _INTL_MAY_RETURN_STRING_ARG (2) _INTL_MAY_RETURN_STRING_ARG (3); -#endif - -/* Similar to `dcgettext' but select the plural form corresponding to the - number N. */ -#ifdef _INTL_REDIRECT_INLINE -extern char *libintl_dcngettext (const char *__domainname, - const char *__msgid1, const char *__msgid2, - unsigned long int __n, int __category) - _INTL_MAY_RETURN_STRING_ARG (2) _INTL_MAY_RETURN_STRING_ARG (3); -static inline -_INTL_MAY_RETURN_STRING_ARG (2) _INTL_MAY_RETURN_STRING_ARG (3) -char *dcngettext (const char *__domainname, - const char *__msgid1, const char *__msgid2, - unsigned long int __n, int __category) -{ - return libintl_dcngettext (__domainname, __msgid1, __msgid2, __n, __category); -} -#else -#ifdef _INTL_REDIRECT_MACROS -# define dcngettext libintl_dcngettext -#endif -extern char *dcngettext _INTL_PARAMS ((const char *__domainname, - const char *__msgid1, - const char *__msgid2, - unsigned long int __n, - int __category)) - _INTL_ASM (libintl_dcngettext) - _INTL_MAY_RETURN_STRING_ARG (2) _INTL_MAY_RETURN_STRING_ARG (3); -#endif - - -/* Set the current default message catalog to DOMAINNAME. - If DOMAINNAME is null, return the current default. - If DOMAINNAME is "", reset to the default of "messages". */ -#ifdef _INTL_REDIRECT_INLINE -extern char *libintl_textdomain (const char *__domainname); -static inline char *textdomain (const char *__domainname) -{ - return libintl_textdomain (__domainname); -} -#else -#ifdef _INTL_REDIRECT_MACROS -# define textdomain libintl_textdomain -#endif -extern char *textdomain _INTL_PARAMS ((const char *__domainname)) - _INTL_ASM (libintl_textdomain); -#endif - -/* Specify that the DOMAINNAME message catalog will be found - in DIRNAME rather than in the system locale data base. */ -#ifdef _INTL_REDIRECT_INLINE -extern char *libintl_bindtextdomain (const char *__domainname, - const char *__dirname); -static inline char *bindtextdomain (const char *__domainname, - const char *__dirname) -{ - return libintl_bindtextdomain (__domainname, __dirname); -} -#else -#ifdef _INTL_REDIRECT_MACROS -# define bindtextdomain libintl_bindtextdomain -#endif -extern char *bindtextdomain _INTL_PARAMS ((const char *__domainname, - const char *__dirname)) - _INTL_ASM (libintl_bindtextdomain); -#endif - -/* Specify the character encoding in which the messages from the - DOMAINNAME message catalog will be returned. */ -#ifdef _INTL_REDIRECT_INLINE -extern char *libintl_bind_textdomain_codeset (const char *__domainname, - const char *__codeset); -static inline char *bind_textdomain_codeset (const char *__domainname, - const char *__codeset) -{ - return libintl_bind_textdomain_codeset (__domainname, __codeset); -} -#else -#ifdef _INTL_REDIRECT_MACROS -# define bind_textdomain_codeset libintl_bind_textdomain_codeset -#endif -extern char *bind_textdomain_codeset _INTL_PARAMS ((const char *__domainname, - const char *__codeset)) - _INTL_ASM (libintl_bind_textdomain_codeset); -#endif - - -/* Support for relocatable packages. */ - -/* Sets the original and the current installation prefix of the package. - Relocation simply replaces a pathname starting with the original prefix - by the corresponding pathname with the current prefix instead. Both - prefixes should be directory names without trailing slash (i.e. use "" - instead of "/"). */ -#define libintl_set_relocation_prefix libintl_set_relocation_prefix -extern void - libintl_set_relocation_prefix _INTL_PARAMS ((const char *orig_prefix, - const char *curr_prefix)); - - -#ifdef __cplusplus -} -#endif - -#endif /* libintl.h */ diff --git a/intl/loadinfo.h b/intl/loadinfo.h deleted file mode 100644 index 5ad5fba..0000000 --- a/intl/loadinfo.h +++ /dev/null @@ -1,156 +0,0 @@ -/* Copyright (C) 1996-1999, 2000-2002 Free Software Foundation, Inc. - This file is part of the GNU C Library. - Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifndef _LOADINFO_H -#define _LOADINFO_H 1 - -/* Declarations of locale dependent catalog lookup functions. - Implemented in - - localealias.c Possibly replace a locale name by another. - explodename.c Split a locale name into its various fields. - l10nflist.c Generate a list of filenames of possible message catalogs. - finddomain.c Find and open the relevant message catalogs. - - The main function _nl_find_domain() in finddomain.c is declared - in gettextP.h. - */ - -#ifndef PARAMS -# if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES -# define PARAMS(args) args -# else -# define PARAMS(args) () -# endif -#endif - -#ifndef internal_function -# define internal_function -#endif - -/* Tell the compiler when a conditional or integer expression is - almost always true or almost always false. */ -#ifndef HAVE_BUILTIN_EXPECT -# define __builtin_expect(expr, val) (expr) -#endif - -/* Separator in PATH like lists of pathnames. */ -#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ - /* Win32, OS/2, DOS */ -# define PATH_SEPARATOR ';' -#else - /* Unix */ -# define PATH_SEPARATOR ':' -#endif - -/* Encoding of locale name parts. */ -#define CEN_REVISION 1 -#define CEN_SPONSOR 2 -#define CEN_SPECIAL 4 -#define XPG_NORM_CODESET 8 -#define XPG_CODESET 16 -#define TERRITORY 32 -#define CEN_AUDIENCE 64 -#define XPG_MODIFIER 128 - -#define CEN_SPECIFIC (CEN_REVISION|CEN_SPONSOR|CEN_SPECIAL|CEN_AUDIENCE) -#define XPG_SPECIFIC (XPG_CODESET|XPG_NORM_CODESET|XPG_MODIFIER) - - -struct loaded_l10nfile -{ - const char *filename; - int decided; - - const void *data; - - struct loaded_l10nfile *next; - struct loaded_l10nfile *successor[1]; -}; - - -/* Normalize codeset name. There is no standard for the codeset - names. Normalization allows the user to use any of the common - names. The return value is dynamically allocated and has to be - freed by the caller. */ -extern const char *_nl_normalize_codeset PARAMS ((const char *codeset, - size_t name_len)); - -/* Lookup a locale dependent file. - *L10NFILE_LIST denotes a pool of lookup results of locale dependent - files of the same kind, sorted in decreasing order of ->filename. - DIRLIST and DIRLIST_LEN are an argz list of directories in which to - look, containing at least one directory (i.e. DIRLIST_LEN > 0). - MASK, LANGUAGE, TERRITORY, CODESET, NORMALIZED_CODESET, MODIFIER, - SPECIAL, SPONSOR, REVISION are the pieces of the locale name, as - produced by _nl_explode_name(). FILENAME is the filename suffix. - The return value is the lookup result, either found in *L10NFILE_LIST, - or - if DO_ALLOCATE is nonzero - freshly allocated, or possibly NULL. - If the return value is non-NULL, it is added to *L10NFILE_LIST, and - its ->next field denotes the chaining inside *L10NFILE_LIST, and - furthermore its ->successor[] field contains a list of other lookup - results from which this lookup result inherits. */ -extern struct loaded_l10nfile * -_nl_make_l10nflist PARAMS ((struct loaded_l10nfile **l10nfile_list, - const char *dirlist, size_t dirlist_len, int mask, - const char *language, const char *territory, - const char *codeset, - const char *normalized_codeset, - const char *modifier, const char *special, - const char *sponsor, const char *revision, - const char *filename, int do_allocate)); - -/* Lookup the real locale name for a locale alias NAME, or NULL if - NAME is not a locale alias (but possibly a real locale name). - The return value is statically allocated and must not be freed. */ -extern const char *_nl_expand_alias PARAMS ((const char *name)); - -/* Split a locale name NAME into its pieces: language, modifier, - territory, codeset, special, sponsor, revision. - NAME gets destructively modified: NUL bytes are inserted here and - there. *LANGUAGE gets assigned NAME. Each of *MODIFIER, *TERRITORY, - *CODESET, *SPECIAL, *SPONSOR, *REVISION gets assigned either a - pointer into the old NAME string, or NULL. *NORMALIZED_CODESET - gets assigned the expanded *CODESET, if it is different from *CODESET; - this one is dynamically allocated and has to be freed by the caller. - The return value is a bitmask, where each bit corresponds to one - filled-in value: - XPG_MODIFIER, CEN_AUDIENCE for *MODIFIER, - TERRITORY for *TERRITORY, - XPG_CODESET for *CODESET, - XPG_NORM_CODESET for *NORMALIZED_CODESET, - CEN_SPECIAL for *SPECIAL, - CEN_SPONSOR for *SPONSOR, - CEN_REVISION for *REVISION. - */ -extern int _nl_explode_name PARAMS ((char *name, const char **language, - const char **modifier, - const char **territory, - const char **codeset, - const char **normalized_codeset, - const char **special, - const char **sponsor, - const char **revision)); - -/* Split a locale name NAME into a leading language part and all the - rest. Return a pointer to the first character after the language, - i.e. to the first byte of the rest. */ -extern char *_nl_find_language PARAMS ((const char *name)); - -#endif /* loadinfo.h */ diff --git a/intl/loadmsgcat.c b/intl/loadmsgcat.c deleted file mode 100644 index 536ee12..0000000 --- a/intl/loadmsgcat.c +++ /dev/null @@ -1,1322 +0,0 @@ -/* Load needed message catalogs. - Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -/* Tell glibc's <string.h> to provide a prototype for mempcpy(). - This must come before <config.h> because <config.h> may include - <features.h>, and once <features.h> has been included, it's too late. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include <ctype.h> -#include <errno.h> -#include <fcntl.h> -#include <sys/types.h> -#include <sys/stat.h> - -#ifdef __GNUC__ -# undef alloca -# define alloca __builtin_alloca -# define HAVE_ALLOCA 1 -#else -# ifdef _MSC_VER -# include <malloc.h> -# define alloca _alloca -# else -# if defined HAVE_ALLOCA_H || defined _LIBC -# include <alloca.h> -# else -# ifdef _AIX - #pragma alloca -# else -# ifndef alloca -char *alloca (); -# endif -# endif -# endif -# endif -#endif - -#include <stdlib.h> -#include <string.h> - -#if defined HAVE_UNISTD_H || defined _LIBC -# include <unistd.h> -#endif - -#ifdef _LIBC -# include <langinfo.h> -# include <locale.h> -#endif - -#if (defined HAVE_MMAP && defined HAVE_MUNMAP && !defined DISALLOW_MMAP) \ - || (defined _LIBC && defined _POSIX_MAPPED_FILES) -# include <sys/mman.h> -# undef HAVE_MMAP -# define HAVE_MMAP 1 -#else -# undef HAVE_MMAP -#endif - -#if defined HAVE_STDINT_H_WITH_UINTMAX || defined _LIBC -# include <stdint.h> -#endif -#if defined HAVE_INTTYPES_H || defined _LIBC -# include <inttypes.h> -#endif - -#include "gmo.h" -#include "gettextP.h" -#include "hash-string.h" -#include "plural-exp.h" - -#ifdef _LIBC -# include "../locale/localeinfo.h" -#endif - -/* Provide fallback values for macros that ought to be defined in <inttypes.h>. - Note that our fallback values need not be literal strings, because we don't - use them with preprocessor string concatenation. */ -#if !defined PRId8 || PRI_MACROS_BROKEN -# undef PRId8 -# define PRId8 "d" -#endif -#if !defined PRIi8 || PRI_MACROS_BROKEN -# undef PRIi8 -# define PRIi8 "i" -#endif -#if !defined PRIo8 || PRI_MACROS_BROKEN -# undef PRIo8 -# define PRIo8 "o" -#endif -#if !defined PRIu8 || PRI_MACROS_BROKEN -# undef PRIu8 -# define PRIu8 "u" -#endif -#if !defined PRIx8 || PRI_MACROS_BROKEN -# undef PRIx8 -# define PRIx8 "x" -#endif -#if !defined PRIX8 || PRI_MACROS_BROKEN -# undef PRIX8 -# define PRIX8 "X" -#endif -#if !defined PRId16 || PRI_MACROS_BROKEN -# undef PRId16 -# define PRId16 "d" -#endif -#if !defined PRIi16 || PRI_MACROS_BROKEN -# undef PRIi16 -# define PRIi16 "i" -#endif -#if !defined PRIo16 || PRI_MACROS_BROKEN -# undef PRIo16 -# define PRIo16 "o" -#endif -#if !defined PRIu16 || PRI_MACROS_BROKEN -# undef PRIu16 -# define PRIu16 "u" -#endif -#if !defined PRIx16 || PRI_MACROS_BROKEN -# undef PRIx16 -# define PRIx16 "x" -#endif -#if !defined PRIX16 || PRI_MACROS_BROKEN -# undef PRIX16 -# define PRIX16 "X" -#endif -#if !defined PRId32 || PRI_MACROS_BROKEN -# undef PRId32 -# define PRId32 "d" -#endif -#if !defined PRIi32 || PRI_MACROS_BROKEN -# undef PRIi32 -# define PRIi32 "i" -#endif -#if !defined PRIo32 || PRI_MACROS_BROKEN -# undef PRIo32 -# define PRIo32 "o" -#endif -#if !defined PRIu32 || PRI_MACROS_BROKEN -# undef PRIu32 -# define PRIu32 "u" -#endif -#if !defined PRIx32 || PRI_MACROS_BROKEN -# undef PRIx32 -# define PRIx32 "x" -#endif -#if !defined PRIX32 || PRI_MACROS_BROKEN -# undef PRIX32 -# define PRIX32 "X" -#endif -#if !defined PRId64 || PRI_MACROS_BROKEN -# undef PRId64 -# define PRId64 (sizeof (long) == 8 ? "ld" : "lld") -#endif -#if !defined PRIi64 || PRI_MACROS_BROKEN -# undef PRIi64 -# define PRIi64 (sizeof (long) == 8 ? "li" : "lli") -#endif -#if !defined PRIo64 || PRI_MACROS_BROKEN -# undef PRIo64 -# define PRIo64 (sizeof (long) == 8 ? "lo" : "llo") -#endif -#if !defined PRIu64 || PRI_MACROS_BROKEN -# undef PRIu64 -# define PRIu64 (sizeof (long) == 8 ? "lu" : "llu") -#endif -#if !defined PRIx64 || PRI_MACROS_BROKEN -# undef PRIx64 -# define PRIx64 (sizeof (long) == 8 ? "lx" : "llx") -#endif -#if !defined PRIX64 || PRI_MACROS_BROKEN -# undef PRIX64 -# define PRIX64 (sizeof (long) == 8 ? "lX" : "llX") -#endif -#if !defined PRIdLEAST8 || PRI_MACROS_BROKEN -# undef PRIdLEAST8 -# define PRIdLEAST8 "d" -#endif -#if !defined PRIiLEAST8 || PRI_MACROS_BROKEN -# undef PRIiLEAST8 -# define PRIiLEAST8 "i" -#endif -#if !defined PRIoLEAST8 || PRI_MACROS_BROKEN -# undef PRIoLEAST8 -# define PRIoLEAST8 "o" -#endif -#if !defined PRIuLEAST8 || PRI_MACROS_BROKEN -# undef PRIuLEAST8 -# define PRIuLEAST8 "u" -#endif -#if !defined PRIxLEAST8 || PRI_MACROS_BROKEN -# undef PRIxLEAST8 -# define PRIxLEAST8 "x" -#endif -#if !defined PRIXLEAST8 || PRI_MACROS_BROKEN -# undef PRIXLEAST8 -# define PRIXLEAST8 "X" -#endif -#if !defined PRIdLEAST16 || PRI_MACROS_BROKEN -# undef PRIdLEAST16 -# define PRIdLEAST16 "d" -#endif -#if !defined PRIiLEAST16 || PRI_MACROS_BROKEN -# undef PRIiLEAST16 -# define PRIiLEAST16 "i" -#endif -#if !defined PRIoLEAST16 || PRI_MACROS_BROKEN -# undef PRIoLEAST16 -# define PRIoLEAST16 "o" -#endif -#if !defined PRIuLEAST16 || PRI_MACROS_BROKEN -# undef PRIuLEAST16 -# define PRIuLEAST16 "u" -#endif -#if !defined PRIxLEAST16 || PRI_MACROS_BROKEN -# undef PRIxLEAST16 -# define PRIxLEAST16 "x" -#endif -#if !defined PRIXLEAST16 || PRI_MACROS_BROKEN -# undef PRIXLEAST16 -# define PRIXLEAST16 "X" -#endif -#if !defined PRIdLEAST32 || PRI_MACROS_BROKEN -# undef PRIdLEAST32 -# define PRIdLEAST32 "d" -#endif -#if !defined PRIiLEAST32 || PRI_MACROS_BROKEN -# undef PRIiLEAST32 -# define PRIiLEAST32 "i" -#endif -#if !defined PRIoLEAST32 || PRI_MACROS_BROKEN -# undef PRIoLEAST32 -# define PRIoLEAST32 "o" -#endif -#if !defined PRIuLEAST32 || PRI_MACROS_BROKEN -# undef PRIuLEAST32 -# define PRIuLEAST32 "u" -#endif -#if !defined PRIxLEAST32 || PRI_MACROS_BROKEN -# undef PRIxLEAST32 -# define PRIxLEAST32 "x" -#endif -#if !defined PRIXLEAST32 || PRI_MACROS_BROKEN -# undef PRIXLEAST32 -# define PRIXLEAST32 "X" -#endif -#if !defined PRIdLEAST64 || PRI_MACROS_BROKEN -# undef PRIdLEAST64 -# define PRIdLEAST64 PRId64 -#endif -#if !defined PRIiLEAST64 || PRI_MACROS_BROKEN -# undef PRIiLEAST64 -# define PRIiLEAST64 PRIi64 -#endif -#if !defined PRIoLEAST64 || PRI_MACROS_BROKEN -# undef PRIoLEAST64 -# define PRIoLEAST64 PRIo64 -#endif -#if !defined PRIuLEAST64 || PRI_MACROS_BROKEN -# undef PRIuLEAST64 -# define PRIuLEAST64 PRIu64 -#endif -#if !defined PRIxLEAST64 || PRI_MACROS_BROKEN -# undef PRIxLEAST64 -# define PRIxLEAST64 PRIx64 -#endif -#if !defined PRIXLEAST64 || PRI_MACROS_BROKEN -# undef PRIXLEAST64 -# define PRIXLEAST64 PRIX64 -#endif -#if !defined PRIdFAST8 || PRI_MACROS_BROKEN -# undef PRIdFAST8 -# define PRIdFAST8 "d" -#endif -#if !defined PRIiFAST8 || PRI_MACROS_BROKEN -# undef PRIiFAST8 -# define PRIiFAST8 "i" -#endif -#if !defined PRIoFAST8 || PRI_MACROS_BROKEN -# undef PRIoFAST8 -# define PRIoFAST8 "o" -#endif -#if !defined PRIuFAST8 || PRI_MACROS_BROKEN -# undef PRIuFAST8 -# define PRIuFAST8 "u" -#endif -#if !defined PRIxFAST8 || PRI_MACROS_BROKEN -# undef PRIxFAST8 -# define PRIxFAST8 "x" -#endif -#if !defined PRIXFAST8 || PRI_MACROS_BROKEN -# undef PRIXFAST8 -# define PRIXFAST8 "X" -#endif -#if !defined PRIdFAST16 || PRI_MACROS_BROKEN -# undef PRIdFAST16 -# define PRIdFAST16 "d" -#endif -#if !defined PRIiFAST16 || PRI_MACROS_BROKEN -# undef PRIiFAST16 -# define PRIiFAST16 "i" -#endif -#if !defined PRIoFAST16 || PRI_MACROS_BROKEN -# undef PRIoFAST16 -# define PRIoFAST16 "o" -#endif -#if !defined PRIuFAST16 || PRI_MACROS_BROKEN -# undef PRIuFAST16 -# define PRIuFAST16 "u" -#endif -#if !defined PRIxFAST16 || PRI_MACROS_BROKEN -# undef PRIxFAST16 -# define PRIxFAST16 "x" -#endif -#if !defined PRIXFAST16 || PRI_MACROS_BROKEN -# undef PRIXFAST16 -# define PRIXFAST16 "X" -#endif -#if !defined PRIdFAST32 || PRI_MACROS_BROKEN -# undef PRIdFAST32 -# define PRIdFAST32 "d" -#endif -#if !defined PRIiFAST32 || PRI_MACROS_BROKEN -# undef PRIiFAST32 -# define PRIiFAST32 "i" -#endif -#if !defined PRIoFAST32 || PRI_MACROS_BROKEN -# undef PRIoFAST32 -# define PRIoFAST32 "o" -#endif -#if !defined PRIuFAST32 || PRI_MACROS_BROKEN -# undef PRIuFAST32 -# define PRIuFAST32 "u" -#endif -#if !defined PRIxFAST32 || PRI_MACROS_BROKEN -# undef PRIxFAST32 -# define PRIxFAST32 "x" -#endif -#if !defined PRIXFAST32 || PRI_MACROS_BROKEN -# undef PRIXFAST32 -# define PRIXFAST32 "X" -#endif -#if !defined PRIdFAST64 || PRI_MACROS_BROKEN -# undef PRIdFAST64 -# define PRIdFAST64 PRId64 -#endif -#if !defined PRIiFAST64 || PRI_MACROS_BROKEN -# undef PRIiFAST64 -# define PRIiFAST64 PRIi64 -#endif -#if !defined PRIoFAST64 || PRI_MACROS_BROKEN -# undef PRIoFAST64 -# define PRIoFAST64 PRIo64 -#endif -#if !defined PRIuFAST64 || PRI_MACROS_BROKEN -# undef PRIuFAST64 -# define PRIuFAST64 PRIu64 -#endif -#if !defined PRIxFAST64 || PRI_MACROS_BROKEN -# undef PRIxFAST64 -# define PRIxFAST64 PRIx64 -#endif -#if !defined PRIXFAST64 || PRI_MACROS_BROKEN -# undef PRIXFAST64 -# define PRIXFAST64 PRIX64 -#endif -#if !defined PRIdMAX || PRI_MACROS_BROKEN -# undef PRIdMAX -# define PRIdMAX (sizeof (uintmax_t) == sizeof (long) ? "ld" : "lld") -#endif -#if !defined PRIiMAX || PRI_MACROS_BROKEN -# undef PRIiMAX -# define PRIiMAX (sizeof (uintmax_t) == sizeof (long) ? "li" : "lli") -#endif -#if !defined PRIoMAX || PRI_MACROS_BROKEN -# undef PRIoMAX -# define PRIoMAX (sizeof (uintmax_t) == sizeof (long) ? "lo" : "llo") -#endif -#if !defined PRIuMAX || PRI_MACROS_BROKEN -# undef PRIuMAX -# define PRIuMAX (sizeof (uintmax_t) == sizeof (long) ? "lu" : "llu") -#endif -#if !defined PRIxMAX || PRI_MACROS_BROKEN -# undef PRIxMAX -# define PRIxMAX (sizeof (uintmax_t) == sizeof (long) ? "lx" : "llx") -#endif -#if !defined PRIXMAX || PRI_MACROS_BROKEN -# undef PRIXMAX -# define PRIXMAX (sizeof (uintmax_t) == sizeof (long) ? "lX" : "llX") -#endif -#if !defined PRIdPTR || PRI_MACROS_BROKEN -# undef PRIdPTR -# define PRIdPTR \ - (sizeof (void *) == sizeof (long) ? "ld" : \ - sizeof (void *) == sizeof (int) ? "d" : \ - "lld") -#endif -#if !defined PRIiPTR || PRI_MACROS_BROKEN -# undef PRIiPTR -# define PRIiPTR \ - (sizeof (void *) == sizeof (long) ? "li" : \ - sizeof (void *) == sizeof (int) ? "i" : \ - "lli") -#endif -#if !defined PRIoPTR || PRI_MACROS_BROKEN -# undef PRIoPTR -# define PRIoPTR \ - (sizeof (void *) == sizeof (long) ? "lo" : \ - sizeof (void *) == sizeof (int) ? "o" : \ - "llo") -#endif -#if !defined PRIuPTR || PRI_MACROS_BROKEN -# undef PRIuPTR -# define PRIuPTR \ - (sizeof (void *) == sizeof (long) ? "lu" : \ - sizeof (void *) == sizeof (int) ? "u" : \ - "llu") -#endif -#if !defined PRIxPTR || PRI_MACROS_BROKEN -# undef PRIxPTR -# define PRIxPTR \ - (sizeof (void *) == sizeof (long) ? "lx" : \ - sizeof (void *) == sizeof (int) ? "x" : \ - "llx") -#endif -#if !defined PRIXPTR || PRI_MACROS_BROKEN -# undef PRIXPTR -# define PRIXPTR \ - (sizeof (void *) == sizeof (long) ? "lX" : \ - sizeof (void *) == sizeof (int) ? "X" : \ - "llX") -#endif - -/* @@ end of prolog @@ */ - -#ifdef _LIBC -/* Rename the non ISO C functions. This is required by the standard - because some ISO C functions will require linking with this object - file and the name space must not be polluted. */ -# define open __open -# define close __close -# define read __read -# define mmap __mmap -# define munmap __munmap -#endif - -/* For those losing systems which don't have `alloca' we have to add - some additional code emulating it. */ -#ifdef HAVE_ALLOCA -# define freea(p) /* nothing */ -#else -# define alloca(n) malloc (n) -# define freea(p) free (p) -#endif - -/* For systems that distinguish between text and binary I/O. - O_BINARY is usually declared in <fcntl.h>. */ -#if !defined O_BINARY && defined _O_BINARY - /* For MSC-compatible compilers. */ -# define O_BINARY _O_BINARY -# define O_TEXT _O_TEXT -#endif -#ifdef __BEOS__ - /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */ -# undef O_BINARY -# undef O_TEXT -#endif -/* On reasonable systems, binary I/O is the default. */ -#ifndef O_BINARY -# define O_BINARY 0 -#endif - - -/* Prototypes for local functions. Needed to ensure compiler checking of - function argument counts despite of K&R C function definition syntax. */ -static const char *get_sysdep_segment_value PARAMS ((const char *name)); - - -/* We need a sign, whether a new catalog was loaded, which can be associated - with all translations. This is important if the translations are - cached by one of GCC's features. */ -int _nl_msg_cat_cntr; - - -/* Expand a system dependent string segment. Return NULL if unsupported. */ -static const char * -get_sysdep_segment_value (name) - const char *name; -{ - /* Test for an ISO C 99 section 7.8.1 format string directive. - Syntax: - P R I { d | i | o | u | x | X } - { { | LEAST | FAST } { 8 | 16 | 32 | 64 } | MAX | PTR } */ - /* We don't use a table of 14 times 6 'const char *' strings here, because - data relocations cost startup time. */ - if (name[0] == 'P' && name[1] == 'R' && name[2] == 'I') - { - if (name[3] == 'd' || name[3] == 'i' || name[3] == 'o' || name[3] == 'u' - || name[3] == 'x' || name[3] == 'X') - { - if (name[4] == '8' && name[5] == '\0') - { - if (name[3] == 'd') - return PRId8; - if (name[3] == 'i') - return PRIi8; - if (name[3] == 'o') - return PRIo8; - if (name[3] == 'u') - return PRIu8; - if (name[3] == 'x') - return PRIx8; - if (name[3] == 'X') - return PRIX8; - abort (); - } - if (name[4] == '1' && name[5] == '6' && name[6] == '\0') - { - if (name[3] == 'd') - return PRId16; - if (name[3] == 'i') - return PRIi16; - if (name[3] == 'o') - return PRIo16; - if (name[3] == 'u') - return PRIu16; - if (name[3] == 'x') - return PRIx16; - if (name[3] == 'X') - return PRIX16; - abort (); - } - if (name[4] == '3' && name[5] == '2' && name[6] == '\0') - { - if (name[3] == 'd') - return PRId32; - if (name[3] == 'i') - return PRIi32; - if (name[3] == 'o') - return PRIo32; - if (name[3] == 'u') - return PRIu32; - if (name[3] == 'x') - return PRIx32; - if (name[3] == 'X') - return PRIX32; - abort (); - } - if (name[4] == '6' && name[5] == '4' && name[6] == '\0') - { - if (name[3] == 'd') - return PRId64; - if (name[3] == 'i') - return PRIi64; - if (name[3] == 'o') - return PRIo64; - if (name[3] == 'u') - return PRIu64; - if (name[3] == 'x') - return PRIx64; - if (name[3] == 'X') - return PRIX64; - abort (); - } - if (name[4] == 'L' && name[5] == 'E' && name[6] == 'A' - && name[7] == 'S' && name[8] == 'T') - { - if (name[9] == '8' && name[10] == '\0') - { - if (name[3] == 'd') - return PRIdLEAST8; - if (name[3] == 'i') - return PRIiLEAST8; - if (name[3] == 'o') - return PRIoLEAST8; - if (name[3] == 'u') - return PRIuLEAST8; - if (name[3] == 'x') - return PRIxLEAST8; - if (name[3] == 'X') - return PRIXLEAST8; - abort (); - } - if (name[9] == '1' && name[10] == '6' && name[11] == '\0') - { - if (name[3] == 'd') - return PRIdLEAST16; - if (name[3] == 'i') - return PRIiLEAST16; - if (name[3] == 'o') - return PRIoLEAST16; - if (name[3] == 'u') - return PRIuLEAST16; - if (name[3] == 'x') - return PRIxLEAST16; - if (name[3] == 'X') - return PRIXLEAST16; - abort (); - } - if (name[9] == '3' && name[10] == '2' && name[11] == '\0') - { - if (name[3] == 'd') - return PRIdLEAST32; - if (name[3] == 'i') - return PRIiLEAST32; - if (name[3] == 'o') - return PRIoLEAST32; - if (name[3] == 'u') - return PRIuLEAST32; - if (name[3] == 'x') - return PRIxLEAST32; - if (name[3] == 'X') - return PRIXLEAST32; - abort (); - } - if (name[9] == '6' && name[10] == '4' && name[11] == '\0') - { - if (name[3] == 'd') - return PRIdLEAST64; - if (name[3] == 'i') - return PRIiLEAST64; - if (name[3] == 'o') - return PRIoLEAST64; - if (name[3] == 'u') - return PRIuLEAST64; - if (name[3] == 'x') - return PRIxLEAST64; - if (name[3] == 'X') - return PRIXLEAST64; - abort (); - } - } - if (name[4] == 'F' && name[5] == 'A' && name[6] == 'S' - && name[7] == 'T') - { - if (name[8] == '8' && name[9] == '\0') - { - if (name[3] == 'd') - return PRIdFAST8; - if (name[3] == 'i') - return PRIiFAST8; - if (name[3] == 'o') - return PRIoFAST8; - if (name[3] == 'u') - return PRIuFAST8; - if (name[3] == 'x') - return PRIxFAST8; - if (name[3] == 'X') - return PRIXFAST8; - abort (); - } - if (name[8] == '1' && name[9] == '6' && name[10] == '\0') - { - if (name[3] == 'd') - return PRIdFAST16; - if (name[3] == 'i') - return PRIiFAST16; - if (name[3] == 'o') - return PRIoFAST16; - if (name[3] == 'u') - return PRIuFAST16; - if (name[3] == 'x') - return PRIxFAST16; - if (name[3] == 'X') - return PRIXFAST16; - abort (); - } - if (name[8] == '3' && name[9] == '2' && name[10] == '\0') - { - if (name[3] == 'd') - return PRIdFAST32; - if (name[3] == 'i') - return PRIiFAST32; - if (name[3] == 'o') - return PRIoFAST32; - if (name[3] == 'u') - return PRIuFAST32; - if (name[3] == 'x') - return PRIxFAST32; - if (name[3] == 'X') - return PRIXFAST32; - abort (); - } - if (name[8] == '6' && name[9] == '4' && name[10] == '\0') - { - if (name[3] == 'd') - return PRIdFAST64; - if (name[3] == 'i') - return PRIiFAST64; - if (name[3] == 'o') - return PRIoFAST64; - if (name[3] == 'u') - return PRIuFAST64; - if (name[3] == 'x') - return PRIxFAST64; - if (name[3] == 'X') - return PRIXFAST64; - abort (); - } - } - if (name[4] == 'M' && name[5] == 'A' && name[6] == 'X' - && name[7] == '\0') - { - if (name[3] == 'd') - return PRIdMAX; - if (name[3] == 'i') - return PRIiMAX; - if (name[3] == 'o') - return PRIoMAX; - if (name[3] == 'u') - return PRIuMAX; - if (name[3] == 'x') - return PRIxMAX; - if (name[3] == 'X') - return PRIXMAX; - abort (); - } - if (name[4] == 'P' && name[5] == 'T' && name[6] == 'R' - && name[7] == '\0') - { - if (name[3] == 'd') - return PRIdPTR; - if (name[3] == 'i') - return PRIiPTR; - if (name[3] == 'o') - return PRIoPTR; - if (name[3] == 'u') - return PRIuPTR; - if (name[3] == 'x') - return PRIxPTR; - if (name[3] == 'X') - return PRIXPTR; - abort (); - } - } - } - /* Other system dependent strings are not valid. */ - return NULL; -} - -/* Initialize the codeset dependent parts of an opened message catalog. - Return the header entry. */ -const char * -internal_function -_nl_init_domain_conv (domain_file, domain, domainbinding) - struct loaded_l10nfile *domain_file; - struct loaded_domain *domain; - struct binding *domainbinding; -{ - /* Find out about the character set the file is encoded with. - This can be found (in textual form) in the entry "". If this - entry does not exist or if this does not contain the `charset=' - information, we will assume the charset matches the one the - current locale and we don't have to perform any conversion. */ - char *nullentry; - size_t nullentrylen; - - /* Preinitialize fields, to avoid recursion during _nl_find_msg. */ - domain->codeset_cntr = - (domainbinding != NULL ? domainbinding->codeset_cntr : 0); -#ifdef _LIBC - domain->conv = (__gconv_t) -1; -#else -# if HAVE_ICONV - domain->conv = (iconv_t) -1; -# endif -#endif - domain->conv_tab = NULL; - - /* Get the header entry. */ - nullentry = _nl_find_msg (domain_file, domainbinding, "", &nullentrylen); - - if (nullentry != NULL) - { -#if defined _LIBC || HAVE_ICONV - const char *charsetstr; - - charsetstr = strstr (nullentry, "charset="); - if (charsetstr != NULL) - { - size_t len; - char *charset; - const char *outcharset; - - charsetstr += strlen ("charset="); - len = strcspn (charsetstr, " \t\n"); - - charset = (char *) alloca (len + 1); -# if defined _LIBC || HAVE_MEMPCPY - *((char *) mempcpy (charset, charsetstr, len)) = '\0'; -# else - memcpy (charset, charsetstr, len); - charset[len] = '\0'; -# endif - - /* The output charset should normally be determined by the - locale. But sometimes the locale is not used or not correctly - set up, so we provide a possibility for the user to override - this. Moreover, the value specified through - bind_textdomain_codeset overrides both. */ - if (domainbinding != NULL && domainbinding->codeset != NULL) - outcharset = domainbinding->codeset; - else - { - outcharset = getenv ("OUTPUT_CHARSET"); - if (outcharset == NULL || outcharset[0] == '\0') - { -# ifdef _LIBC - outcharset = _NL_CURRENT (LC_CTYPE, CODESET); -# else -# if HAVE_ICONV - extern const char *locale_charset PARAMS ((void)); - outcharset = locale_charset (); -# endif -# endif - } - } - -# ifdef _LIBC - /* We always want to use transliteration. */ - outcharset = norm_add_slashes (outcharset, "TRANSLIT"); - charset = norm_add_slashes (charset, NULL); - if (__gconv_open (outcharset, charset, &domain->conv, - GCONV_AVOID_NOCONV) - != __GCONV_OK) - domain->conv = (__gconv_t) -1; -# else -# if HAVE_ICONV - /* When using GNU libc >= 2.2 or GNU libiconv >= 1.5, - we want to use transliteration. */ -# if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) || __GLIBC__ > 2 \ - || _LIBICONV_VERSION >= 0x0105 - if (strchr (outcharset, '/') == NULL) - { - char *tmp; - - len = strlen (outcharset); - tmp = (char *) alloca (len + 10 + 1); - memcpy (tmp, outcharset, len); - memcpy (tmp + len, "//TRANSLIT", 10 + 1); - outcharset = tmp; - - domain->conv = iconv_open (outcharset, charset); - - freea (outcharset); - } - else -# endif - domain->conv = iconv_open (outcharset, charset); -# endif -# endif - - freea (charset); - } -#endif /* _LIBC || HAVE_ICONV */ - } - - return nullentry; -} - -/* Frees the codeset dependent parts of an opened message catalog. */ -void -internal_function -_nl_free_domain_conv (domain) - struct loaded_domain *domain; -{ - if (domain->conv_tab != NULL && domain->conv_tab != (char **) -1) - free (domain->conv_tab); - -#ifdef _LIBC - if (domain->conv != (__gconv_t) -1) - __gconv_close (domain->conv); -#else -# if HAVE_ICONV - if (domain->conv != (iconv_t) -1) - iconv_close (domain->conv); -# endif -#endif -} - -/* Load the message catalogs specified by FILENAME. If it is no valid - message catalog do nothing. */ -void -internal_function -_nl_load_domain (domain_file, domainbinding) - struct loaded_l10nfile *domain_file; - struct binding *domainbinding; -{ - int fd; - size_t size; -#ifdef _LIBC - struct stat64 st; -#else - struct stat st; -#endif - struct mo_file_header *data = (struct mo_file_header *) -1; - int use_mmap = 0; - struct loaded_domain *domain; - int revision; - const char *nullentry; - - domain_file->decided = 1; - domain_file->data = NULL; - - /* Note that it would be useless to store domainbinding in domain_file - because domainbinding might be == NULL now but != NULL later (after - a call to bind_textdomain_codeset). */ - - /* If the record does not represent a valid locale the FILENAME - might be NULL. This can happen when according to the given - specification the locale file name is different for XPG and CEN - syntax. */ - if (domain_file->filename == NULL) - return; - - /* Try to open the addressed file. */ - fd = open (domain_file->filename, O_RDONLY | O_BINARY); - if (fd == -1) - return; - - /* We must know about the size of the file. */ - if ( -#ifdef _LIBC - __builtin_expect (fstat64 (fd, &st) != 0, 0) -#else - __builtin_expect (fstat (fd, &st) != 0, 0) -#endif - || __builtin_expect ((size = (size_t) st.st_size) != st.st_size, 0) - || __builtin_expect (size < sizeof (struct mo_file_header), 0)) - { - /* Something went wrong. */ - close (fd); - return; - } - -#ifdef HAVE_MMAP - /* Now we are ready to load the file. If mmap() is available we try - this first. If not available or it failed we try to load it. */ - data = (struct mo_file_header *) mmap (NULL, size, PROT_READ, - MAP_PRIVATE, fd, 0); - - if (__builtin_expect (data != (struct mo_file_header *) -1, 1)) - { - /* mmap() call was successful. */ - close (fd); - use_mmap = 1; - } -#endif - - /* If the data is not yet available (i.e. mmap'ed) we try to load - it manually. */ - if (data == (struct mo_file_header *) -1) - { - size_t to_read; - char *read_ptr; - - data = (struct mo_file_header *) malloc (size); - if (data == NULL) - return; - - to_read = size; - read_ptr = (char *) data; - do - { - long int nb = (long int) read (fd, read_ptr, to_read); - if (nb <= 0) - { -#ifdef EINTR - if (nb == -1 && errno == EINTR) - continue; -#endif - close (fd); - return; - } - read_ptr += nb; - to_read -= nb; - } - while (to_read > 0); - - close (fd); - } - - /* Using the magic number we can test whether it really is a message - catalog file. */ - if (__builtin_expect (data->magic != _MAGIC && data->magic != _MAGIC_SWAPPED, - 0)) - { - /* The magic number is wrong: not a message catalog file. */ -#ifdef HAVE_MMAP - if (use_mmap) - munmap ((caddr_t) data, size); - else -#endif - free (data); - return; - } - - domain = (struct loaded_domain *) malloc (sizeof (struct loaded_domain)); - if (domain == NULL) - return; - domain_file->data = domain; - - domain->data = (char *) data; - domain->use_mmap = use_mmap; - domain->mmap_size = size; - domain->must_swap = data->magic != _MAGIC; - domain->malloced = NULL; - - /* Fill in the information about the available tables. */ - revision = W (domain->must_swap, data->revision); - /* We support only the major revision 0. */ - switch (revision >> 16) - { - case 0: - domain->nstrings = W (domain->must_swap, data->nstrings); - domain->orig_tab = (const struct string_desc *) - ((char *) data + W (domain->must_swap, data->orig_tab_offset)); - domain->trans_tab = (const struct string_desc *) - ((char *) data + W (domain->must_swap, data->trans_tab_offset)); - domain->hash_size = W (domain->must_swap, data->hash_tab_size); - domain->hash_tab = - (domain->hash_size > 2 - ? (const nls_uint32 *) - ((char *) data + W (domain->must_swap, data->hash_tab_offset)) - : NULL); - domain->must_swap_hash_tab = domain->must_swap; - - /* Now dispatch on the minor revision. */ - switch (revision & 0xffff) - { - case 0: - domain->n_sysdep_strings = 0; - domain->orig_sysdep_tab = NULL; - domain->trans_sysdep_tab = NULL; - break; - case 1: - default: - { - nls_uint32 n_sysdep_strings; - - if (domain->hash_tab == NULL) - /* This is invalid. These minor revisions need a hash table. */ - goto invalid; - - n_sysdep_strings = - W (domain->must_swap, data->n_sysdep_strings); - if (n_sysdep_strings > 0) - { - nls_uint32 n_sysdep_segments; - const struct sysdep_segment *sysdep_segments; - const char **sysdep_segment_values; - const nls_uint32 *orig_sysdep_tab; - const nls_uint32 *trans_sysdep_tab; - size_t memneed; - char *mem; - struct sysdep_string_desc *inmem_orig_sysdep_tab; - struct sysdep_string_desc *inmem_trans_sysdep_tab; - nls_uint32 *inmem_hash_tab; - unsigned int i; - - /* Get the values of the system dependent segments. */ - n_sysdep_segments = - W (domain->must_swap, data->n_sysdep_segments); - sysdep_segments = (const struct sysdep_segment *) - ((char *) data - + W (domain->must_swap, data->sysdep_segments_offset)); - sysdep_segment_values = - alloca (n_sysdep_segments * sizeof (const char *)); - for (i = 0; i < n_sysdep_segments; i++) - { - const char *name = - (char *) data - + W (domain->must_swap, sysdep_segments[i].offset); - nls_uint32 namelen = - W (domain->must_swap, sysdep_segments[i].length); - - if (!(namelen > 0 && name[namelen - 1] == '\0')) - { - freea (sysdep_segment_values); - goto invalid; - } - - sysdep_segment_values[i] = get_sysdep_segment_value (name); - } - - orig_sysdep_tab = (const nls_uint32 *) - ((char *) data - + W (domain->must_swap, data->orig_sysdep_tab_offset)); - trans_sysdep_tab = (const nls_uint32 *) - ((char *) data - + W (domain->must_swap, data->trans_sysdep_tab_offset)); - - /* Compute the amount of additional memory needed for the - system dependent strings and the augmented hash table. */ - memneed = 2 * n_sysdep_strings - * sizeof (struct sysdep_string_desc) - + domain->hash_size * sizeof (nls_uint32); - for (i = 0; i < 2 * n_sysdep_strings; i++) - { - const struct sysdep_string *sysdep_string = - (const struct sysdep_string *) - ((char *) data - + W (domain->must_swap, - i < n_sysdep_strings - ? orig_sysdep_tab[i] - : trans_sysdep_tab[i - n_sysdep_strings])); - size_t need = 0; - const struct segment_pair *p = sysdep_string->segments; - - if (W (domain->must_swap, p->sysdepref) != SEGMENTS_END) - for (p = sysdep_string->segments;; p++) - { - nls_uint32 sysdepref; - - need += W (domain->must_swap, p->segsize); - - sysdepref = W (domain->must_swap, p->sysdepref); - if (sysdepref == SEGMENTS_END) - break; - - if (sysdepref >= n_sysdep_segments) - { - /* Invalid. */ - freea (sysdep_segment_values); - goto invalid; - } - - need += strlen (sysdep_segment_values[sysdepref]); - } - - memneed += need; - } - - /* Allocate additional memory. */ - mem = (char *) malloc (memneed); - if (mem == NULL) - goto invalid; - - domain->malloced = mem; - inmem_orig_sysdep_tab = (struct sysdep_string_desc *) mem; - mem += n_sysdep_strings * sizeof (struct sysdep_string_desc); - inmem_trans_sysdep_tab = (struct sysdep_string_desc *) mem; - mem += n_sysdep_strings * sizeof (struct sysdep_string_desc); - inmem_hash_tab = (nls_uint32 *) mem; - mem += domain->hash_size * sizeof (nls_uint32); - - /* Compute the system dependent strings. */ - for (i = 0; i < 2 * n_sysdep_strings; i++) - { - const struct sysdep_string *sysdep_string = - (const struct sysdep_string *) - ((char *) data - + W (domain->must_swap, - i < n_sysdep_strings - ? orig_sysdep_tab[i] - : trans_sysdep_tab[i - n_sysdep_strings])); - const char *static_segments = - (char *) data - + W (domain->must_swap, sysdep_string->offset); - const struct segment_pair *p = sysdep_string->segments; - - /* Concatenate the segments, and fill - inmem_orig_sysdep_tab[i] (for i < n_sysdep_strings) and - inmem_trans_sysdep_tab[i-n_sysdep_strings] (for - i >= n_sysdep_strings). */ - - if (W (domain->must_swap, p->sysdepref) == SEGMENTS_END) - { - /* Only one static segment. */ - inmem_orig_sysdep_tab[i].length = - W (domain->must_swap, p->segsize); - inmem_orig_sysdep_tab[i].pointer = static_segments; - } - else - { - inmem_orig_sysdep_tab[i].pointer = mem; - - for (p = sysdep_string->segments;; p++) - { - nls_uint32 segsize = - W (domain->must_swap, p->segsize); - nls_uint32 sysdepref = - W (domain->must_swap, p->sysdepref); - size_t n; - - if (segsize > 0) - { - memcpy (mem, static_segments, segsize); - mem += segsize; - static_segments += segsize; - } - - if (sysdepref == SEGMENTS_END) - break; - - n = strlen (sysdep_segment_values[sysdepref]); - memcpy (mem, sysdep_segment_values[sysdepref], n); - mem += n; - } - - inmem_orig_sysdep_tab[i].length = - mem - inmem_orig_sysdep_tab[i].pointer; - } - } - - /* Compute the augmented hash table. */ - for (i = 0; i < domain->hash_size; i++) - inmem_hash_tab[i] = - W (domain->must_swap_hash_tab, domain->hash_tab[i]); - for (i = 0; i < n_sysdep_strings; i++) - { - const char *msgid = inmem_orig_sysdep_tab[i].pointer; - nls_uint32 hash_val = hash_string (msgid); - nls_uint32 idx = hash_val % domain->hash_size; - nls_uint32 incr = 1 + (hash_val % (domain->hash_size - 2)); - - for (;;) - { - if (inmem_hash_tab[idx] == 0) - { - /* Hash table entry is empty. Use it. */ - inmem_hash_tab[idx] = 1 + domain->nstrings + i; - break; - } - - if (idx >= domain->hash_size - incr) - idx -= domain->hash_size - incr; - else - idx += incr; - } - } - - freea (sysdep_segment_values); - - domain->n_sysdep_strings = n_sysdep_strings; - domain->orig_sysdep_tab = inmem_orig_sysdep_tab; - domain->trans_sysdep_tab = inmem_trans_sysdep_tab; - - domain->hash_tab = inmem_hash_tab; - domain->must_swap_hash_tab = 0; - } - else - { - domain->n_sysdep_strings = 0; - domain->orig_sysdep_tab = NULL; - domain->trans_sysdep_tab = NULL; - } - } - break; - } - break; - default: - /* This is an invalid revision. */ - invalid: - /* This is an invalid .mo file. */ - if (domain->malloced) - free (domain->malloced); -#ifdef HAVE_MMAP - if (use_mmap) - munmap ((caddr_t) data, size); - else -#endif - free (data); - free (domain); - domain_file->data = NULL; - return; - } - - /* Now initialize the character set converter from the character set - the file is encoded with (found in the header entry) to the domain's - specified character set or the locale's character set. */ - nullentry = _nl_init_domain_conv (domain_file, domain, domainbinding); - - /* Also look for a plural specification. */ - EXTRACT_PLURAL_EXPRESSION (nullentry, &domain->plural, &domain->nplurals); -} - - -#ifdef _LIBC -void -internal_function -_nl_unload_domain (domain) - struct loaded_domain *domain; -{ - if (domain->plural != &__gettext_germanic_plural) - __gettext_free_exp (domain->plural); - - _nl_free_domain_conv (domain); - - if (domain->malloced) - free (domain->malloced); - -# ifdef _POSIX_MAPPED_FILES - if (domain->use_mmap) - munmap ((caddr_t) domain->data, domain->mmap_size); - else -# endif /* _POSIX_MAPPED_FILES */ - free ((void *) domain->data); - - free (domain); -} -#endif diff --git a/intl/localcharset.c b/intl/localcharset.c deleted file mode 100644 index 8ece6e3..0000000 --- a/intl/localcharset.c +++ /dev/null @@ -1,398 +0,0 @@ -/* Determine a canonical name for the current locale's character encoding. - - Copyright (C) 2000-2003 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -/* Written by Bruno Haible <bruno@clisp.org>. */ - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -/* Specification. */ -#include "localcharset.h" - -#if HAVE_STDDEF_H -# include <stddef.h> -#endif - -#include <stdio.h> -#if HAVE_STRING_H -# include <string.h> -#else -# include <strings.h> -#endif -#if HAVE_STDLIB_H -# include <stdlib.h> -#endif - -#if defined _WIN32 || defined __WIN32__ -# undef WIN32 /* avoid warning on mingw32 */ -# define WIN32 -#endif - -#if defined __EMX__ -/* Assume EMX program runs on OS/2, even if compiled under DOS. */ -# define OS2 -#endif - -#if !defined WIN32 -# if HAVE_LANGINFO_CODESET -# include <langinfo.h> -# else -# if HAVE_SETLOCALE -# include <locale.h> -# endif -# endif -#elif defined WIN32 -# define WIN32_LEAN_AND_MEAN -# include <windows.h> -#endif -#if defined OS2 -# define INCL_DOS -# include <os2.h> -#endif - -#if ENABLE_RELOCATABLE -# include "relocatable.h" -#else -# define relocate(pathname) (pathname) -#endif - -#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ - /* Win32, OS/2, DOS */ -# define ISSLASH(C) ((C) == '/' || (C) == '\\') -#endif - -#ifndef DIRECTORY_SEPARATOR -# define DIRECTORY_SEPARATOR '/' -#endif - -#ifndef ISSLASH -# define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) -#endif - -#ifdef HAVE_GETC_UNLOCKED -# undef getc -# define getc getc_unlocked -#endif - -/* The following static variable is declared 'volatile' to avoid a - possible multithread problem in the function get_charset_aliases. If we - are running in a threaded environment, and if two threads initialize - 'charset_aliases' simultaneously, both will produce the same value, - and everything will be ok if the two assignments to 'charset_aliases' - are atomic. But I don't know what will happen if the two assignments mix. */ -#if __STDC__ != 1 -# define volatile /* empty */ -#endif -/* Pointer to the contents of the charset.alias file, if it has already been - read, else NULL. Its format is: - ALIAS_1 '\0' CANONICAL_1 '\0' ... ALIAS_n '\0' CANONICAL_n '\0' '\0' */ -static const char * volatile charset_aliases; - -/* Return a pointer to the contents of the charset.alias file. */ -static const char * -get_charset_aliases () -{ - const char *cp; - - cp = charset_aliases; - if (cp == NULL) - { -#if !(defined VMS || defined WIN32) - FILE *fp; - const char *dir = relocate (LIBDIR); - const char *base = "charset.alias"; - char *file_name; - - /* Concatenate dir and base into freshly allocated file_name. */ - { - size_t dir_len = strlen (dir); - size_t base_len = strlen (base); - int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1])); - file_name = (char *) malloc (dir_len + add_slash + base_len + 1); - if (file_name != NULL) - { - memcpy (file_name, dir, dir_len); - if (add_slash) - file_name[dir_len] = DIRECTORY_SEPARATOR; - memcpy (file_name + dir_len + add_slash, base, base_len + 1); - } - } - - if (file_name == NULL || (fp = fopen (file_name, "r")) == NULL) - /* Out of memory or file not found, treat it as empty. */ - cp = ""; - else - { - /* Parse the file's contents. */ - int c; - char buf1[50+1]; - char buf2[50+1]; - char *res_ptr = NULL; - size_t res_size = 0; - size_t l1, l2; - - for (;;) - { - c = getc (fp); - if (c == EOF) - break; - if (c == '\n' || c == ' ' || c == '\t') - continue; - if (c == '#') - { - /* Skip comment, to end of line. */ - do - c = getc (fp); - while (!(c == EOF || c == '\n')); - if (c == EOF) - break; - continue; - } - ungetc (c, fp); - if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) - break; - l1 = strlen (buf1); - l2 = strlen (buf2); - if (res_size == 0) - { - res_size = l1 + 1 + l2 + 1; - res_ptr = (char *) malloc (res_size + 1); - } - else - { - res_size += l1 + 1 + l2 + 1; - res_ptr = (char *) realloc (res_ptr, res_size + 1); - } - if (res_ptr == NULL) - { - /* Out of memory. */ - res_size = 0; - break; - } - strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1); - strcpy (res_ptr + res_size - (l2 + 1), buf2); - } - fclose (fp); - if (res_size == 0) - cp = ""; - else - { - *(res_ptr + res_size) = '\0'; - cp = res_ptr; - } - } - - if (file_name != NULL) - free (file_name); - -#else - -# if defined VMS - /* To avoid the troubles of an extra file charset.alias_vms in the - sources of many GNU packages, simply inline the aliases here. */ - /* The list of encodings is taken from the OpenVMS 7.3-1 documentation - "Compaq C Run-Time Library Reference Manual for OpenVMS systems" - section 10.7 "Handling Different Character Sets". */ - cp = "ISO8859-1" "\0" "ISO-8859-1" "\0" - "ISO8859-2" "\0" "ISO-8859-2" "\0" - "ISO8859-5" "\0" "ISO-8859-5" "\0" - "ISO8859-7" "\0" "ISO-8859-7" "\0" - "ISO8859-8" "\0" "ISO-8859-8" "\0" - "ISO8859-9" "\0" "ISO-8859-9" "\0" - /* Japanese */ - "eucJP" "\0" "EUC-JP" "\0" - "SJIS" "\0" "SHIFT_JIS" "\0" - "DECKANJI" "\0" "DEC-KANJI" "\0" - "SDECKANJI" "\0" "EUC-JP" "\0" - /* Chinese */ - "eucTW" "\0" "EUC-TW" "\0" - "DECHANYU" "\0" "DEC-HANYU" "\0" - "DECHANZI" "\0" "GB2312" "\0" - /* Korean */ - "DECKOREAN" "\0" "EUC-KR" "\0"; -# endif - -# if defined WIN32 - /* To avoid the troubles of installing a separate file in the same - directory as the DLL and of retrieving the DLL's directory at - runtime, simply inline the aliases here. */ - - cp = "CP936" "\0" "GBK" "\0" - "CP1361" "\0" "JOHAB" "\0" - "CP20127" "\0" "ASCII" "\0" - "CP20866" "\0" "KOI8-R" "\0" - "CP21866" "\0" "KOI8-RU" "\0" - "CP28591" "\0" "ISO-8859-1" "\0" - "CP28592" "\0" "ISO-8859-2" "\0" - "CP28593" "\0" "ISO-8859-3" "\0" - "CP28594" "\0" "ISO-8859-4" "\0" - "CP28595" "\0" "ISO-8859-5" "\0" - "CP28596" "\0" "ISO-8859-6" "\0" - "CP28597" "\0" "ISO-8859-7" "\0" - "CP28598" "\0" "ISO-8859-8" "\0" - "CP28599" "\0" "ISO-8859-9" "\0" - "CP28605" "\0" "ISO-8859-15" "\0"; -# endif -#endif - - charset_aliases = cp; - } - - return cp; -} - -/* Determine the current locale's character encoding, and canonicalize it - into one of the canonical names listed in config.charset. - The result must not be freed; it is statically allocated. - If the canonical name cannot be determined, the result is a non-canonical - name. */ - -#ifdef STATIC -STATIC -#endif -const char * -locale_charset () -{ - const char *codeset; - const char *aliases; - -#if !(defined WIN32 || defined OS2) - -# if HAVE_LANGINFO_CODESET - - /* Most systems support nl_langinfo (CODESET) nowadays. */ - codeset = nl_langinfo (CODESET); - -# else - - /* On old systems which lack it, use setlocale or getenv. */ - const char *locale = NULL; - - /* But most old systems don't have a complete set of locales. Some - (like SunOS 4 or DJGPP) have only the C locale. Therefore we don't - use setlocale here; it would return "C" when it doesn't support the - locale name the user has set. */ -# if HAVE_SETLOCALE && 0 - locale = setlocale (LC_CTYPE, NULL); -# endif - if (locale == NULL || locale[0] == '\0') - { - locale = getenv ("LC_ALL"); - if (locale == NULL || locale[0] == '\0') - { - locale = getenv ("LC_CTYPE"); - if (locale == NULL || locale[0] == '\0') - locale = getenv ("LANG"); - } - } - - /* On some old systems, one used to set locale = "iso8859_1". On others, - you set it to "language_COUNTRY.charset". In any case, we resolve it - through the charset.alias file. */ - codeset = locale; - -# endif - -#elif defined WIN32 - - static char buf[2 + 10 + 1]; - - /* Woe32 has a function returning the locale's codepage as a number. */ - sprintf (buf, "CP%u", GetACP ()); - codeset = buf; - -#elif defined OS2 - - const char *locale; - static char buf[2 + 10 + 1]; - ULONG cp[3]; - ULONG cplen; - - /* Allow user to override the codeset, as set in the operating system, - with standard language environment variables. */ - locale = getenv ("LC_ALL"); - if (locale == NULL || locale[0] == '\0') - { - locale = getenv ("LC_CTYPE"); - if (locale == NULL || locale[0] == '\0') - locale = getenv ("LANG"); - } - if (locale != NULL && locale[0] != '\0') - { - /* If the locale name contains an encoding after the dot, return it. */ - const char *dot = strchr (locale, '.'); - - if (dot != NULL) - { - const char *modifier; - - dot++; - /* Look for the possible @... trailer and remove it, if any. */ - modifier = strchr (dot, '@'); - if (modifier == NULL) - return dot; - if (modifier - dot < sizeof (buf)) - { - memcpy (buf, dot, modifier - dot); - buf [modifier - dot] = '\0'; - return buf; - } - } - - /* Resolve through the charset.alias file. */ - codeset = locale; - } - else - { - /* OS/2 has a function returning the locale's codepage as a number. */ - if (DosQueryCp (sizeof (cp), cp, &cplen)) - codeset = ""; - else - { - sprintf (buf, "CP%u", cp[0]); - codeset = buf; - } - } - -#endif - - if (codeset == NULL) - /* The canonical name cannot be determined. */ - codeset = ""; - - /* Resolve alias. */ - for (aliases = get_charset_aliases (); - *aliases != '\0'; - aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1) - if (strcmp (codeset, aliases) == 0 - || (aliases[0] == '*' && aliases[1] == '\0')) - { - codeset = aliases + strlen (aliases) + 1; - break; - } - - /* Don't return an empty string. GNU libc and GNU libiconv interpret - the empty string as denoting "the locale's character encoding", - thus GNU libiconv would call this function a second time. */ - if (codeset[0] == '\0') - codeset = "ASCII"; - - return codeset; -} diff --git a/intl/localcharset.h b/intl/localcharset.h deleted file mode 100644 index 47b21a0..0000000 --- a/intl/localcharset.h +++ /dev/null @@ -1,42 +0,0 @@ -/* Determine a canonical name for the current locale's character encoding. - Copyright (C) 2000-2003 Free Software Foundation, Inc. - This file is part of the GNU CHARSET Library. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifndef _LOCALCHARSET_H -#define _LOCALCHARSET_H - - -#ifdef __cplusplus -extern "C" { -#endif - - -/* Determine the current locale's character encoding, and canonicalize it - into one of the canonical names listed in config.charset. - The result must not be freed; it is statically allocated. - If the canonical name cannot be determined, the result is a non-canonical - name. */ -extern const char * locale_charset (void); - - -#ifdef __cplusplus -} -#endif - - -#endif /* _LOCALCHARSET_H */ diff --git a/intl/locale.alias b/intl/locale.alias deleted file mode 100644 index 0f15635..0000000 --- a/intl/locale.alias +++ /dev/null @@ -1,78 +0,0 @@ -# Locale name alias data base. -# Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU Library General Public License as published -# by the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Library General Public License for more details. -# -# You should have received a copy of the GNU Library General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, -# USA. - -# The format of this file is the same as for the corresponding file of -# the X Window System, which normally can be found in -# /usr/lib/X11/locale/locale.alias -# A single line contains two fields: an alias and a substitution value. -# All entries are case independent. - -# Note: This file is far from being complete. If you have a value for -# your own site which you think might be useful for others too, share -# it with the rest of us. Send it using the `glibcbug' script to -# bugs@gnu.org. - -# Packages using this file: - -bokmal no_NO.ISO-8859-1 -bokmål no_NO.ISO-8859-1 -catalan ca_ES.ISO-8859-1 -croatian hr_HR.ISO-8859-2 -czech cs_CZ.ISO-8859-2 -danish da_DK.ISO-8859-1 -dansk da_DK.ISO-8859-1 -deutsch de_DE.ISO-8859-1 -dutch nl_NL.ISO-8859-1 -eesti et_EE.ISO-8859-1 -estonian et_EE.ISO-8859-1 -finnish fi_FI.ISO-8859-1 -français fr_FR.ISO-8859-1 -french fr_FR.ISO-8859-1 -galego gl_ES.ISO-8859-1 -galician gl_ES.ISO-8859-1 -german de_DE.ISO-8859-1 -greek el_GR.ISO-8859-7 -hebrew he_IL.ISO-8859-8 -hrvatski hr_HR.ISO-8859-2 -hungarian hu_HU.ISO-8859-2 -icelandic is_IS.ISO-8859-1 -italian it_IT.ISO-8859-1 -japanese ja_JP.eucJP -japanese.euc ja_JP.eucJP -ja_JP ja_JP.eucJP -ja_JP.ujis ja_JP.eucJP -japanese.sjis ja_JP.SJIS -korean ko_KR.eucKR -korean.euc ko_KR.eucKR -ko_KR ko_KR.eucKR -lithuanian lt_LT.ISO-8859-13 -nb_NO no_NO.ISO-8859-1 -nb_NO.ISO-8859-1 no_NO.ISO-8859-1 -norwegian no_NO.ISO-8859-1 -nynorsk nn_NO.ISO-8859-1 -polish pl_PL.ISO-8859-2 -portuguese pt_PT.ISO-8859-1 -romanian ro_RO.ISO-8859-2 -russian ru_RU.ISO-8859-5 -slovak sk_SK.ISO-8859-2 -slovene sl_SI.ISO-8859-2 -slovenian sl_SI.ISO-8859-2 -spanish es_ES.ISO-8859-1 -swedish sv_SE.ISO-8859-1 -thai th_TH.TIS-620 -turkish tr_TR.ISO-8859-9 diff --git a/intl/localealias.c b/intl/localealias.c deleted file mode 100644 index 5af5b5b..0000000 --- a/intl/localealias.c +++ /dev/null @@ -1,419 +0,0 @@ -/* Handle aliases for locale names. - Copyright (C) 1995-1999, 2000-2001, 2003 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -/* Tell glibc's <string.h> to provide a prototype for mempcpy(). - This must come before <config.h> because <config.h> may include - <features.h>, and once <features.h> has been included, it's too late. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include <ctype.h> -#include <stdio.h> -#if defined _LIBC || defined HAVE___FSETLOCKING -# include <stdio_ext.h> -#endif -#include <sys/types.h> - -#ifdef __GNUC__ -# undef alloca -# define alloca __builtin_alloca -# define HAVE_ALLOCA 1 -#else -# ifdef _MSC_VER -# include <malloc.h> -# define alloca _alloca -# else -# if defined HAVE_ALLOCA_H || defined _LIBC -# include <alloca.h> -# else -# ifdef _AIX - #pragma alloca -# else -# ifndef alloca -char *alloca (); -# endif -# endif -# endif -# endif -#endif - -#include <stdlib.h> -#include <string.h> - -#include "gettextP.h" - -#if ENABLE_RELOCATABLE -# include "relocatable.h" -#else -# define relocate(pathname) (pathname) -#endif - -/* @@ end of prolog @@ */ - -#ifdef _LIBC -/* Rename the non ANSI C functions. This is required by the standard - because some ANSI C functions will require linking with this object - file and the name space must not be polluted. */ -# define strcasecmp __strcasecmp - -# ifndef mempcpy -# define mempcpy __mempcpy -# endif -# define HAVE_MEMPCPY 1 -# define HAVE___FSETLOCKING 1 - -/* We need locking here since we can be called from different places. */ -# include <bits/libc-lock.h> - -__libc_lock_define_initialized (static, lock); -#endif - -#ifndef internal_function -# define internal_function -#endif - -/* Some optimizations for glibc. */ -#ifdef _LIBC -# define FEOF(fp) feof_unlocked (fp) -# define FGETS(buf, n, fp) fgets_unlocked (buf, n, fp) -#else -# define FEOF(fp) feof (fp) -# define FGETS(buf, n, fp) fgets (buf, n, fp) -#endif - -/* For those losing systems which don't have `alloca' we have to add - some additional code emulating it. */ -#ifdef HAVE_ALLOCA -# define freea(p) /* nothing */ -#else -# define alloca(n) malloc (n) -# define freea(p) free (p) -#endif - -#if defined _LIBC_REENTRANT || defined HAVE_FGETS_UNLOCKED -# undef fgets -# define fgets(buf, len, s) fgets_unlocked (buf, len, s) -#endif -#if defined _LIBC_REENTRANT || defined HAVE_FEOF_UNLOCKED -# undef feof -# define feof(s) feof_unlocked (s) -#endif - - -struct alias_map -{ - const char *alias; - const char *value; -}; - - -#ifndef _LIBC -# define libc_freeres_ptr(decl) decl -#endif - -libc_freeres_ptr (static char *string_space); -static size_t string_space_act; -static size_t string_space_max; -libc_freeres_ptr (static struct alias_map *map); -static size_t nmap; -static size_t maxmap; - - -/* Prototypes for local functions. */ -static size_t read_alias_file PARAMS ((const char *fname, int fname_len)) - internal_function; -static int extend_alias_table PARAMS ((void)); -static int alias_compare PARAMS ((const struct alias_map *map1, - const struct alias_map *map2)); - - -const char * -_nl_expand_alias (name) - const char *name; -{ - static const char *locale_alias_path; - struct alias_map *retval; - const char *result = NULL; - size_t added; - -#ifdef _LIBC - __libc_lock_lock (lock); -#endif - - if (locale_alias_path == NULL) - locale_alias_path = LOCALE_ALIAS_PATH; - - do - { - struct alias_map item; - - item.alias = name; - - if (nmap > 0) - retval = (struct alias_map *) bsearch (&item, map, nmap, - sizeof (struct alias_map), - (int (*) PARAMS ((const void *, - const void *)) - ) alias_compare); - else - retval = NULL; - - /* We really found an alias. Return the value. */ - if (retval != NULL) - { - result = retval->value; - break; - } - - /* Perhaps we can find another alias file. */ - added = 0; - while (added == 0 && locale_alias_path[0] != '\0') - { - const char *start; - - while (locale_alias_path[0] == PATH_SEPARATOR) - ++locale_alias_path; - start = locale_alias_path; - - while (locale_alias_path[0] != '\0' - && locale_alias_path[0] != PATH_SEPARATOR) - ++locale_alias_path; - - if (start < locale_alias_path) - added = read_alias_file (start, locale_alias_path - start); - } - } - while (added != 0); - -#ifdef _LIBC - __libc_lock_unlock (lock); -#endif - - return result; -} - - -static size_t -internal_function -read_alias_file (fname, fname_len) - const char *fname; - int fname_len; -{ - FILE *fp; - char *full_fname; - size_t added; - static const char aliasfile[] = "/locale.alias"; - - full_fname = (char *) alloca (fname_len + sizeof aliasfile); -#ifdef HAVE_MEMPCPY - mempcpy (mempcpy (full_fname, fname, fname_len), - aliasfile, sizeof aliasfile); -#else - memcpy (full_fname, fname, fname_len); - memcpy (&full_fname[fname_len], aliasfile, sizeof aliasfile); -#endif - - fp = fopen (relocate (full_fname), "r"); - freea (full_fname); - if (fp == NULL) - return 0; - -#ifdef HAVE___FSETLOCKING - /* No threads present. */ - __fsetlocking (fp, FSETLOCKING_BYCALLER); -#endif - - added = 0; - while (!FEOF (fp)) - { - /* It is a reasonable approach to use a fix buffer here because - a) we are only interested in the first two fields - b) these fields must be usable as file names and so must not - be that long - We avoid a multi-kilobyte buffer here since this would use up - stack space which we might not have if the program ran out of - memory. */ - char buf[400]; - char *alias; - char *value; - char *cp; - - if (FGETS (buf, sizeof buf, fp) == NULL) - /* EOF reached. */ - break; - - cp = buf; - /* Ignore leading white space. */ - while (isspace ((unsigned char) cp[0])) - ++cp; - - /* A leading '#' signals a comment line. */ - if (cp[0] != '\0' && cp[0] != '#') - { - alias = cp++; - while (cp[0] != '\0' && !isspace ((unsigned char) cp[0])) - ++cp; - /* Terminate alias name. */ - if (cp[0] != '\0') - *cp++ = '\0'; - - /* Now look for the beginning of the value. */ - while (isspace ((unsigned char) cp[0])) - ++cp; - - if (cp[0] != '\0') - { - size_t alias_len; - size_t value_len; - - value = cp++; - while (cp[0] != '\0' && !isspace ((unsigned char) cp[0])) - ++cp; - /* Terminate value. */ - if (cp[0] == '\n') - { - /* This has to be done to make the following test - for the end of line possible. We are looking for - the terminating '\n' which do not overwrite here. */ - *cp++ = '\0'; - *cp = '\n'; - } - else if (cp[0] != '\0') - *cp++ = '\0'; - - if (nmap >= maxmap) - if (__builtin_expect (extend_alias_table (), 0)) - return added; - - alias_len = strlen (alias) + 1; - value_len = strlen (value) + 1; - - if (string_space_act + alias_len + value_len > string_space_max) - { - /* Increase size of memory pool. */ - size_t new_size = (string_space_max - + (alias_len + value_len > 1024 - ? alias_len + value_len : 1024)); - char *new_pool = (char *) realloc (string_space, new_size); - if (new_pool == NULL) - return added; - - if (__builtin_expect (string_space != new_pool, 0)) - { - size_t i; - - for (i = 0; i < nmap; i++) - { - map[i].alias += new_pool - string_space; - map[i].value += new_pool - string_space; - } - } - - string_space = new_pool; - string_space_max = new_size; - } - - map[nmap].alias = memcpy (&string_space[string_space_act], - alias, alias_len); - string_space_act += alias_len; - - map[nmap].value = memcpy (&string_space[string_space_act], - value, value_len); - string_space_act += value_len; - - ++nmap; - ++added; - } - } - - /* Possibly not the whole line fits into the buffer. Ignore - the rest of the line. */ - while (strchr (buf, '\n') == NULL) - if (FGETS (buf, sizeof buf, fp) == NULL) - /* Make sure the inner loop will be left. The outer loop - will exit at the `feof' test. */ - break; - } - - /* Should we test for ferror()? I think we have to silently ignore - errors. --drepper */ - fclose (fp); - - if (added > 0) - qsort (map, nmap, sizeof (struct alias_map), - (int (*) PARAMS ((const void *, const void *))) alias_compare); - - return added; -} - - -static int -extend_alias_table () -{ - size_t new_size; - struct alias_map *new_map; - - new_size = maxmap == 0 ? 100 : 2 * maxmap; - new_map = (struct alias_map *) realloc (map, (new_size - * sizeof (struct alias_map))); - if (new_map == NULL) - /* Simply don't extend: we don't have any more core. */ - return -1; - - map = new_map; - maxmap = new_size; - return 0; -} - - -static int -alias_compare (map1, map2) - const struct alias_map *map1; - const struct alias_map *map2; -{ -#if defined _LIBC || defined HAVE_STRCASECMP - return strcasecmp (map1->alias, map2->alias); -#else - const unsigned char *p1 = (const unsigned char *) map1->alias; - const unsigned char *p2 = (const unsigned char *) map2->alias; - unsigned char c1, c2; - - if (p1 == p2) - return 0; - - do - { - /* I know this seems to be odd but the tolower() function in - some systems libc cannot handle nonalpha characters. */ - c1 = isupper (*p1) ? tolower (*p1) : *p1; - c2 = isupper (*p2) ? tolower (*p2) : *p2; - if (c1 == '\0') - break; - ++p1; - ++p2; - } - while (c1 == c2); - - return c1 - c2; -#endif -} diff --git a/intl/localename.c b/intl/localename.c deleted file mode 100644 index 28c4ca7..0000000 --- a/intl/localename.c +++ /dev/null @@ -1,772 +0,0 @@ -/* Determine the current selected locale. - Copyright (C) 1995-1999, 2000-2002 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -/* Written by Ulrich Drepper <drepper@gnu.org>, 1995. */ -/* Win32 code written by Tor Lillqvist <tml@iki.fi>. */ - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include <stdlib.h> -#include <locale.h> - -#if defined _WIN32 || defined __WIN32__ -# undef WIN32 /* avoid warning on mingw32 */ -# define WIN32 -#endif - -#ifdef WIN32 -# define WIN32_LEAN_AND_MEAN -# include <windows.h> -/* Mingw headers don't have latest language and sublanguage codes. */ -# ifndef LANG_AFRIKAANS -# define LANG_AFRIKAANS 0x36 -# endif -# ifndef LANG_ALBANIAN -# define LANG_ALBANIAN 0x1c -# endif -# ifndef LANG_ARABIC -# define LANG_ARABIC 0x01 -# endif -# ifndef LANG_ARMENIAN -# define LANG_ARMENIAN 0x2b -# endif -# ifndef LANG_ASSAMESE -# define LANG_ASSAMESE 0x4d -# endif -# ifndef LANG_AZERI -# define LANG_AZERI 0x2c -# endif -# ifndef LANG_BASQUE -# define LANG_BASQUE 0x2d -# endif -# ifndef LANG_BELARUSIAN -# define LANG_BELARUSIAN 0x23 -# endif -# ifndef LANG_BENGALI -# define LANG_BENGALI 0x45 -# endif -# ifndef LANG_CATALAN -# define LANG_CATALAN 0x03 -# endif -# ifndef LANG_DIVEHI -# define LANG_DIVEHI 0x65 -# endif -# ifndef LANG_ESTONIAN -# define LANG_ESTONIAN 0x25 -# endif -# ifndef LANG_FAEROESE -# define LANG_FAEROESE 0x38 -# endif -# ifndef LANG_FARSI -# define LANG_FARSI 0x29 -# endif -# ifndef LANG_GALICIAN -# define LANG_GALICIAN 0x56 -# endif -# ifndef LANG_GEORGIAN -# define LANG_GEORGIAN 0x37 -# endif -# ifndef LANG_GUJARATI -# define LANG_GUJARATI 0x47 -# endif -# ifndef LANG_HEBREW -# define LANG_HEBREW 0x0d -# endif -# ifndef LANG_HINDI -# define LANG_HINDI 0x39 -# endif -# ifndef LANG_INDONESIAN -# define LANG_INDONESIAN 0x21 -# endif -# ifndef LANG_KANNADA -# define LANG_KANNADA 0x4b -# endif -# ifndef LANG_KASHMIRI -# define LANG_KASHMIRI 0x60 -# endif -# ifndef LANG_KAZAK -# define LANG_KAZAK 0x3f -# endif -# ifndef LANG_KONKANI -# define LANG_KONKANI 0x57 -# endif -# ifndef LANG_KYRGYZ -# define LANG_KYRGYZ 0x40 -# endif -# ifndef LANG_LATVIAN -# define LANG_LATVIAN 0x26 -# endif -# ifndef LANG_LITHUANIAN -# define LANG_LITHUANIAN 0x27 -# endif -# ifndef LANG_MACEDONIAN -# define LANG_MACEDONIAN 0x2f -# endif -# ifndef LANG_MALAY -# define LANG_MALAY 0x3e -# endif -# ifndef LANG_MALAYALAM -# define LANG_MALAYALAM 0x4c -# endif -# ifndef LANG_MANIPURI -# define LANG_MANIPURI 0x58 -# endif -# ifndef LANG_MARATHI -# define LANG_MARATHI 0x4e -# endif -# ifndef LANG_MONGOLIAN -# define LANG_MONGOLIAN 0x50 -# endif -# ifndef LANG_NEPALI -# define LANG_NEPALI 0x61 -# endif -# ifndef LANG_ORIYA -# define LANG_ORIYA 0x48 -# endif -# ifndef LANG_PUNJABI -# define LANG_PUNJABI 0x46 -# endif -# ifndef LANG_SANSKRIT -# define LANG_SANSKRIT 0x4f -# endif -# ifndef LANG_SERBIAN -# define LANG_SERBIAN 0x1a -# endif -# ifndef LANG_SINDHI -# define LANG_SINDHI 0x59 -# endif -# ifndef LANG_SLOVAK -# define LANG_SLOVAK 0x1b -# endif -# ifndef LANG_SORBIAN -# define LANG_SORBIAN 0x2e -# endif -# ifndef LANG_SWAHILI -# define LANG_SWAHILI 0x41 -# endif -# ifndef LANG_SYRIAC -# define LANG_SYRIAC 0x5a -# endif -# ifndef LANG_TAMIL -# define LANG_TAMIL 0x49 -# endif -# ifndef LANG_TATAR -# define LANG_TATAR 0x44 -# endif -# ifndef LANG_TELUGU -# define LANG_TELUGU 0x4a -# endif -# ifndef LANG_THAI -# define LANG_THAI 0x1e -# endif -# ifndef LANG_UKRAINIAN -# define LANG_UKRAINIAN 0x22 -# endif -# ifndef LANG_URDU -# define LANG_URDU 0x20 -# endif -# ifndef LANG_UZBEK -# define LANG_UZBEK 0x43 -# endif -# ifndef LANG_VIETNAMESE -# define LANG_VIETNAMESE 0x2a -# endif -# ifndef SUBLANG_ARABIC_SAUDI_ARABIA -# define SUBLANG_ARABIC_SAUDI_ARABIA 0x01 -# endif -# ifndef SUBLANG_ARABIC_IRAQ -# define SUBLANG_ARABIC_IRAQ 0x02 -# endif -# ifndef SUBLANG_ARABIC_EGYPT -# define SUBLANG_ARABIC_EGYPT 0x03 -# endif -# ifndef SUBLANG_ARABIC_LIBYA -# define SUBLANG_ARABIC_LIBYA 0x04 -# endif -# ifndef SUBLANG_ARABIC_ALGERIA -# define SUBLANG_ARABIC_ALGERIA 0x05 -# endif -# ifndef SUBLANG_ARABIC_MOROCCO -# define SUBLANG_ARABIC_MOROCCO 0x06 -# endif -# ifndef SUBLANG_ARABIC_TUNISIA -# define SUBLANG_ARABIC_TUNISIA 0x07 -# endif -# ifndef SUBLANG_ARABIC_OMAN -# define SUBLANG_ARABIC_OMAN 0x08 -# endif -# ifndef SUBLANG_ARABIC_YEMEN -# define SUBLANG_ARABIC_YEMEN 0x09 -# endif -# ifndef SUBLANG_ARABIC_SYRIA -# define SUBLANG_ARABIC_SYRIA 0x0a -# endif -# ifndef SUBLANG_ARABIC_JORDAN -# define SUBLANG_ARABIC_JORDAN 0x0b -# endif -# ifndef SUBLANG_ARABIC_LEBANON -# define SUBLANG_ARABIC_LEBANON 0x0c -# endif -# ifndef SUBLANG_ARABIC_KUWAIT -# define SUBLANG_ARABIC_KUWAIT 0x0d -# endif -# ifndef SUBLANG_ARABIC_UAE -# define SUBLANG_ARABIC_UAE 0x0e -# endif -# ifndef SUBLANG_ARABIC_BAHRAIN -# define SUBLANG_ARABIC_BAHRAIN 0x0f -# endif -# ifndef SUBLANG_ARABIC_QATAR -# define SUBLANG_ARABIC_QATAR 0x10 -# endif -# ifndef SUBLANG_AZERI_LATIN -# define SUBLANG_AZERI_LATIN 0x01 -# endif -# ifndef SUBLANG_AZERI_CYRILLIC -# define SUBLANG_AZERI_CYRILLIC 0x02 -# endif -# ifndef SUBLANG_CHINESE_MACAU -# define SUBLANG_CHINESE_MACAU 0x05 -# endif -# ifndef SUBLANG_ENGLISH_SOUTH_AFRICA -# define SUBLANG_ENGLISH_SOUTH_AFRICA 0x07 -# endif -# ifndef SUBLANG_ENGLISH_JAMAICA -# define SUBLANG_ENGLISH_JAMAICA 0x08 -# endif -# ifndef SUBLANG_ENGLISH_CARIBBEAN -# define SUBLANG_ENGLISH_CARIBBEAN 0x09 -# endif -# ifndef SUBLANG_ENGLISH_BELIZE -# define SUBLANG_ENGLISH_BELIZE 0x0a -# endif -# ifndef SUBLANG_ENGLISH_TRINIDAD -# define SUBLANG_ENGLISH_TRINIDAD 0x0b -# endif -# ifndef SUBLANG_ENGLISH_ZIMBABWE -# define SUBLANG_ENGLISH_ZIMBABWE 0x0c -# endif -# ifndef SUBLANG_ENGLISH_PHILIPPINES -# define SUBLANG_ENGLISH_PHILIPPINES 0x0d -# endif -# ifndef SUBLANG_FRENCH_LUXEMBOURG -# define SUBLANG_FRENCH_LUXEMBOURG 0x05 -# endif -# ifndef SUBLANG_FRENCH_MONACO -# define SUBLANG_FRENCH_MONACO 0x06 -# endif -# ifndef SUBLANG_GERMAN_LUXEMBOURG -# define SUBLANG_GERMAN_LUXEMBOURG 0x04 -# endif -# ifndef SUBLANG_GERMAN_LIECHTENSTEIN -# define SUBLANG_GERMAN_LIECHTENSTEIN 0x05 -# endif -# ifndef SUBLANG_KASHMIRI_INDIA -# define SUBLANG_KASHMIRI_INDIA 0x02 -# endif -# ifndef SUBLANG_MALAY_MALAYSIA -# define SUBLANG_MALAY_MALAYSIA 0x01 -# endif -# ifndef SUBLANG_MALAY_BRUNEI_DARUSSALAM -# define SUBLANG_MALAY_BRUNEI_DARUSSALAM 0x02 -# endif -# ifndef SUBLANG_NEPALI_INDIA -# define SUBLANG_NEPALI_INDIA 0x02 -# endif -# ifndef SUBLANG_SERBIAN_LATIN -# define SUBLANG_SERBIAN_LATIN 0x02 -# endif -# ifndef SUBLANG_SERBIAN_CYRILLIC -# define SUBLANG_SERBIAN_CYRILLIC 0x03 -# endif -# ifndef SUBLANG_SPANISH_GUATEMALA -# define SUBLANG_SPANISH_GUATEMALA 0x04 -# endif -# ifndef SUBLANG_SPANISH_COSTA_RICA -# define SUBLANG_SPANISH_COSTA_RICA 0x05 -# endif -# ifndef SUBLANG_SPANISH_PANAMA -# define SUBLANG_SPANISH_PANAMA 0x06 -# endif -# ifndef SUBLANG_SPANISH_DOMINICAN_REPUBLIC -# define SUBLANG_SPANISH_DOMINICAN_REPUBLIC 0x07 -# endif -# ifndef SUBLANG_SPANISH_VENEZUELA -# define SUBLANG_SPANISH_VENEZUELA 0x08 -# endif -# ifndef SUBLANG_SPANISH_COLOMBIA -# define SUBLANG_SPANISH_COLOMBIA 0x09 -# endif -# ifndef SUBLANG_SPANISH_PERU -# define SUBLANG_SPANISH_PERU 0x0a -# endif -# ifndef SUBLANG_SPANISH_ARGENTINA -# define SUBLANG_SPANISH_ARGENTINA 0x0b -# endif -# ifndef SUBLANG_SPANISH_ECUADOR -# define SUBLANG_SPANISH_ECUADOR 0x0c -# endif -# ifndef SUBLANG_SPANISH_CHILE -# define SUBLANG_SPANISH_CHILE 0x0d -# endif -# ifndef SUBLANG_SPANISH_URUGUAY -# define SUBLANG_SPANISH_URUGUAY 0x0e -# endif -# ifndef SUBLANG_SPANISH_PARAGUAY -# define SUBLANG_SPANISH_PARAGUAY 0x0f -# endif -# ifndef SUBLANG_SPANISH_BOLIVIA -# define SUBLANG_SPANISH_BOLIVIA 0x10 -# endif -# ifndef SUBLANG_SPANISH_EL_SALVADOR -# define SUBLANG_SPANISH_EL_SALVADOR 0x11 -# endif -# ifndef SUBLANG_SPANISH_HONDURAS -# define SUBLANG_SPANISH_HONDURAS 0x12 -# endif -# ifndef SUBLANG_SPANISH_NICARAGUA -# define SUBLANG_SPANISH_NICARAGUA 0x13 -# endif -# ifndef SUBLANG_SPANISH_PUERTO_RICO -# define SUBLANG_SPANISH_PUERTO_RICO 0x14 -# endif -# ifndef SUBLANG_SWEDISH_FINLAND -# define SUBLANG_SWEDISH_FINLAND 0x02 -# endif -# ifndef SUBLANG_URDU_PAKISTAN -# define SUBLANG_URDU_PAKISTAN 0x01 -# endif -# ifndef SUBLANG_URDU_INDIA -# define SUBLANG_URDU_INDIA 0x02 -# endif -# ifndef SUBLANG_UZBEK_LATIN -# define SUBLANG_UZBEK_LATIN 0x01 -# endif -# ifndef SUBLANG_UZBEK_CYRILLIC -# define SUBLANG_UZBEK_CYRILLIC 0x02 -# endif -#endif - -/* XPG3 defines the result of 'setlocale (category, NULL)' as: - "Directs 'setlocale()' to query 'category' and return the current - setting of 'local'." - However it does not specify the exact format. Neither do SUSV2 and - ISO C 99. So we can use this feature only on selected systems (e.g. - those using GNU C Library). */ -#if defined _LIBC || (defined __GNU_LIBRARY__ && __GNU_LIBRARY__ >= 2) -# define HAVE_LOCALE_NULL -#endif - -/* Determine the current locale's name, and canonicalize it into XPG syntax - language[_territory[.codeset]][@modifier] - The codeset part in the result is not reliable; the locale_charset() - should be used for codeset information instead. - The result must not be freed; it is statically allocated. */ - -const char * -_nl_locale_name (category, categoryname) - int category; - const char *categoryname; -{ - const char *retval; - -#ifndef WIN32 - - /* Use the POSIX methods of looking to 'LC_ALL', 'LC_xxx', and 'LANG'. - On some systems this can be done by the 'setlocale' function itself. */ -# if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL - retval = setlocale (category, NULL); -# else - /* Setting of LC_ALL overwrites all other. */ - retval = getenv ("LC_ALL"); - if (retval == NULL || retval[0] == '\0') - { - /* Next comes the name of the desired category. */ - retval = getenv (categoryname); - if (retval == NULL || retval[0] == '\0') - { - /* Last possibility is the LANG environment variable. */ - retval = getenv ("LANG"); - if (retval == NULL || retval[0] == '\0') - /* We use C as the default domain. POSIX says this is - implementation defined. */ - retval = "C"; - } - } -# endif - - return retval; - -#else /* WIN32 */ - - /* Return an XPG style locale name language[_territory][@modifier]. - Don't even bother determining the codeset; it's not useful in this - context, because message catalogs are not specific to a single - codeset. */ - - LCID lcid; - LANGID langid; - int primary, sub; - - /* Let the user override the system settings through environment - variables, as on POSIX systems. */ - retval = getenv ("LC_ALL"); - if (retval != NULL && retval[0] != '\0') - return retval; - retval = getenv (categoryname); - if (retval != NULL && retval[0] != '\0') - return retval; - retval = getenv ("LANG"); - if (retval != NULL && retval[0] != '\0') - return retval; - - /* Use native Win32 API locale ID. */ - lcid = GetThreadLocale (); - - /* Strip off the sorting rules, keep only the language part. */ - langid = LANGIDFROMLCID (lcid); - - /* Split into language and territory part. */ - primary = PRIMARYLANGID (langid); - sub = SUBLANGID (langid); - - /* Dispatch on language. - See also http://www.unicode.org/unicode/onlinedat/languages.html . - For details about languages, see http://www.ethnologue.com/ . */ - switch (primary) - { - case LANG_AFRIKAANS: return "af_ZA"; - case LANG_ALBANIAN: return "sq_AL"; - case 0x5e: /* AMHARIC */ return "am_ET"; - case LANG_ARABIC: - switch (sub) - { - case SUBLANG_ARABIC_SAUDI_ARABIA: return "ar_SA"; - case SUBLANG_ARABIC_IRAQ: return "ar_IQ"; - case SUBLANG_ARABIC_EGYPT: return "ar_EG"; - case SUBLANG_ARABIC_LIBYA: return "ar_LY"; - case SUBLANG_ARABIC_ALGERIA: return "ar_DZ"; - case SUBLANG_ARABIC_MOROCCO: return "ar_MA"; - case SUBLANG_ARABIC_TUNISIA: return "ar_TN"; - case SUBLANG_ARABIC_OMAN: return "ar_OM"; - case SUBLANG_ARABIC_YEMEN: return "ar_YE"; - case SUBLANG_ARABIC_SYRIA: return "ar_SY"; - case SUBLANG_ARABIC_JORDAN: return "ar_JO"; - case SUBLANG_ARABIC_LEBANON: return "ar_LB"; - case SUBLANG_ARABIC_KUWAIT: return "ar_KW"; - case SUBLANG_ARABIC_UAE: return "ar_AE"; - case SUBLANG_ARABIC_BAHRAIN: return "ar_BH"; - case SUBLANG_ARABIC_QATAR: return "ar_QA"; - } - return "ar"; - case LANG_ARMENIAN: return "hy_AM"; - case LANG_ASSAMESE: return "as_IN"; - case LANG_AZERI: - switch (sub) - { - /* FIXME: Adjust this when Azerbaijani locales appear on Unix. */ - case SUBLANG_AZERI_LATIN: return "az_AZ@latin"; - case SUBLANG_AZERI_CYRILLIC: return "az_AZ@cyrillic"; - } - return "az"; - case LANG_BASQUE: - return "eu"; /* Ambiguous: could be "eu_ES" or "eu_FR". */ - case LANG_BELARUSIAN: return "be_BY"; - case LANG_BENGALI: return "bn_IN"; - case LANG_BULGARIAN: return "bg_BG"; - case 0x55: /* BURMESE */ return "my_MM"; - case 0x53: /* CAMBODIAN */ return "km_KH"; - case LANG_CATALAN: return "ca_ES"; - case 0x5c: /* CHEROKEE */ return "chr_US"; - case LANG_CHINESE: - switch (sub) - { - case SUBLANG_CHINESE_TRADITIONAL: return "zh_TW"; - case SUBLANG_CHINESE_SIMPLIFIED: return "zh_CN"; - case SUBLANG_CHINESE_HONGKONG: return "zh_HK"; - case SUBLANG_CHINESE_SINGAPORE: return "zh_SG"; - case SUBLANG_CHINESE_MACAU: return "zh_MO"; - } - return "zh"; - case LANG_CROATIAN: /* LANG_CROATIAN == LANG_SERBIAN - * What used to be called Serbo-Croatian - * should really now be two separate - * languages because of political reasons. - * (Says tml, who knows nothing about Serbian - * or Croatian.) - * (I can feel those flames coming already.) - */ - switch (sub) - { - case SUBLANG_DEFAULT: return "hr_HR"; - case SUBLANG_SERBIAN_LATIN: return "sr_YU"; - case SUBLANG_SERBIAN_CYRILLIC: return "sr_YU@cyrillic"; - } - return "hr"; - case LANG_CZECH: return "cs_CZ"; - case LANG_DANISH: return "da_DK"; - case LANG_DIVEHI: return "div_MV"; - case LANG_DUTCH: - switch (sub) - { - case SUBLANG_DUTCH: return "nl_NL"; - case SUBLANG_DUTCH_BELGIAN: /* FLEMISH, VLAAMS */ return "nl_BE"; - } - return "nl"; - case 0x66: /* EDO */ return "bin_NG"; - case LANG_ENGLISH: - switch (sub) - { - /* SUBLANG_ENGLISH_US == SUBLANG_DEFAULT. Heh. I thought - * English was the language spoken in England. - * Oh well. - */ - case SUBLANG_ENGLISH_US: return "en_US"; - case SUBLANG_ENGLISH_UK: return "en_GB"; - case SUBLANG_ENGLISH_AUS: return "en_AU"; - case SUBLANG_ENGLISH_CAN: return "en_CA"; - case SUBLANG_ENGLISH_NZ: return "en_NZ"; - case SUBLANG_ENGLISH_EIRE: return "en_IE"; - case SUBLANG_ENGLISH_SOUTH_AFRICA: return "en_ZA"; - case SUBLANG_ENGLISH_JAMAICA: return "en_JM"; - case SUBLANG_ENGLISH_CARIBBEAN: return "en_GD"; /* Grenada? */ - case SUBLANG_ENGLISH_BELIZE: return "en_BZ"; - case SUBLANG_ENGLISH_TRINIDAD: return "en_TT"; - case SUBLANG_ENGLISH_ZIMBABWE: return "en_ZW"; - case SUBLANG_ENGLISH_PHILIPPINES: return "en_PH"; - } - return "en"; - case LANG_ESTONIAN: return "et_EE"; - case LANG_FAEROESE: return "fo_FO"; - case LANG_FARSI: return "fa_IR"; - case LANG_FINNISH: return "fi_FI"; - case LANG_FRENCH: - switch (sub) - { - case SUBLANG_FRENCH: return "fr_FR"; - case SUBLANG_FRENCH_BELGIAN: /* WALLOON */ return "fr_BE"; - case SUBLANG_FRENCH_CANADIAN: return "fr_CA"; - case SUBLANG_FRENCH_SWISS: return "fr_CH"; - case SUBLANG_FRENCH_LUXEMBOURG: return "fr_LU"; - case SUBLANG_FRENCH_MONACO: return "fr_MC"; - } - return "fr"; - case 0x62: /* FRISIAN */ return "fy_NL"; - case 0x67: /* FULFULDE */ return "ful_NG"; - case 0x3c: /* GAELIC */ - switch (sub) - { - case 0x01: /* SCOTTISH */ return "gd_GB"; - case 0x02: /* IRISH */ return "ga_IE"; - } - return "C"; - case LANG_GALICIAN: return "gl_ES"; - case LANG_GEORGIAN: return "ka_GE"; - case LANG_GERMAN: - switch (sub) - { - case SUBLANG_GERMAN: return "de_DE"; - case SUBLANG_GERMAN_SWISS: return "de_CH"; - case SUBLANG_GERMAN_AUSTRIAN: return "de_AT"; - case SUBLANG_GERMAN_LUXEMBOURG: return "de_LU"; - case SUBLANG_GERMAN_LIECHTENSTEIN: return "de_LI"; - } - return "de"; - case LANG_GREEK: return "el_GR"; - case 0x74: /* GUARANI */ return "gn_PY"; - case LANG_GUJARATI: return "gu_IN"; - case 0x68: /* HAUSA */ return "ha_NG"; - case 0x75: /* HAWAIIAN */ - /* FIXME: Do they mean Hawaiian ("haw_US", 1000 speakers) - or Hawaii Creole English ("cpe_US", 600000 speakers)? */ - return "cpe_US"; - case LANG_HEBREW: return "he_IL"; - case LANG_HINDI: return "hi_IN"; - case LANG_HUNGARIAN: return "hu_HU"; - case 0x69: /* IBIBIO */ return "nic_NG"; - case LANG_ICELANDIC: return "is_IS"; - case 0x70: /* IGBO */ return "ibo_NG"; - case LANG_INDONESIAN: return "id_ID"; - case 0x5d: /* INUKTITUT */ return "iu_CA"; - case LANG_ITALIAN: - switch (sub) - { - case SUBLANG_ITALIAN: return "it_IT"; - case SUBLANG_ITALIAN_SWISS: return "it_CH"; - } - return "it"; - case LANG_JAPANESE: return "ja_JP"; - case LANG_KANNADA: return "kn_IN"; - case 0x71: /* KANURI */ return "kau_NG"; - case LANG_KASHMIRI: - switch (sub) - { - case SUBLANG_DEFAULT: return "ks_PK"; - case SUBLANG_KASHMIRI_INDIA: return "ks_IN"; - } - return "ks"; - case LANG_KAZAK: return "kk_KZ"; - case LANG_KONKANI: - /* FIXME: Adjust this when such locales appear on Unix. */ - return "kok_IN"; - case LANG_KOREAN: return "ko_KR"; - case LANG_KYRGYZ: return "ky_KG"; - case 0x54: /* LAO */ return "lo_LA"; - case 0x76: /* LATIN */ return "la_VA"; - case LANG_LATVIAN: return "lv_LV"; - case LANG_LITHUANIAN: return "lt_LT"; - case LANG_MACEDONIAN: return "mk_MK"; - case LANG_MALAY: - switch (sub) - { - case SUBLANG_MALAY_MALAYSIA: return "ms_MY"; - case SUBLANG_MALAY_BRUNEI_DARUSSALAM: return "ms_BN"; - } - return "ms"; - case LANG_MALAYALAM: return "ml_IN"; - case 0x3a: /* MALTESE */ return "mt_MT"; - case LANG_MANIPURI: - /* FIXME: Adjust this when such locales appear on Unix. */ - return "mni_IN"; - case LANG_MARATHI: return "mr_IN"; - case LANG_MONGOLIAN: - return "mn"; /* Ambiguous: could be "mn_CN" or "mn_MN". */ - case LANG_NEPALI: - switch (sub) - { - case SUBLANG_DEFAULT: return "ne_NP"; - case SUBLANG_NEPALI_INDIA: return "ne_IN"; - } - return "ne"; - case LANG_NORWEGIAN: - switch (sub) - { - case SUBLANG_NORWEGIAN_BOKMAL: return "no_NO"; - case SUBLANG_NORWEGIAN_NYNORSK: return "nn_NO"; - } - return "no"; - case LANG_ORIYA: return "or_IN"; - case 0x72: /* OROMO */ return "om_ET"; - case 0x79: /* PAPIAMENTU */ return "pap_AN"; - case 0x63: /* PASHTO */ - return "ps"; /* Ambiguous: could be "ps_PK" or "ps_AF". */ - case LANG_POLISH: return "pl_PL"; - case LANG_PORTUGUESE: - switch (sub) - { - case SUBLANG_PORTUGUESE: return "pt_PT"; - /* Hmm. SUBLANG_PORTUGUESE_BRAZILIAN == SUBLANG_DEFAULT. - Same phenomenon as SUBLANG_ENGLISH_US == SUBLANG_DEFAULT. */ - case SUBLANG_PORTUGUESE_BRAZILIAN: return "pt_BR"; - } - return "pt"; - case LANG_PUNJABI: return "pa_IN"; - case 0x17: /* RHAETO-ROMANCE */ return "rm_CH"; - case LANG_ROMANIAN: return "ro_RO"; - case LANG_RUSSIAN: - return "ru"; /* Ambiguous: could be "ru_RU" or "ru_UA". */ - case 0x3b: /* SAMI */ return "se_NO"; - case LANG_SANSKRIT: return "sa_IN"; - case LANG_SINDHI: return "sd"; - case 0x5b: /* SINHALESE */ return "si_LK"; - case LANG_SLOVAK: return "sk_SK"; - case LANG_SLOVENIAN: return "sl_SI"; - case 0x77: /* SOMALI */ return "so_SO"; - case LANG_SORBIAN: - /* FIXME: Adjust this when such locales appear on Unix. */ - return "wen_DE"; - case LANG_SPANISH: - switch (sub) - { - case SUBLANG_SPANISH: return "es_ES"; - case SUBLANG_SPANISH_MEXICAN: return "es_MX"; - case SUBLANG_SPANISH_MODERN: - return "es_ES@modern"; /* not seen on Unix */ - case SUBLANG_SPANISH_GUATEMALA: return "es_GT"; - case SUBLANG_SPANISH_COSTA_RICA: return "es_CR"; - case SUBLANG_SPANISH_PANAMA: return "es_PA"; - case SUBLANG_SPANISH_DOMINICAN_REPUBLIC: return "es_DO"; - case SUBLANG_SPANISH_VENEZUELA: return "es_VE"; - case SUBLANG_SPANISH_COLOMBIA: return "es_CO"; - case SUBLANG_SPANISH_PERU: return "es_PE"; - case SUBLANG_SPANISH_ARGENTINA: return "es_AR"; - case SUBLANG_SPANISH_ECUADOR: return "es_EC"; - case SUBLANG_SPANISH_CHILE: return "es_CL"; - case SUBLANG_SPANISH_URUGUAY: return "es_UY"; - case SUBLANG_SPANISH_PARAGUAY: return "es_PY"; - case SUBLANG_SPANISH_BOLIVIA: return "es_BO"; - case SUBLANG_SPANISH_EL_SALVADOR: return "es_SV"; - case SUBLANG_SPANISH_HONDURAS: return "es_HN"; - case SUBLANG_SPANISH_NICARAGUA: return "es_NI"; - case SUBLANG_SPANISH_PUERTO_RICO: return "es_PR"; - } - return "es"; - case 0x30: /* SUTU */ return "bnt_TZ"; - case LANG_SWAHILI: return "sw_KE"; - case LANG_SWEDISH: - switch (sub) - { - case SUBLANG_DEFAULT: return "sv_SE"; - case SUBLANG_SWEDISH_FINLAND: return "sv_FI"; - } - return "sv"; - case LANG_SYRIAC: return "syr_TR"; /* An extinct language. */ - case 0x64: /* TAGALOG */ return "tl_PH"; - case 0x28: /* TAJIK */ return "tg_TJ"; - case 0x5f: /* TAMAZIGHT */ return "ber_MA"; - case LANG_TAMIL: - return "ta"; /* Ambiguous: could be "ta_IN" or "ta_LK" or "ta_SG". */ - case LANG_TATAR: return "tt_RU"; - case LANG_TELUGU: return "te_IN"; - case LANG_THAI: return "th_TH"; - case 0x51: /* TIBETAN */ return "bo_CN"; - case 0x73: /* TIGRINYA */ return "ti_ET"; - case 0x31: /* TSONGA */ return "ts_ZA"; - case LANG_TURKISH: return "tr_TR"; - case 0x42: /* TURKMEN */ return "tk_TM"; - case LANG_UKRAINIAN: return "uk_UA"; - case LANG_URDU: - switch (sub) - { - case SUBLANG_URDU_PAKISTAN: return "ur_PK"; - case SUBLANG_URDU_INDIA: return "ur_IN"; - } - return "ur"; - case LANG_UZBEK: - switch (sub) - { - /* FIXME: Adjust this when Uzbek locales appear on Unix. */ - case SUBLANG_UZBEK_LATIN: return "uz_UZ@latin"; - case SUBLANG_UZBEK_CYRILLIC: return "uz_UZ@cyrillic"; - } - return "uz"; - case 0x33: /* VENDA */ return "ven_ZA"; - case LANG_VIETNAMESE: return "vi_VN"; - case 0x52: /* WELSH */ return "cy_GB"; - case 0x34: /* XHOSA */ return "xh_ZA"; - case 0x78: /* YI */ return "sit_CN"; - case 0x3d: /* YIDDISH */ return "yi_IL"; - case 0x6a: /* YORUBA */ return "yo_NG"; - case 0x35: /* ZULU */ return "zu_ZA"; - default: return "C"; - } - -#endif -} diff --git a/intl/log.c b/intl/log.c deleted file mode 100644 index 2ce2d02..0000000 --- a/intl/log.c +++ /dev/null @@ -1,104 +0,0 @@ -/* Log file output. - Copyright (C) 2003 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -/* Written by Bruno Haible <bruno@clisp.org>. */ - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include <stdio.h> -#include <stdlib.h> -#include <string.h> - -/* Print an ASCII string with quotes and escape sequences where needed. */ -static void -print_escaped (stream, str) - FILE *stream; - const char *str; -{ - putc ('"', stream); - for (; *str != '\0'; str++) - if (*str == '\n') - { - fputs ("\\n\"", stream); - if (str[1] == '\0') - return; - fputs ("\n\"", stream); - } - else - { - if (*str == '"' || *str == '\\') - putc ('\\', stream); - putc (*str, stream); - } - putc ('"', stream); -} - -/* Add to the log file an entry denoting a failed translation. */ -void -_nl_log_untranslated (logfilename, domainname, msgid1, msgid2, plural) - const char *logfilename; - const char *domainname; - const char *msgid1; - const char *msgid2; - int plural; -{ - static char *last_logfilename = NULL; - static FILE *last_logfile = NULL; - FILE *logfile; - - /* Can we reuse the last opened logfile? */ - if (last_logfilename == NULL || strcmp (logfilename, last_logfilename) != 0) - { - /* Close the last used logfile. */ - if (last_logfilename != NULL) - { - if (last_logfile != NULL) - { - fclose (last_logfile); - last_logfile = NULL; - } - free (last_logfilename); - last_logfilename = NULL; - } - /* Open the logfile. */ - last_logfilename = (char *) malloc (strlen (logfilename) + 1); - if (last_logfilename == NULL) - return; - strcpy (last_logfilename, logfilename); - last_logfile = fopen (logfilename, "a"); - if (last_logfile == NULL) - return; - } - logfile = last_logfile; - - fprintf (logfile, "domain "); - print_escaped (logfile, domainname); - fprintf (logfile, "\nmsgid "); - print_escaped (logfile, msgid1); - if (plural) - { - fprintf (logfile, "\nmsgid_plural "); - print_escaped (logfile, msgid2); - fprintf (logfile, "\nmsgstr[0] \"\"\n"); - } - else - fprintf (logfile, "\nmsgstr \"\"\n"); - putc ('\n', logfile); -} diff --git a/intl/ngettext.c b/intl/ngettext.c deleted file mode 100644 index 4a3186c..0000000 --- a/intl/ngettext.c +++ /dev/null @@ -1,68 +0,0 @@ -/* Implementation of ngettext(3) function. - Copyright (C) 1995, 1997, 2000, 2001, 2002 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#ifdef _LIBC -# define __need_NULL -# include <stddef.h> -#else -# include <stdlib.h> /* Just for NULL. */ -#endif - -#include "gettextP.h" -#ifdef _LIBC -# include <libintl.h> -#else -# include "libgnuintl.h" -#endif - -#include <locale.h> - -/* @@ end of prolog @@ */ - -/* Names for the libintl functions are a problem. They must not clash - with existing names and they should follow ANSI C. But this source - code is also used in GNU C Library where the names have a __ - prefix. So we have to make a difference here. */ -#ifdef _LIBC -# define NGETTEXT __ngettext -# define DCNGETTEXT __dcngettext -#else -# define NGETTEXT libintl_ngettext -# define DCNGETTEXT libintl_dcngettext -#endif - -/* Look up MSGID in the current default message catalog for the current - LC_MESSAGES locale. If not found, returns MSGID itself (the default - text). */ -char * -NGETTEXT (msgid1, msgid2, n) - const char *msgid1; - const char *msgid2; - unsigned long int n; -{ - return DCNGETTEXT (NULL, msgid1, msgid2, n, LC_MESSAGES); -} - -#ifdef _LIBC -/* Alias for function name in GNU C Library. */ -weak_alias (__ngettext, ngettext); -#endif diff --git a/intl/osdep.c b/intl/osdep.c deleted file mode 100644 index 83a96a7..0000000 --- a/intl/osdep.c +++ /dev/null @@ -1,24 +0,0 @@ -/* OS dependent parts of libintl. - Copyright (C) 2001-2002 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#if defined __EMX__ -# include "os2compat.c" -#else -/* Avoid AIX compiler warning. */ -typedef int dummy; -#endif diff --git a/intl/plural-config.h b/intl/plural-config.h deleted file mode 100644 index 53bbd11..0000000 --- a/intl/plural-config.h +++ /dev/null @@ -1 +0,0 @@ -/* #define USE_BISON3 */ diff --git a/intl/plural-exp.c b/intl/plural-exp.c deleted file mode 100644 index be96173..0000000 --- a/intl/plural-exp.c +++ /dev/null @@ -1,156 +0,0 @@ -/* Expression parsing for plural form selection. - Copyright (C) 2000, 2001 Free Software Foundation, Inc. - Written by Ulrich Drepper <drepper@cygnus.com>, 2000. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include <ctype.h> -#include <stdlib.h> -#include <string.h> - -#include "plural-exp.h" - -#if (defined __GNUC__ && !defined __APPLE_CC__) \ - || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) - -/* These structs are the constant expression for the germanic plural - form determination. It represents the expression "n != 1". */ -static const struct expression plvar = -{ - .nargs = 0, - .operation = var, -}; -static const struct expression plone = -{ - .nargs = 0, - .operation = num, - .val = - { - .num = 1 - } -}; -struct expression GERMANIC_PLURAL = -{ - .nargs = 2, - .operation = not_equal, - .val = - { - .args = - { - [0] = (struct expression *) &plvar, - [1] = (struct expression *) &plone - } - } -}; - -# define INIT_GERMANIC_PLURAL() - -#else - -/* For compilers without support for ISO C 99 struct/union initializers: - Initialization at run-time. */ - -static struct expression plvar; -static struct expression plone; -struct expression GERMANIC_PLURAL; - -static void -init_germanic_plural () -{ - if (plone.val.num == 0) - { - plvar.nargs = 0; - plvar.operation = var; - - plone.nargs = 0; - plone.operation = num; - plone.val.num = 1; - - GERMANIC_PLURAL.nargs = 2; - GERMANIC_PLURAL.operation = not_equal; - GERMANIC_PLURAL.val.args[0] = &plvar; - GERMANIC_PLURAL.val.args[1] = &plone; - } -} - -# define INIT_GERMANIC_PLURAL() init_germanic_plural () - -#endif - -void -internal_function -EXTRACT_PLURAL_EXPRESSION (nullentry, pluralp, npluralsp) - const char *nullentry; - struct expression **pluralp; - unsigned long int *npluralsp; -{ - if (nullentry != NULL) - { - const char *plural; - const char *nplurals; - - plural = strstr (nullentry, "plural="); - nplurals = strstr (nullentry, "nplurals="); - if (plural == NULL || nplurals == NULL) - goto no_plural; - else - { - char *endp; - unsigned long int n; - struct parse_args args; - - /* First get the number. */ - nplurals += 9; - while (*nplurals != '\0' && isspace ((unsigned char) *nplurals)) - ++nplurals; - if (!(*nplurals >= '0' && *nplurals <= '9')) - goto no_plural; -#if defined HAVE_STRTOUL || defined _LIBC - n = strtoul (nplurals, &endp, 10); -#else - for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++) - n = n * 10 + (*endp - '0'); -#endif - if (nplurals == endp) - goto no_plural; - *npluralsp = n; - - /* Due to the restrictions bison imposes onto the interface of the - scanner function we have to put the input string and the result - passed up from the parser into the same structure which address - is passed down to the parser. */ - plural += 7; - args.cp = plural; - if (PLURAL_PARSE (&args) != 0) - goto no_plural; - *pluralp = args.res; - } - } - else - { - /* By default we are using the Germanic form: singular form only - for `one', the plural form otherwise. Yes, this is also what - English is using since English is a Germanic language. */ - no_plural: - INIT_GERMANIC_PLURAL (); - *pluralp = &GERMANIC_PLURAL; - *npluralsp = 2; - } -} diff --git a/intl/plural-exp.h b/intl/plural-exp.h deleted file mode 100644 index 2dbb104..0000000 --- a/intl/plural-exp.h +++ /dev/null @@ -1,132 +0,0 @@ -/* Expression parsing and evaluation for plural form selection. - Copyright (C) 2000-2020 Free Software Foundation, Inc. - Written by Ulrich Drepper <drepper@cygnus.com>, 2000. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifndef _PLURAL_EXP_H -#define _PLURAL_EXP_H - -#include <plural-config.h> - -#ifndef PARAMS -# if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES -# define PARAMS(args) args -# else -# define PARAMS(args) () -# endif -#endif - -#ifndef internal_function -# define internal_function -#endif - -#ifndef attribute_hidden -# define attribute_hidden -#endif - - -/* This is the representation of the expressions to determine the - plural form. */ -struct expression -{ - int nargs; /* Number of arguments. */ - enum operator - { - /* Without arguments: */ - var, /* The variable "n". */ - num, /* Decimal number. */ - /* Unary operators: */ - lnot, /* Logical NOT. */ - /* Binary operators: */ - mult, /* Multiplication. */ - divide, /* Division. */ - module, /* Modulo operation. */ - plus, /* Addition. */ - minus, /* Subtraction. */ - less_than, /* Comparison. */ - greater_than, /* Comparison. */ - less_or_equal, /* Comparison. */ - greater_or_equal, /* Comparison. */ - equal, /* Comparison for equality. */ - not_equal, /* Comparison for inequality. */ - land, /* Logical AND. */ - lor, /* Logical OR. */ - /* Ternary operators: */ - qmop /* Question mark operator. */ - } operation; - union - { - unsigned long int num; /* Number value for `num'. */ - struct expression *args[3]; /* Up to three arguments. */ - } val; -}; - -/* This is the data structure to pass information to the parser and get - the result in a thread-safe way. */ -struct parse_args -{ - const char *cp; - struct expression *res; -}; - - -/* Names for the libintl functions are a problem. This source code is used - 1. in the GNU C Library library, - 2. in the GNU libintl library, - 3. in the GNU gettext tools. - The function names in each situation must be different, to allow for - binary incompatible changes in 'struct expression'. Furthermore, - 1. in the GNU C Library library, the names have a __ prefix, - 2.+3. in the GNU libintl library and in the GNU gettext tools, the names - must follow ANSI C and not start with __. - So we have to distinguish the three cases. */ -#ifdef _LIBC -# define FREE_EXPRESSION __gettext_free_exp -# define PLURAL_PARSE __gettextparse -# define GERMANIC_PLURAL __gettext_germanic_plural -# define EXTRACT_PLURAL_EXPRESSION __gettext_extract_plural -#elif defined (IN_LIBINTL) -# define FREE_EXPRESSION libintl_gettext_free_exp -# define PLURAL_PARSE libintl_gettextparse -# define GERMANIC_PLURAL libintl_gettext_germanic_plural -# define EXTRACT_PLURAL_EXPRESSION libintl_gettext_extract_plural -#else -# define FREE_EXPRESSION free_plural_expression -# define PLURAL_PARSE parse_plural_expression -# define GERMANIC_PLURAL germanic_plural -# define EXTRACT_PLURAL_EXPRESSION extract_plural_expression -#endif - -extern void FREE_EXPRESSION PARAMS ((struct expression *exp)) - internal_function; -#ifdef USE_BISON3 -extern int PLURAL_PARSE PARAMS ((struct parse_args *arg)); -#else -extern int PLURAL_PARSE PARAMS ((void *arg)); -#endif -extern struct expression GERMANIC_PLURAL attribute_hidden; -extern void EXTRACT_PLURAL_EXPRESSION PARAMS ((const char *nullentry, - struct expression **pluralp, - unsigned long int *npluralsp)) - internal_function; - -#if !defined (_LIBC) && !defined (IN_LIBINTL) -extern unsigned long int plural_eval PARAMS ((struct expression *pexp, - unsigned long int n)); -#endif - -#endif /* _PLURAL_EXP_H */ diff --git a/intl/plural.c b/intl/plural.c deleted file mode 100644 index f9a8faa..0000000 --- a/intl/plural.c +++ /dev/null @@ -1,1540 +0,0 @@ -/* A Bison parser, made from plural.y - by GNU bison 1.35. */ - -#define YYBISON 1 /* Identify Bison output. */ - -#define yyparse __gettextparse -#define yylex __gettextlex -#define yyerror __gettexterror -#define yylval __gettextlval -#define yychar __gettextchar -#define yydebug __gettextdebug -#define yynerrs __gettextnerrs -# define EQUOP2 257 -# define CMPOP2 258 -# define ADDOP2 259 -# define MULOP2 260 -# define NUMBER 261 - -#line 1 "plural.y" - -/* Expression parsing for plural form selection. - Copyright (C) 2000-2020 Free Software Foundation, Inc. - Written by Ulrich Drepper <drepper@cygnus.com>, 2000. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -/* The bison generated parser uses alloca. AIX 3 forces us to put this - declaration at the beginning of the file. The declaration in bison's - skeleton file comes too late. This must come before <config.h> - because <config.h> may include arbitrary system headers. */ -#if defined _AIX && !defined __GNUC__ - #pragma alloca -#endif - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include <stddef.h> -#include <stdlib.h> -#include "plural-exp.h" - -/* The main function generated by the parser is called __gettextparse, - but we want it to be called PLURAL_PARSE. */ -#ifndef _LIBC -# define __gettextparse PLURAL_PARSE -#endif - -#ifndef USE_BISON3 -#define YYLEX_PARAM &((struct parse_args *) arg)->cp -#define YYPARSE_PARAM arg -#endif - -#line 54 "plural.y" -#ifndef YYSTYPE -typedef union { - unsigned long int num; - enum operator op; - struct expression *exp; -} yystype; -# define YYSTYPE yystype -# define YYSTYPE_IS_TRIVIAL 1 -#endif -#line 60 "plural.y" - -/* Prototypes for local functions. */ -static struct expression *new_exp PARAMS ((int nargs, enum operator op, - struct expression * const *args)); -static inline struct expression *new_exp_0 PARAMS ((enum operator op)); -static inline struct expression *new_exp_1 PARAMS ((enum operator op, - struct expression *right)); -static struct expression *new_exp_2 PARAMS ((enum operator op, - struct expression *left, - struct expression *right)); -static inline struct expression *new_exp_3 PARAMS ((enum operator op, - struct expression *bexp, - struct expression *tbranch, - struct expression *fbranch)); -#ifdef USE_BISON3 -static int yylex PARAMS ((YYSTYPE *lval, struct parse_args *arg)); -static void yyerror PARAMS ((struct parse_args *arg, const char *str)); -#else -static int yylex PARAMS ((YYSTYPE *lval, const char **pexp)); -static void yyerror PARAMS ((const char *str)); -#endif - -/* Allocation of expressions. */ - -static struct expression * -new_exp (nargs, op, args) - int nargs; - enum operator op; - struct expression * const *args; -{ - int i; - struct expression *newp; - - /* If any of the argument could not be malloc'ed, just return NULL. */ - for (i = nargs - 1; i >= 0; i--) - if (args[i] == NULL) - goto fail; - - /* Allocate a new expression. */ - newp = (struct expression *) malloc (sizeof (*newp)); - if (newp != NULL) - { - newp->nargs = nargs; - newp->operation = op; - for (i = nargs - 1; i >= 0; i--) - newp->val.args[i] = args[i]; - return newp; - } - - fail: - for (i = nargs - 1; i >= 0; i--) - FREE_EXPRESSION (args[i]); - - return NULL; -} - -static inline struct expression * -new_exp_0 (op) - enum operator op; -{ - return new_exp (0, op, NULL); -} - -static inline struct expression * -new_exp_1 (op, right) - enum operator op; - struct expression *right; -{ - struct expression *args[1]; - - args[0] = right; - return new_exp (1, op, args); -} - -static struct expression * -new_exp_2 (op, left, right) - enum operator op; - struct expression *left; - struct expression *right; -{ - struct expression *args[2]; - - args[0] = left; - args[1] = right; - return new_exp (2, op, args); -} - -static inline struct expression * -new_exp_3 (op, bexp, tbranch, fbranch) - enum operator op; - struct expression *bexp; - struct expression *tbranch; - struct expression *fbranch; -{ - struct expression *args[3]; - - args[0] = bexp; - args[1] = tbranch; - args[2] = fbranch; - return new_exp (3, op, args); -} - -#ifndef YYDEBUG -# define YYDEBUG 0 -#endif - - - -#define YYFINAL 27 -#define YYFLAG -32768 -#define YYNTBASE 16 - -/* YYTRANSLATE(YYLEX) -- Bison token number corresponding to YYLEX. */ -#define YYTRANSLATE(x) ((unsigned)(x) <= 261 ? yytranslate[x] : 18) - -/* YYTRANSLATE[YYLEX] -- Bison token number corresponding to YYLEX. */ -static const char yytranslate[] = -{ - 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 10, 2, 2, 2, 2, 5, 2, - 14, 15, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 12, 2, - 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 13, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 4, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 1, 6, 7, 8, - 9, 11 -}; - -#if YYDEBUG -static const short yyprhs[] = -{ - 0, 0, 2, 8, 12, 16, 20, 24, 28, 32, - 35, 37, 39 -}; -static const short yyrhs[] = -{ - 17, 0, 17, 3, 17, 12, 17, 0, 17, 4, - 17, 0, 17, 5, 17, 0, 17, 6, 17, 0, - 17, 7, 17, 0, 17, 8, 17, 0, 17, 9, - 17, 0, 10, 17, 0, 13, 0, 11, 0, 14, - 17, 15, 0 -}; - -#endif - -#if YYDEBUG -/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ -static const short yyrline[] = -{ - 0, 184, 192, 196, 200, 204, 208, 212, 216, 220, - 224, 228, 233 -}; -#endif - - -#if (YYDEBUG) || defined YYERROR_VERBOSE - -/* YYTNAME[TOKEN_NUM] -- String name of the token TOKEN_NUM. */ -static const char *const yytname[] = -{ - "$", "error", "$undefined.", "'?'", "'|'", "'&'", "EQUOP2", "CMPOP2", - "ADDOP2", "MULOP2", "'!'", "NUMBER", "':'", "'n'", "'('", "')'", - "start", "exp", 0 -}; -#endif - -/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ -static const short yyr1[] = -{ - 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17 -}; - -/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ -static const short yyr2[] = -{ - 0, 1, 5, 3, 3, 3, 3, 3, 3, 2, - 1, 1, 3 -}; - -/* YYDEFACT[S] -- default rule to reduce with in state S when YYTABLE - doesn't specify something else to do. Zero means the default is an - error. */ -static const short yydefact[] = -{ - 0, 0, 11, 10, 0, 1, 9, 0, 0, 0, - 0, 0, 0, 0, 0, 12, 0, 3, 4, 5, - 6, 7, 8, 0, 2, 0, 0, 0 -}; - -static const short yydefgoto[] = -{ - 25, 5 -}; - -static const short yypact[] = -{ - -9, -9,-32768,-32768, -9, 34,-32768, 11, -9, -9, - -9, -9, -9, -9, -9,-32768, 24, 39, 43, 16, - 26, -3,-32768, -9, 34, 21, 53,-32768 -}; - -static const short yypgoto[] = -{ - -32768, -1 -}; - - -#define YYLAST 53 - - -static const short yytable[] = -{ - 6, 1, 2, 7, 3, 4, 14, 16, 17, 18, - 19, 20, 21, 22, 8, 9, 10, 11, 12, 13, - 14, 26, 24, 12, 13, 14, 15, 8, 9, 10, - 11, 12, 13, 14, 13, 14, 23, 8, 9, 10, - 11, 12, 13, 14, 10, 11, 12, 13, 14, 11, - 12, 13, 14, 27 -}; - -static const short yycheck[] = -{ - 1, 10, 11, 4, 13, 14, 9, 8, 9, 10, - 11, 12, 13, 14, 3, 4, 5, 6, 7, 8, - 9, 0, 23, 7, 8, 9, 15, 3, 4, 5, - 6, 7, 8, 9, 8, 9, 12, 3, 4, 5, - 6, 7, 8, 9, 5, 6, 7, 8, 9, 6, - 7, 8, 9, 0 -}; -#define YYPURE 1 - -/* -*-C-*- Note some compilers choke on comments on `#line' lines. */ -#line 3 "/usr/local/share/bison/bison.simple" - -/* Skeleton output parser for bison, - - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software - Foundation, Inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -/* As a special exception, when this file is copied by Bison into a - Bison output file, you may use that output file without restriction. - This special exception was added by the Free Software Foundation - in version 1.24 of Bison. */ - -/* This is the parser code that is written into each bison parser when - the %semantic_parser declaration is not specified in the grammar. - It was written by Richard Stallman by simplifying the hairy parser - used when %semantic_parser is specified. */ - -/* All symbols defined below should begin with yy or YY, to avoid - infringing on user name space. This should be done even for local - variables, as they might otherwise be expanded by user macros. - There are some unavoidable exceptions within include files to - define necessary library symbols; they are noted "INFRINGES ON - USER NAME SPACE" below. */ - -#if ! defined (yyoverflow) || defined (YYERROR_VERBOSE) - -/* The parser invokes alloca or malloc; define the necessary symbols. */ - -# if YYSTACK_USE_ALLOCA -# define YYSTACK_ALLOC alloca -# else -# ifndef YYSTACK_USE_ALLOCA -# if defined (alloca) || defined (_ALLOCA_H) -# define YYSTACK_ALLOC alloca -# else -# ifdef __GNUC__ -# define YYSTACK_ALLOC __builtin_alloca -# endif -# endif -# endif -# endif - -# ifdef YYSTACK_ALLOC - /* Pacify GCC's `empty if-body' warning. */ -# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) -# else -# if defined (__STDC__) || defined (__cplusplus) -# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -# endif -# define YYSTACK_ALLOC malloc -# define YYSTACK_FREE free -# endif -#endif /* ! defined (yyoverflow) || defined (YYERROR_VERBOSE) */ - - -#if (! defined (yyoverflow) \ - && (! defined (__cplusplus) \ - || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) - -/* A type that is properly aligned for any stack member. */ -union yyalloc -{ - short yyss; - YYSTYPE yyvs; -# if YYLSP_NEEDED - YYLTYPE yyls; -# endif -}; - -/* The size of the maximum gap between one aligned stack and the next. */ -# define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1) - -/* The size of an array large to enough to hold all stacks, each with - N elements. */ -# if YYLSP_NEEDED -# define YYSTACK_BYTES(N) \ - ((N) * (sizeof (short) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \ - + 2 * YYSTACK_GAP_MAX) -# else -# define YYSTACK_BYTES(N) \ - ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ - + YYSTACK_GAP_MAX) -# endif - -/* Copy COUNT objects from FROM to TO. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if 1 < __GNUC__ -# define YYCOPY(To, From, Count) \ - __builtin_memcpy (To, From, (Count) * sizeof (*(From))) -# else -# define YYCOPY(To, From, Count) \ - do \ - { \ - register YYSIZE_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (To)[yyi] = (From)[yyi]; \ - } \ - while (0) -# endif -# endif - -/* Relocate STACK from its old location to the new one. The - local variables YYSIZE and YYSTACKSIZE give the old and new number of - elements in the stack, and YYPTR gives the new location of the - stack. Advance YYPTR to a properly aligned location for the next - stack. */ -# define YYSTACK_RELOCATE(Stack) \ - do \ - { \ - YYSIZE_T yynewbytes; \ - YYCOPY (&yyptr->Stack, Stack, yysize); \ - Stack = &yyptr->Stack; \ - yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAX; \ - yyptr += yynewbytes / sizeof (*yyptr); \ - } \ - while (0) - -#endif - - -#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) -# define YYSIZE_T __SIZE_TYPE__ -#endif -#if ! defined (YYSIZE_T) && defined (size_t) -# define YYSIZE_T size_t -#endif -#if ! defined (YYSIZE_T) -# if defined (__STDC__) || defined (__cplusplus) -# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -# endif -#endif -#if ! defined (YYSIZE_T) -# define YYSIZE_T unsigned int -#endif - -#define yyerrok (yyerrstatus = 0) -#define yyclearin (yychar = YYEMPTY) -#define YYEMPTY -2 -#define YYEOF 0 -#define YYACCEPT goto yyacceptlab -#define YYABORT goto yyabortlab -#define YYERROR goto yyerrlab1 -/* Like YYERROR except do call yyerror. This remains here temporarily - to ease the transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. */ -#define YYFAIL goto yyerrlab -#define YYRECOVERING() (!!yyerrstatus) -#define YYBACKUP(Token, Value) \ -do \ - if (yychar == YYEMPTY && yylen == 1) \ - { \ - yychar = (Token); \ - yylval = (Value); \ - yychar1 = YYTRANSLATE (yychar); \ - YYPOPSTACK; \ - goto yybackup; \ - } \ - else \ - { \ - yyerror ("syntax error: cannot back up"); \ - YYERROR; \ - } \ -while (0) - -#define YYTERROR 1 -#define YYERRCODE 256 - - -/* YYLLOC_DEFAULT -- Compute the default location (before the actions - are run). - - When YYLLOC_DEFAULT is run, CURRENT is set the location of the - first token. By default, to implement support for ranges, extend - its range to the last symbol. */ - -#ifndef YYLLOC_DEFAULT -# define YYLLOC_DEFAULT(Current, Rhs, N) \ - Current.last_line = Rhs[N].last_line; \ - Current.last_column = Rhs[N].last_column; -#endif - - -/* YYLEX -- calling `yylex' with the right arguments. */ - -#if YYPURE -# if YYLSP_NEEDED -# ifdef YYLEX_PARAM -# define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM) -# else -# define YYLEX yylex (&yylval, &yylloc) -# endif -# else /* !YYLSP_NEEDED */ -# ifdef YYLEX_PARAM -# define YYLEX yylex (&yylval, YYLEX_PARAM) -# else -# define YYLEX yylex (&yylval) -# endif -# endif /* !YYLSP_NEEDED */ -#else /* !YYPURE */ -# define YYLEX yylex () -#endif /* !YYPURE */ - - -/* Enable debugging if requested. */ -#if YYDEBUG - -# ifndef YYFPRINTF -# include <stdio.h> /* INFRINGES ON USER NAME SPACE */ -# define YYFPRINTF fprintf -# endif - -# define YYDPRINTF(Args) \ -do { \ - if (yydebug) \ - YYFPRINTF Args; \ -} while (0) -/* Nonzero means print parse trace. It is left uninitialized so that - multiple parsers can coexist. */ -int yydebug; -#else /* !YYDEBUG */ -# define YYDPRINTF(Args) -#endif /* !YYDEBUG */ - -/* YYINITDEPTH -- initial size of the parser's stacks. */ -#ifndef YYINITDEPTH -# define YYINITDEPTH 200 -#endif - -/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only - if the built-in stack extension method is used). - - Do not make this value too large; the results are undefined if - SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) - evaluated with infinite-precision integer arithmetic. */ - -#if YYMAXDEPTH == 0 -# undef YYMAXDEPTH -#endif - -#ifndef YYMAXDEPTH -# define YYMAXDEPTH 10000 -#endif - -#ifdef YYERROR_VERBOSE - -# ifndef yystrlen -# if defined (__GLIBC__) && defined (_STRING_H) -# define yystrlen strlen -# else -/* Return the length of YYSTR. */ -static YYSIZE_T -# if defined (__STDC__) || defined (__cplusplus) -yystrlen (const char *yystr) -# else -yystrlen (yystr) - const char *yystr; -# endif -{ - register const char *yys = yystr; - - while (*yys++ != '\0') - continue; - - return yys - yystr - 1; -} -# endif -# endif - -# ifndef yystpcpy -# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) -# define yystpcpy stpcpy -# else -/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in - YYDEST. */ -static char * -# if defined (__STDC__) || defined (__cplusplus) -yystpcpy (char *yydest, const char *yysrc) -# else -yystpcpy (yydest, yysrc) - char *yydest; - const char *yysrc; -# endif -{ - register char *yyd = yydest; - register const char *yys = yysrc; - - while ((*yyd++ = *yys++) != '\0') - continue; - - return yyd - 1; -} -# endif -# endif -#endif - -#line 315 "/usr/local/share/bison/bison.simple" - - -/* The user can define YYPARSE_PARAM as the name of an argument to be passed - into yyparse. The argument should have type void *. - It should actually point to an object. - Grammar actions can access the variable by casting it - to the proper pointer type. */ - -#ifdef YYPARSE_PARAM -# if defined (__STDC__) || defined (__cplusplus) -# define YYPARSE_PARAM_ARG void *YYPARSE_PARAM -# define YYPARSE_PARAM_DECL -# else -# define YYPARSE_PARAM_ARG YYPARSE_PARAM -# define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; -# endif -#else /* !YYPARSE_PARAM */ -# define YYPARSE_PARAM_ARG -# define YYPARSE_PARAM_DECL -#endif /* !YYPARSE_PARAM */ - -/* Prevent warning if -Wstrict-prototypes. */ -#ifdef __GNUC__ -# ifdef YYPARSE_PARAM -int yyparse (void *); -# else -int yyparse (void); -# endif -#endif - -/* YY_DECL_VARIABLES -- depending whether we use a pure parser, - variables are global, or local to YYPARSE. */ - -#define YY_DECL_NON_LSP_VARIABLES \ -/* The lookahead symbol. */ \ -int yychar; \ - \ -/* The semantic value of the lookahead symbol. */ \ -YYSTYPE yylval; \ - \ -/* Number of parse errors so far. */ \ -int yynerrs; - -#if YYLSP_NEEDED -# define YY_DECL_VARIABLES \ -YY_DECL_NON_LSP_VARIABLES \ - \ -/* Location data for the lookahead symbol. */ \ -YYLTYPE yylloc; -#else -# define YY_DECL_VARIABLES \ -YY_DECL_NON_LSP_VARIABLES -#endif - - -/* If nonreentrant, generate the variables here. */ - -#if !YYPURE -YY_DECL_VARIABLES -#endif /* !YYPURE */ - -int -yyparse (YYPARSE_PARAM_ARG) - YYPARSE_PARAM_DECL -{ - /* If reentrant, generate the variables here. */ -#if YYPURE - YY_DECL_VARIABLES -#endif /* !YYPURE */ - - register int yystate; - register int yyn; - int yyresult; - /* Number of tokens to shift before error messages enabled. */ - int yyerrstatus; - /* Lookahead token as an internal (translated) token number. */ - int yychar1 = 0; - - /* Three stacks and their tools: - `yyss': related to states, - `yyvs': related to semantic values, - `yyls': related to locations. - - Refer to the stacks thru separate pointers, to allow yyoverflow - to reallocate them elsewhere. */ - - /* The state stack. */ - short yyssa[YYINITDEPTH]; - short *yyss = yyssa; - register short *yyssp; - - /* The semantic value stack. */ - YYSTYPE yyvsa[YYINITDEPTH]; - YYSTYPE *yyvs = yyvsa; - register YYSTYPE *yyvsp; - -#if YYLSP_NEEDED - /* The location stack. */ - YYLTYPE yylsa[YYINITDEPTH]; - YYLTYPE *yyls = yylsa; - YYLTYPE *yylsp; -#endif - -#if YYLSP_NEEDED -# define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) -#else -# define YYPOPSTACK (yyvsp--, yyssp--) -#endif - - YYSIZE_T yystacksize = YYINITDEPTH; - - - /* The variables used to return semantic value and location from the - action routines. */ - YYSTYPE yyval; -#if YYLSP_NEEDED - YYLTYPE yyloc; -#endif - - /* When reducing, the number of symbols on the RHS of the reduced - rule. */ - int yylen; - - YYDPRINTF ((stderr, "Starting parse\n")); - - yystate = 0; - yyerrstatus = 0; - yynerrs = 0; - yychar = YYEMPTY; /* Cause a token to be read. */ - - /* Initialize stack pointers. - Waste one element of value and location stack - so that they stay on the same level as the state stack. - The wasted elements are never initialized. */ - - yyssp = yyss; - yyvsp = yyvs; -#if YYLSP_NEEDED - yylsp = yyls; -#endif - goto yysetstate; - -/*------------------------------------------------------------. -| yynewstate -- Push a new state, which is found in yystate. | -`------------------------------------------------------------*/ - yynewstate: - /* In all cases, when you get here, the value and location stacks - have just been pushed. so pushing a state here evens the stacks. - */ - yyssp++; - - yysetstate: - *yyssp = yystate; - - if (yyssp >= yyss + yystacksize - 1) - { - /* Get the current used size of the three stacks, in elements. */ - YYSIZE_T yysize = yyssp - yyss + 1; - -#ifdef yyoverflow - { - /* Give user a chance to reallocate the stack. Use copies of - these so that the &'s don't force the real ones into - memory. */ - YYSTYPE *yyvs1 = yyvs; - short *yyss1 = yyss; - - /* Each stack pointer address is followed by the size of the - data in use in that stack, in bytes. */ -# if YYLSP_NEEDED - YYLTYPE *yyls1 = yyls; - /* This used to be a conditional around just the two extra args, - but that might be undefined if yyoverflow is a macro. */ - yyoverflow ("parser stack overflow", - &yyss1, yysize * sizeof (*yyssp), - &yyvs1, yysize * sizeof (*yyvsp), - &yyls1, yysize * sizeof (*yylsp), - &yystacksize); - yyls = yyls1; -# else - yyoverflow ("parser stack overflow", - &yyss1, yysize * sizeof (*yyssp), - &yyvs1, yysize * sizeof (*yyvsp), - &yystacksize); -# endif - yyss = yyss1; - yyvs = yyvs1; - } -#else /* no yyoverflow */ -# ifndef YYSTACK_RELOCATE - goto yyoverflowlab; -# else - /* Extend the stack our own way. */ - if (yystacksize >= YYMAXDEPTH) - goto yyoverflowlab; - yystacksize *= 2; - if (yystacksize > YYMAXDEPTH) - yystacksize = YYMAXDEPTH; - - { - short *yyss1 = yyss; - union yyalloc *yyptr = - (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); - if (! yyptr) - goto yyoverflowlab; - YYSTACK_RELOCATE (yyss); - YYSTACK_RELOCATE (yyvs); -# if YYLSP_NEEDED - YYSTACK_RELOCATE (yyls); -# endif -# undef YYSTACK_RELOCATE - if (yyss1 != yyssa) - YYSTACK_FREE (yyss1); - } -# endif -#endif /* no yyoverflow */ - - yyssp = yyss + yysize - 1; - yyvsp = yyvs + yysize - 1; -#if YYLSP_NEEDED - yylsp = yyls + yysize - 1; -#endif - - YYDPRINTF ((stderr, "Stack size increased to %lu\n", - (unsigned long int) yystacksize)); - - if (yyssp >= yyss + yystacksize - 1) - YYABORT; - } - - YYDPRINTF ((stderr, "Entering state %d\n", yystate)); - - goto yybackup; - - -/*-----------. -| yybackup. | -`-----------*/ -yybackup: - -/* Do appropriate processing given the current state. */ -/* Read a lookahead token if we need one and don't already have one. */ -/* yyresume: */ - - /* First try to decide what to do without reference to lookahead token. */ - - yyn = yypact[yystate]; - if (yyn == YYFLAG) - goto yydefault; - - /* Not known => get a lookahead token if don't already have one. */ - - /* yychar is either YYEMPTY or YYEOF - or a valid token in external form. */ - - if (yychar == YYEMPTY) - { - YYDPRINTF ((stderr, "Reading a token: ")); - yychar = YYLEX; - } - - /* Convert token to internal form (in yychar1) for indexing tables with */ - - if (yychar <= 0) /* This means end of input. */ - { - yychar1 = 0; - yychar = YYEOF; /* Don't call YYLEX any more */ - - YYDPRINTF ((stderr, "Now at end of input.\n")); - } - else - { - yychar1 = YYTRANSLATE (yychar); - -#if YYDEBUG - /* We have to keep this `#if YYDEBUG', since we use variables - which are defined only if `YYDEBUG' is set. */ - if (yydebug) - { - YYFPRINTF (stderr, "Next token is %d (%s", - yychar, yytname[yychar1]); - /* Give the individual parser a way to print the precise - meaning of a token, for further debugging info. */ -# ifdef YYPRINT - YYPRINT (stderr, yychar, yylval); -# endif - YYFPRINTF (stderr, ")\n"); - } -#endif - } - - yyn += yychar1; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1) - goto yydefault; - - yyn = yytable[yyn]; - - /* yyn is what to do for this token type in this state. - Negative => reduce, -yyn is rule number. - Positive => shift, yyn is new state. - New state is final state => don't bother to shift, - just return success. - 0, or most negative number => error. */ - - if (yyn < 0) - { - if (yyn == YYFLAG) - goto yyerrlab; - yyn = -yyn; - goto yyreduce; - } - else if (yyn == 0) - goto yyerrlab; - - if (yyn == YYFINAL) - YYACCEPT; - - /* Shift the lookahead token. */ - YYDPRINTF ((stderr, "Shifting token %d (%s), ", - yychar, yytname[yychar1])); - - /* Discard the token being shifted unless it is eof. */ - if (yychar != YYEOF) - yychar = YYEMPTY; - - *++yyvsp = yylval; -#if YYLSP_NEEDED - *++yylsp = yylloc; -#endif - - /* Count tokens shifted since error; after three, turn off error - status. */ - if (yyerrstatus) - yyerrstatus--; - - yystate = yyn; - goto yynewstate; - - -/*-----------------------------------------------------------. -| yydefault -- do the default action for the current state. | -`-----------------------------------------------------------*/ -yydefault: - yyn = yydefact[yystate]; - if (yyn == 0) - goto yyerrlab; - goto yyreduce; - - -/*-----------------------------. -| yyreduce -- Do a reduction. | -`-----------------------------*/ -yyreduce: - /* yyn is the number of a rule to reduce with. */ - yylen = yyr2[yyn]; - - /* If YYLEN is nonzero, implement the default value of the action: - `$$ = $1'. - - Otherwise, the following line sets YYVAL to the semantic value of - the lookahead token. This behavior is undocumented and Bison - users should not rely upon it. Assigning to YYVAL - unconditionally makes the parser a bit smaller, and it avoids a - GCC warning that YYVAL may be used uninitialized. */ - yyval = yyvsp[1-yylen]; - -#if YYLSP_NEEDED - /* Similarly for the default location. Let the user run additional - commands if for instance locations are ranges. */ - yyloc = yylsp[1-yylen]; - YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen); -#endif - -#if YYDEBUG - /* We have to keep this `#if YYDEBUG', since we use variables which - are defined only if `YYDEBUG' is set. */ - if (yydebug) - { - int yyi; - - YYFPRINTF (stderr, "Reducing via rule %d (line %d), ", - yyn, yyrline[yyn]); - - /* Print the symbols being reduced, and their result. */ - for (yyi = yyprhs[yyn]; yyrhs[yyi] > 0; yyi++) - YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]); - YYFPRINTF (stderr, " -> %s\n", yytname[yyr1[yyn]]); - } -#endif - - switch (yyn) { - -case 1: -#line 185 "plural.y" -{ - if (yyvsp[0].exp == NULL) - YYABORT; - ((struct parse_args *) arg)->res = yyvsp[0].exp; - } - break; -case 2: -#line 193 "plural.y" -{ - yyval.exp = new_exp_3 (qmop, yyvsp[-4].exp, yyvsp[-2].exp, yyvsp[0].exp); - } - break; -case 3: -#line 197 "plural.y" -{ - yyval.exp = new_exp_2 (lor, yyvsp[-2].exp, yyvsp[0].exp); - } - break; -case 4: -#line 201 "plural.y" -{ - yyval.exp = new_exp_2 (land, yyvsp[-2].exp, yyvsp[0].exp); - } - break; -case 5: -#line 205 "plural.y" -{ - yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); - } - break; -case 6: -#line 209 "plural.y" -{ - yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); - } - break; -case 7: -#line 213 "plural.y" -{ - yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); - } - break; -case 8: -#line 217 "plural.y" -{ - yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); - } - break; -case 9: -#line 221 "plural.y" -{ - yyval.exp = new_exp_1 (lnot, yyvsp[0].exp); - } - break; -case 10: -#line 225 "plural.y" -{ - yyval.exp = new_exp_0 (var); - } - break; -case 11: -#line 229 "plural.y" -{ - if ((yyval.exp = new_exp_0 (num)) != NULL) - yyval.exp->val.num = yyvsp[0].num; - } - break; -case 12: -#line 234 "plural.y" -{ - yyval.exp = yyvsp[-1].exp; - } - break; -} - -#line 705 "/usr/local/share/bison/bison.simple" - - - yyvsp -= yylen; - yyssp -= yylen; -#if YYLSP_NEEDED - yylsp -= yylen; -#endif - -#if YYDEBUG - if (yydebug) - { - short *yyssp1 = yyss - 1; - YYFPRINTF (stderr, "state stack now"); - while (yyssp1 != yyssp) - YYFPRINTF (stderr, " %d", *++yyssp1); - YYFPRINTF (stderr, "\n"); - } -#endif - - *++yyvsp = yyval; -#if YYLSP_NEEDED - *++yylsp = yyloc; -#endif - - /* Now `shift' the result of the reduction. Determine what state - that goes to, based on the state we popped back to and the rule - number reduced by. */ - - yyn = yyr1[yyn]; - - yystate = yypgoto[yyn - YYNTBASE] + *yyssp; - if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp) - yystate = yytable[yystate]; - else - yystate = yydefgoto[yyn - YYNTBASE]; - - goto yynewstate; - - -/*------------------------------------. -| yyerrlab -- here on detecting error | -`------------------------------------*/ -yyerrlab: - /* If not already recovering from an error, report this error. */ - if (!yyerrstatus) - { - ++yynerrs; - -#ifdef YYERROR_VERBOSE - yyn = yypact[yystate]; - - if (yyn > YYFLAG && yyn < YYLAST) - { - YYSIZE_T yysize = 0; - char *yymsg; - int yyx, yycount; - - yycount = 0; - /* Start YYX at -YYN if negative to avoid negative indexes in - YYCHECK. */ - for (yyx = yyn < 0 ? -yyn : 0; - yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) - if (yycheck[yyx + yyn] == yyx) - yysize += yystrlen (yytname[yyx]) + 15, yycount++; - yysize += yystrlen ("parse error, unexpected ") + 1; - yysize += yystrlen (yytname[YYTRANSLATE (yychar)]); - yymsg = (char *) YYSTACK_ALLOC (yysize); - if (yymsg != 0) - { - char *yyp = yystpcpy (yymsg, "parse error, unexpected "); - yyp = yystpcpy (yyp, yytname[YYTRANSLATE (yychar)]); - - if (yycount < 5) - { - yycount = 0; - for (yyx = yyn < 0 ? -yyn : 0; - yyx < (int) (sizeof (yytname) / sizeof (char *)); - yyx++) - if (yycheck[yyx + yyn] == yyx) - { - const char *yyq = ! yycount ? ", expecting " : " or "; - yyp = yystpcpy (yyp, yyq); - yyp = yystpcpy (yyp, yytname[yyx]); - yycount++; - } - } - yyerror (yymsg); - YYSTACK_FREE (yymsg); - } - else - yyerror ("parse error; also virtual memory exhausted"); - } - else -#endif /* defined (YYERROR_VERBOSE) */ - yyerror ("parse error"); - } - goto yyerrlab1; - - -/*--------------------------------------------------. -| yyerrlab1 -- error raised explicitly by an action | -`--------------------------------------------------*/ -yyerrlab1: - if (yyerrstatus == 3) - { - /* If just tried and failed to reuse lookahead token after an - error, discard it. */ - - /* return failure if at end of input */ - if (yychar == YYEOF) - YYABORT; - YYDPRINTF ((stderr, "Discarding token %d (%s).\n", - yychar, yytname[yychar1])); - yychar = YYEMPTY; - } - - /* Else will try to reuse lookahead token after shifting the error - token. */ - - yyerrstatus = 3; /* Each real token shifted decrements this */ - - goto yyerrhandle; - - -/*-------------------------------------------------------------------. -| yyerrdefault -- current state does not do anything special for the | -| error token. | -`-------------------------------------------------------------------*/ -yyerrdefault: -#if 0 - /* This is wrong; only states that explicitly want error tokens - should shift them. */ - - /* If its default is to accept any token, ok. Otherwise pop it. */ - yyn = yydefact[yystate]; - if (yyn) - goto yydefault; -#endif - - -/*---------------------------------------------------------------. -| yyerrpop -- pop the current state because it cannot handle the | -| error token | -`---------------------------------------------------------------*/ -yyerrpop: - if (yyssp == yyss) - YYABORT; - yyvsp--; - yystate = *--yyssp; -#if YYLSP_NEEDED - yylsp--; -#endif - -#if YYDEBUG - if (yydebug) - { - short *yyssp1 = yyss - 1; - YYFPRINTF (stderr, "Error: state stack now"); - while (yyssp1 != yyssp) - YYFPRINTF (stderr, " %d", *++yyssp1); - YYFPRINTF (stderr, "\n"); - } -#endif - -/*--------------. -| yyerrhandle. | -`--------------*/ -yyerrhandle: - yyn = yypact[yystate]; - if (yyn == YYFLAG) - goto yyerrdefault; - - yyn += YYTERROR; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR) - goto yyerrdefault; - - yyn = yytable[yyn]; - if (yyn < 0) - { - if (yyn == YYFLAG) - goto yyerrpop; - yyn = -yyn; - goto yyreduce; - } - else if (yyn == 0) - goto yyerrpop; - - if (yyn == YYFINAL) - YYACCEPT; - - YYDPRINTF ((stderr, "Shifting error token, ")); - - *++yyvsp = yylval; -#if YYLSP_NEEDED - *++yylsp = yylloc; -#endif - - yystate = yyn; - goto yynewstate; - - -/*-------------------------------------. -| yyacceptlab -- YYACCEPT comes here. | -`-------------------------------------*/ -yyacceptlab: - yyresult = 0; - goto yyreturn; - -/*-----------------------------------. -| yyabortlab -- YYABORT comes here. | -`-----------------------------------*/ -yyabortlab: - yyresult = 1; - goto yyreturn; - -/*---------------------------------------------. -| yyoverflowab -- parser overflow comes here. | -`---------------------------------------------*/ -yyoverflowlab: - yyerror ("parser stack overflow"); - yyresult = 2; - /* Fall through. */ - -yyreturn: -#ifndef yyoverflow - if (yyss != yyssa) - YYSTACK_FREE (yyss); -#endif - return yyresult; -} -#line 239 "plural.y" - - -void -internal_function -FREE_EXPRESSION (exp) - struct expression *exp; -{ - if (exp == NULL) - return; - - /* Handle the recursive case. */ - switch (exp->nargs) - { - case 3: - FREE_EXPRESSION (exp->val.args[2]); - /* FALLTHROUGH */ - case 2: - FREE_EXPRESSION (exp->val.args[1]); - /* FALLTHROUGH */ - case 1: - FREE_EXPRESSION (exp->val.args[0]); - /* FALLTHROUGH */ - default: - break; - } - - free (exp); -} - - -#ifdef USE_BISON3 -static int -yylex (lval, arg) - YYSTYPE *lval; - struct parse_args *arg; -{ - const char **pexp = &arg->cp; -#else -static int -yylex (lval, pexp) - YYSTYPE *lval; - const char **pexp; -{ -#endif - const char *exp = *pexp; - int result; - - while (1) - { - if (exp[0] == '\0') - { - *pexp = exp; - return YYEOF; - } - - if (exp[0] != ' ' && exp[0] != '\t') - break; - - ++exp; - } - - result = *exp++; - switch (result) - { - case '0': case '1': case '2': case '3': case '4': - case '5': case '6': case '7': case '8': case '9': - { - unsigned long int n = result - '0'; - while (exp[0] >= '0' && exp[0] <= '9') - { - n *= 10; - n += exp[0] - '0'; - ++exp; - } - lval->num = n; - result = NUMBER; - } - break; - - case '=': - if (exp[0] == '=') - { - ++exp; - lval->op = equal; - result = EQUOP2; - } - else - result = YYERRCODE; - break; - - case '!': - if (exp[0] == '=') - { - ++exp; - lval->op = not_equal; - result = EQUOP2; - } - break; - - case '&': - case '|': - if (exp[0] == result) - ++exp; - else - result = YYERRCODE; - break; - - case '<': - if (exp[0] == '=') - { - ++exp; - lval->op = less_or_equal; - } - else - lval->op = less_than; - result = CMPOP2; - break; - - case '>': - if (exp[0] == '=') - { - ++exp; - lval->op = greater_or_equal; - } - else - lval->op = greater_than; - result = CMPOP2; - break; - - case '*': - lval->op = mult; - result = MULOP2; - break; - - case '/': - lval->op = divide; - result = MULOP2; - break; - - case '%': - lval->op = module; - result = MULOP2; - break; - - case '+': - lval->op = plus; - result = ADDOP2; - break; - - case '-': - lval->op = minus; - result = ADDOP2; - break; - - case 'n': - case '?': - case ':': - case '(': - case ')': - /* Nothing, just return the character. */ - break; - - case ';': - case '\n': - case '\0': - /* Be safe and let the user call this function again. */ - --exp; - result = YYEOF; - break; - - default: - result = YYERRCODE; -#if YYDEBUG != 0 - --exp; -#endif - break; - } - - *pexp = exp; - - return result; -} - - -#ifdef USE_BISON3 -static void -yyerror (arg, str) - struct parse_args *arg; -#else -static void -yyerror (str) -#endif - const char *str; -{ - /* Do nothing. We don't print error messages here. */ -} diff --git a/intl/plural.y b/intl/plural.y deleted file mode 100644 index 7531da5..0000000 --- a/intl/plural.y +++ /dev/null @@ -1,434 +0,0 @@ -%{ -/* Expression parsing for plural form selection. - Copyright (C) 2000-2020 Free Software Foundation, Inc. - Written by Ulrich Drepper <drepper@cygnus.com>, 2000. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -/* The bison generated parser uses alloca. AIX 3 forces us to put this - declaration at the beginning of the file. The declaration in bison's - skeleton file comes too late. This must come before <config.h> - because <config.h> may include arbitrary system headers. */ -#if defined _AIX && !defined __GNUC__ - #pragma alloca -#endif - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include <stddef.h> -#include <stdlib.h> -#include "plural-exp.h" - -/* The main function generated by the parser is called __gettextparse, - but we want it to be called PLURAL_PARSE. */ -#ifndef _LIBC -# define __gettextparse PLURAL_PARSE -#endif - -#ifndef USE_BISON3 -#define YYLEX_PARAM &((struct parse_args *) arg)->cp -#define YYPARSE_PARAM arg -#endif -%} -%pure_parser -/* BISON3 %parse-param {struct parse_args *arg} */ -/* BISON3 %lex-param {struct parse_args *arg} */ -/* BISON3 %define api.pure full */ -%expect 7 - -%union { - unsigned long int num; - enum operator op; - struct expression *exp; -} - -%{ -/* Prototypes for local functions. */ -static struct expression *new_exp PARAMS ((int nargs, enum operator op, - struct expression * const *args)); -static inline struct expression *new_exp_0 PARAMS ((enum operator op)); -static inline struct expression *new_exp_1 PARAMS ((enum operator op, - struct expression *right)); -static struct expression *new_exp_2 PARAMS ((enum operator op, - struct expression *left, - struct expression *right)); -static inline struct expression *new_exp_3 PARAMS ((enum operator op, - struct expression *bexp, - struct expression *tbranch, - struct expression *fbranch)); -#ifdef USE_BISON3 -static int yylex PARAMS ((YYSTYPE *lval, struct parse_args *arg)); -static void yyerror PARAMS ((struct parse_args *arg, const char *str)); -#else -static int yylex PARAMS ((YYSTYPE *lval, const char **pexp)); -static void yyerror PARAMS ((const char *str)); -#endif - -/* Allocation of expressions. */ - -static struct expression * -new_exp (nargs, op, args) - int nargs; - enum operator op; - struct expression * const *args; -{ - int i; - struct expression *newp; - - /* If any of the argument could not be malloc'ed, just return NULL. */ - for (i = nargs - 1; i >= 0; i--) - if (args[i] == NULL) - goto fail; - - /* Allocate a new expression. */ - newp = (struct expression *) malloc (sizeof (*newp)); - if (newp != NULL) - { - newp->nargs = nargs; - newp->operation = op; - for (i = nargs - 1; i >= 0; i--) - newp->val.args[i] = args[i]; - return newp; - } - - fail: - for (i = nargs - 1; i >= 0; i--) - FREE_EXPRESSION (args[i]); - - return NULL; -} - -static inline struct expression * -new_exp_0 (op) - enum operator op; -{ - return new_exp (0, op, NULL); -} - -static inline struct expression * -new_exp_1 (op, right) - enum operator op; - struct expression *right; -{ - struct expression *args[1]; - - args[0] = right; - return new_exp (1, op, args); -} - -static struct expression * -new_exp_2 (op, left, right) - enum operator op; - struct expression *left; - struct expression *right; -{ - struct expression *args[2]; - - args[0] = left; - args[1] = right; - return new_exp (2, op, args); -} - -static inline struct expression * -new_exp_3 (op, bexp, tbranch, fbranch) - enum operator op; - struct expression *bexp; - struct expression *tbranch; - struct expression *fbranch; -{ - struct expression *args[3]; - - args[0] = bexp; - args[1] = tbranch; - args[2] = fbranch; - return new_exp (3, op, args); -} - -%} - -/* This declares that all operators have the same associativity and the - precedence order as in C. See [Harbison, Steele: C, A Reference Manual]. - There is no unary minus and no bitwise operators. - Operators with the same syntactic behaviour have been merged into a single - token, to save space in the array generated by bison. */ -%right '?' /* ? */ -%left '|' /* || */ -%left '&' /* && */ -%left EQUOP2 /* == != */ -%left CMPOP2 /* < > <= >= */ -%left ADDOP2 /* + - */ -%left MULOP2 /* * / % */ -%right '!' /* ! */ - -%token <op> EQUOP2 CMPOP2 ADDOP2 MULOP2 -%token <num> NUMBER -%type <exp> exp - -%% - -start: exp - { - if ($1 == NULL) - YYABORT; - ((struct parse_args *) arg)->res = $1; - } - ; - -exp: exp '?' exp ':' exp - { - $$ = new_exp_3 (qmop, $1, $3, $5); - } - | exp '|' exp - { - $$ = new_exp_2 (lor, $1, $3); - } - | exp '&' exp - { - $$ = new_exp_2 (land, $1, $3); - } - | exp EQUOP2 exp - { - $$ = new_exp_2 ($2, $1, $3); - } - | exp CMPOP2 exp - { - $$ = new_exp_2 ($2, $1, $3); - } - | exp ADDOP2 exp - { - $$ = new_exp_2 ($2, $1, $3); - } - | exp MULOP2 exp - { - $$ = new_exp_2 ($2, $1, $3); - } - | '!' exp - { - $$ = new_exp_1 (lnot, $2); - } - | 'n' - { - $$ = new_exp_0 (var); - } - | NUMBER - { - if (($$ = new_exp_0 (num)) != NULL) - $$->val.num = $1; - } - | '(' exp ')' - { - $$ = $2; - } - ; - -%% - -void -internal_function -FREE_EXPRESSION (exp) - struct expression *exp; -{ - if (exp == NULL) - return; - - /* Handle the recursive case. */ - switch (exp->nargs) - { - case 3: - FREE_EXPRESSION (exp->val.args[2]); - /* FALLTHROUGH */ - case 2: - FREE_EXPRESSION (exp->val.args[1]); - /* FALLTHROUGH */ - case 1: - FREE_EXPRESSION (exp->val.args[0]); - /* FALLTHROUGH */ - default: - break; - } - - free (exp); -} - - -#ifdef USE_BISON3 -static int -yylex (lval, arg) - YYSTYPE *lval; - struct parse_args *arg; -{ - const char **pexp = &arg->cp; -#else -static int -yylex (lval, pexp) - YYSTYPE *lval; - const char **pexp; -{ -#endif - const char *exp = *pexp; - int result; - - while (1) - { - if (exp[0] == '\0') - { - *pexp = exp; - return YYEOF; - } - - if (exp[0] != ' ' && exp[0] != '\t') - break; - - ++exp; - } - - result = *exp++; - switch (result) - { - case '0': case '1': case '2': case '3': case '4': - case '5': case '6': case '7': case '8': case '9': - { - unsigned long int n = result - '0'; - while (exp[0] >= '0' && exp[0] <= '9') - { - n *= 10; - n += exp[0] - '0'; - ++exp; - } - lval->num = n; - result = NUMBER; - } - break; - - case '=': - if (exp[0] == '=') - { - ++exp; - lval->op = equal; - result = EQUOP2; - } - else - result = YYERRCODE; - break; - - case '!': - if (exp[0] == '=') - { - ++exp; - lval->op = not_equal; - result = EQUOP2; - } - break; - - case '&': - case '|': - if (exp[0] == result) - ++exp; - else - result = YYERRCODE; - break; - - case '<': - if (exp[0] == '=') - { - ++exp; - lval->op = less_or_equal; - } - else - lval->op = less_than; - result = CMPOP2; - break; - - case '>': - if (exp[0] == '=') - { - ++exp; - lval->op = greater_or_equal; - } - else - lval->op = greater_than; - result = CMPOP2; - break; - - case '*': - lval->op = mult; - result = MULOP2; - break; - - case '/': - lval->op = divide; - result = MULOP2; - break; - - case '%': - lval->op = module; - result = MULOP2; - break; - - case '+': - lval->op = plus; - result = ADDOP2; - break; - - case '-': - lval->op = minus; - result = ADDOP2; - break; - - case 'n': - case '?': - case ':': - case '(': - case ')': - /* Nothing, just return the character. */ - break; - - case ';': - case '\n': - case '\0': - /* Be safe and let the user call this function again. */ - --exp; - result = YYEOF; - break; - - default: - result = YYERRCODE; -#if YYDEBUG != 0 - --exp; -#endif - break; - } - - *pexp = exp; - - return result; -} - - -#ifdef USE_BISON3 -static void -yyerror (arg, str) - struct parse_args *arg; -#else -static void -yyerror (str) -#endif - const char *str; -{ - /* Do nothing. We don't print error messages here. */ -} diff --git a/intl/relocatable.c b/intl/relocatable.c deleted file mode 100644 index e131a30..0000000 --- a/intl/relocatable.c +++ /dev/null @@ -1,439 +0,0 @@ -/* Provide relocatable packages. - Copyright (C) 2003 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2003. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - - -/* Tell glibc's <stdio.h> to provide a prototype for getline(). - This must come before <config.h> because <config.h> may include - <features.h>, and once <features.h> has been included, it's too late. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -/* Specification. */ -#include "relocatable.h" - -#if ENABLE_RELOCATABLE - -#include <stddef.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> - -#ifdef NO_XMALLOC -# define xmalloc malloc -#else -# include "xmalloc.h" -#endif - -#if DEPENDS_ON_LIBCHARSET -# include <libcharset.h> -#endif -#if DEPENDS_ON_LIBICONV && HAVE_ICONV -# include <iconv.h> -#endif -#if DEPENDS_ON_LIBINTL && ENABLE_NLS -# include <libintl.h> -#endif - -/* Faked cheap 'bool'. */ -#undef bool -#undef false -#undef true -#define bool int -#define false 0 -#define true 1 - -/* Pathname support. - ISSLASH(C) tests whether C is a directory separator character. - IS_PATH_WITH_DIR(P) tests whether P contains a directory specification. - */ -#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ - /* Win32, OS/2, DOS */ -# define ISSLASH(C) ((C) == '/' || (C) == '\\') -# define HAS_DEVICE(P) \ - ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ - && (P)[1] == ':') -# define IS_PATH_WITH_DIR(P) \ - (strchr (P, '/') != NULL || strchr (P, '\\') != NULL || HAS_DEVICE (P)) -# define FILESYSTEM_PREFIX_LEN(P) (HAS_DEVICE (P) ? 2 : 0) -#else - /* Unix */ -# define ISSLASH(C) ((C) == '/') -# define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL) -# define FILESYSTEM_PREFIX_LEN(P) 0 -#endif - -/* Original installation prefix. */ -static char *orig_prefix; -static size_t orig_prefix_len; -/* Current installation prefix. */ -static char *curr_prefix; -static size_t curr_prefix_len; -/* These prefixes do not end in a slash. Anything that will be concatenated - to them must start with a slash. */ - -/* Sets the original and the current installation prefix of this module. - Relocation simply replaces a pathname starting with the original prefix - by the corresponding pathname with the current prefix instead. Both - prefixes should be directory names without trailing slash (i.e. use "" - instead of "/"). */ -static void -set_this_relocation_prefix (const char *orig_prefix_arg, - const char *curr_prefix_arg) -{ - if (orig_prefix_arg != NULL && curr_prefix_arg != NULL - /* Optimization: if orig_prefix and curr_prefix are equal, the - relocation is a nop. */ - && strcmp (orig_prefix_arg, curr_prefix_arg) != 0) - { - /* Duplicate the argument strings. */ - char *memory; - - orig_prefix_len = strlen (orig_prefix_arg); - curr_prefix_len = strlen (curr_prefix_arg); - memory = (char *) xmalloc (orig_prefix_len + 1 + curr_prefix_len + 1); -#ifdef NO_XMALLOC - if (memory != NULL) -#endif - { - memcpy (memory, orig_prefix_arg, orig_prefix_len + 1); - orig_prefix = memory; - memory += orig_prefix_len + 1; - memcpy (memory, curr_prefix_arg, curr_prefix_len + 1); - curr_prefix = memory; - return; - } - } - orig_prefix = NULL; - curr_prefix = NULL; - /* Don't worry about wasted memory here - this function is usually only - called once. */ -} - -/* Sets the original and the current installation prefix of the package. - Relocation simply replaces a pathname starting with the original prefix - by the corresponding pathname with the current prefix instead. Both - prefixes should be directory names without trailing slash (i.e. use "" - instead of "/"). */ -void -set_relocation_prefix (const char *orig_prefix_arg, const char *curr_prefix_arg) -{ - set_this_relocation_prefix (orig_prefix_arg, curr_prefix_arg); - - /* Now notify all dependent libraries. */ -#if DEPENDS_ON_LIBCHARSET - libcharset_set_relocation_prefix (orig_prefix_arg, curr_prefix_arg); -#endif -#if DEPENDS_ON_LIBICONV && HAVE_ICONV && _LIBICONV_VERSION >= 0x0109 - libiconv_set_relocation_prefix (orig_prefix_arg, curr_prefix_arg); -#endif -#if DEPENDS_ON_LIBINTL && ENABLE_NLS && defined libintl_set_relocation_prefix - libintl_set_relocation_prefix (orig_prefix_arg, curr_prefix_arg); -#endif -} - -/* Convenience function: - Computes the current installation prefix, based on the original - installation prefix, the original installation directory of a particular - file, and the current pathname of this file. Returns NULL upon failure. */ -#ifdef IN_LIBRARY -#define compute_curr_prefix local_compute_curr_prefix -static -#endif -const char * -compute_curr_prefix (const char *orig_installprefix, - const char *orig_installdir, - const char *curr_pathname) -{ - const char *curr_installdir; - const char *rel_installdir; - - if (curr_pathname == NULL) - return NULL; - - /* Determine the relative installation directory, relative to the prefix. - This is simply the difference between orig_installprefix and - orig_installdir. */ - if (strncmp (orig_installprefix, orig_installdir, strlen (orig_installprefix)) - != 0) - /* Shouldn't happen - nothing should be installed outside $(prefix). */ - return NULL; - rel_installdir = orig_installdir + strlen (orig_installprefix); - - /* Determine the current installation directory. */ - { - const char *p_base = curr_pathname + FILESYSTEM_PREFIX_LEN (curr_pathname); - const char *p = curr_pathname + strlen (curr_pathname); - char *q; - - while (p > p_base) - { - p--; - if (ISSLASH (*p)) - break; - } - - q = (char *) xmalloc (p - curr_pathname + 1); -#ifdef NO_XMALLOC - if (q == NULL) - return NULL; -#endif - memcpy (q, curr_pathname, p - curr_pathname); - q[p - curr_pathname] = '\0'; - curr_installdir = q; - } - - /* Compute the current installation prefix by removing the trailing - rel_installdir from it. */ - { - const char *rp = rel_installdir + strlen (rel_installdir); - const char *cp = curr_installdir + strlen (curr_installdir); - const char *cp_base = - curr_installdir + FILESYSTEM_PREFIX_LEN (curr_installdir); - - while (rp > rel_installdir && cp > cp_base) - { - bool same = false; - const char *rpi = rp; - const char *cpi = cp; - - while (rpi > rel_installdir && cpi > cp_base) - { - rpi--; - cpi--; - if (ISSLASH (*rpi) || ISSLASH (*cpi)) - { - if (ISSLASH (*rpi) && ISSLASH (*cpi)) - same = true; - break; - } -#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ - /* Win32, OS/2, DOS - case insignificant filesystem */ - if ((*rpi >= 'a' && *rpi <= 'z' ? *rpi - 'a' + 'A' : *rpi) - != (*cpi >= 'a' && *cpi <= 'z' ? *cpi - 'a' + 'A' : *cpi)) - break; -#else - if (*rpi != *cpi) - break; -#endif - } - if (!same) - break; - /* The last pathname component was the same. opi and cpi now point - to the slash before it. */ - rp = rpi; - cp = cpi; - } - - if (rp > rel_installdir) - /* Unexpected: The curr_installdir does not end with rel_installdir. */ - return NULL; - - { - size_t curr_prefix_len = cp - curr_installdir; - char *curr_prefix; - - curr_prefix = (char *) xmalloc (curr_prefix_len + 1); -#ifdef NO_XMALLOC - if (curr_prefix == NULL) - return NULL; -#endif - memcpy (curr_prefix, curr_installdir, curr_prefix_len); - curr_prefix[curr_prefix_len] = '\0'; - - return curr_prefix; - } - } -} - -#if defined PIC && defined INSTALLDIR - -/* Full pathname of shared library, or NULL. */ -static char *shared_library_fullname; - -#if defined _WIN32 || defined __WIN32__ - -/* Determine the full pathname of the shared library when it is loaded. */ - -BOOL WINAPI -DllMain (HINSTANCE module_handle, DWORD event, LPVOID reserved) -{ - (void) reserved; - - if (event == DLL_PROCESS_ATTACH) - { - /* The DLL is being loaded into an application's address range. */ - static char location[MAX_PATH]; - - if (!GetModuleFileName (module_handle, location, sizeof (location))) - /* Shouldn't happen. */ - return FALSE; - - if (!IS_PATH_WITH_DIR (location)) - /* Shouldn't happen. */ - return FALSE; - - shared_library_fullname = strdup (location); - } - - return TRUE; -} - -#else /* Unix */ - -static void -find_shared_library_fullname () -{ -#ifdef __linux__ - FILE *fp; - - /* Open the current process' maps file. It describes one VMA per line. */ - fp = fopen ("/proc/self/maps", "r"); - if (fp) - { - unsigned long address = (unsigned long) &find_shared_library_fullname; - for (;;) - { - unsigned long start, end; - int c; - - if (fscanf (fp, "%lx-%lx", &start, &end) != 2) - break; - if (address >= start && address <= end - 1) - { - /* Found it. Now see if this line contains a filename. */ - while (c = getc (fp), c != EOF && c != '\n' && c != '/') - continue; - if (c == '/') - { - size_t size; - int len; - - ungetc (c, fp); - shared_library_fullname = NULL; size = 0; - len = getline (&shared_library_fullname, &size, fp); - if (len >= 0) - { - /* Success: filled shared_library_fullname. */ - if (len > 0 && shared_library_fullname[len - 1] == '\n') - shared_library_fullname[len - 1] = '\0'; - } - } - break; - } - while (c = getc (fp), c != EOF && c != '\n') - continue; - } - fclose (fp); - } -#endif -} - -#endif /* WIN32 / Unix */ - -/* Return the full pathname of the current shared library. - Return NULL if unknown. - Guaranteed to work only on Linux and Woe32. */ -static char * -get_shared_library_fullname () -{ -#if !(defined _WIN32 || defined __WIN32__) - static bool tried_find_shared_library_fullname; - if (!tried_find_shared_library_fullname) - { - find_shared_library_fullname (); - tried_find_shared_library_fullname = true; - } -#endif - return shared_library_fullname; -} - -#endif /* PIC */ - -/* Returns the pathname, relocated according to the current installation - directory. */ -const char * -relocate (const char *pathname) -{ -#if defined PIC && defined INSTALLDIR - static int initialized; - - /* Initialization code for a shared library. */ - if (!initialized) - { - /* At this point, orig_prefix and curr_prefix likely have already been - set through the main program's set_program_name_and_installdir - function. This is sufficient in the case that the library has - initially been installed in the same orig_prefix. But we can do - better, to also cover the cases that 1. it has been installed - in a different prefix before being moved to orig_prefix and (later) - to curr_prefix, 2. unlike the program, it has not moved away from - orig_prefix. */ - const char *orig_installprefix = INSTALLPREFIX; - const char *orig_installdir = INSTALLDIR; - const char *curr_prefix_better; - - curr_prefix_better = - compute_curr_prefix (orig_installprefix, orig_installdir, - get_shared_library_fullname ()); - if (curr_prefix_better == NULL) - curr_prefix_better = curr_prefix; - - set_relocation_prefix (orig_installprefix, curr_prefix_better); - - initialized = 1; - } -#endif - - /* Note: It is not necessary to perform case insensitive comparison here, - even for DOS-like filesystems, because the pathname argument was - typically created from the same Makefile variable as orig_prefix came - from. */ - if (orig_prefix != NULL && curr_prefix != NULL - && strncmp (pathname, orig_prefix, orig_prefix_len) == 0) - { - if (pathname[orig_prefix_len] == '\0') - /* pathname equals orig_prefix. */ - return curr_prefix; - if (ISSLASH (pathname[orig_prefix_len])) - { - /* pathname starts with orig_prefix. */ - const char *pathname_tail = &pathname[orig_prefix_len]; - char *result = - (char *) xmalloc (curr_prefix_len + strlen (pathname_tail) + 1); - -#ifdef NO_XMALLOC - if (result != NULL) -#endif - { - memcpy (result, curr_prefix, curr_prefix_len); - strcpy (result + curr_prefix_len, pathname_tail); - return result; - } - } - } - /* Nothing to relocate. */ - return pathname; -} - -#endif diff --git a/intl/relocatable.h b/intl/relocatable.h deleted file mode 100644 index 5ac0b04..0000000 --- a/intl/relocatable.h +++ /dev/null @@ -1,67 +0,0 @@ -/* Provide relocatable packages. - Copyright (C) 2003 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2003. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifndef _RELOCATABLE_H -#define _RELOCATABLE_H - -/* This can be enabled through the configure --enable-relocatable option. */ -#if ENABLE_RELOCATABLE - -/* When building a DLL, we must export some functions. Note that because - this is a private .h file, we don't need to use __declspec(dllimport) - in any case. */ -#if defined _MSC_VER && BUILDING_DLL -# define RELOCATABLE_DLL_EXPORTED __declspec(dllexport) -#else -# define RELOCATABLE_DLL_EXPORTED -#endif - -/* Sets the original and the current installation prefix of the package. - Relocation simply replaces a pathname starting with the original prefix - by the corresponding pathname with the current prefix instead. Both - prefixes should be directory names without trailing slash (i.e. use "" - instead of "/"). */ -extern RELOCATABLE_DLL_EXPORTED void - set_relocation_prefix (const char *orig_prefix, - const char *curr_prefix); - -/* Returns the pathname, relocated according to the current installation - directory. */ -extern const char * relocate (const char *pathname); - -/* Memory management: relocate() leaks memory, because it has to construct - a fresh pathname. If this is a problem because your program calls - relocate() frequently, think about caching the result. */ - -/* Convenience function: - Computes the current installation prefix, based on the original - installation prefix, the original installation directory of a particular - file, and the current pathname of this file. Returns NULL upon failure. */ -extern const char * compute_curr_prefix (const char *orig_installprefix, - const char *orig_installdir, - const char *curr_pathname); - -#else - -/* By default, we use the hardwired pathnames. */ -#define relocate(pathname) (pathname) - -#endif - -#endif /* _RELOCATABLE_H */ diff --git a/intl/textdomain.c b/intl/textdomain.c deleted file mode 100644 index a06d129..0000000 --- a/intl/textdomain.c +++ /dev/null @@ -1,142 +0,0 @@ -/* Implementation of the textdomain(3) function. - Copyright (C) 1995-1998, 2000, 2001, 2002 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, - USA. */ - -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - -#include <stdlib.h> -#include <string.h> - -#ifdef _LIBC -# include <libintl.h> -#else -# include "libgnuintl.h" -#endif -#include "gettextP.h" - -#ifdef _LIBC -/* We have to handle multi-threaded applications. */ -# include <bits/libc-lock.h> -#else -/* Provide dummy implementation if this is outside glibc. */ -# define __libc_rwlock_define(CLASS, NAME) -# define __libc_rwlock_wrlock(NAME) -# define __libc_rwlock_unlock(NAME) -#endif - -/* The internal variables in the standalone libintl.a must have different - names than the internal variables in GNU libc, otherwise programs - using libintl.a cannot be linked statically. */ -#if !defined _LIBC -# define _nl_default_default_domain libintl_nl_default_default_domain -# define _nl_current_default_domain libintl_nl_current_default_domain -#endif - -/* @@ end of prolog @@ */ - -/* Name of the default text domain. */ -extern const char _nl_default_default_domain[] attribute_hidden; - -/* Default text domain in which entries for gettext(3) are to be found. */ -extern const char *_nl_current_default_domain attribute_hidden; - - -/* Names for the libintl functions are a problem. They must not clash - with existing names and they should follow ANSI C. But this source - code is also used in GNU C Library where the names have a __ - prefix. So we have to make a difference here. */ -#ifdef _LIBC -# define TEXTDOMAIN __textdomain -# ifndef strdup -# define strdup(str) __strdup (str) -# endif -#else -# define TEXTDOMAIN libintl_textdomain -#endif - -/* Lock variable to protect the global data in the gettext implementation. */ -__libc_rwlock_define (extern, _nl_state_lock attribute_hidden) - -/* Set the current default message catalog to DOMAINNAME. - If DOMAINNAME is null, return the current default. - If DOMAINNAME is "", reset to the default of "messages". */ -char * -TEXTDOMAIN (domainname) - const char *domainname; -{ - char *new_domain; - char *old_domain; - - /* A NULL pointer requests the current setting. */ - if (domainname == NULL) - return (char *) _nl_current_default_domain; - - __libc_rwlock_wrlock (_nl_state_lock); - - old_domain = (char *) _nl_current_default_domain; - - /* If domain name is the null string set to default domain "messages". */ - if (domainname[0] == '\0' - || strcmp (domainname, _nl_default_default_domain) == 0) - { - _nl_current_default_domain = _nl_default_default_domain; - new_domain = (char *) _nl_current_default_domain; - } - else if (strcmp (domainname, old_domain) == 0) - /* This can happen and people will use it to signal that some - environment variable changed. */ - new_domain = old_domain; - else - { - /* If the following malloc fails `_nl_current_default_domain' - will be NULL. This value will be returned and so signals we - are out of core. */ -#if defined _LIBC || defined HAVE_STRDUP - new_domain = strdup (domainname); -#else - size_t len = strlen (domainname) + 1; - new_domain = (char *) malloc (len); - if (new_domain != NULL) - memcpy (new_domain, domainname, len); -#endif - - if (new_domain != NULL) - _nl_current_default_domain = new_domain; - } - - /* We use this possibility to signal a change of the loaded catalogs - since this is most likely the case and there is no other easy we - to do it. Do it only when the call was successful. */ - if (new_domain != NULL) - { - ++_nl_msg_cat_cntr; - - if (old_domain != new_domain && old_domain != _nl_default_default_domain) - free (old_domain); - } - - __libc_rwlock_unlock (_nl_state_lock); - - return new_domain; -} - -#ifdef _LIBC -/* Alias for function name in GNU C Library. */ -weak_alias (__textdomain, textdomain); -#endif diff --git a/ld/ChangeLog b/ld/ChangeLog index 287e2cf..a30d3ad 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2023-11-15 Arsen Arsenović <arsen@aarsen.me> + + * aclocal.m4: Regenerate. + * configure: Regenerate. + * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot + temporary file, to suppress xgettext checking charset names. + 2023-11-14 Nick Clifton <nickc@redhat.com> PR 28910 diff --git a/ld/Makefile.in b/ld/Makefile.in index afd22d4..d025227 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -116,10 +116,16 @@ am__aclocal_m4_deps = $(top_srcdir)/../bfd/acinclude.m4 \ $(top_srcdir)/../config/depstand.m4 \ $(top_srcdir)/../config/enable.m4 \ $(top_srcdir)/../config/gettext-sister.m4 \ + $(top_srcdir)/../config/gettext.m4 \ + $(top_srcdir)/../config/iconv.m4 \ + $(top_srcdir)/../config/intlmacosx.m4 \ $(top_srcdir)/../config/jobserver.m4 \ $(top_srcdir)/../config/largefile.m4 \ $(top_srcdir)/../config/lcmessage.m4 \ $(top_srcdir)/../config/lead-dot.m4 \ + $(top_srcdir)/../config/lib-ld.m4 \ + $(top_srcdir)/../config/lib-link.m4 \ + $(top_srcdir)/../config/lib-prefix.m4 \ $(top_srcdir)/../config/nls.m4 \ $(top_srcdir)/../config/override.m4 \ $(top_srcdir)/../config/pkg.m4 \ @@ -407,6 +413,8 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ JANSSON_CFLAGS = @JANSSON_CFLAGS@ JANSSON_LIBS = @JANSSON_LIBS@ LARGEFILE_CPPFLAGS = @LARGEFILE_CPPFLAGS@ @@ -415,6 +423,7 @@ LDFLAGS = @LDFLAGS@ LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi` LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ +LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBINTL_DEP = @LIBINTL_DEP@ LIBOBJS = @LIBOBJS@ @@ -431,6 +440,8 @@ LIBTOOL = @LIBTOOL@ LIB_PATH = @LIB_PATH@ LIPO = @LIPO@ LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ diff --git a/ld/aclocal.m4 b/ld/aclocal.m4 index 893e973..d9feb98 100644 --- a/ld/aclocal.m4 +++ b/ld/aclocal.m4 @@ -1192,10 +1192,16 @@ m4_include([../config/bfd64.m4]) m4_include([../config/depstand.m4]) m4_include([../config/enable.m4]) m4_include([../config/gettext-sister.m4]) +m4_include([../config/gettext.m4]) +m4_include([../config/iconv.m4]) +m4_include([../config/intlmacosx.m4]) m4_include([../config/jobserver.m4]) m4_include([../config/largefile.m4]) m4_include([../config/lcmessage.m4]) m4_include([../config/lead-dot.m4]) +m4_include([../config/lib-ld.m4]) +m4_include([../config/lib-link.m4]) +m4_include([../config/lib-prefix.m4]) m4_include([../config/nls.m4]) m4_include([../config/override.m4]) m4_include([../config/pkg.m4]) diff --git a/ld/config.in b/ld/config.in index e3a983f..86d90d5 100644 --- a/ld/config.in +++ b/ld/config.in @@ -72,9 +72,21 @@ /* Define to choose default GOT handling scheme */ #undef GOT_HANDLING_DEFAULT +/* Define to 1 if you have the Mac OS X function + CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES + +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + /* Define to 1 if you have the `close' function. */ #undef HAVE_CLOSE +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + /* Define to 1 if you have the declaration of `asprintf', and to 0 if you don't. */ #undef HAVE_DECL_ASPRINTF @@ -102,9 +114,15 @@ /* Define to 1 if you have the `getpagesize' function. */ #undef HAVE_GETPAGESIZE +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + /* Define to 1 if you have the `glob' function. */ #undef HAVE_GLOB +/* Define if you have the iconv() function and it works. */ +#undef HAVE_ICONV + /* Define .init_array/.fini_array sections are available and working. */ #undef HAVE_INITFINI_ARRAY diff --git a/ld/configure b/ld/configure index 46d9f3c..07eb669 100755 --- a/ld/configure +++ b/ld/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include <unistd.h> #endif" +gt_needs= ac_header_list= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE @@ -660,21 +661,26 @@ LEX_OUTPUT_ROOT LEX YFLAGS YACC -MSGMERGE -MSGFMT -MKINSTALLDIRS CATOBJEXT GENCAT INSTOBJEXT DATADIRNAME CATALOGS -POSUB -GMSGFMT -XGETTEXT INCINTL LIBINTL_DEP +POSUB +LTLIBINTL LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +INTL_MACOSX_LIBS +MSGMERGE +XGETTEXT +GMSGFMT +MSGFMT USE_NLS +MKINSTALLDIRS WARN_WRITE_STRINGS NO_WERROR WARN_CFLAGS_FOR_BUILD @@ -859,6 +865,11 @@ enable_jansson enable_werror enable_build_warnings enable_nls +enable_rpath +with_libiconv_prefix +with_libiconv_type +with_libintl_prefix +with_libintl_type with_system_zlib with_zstd ' @@ -1557,6 +1568,7 @@ Optional Features: --enable-werror treat compile warnings as errors --enable-build-warnings enable build-time compiler warnings --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1566,6 +1578,13 @@ Optional Packages: --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-lib-path=dir1:dir2... set default LIB_PATH --with-sysroot=DIR Search for usr/lib et al within DIR. + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libiconv-type=TYPE type of library to search for (auto/static/shared) + --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 + --with-libintl-type=TYPE type of library to search for (auto/static/shared) --with-system-zlib use installed libz --with-zstd support zstd compressed debug sections (default=auto) @@ -2661,6 +2680,7 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +gt_needs="$gt_needs " as_fn_append ac_header_list " stdlib.h" as_fn_append ac_header_list " unistd.h" as_fn_append ac_header_list " sys/param.h" @@ -11661,7 +11681,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11664 "configure" +#line 11684 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11767,7 +11787,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11770 "configure" +#line 11790 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -16135,19 +16155,1928 @@ fi # host-specific stuff: ALL_LINGUAS="bg da de es fi fr ga id it ja pt_BR ru sr sv tr uk vi zh_CN zh_TW" -# If we haven't got the data from the intl directory, -# assume NLS is disabled. -USE_NLS=no -LIBINTL= -LIBINTL_DEP= -INCINTL= -XGETTEXT= -GMSGFMT= -POSUB= - -if test -f ../intl/config.intl; then - . ../intl/config.intl + + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + rm -f messages.po + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test "$GMSGFMT" != ":"; then + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 +$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } + GMSGFMT=":" + fi + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + rm -f messages.po + fi + + ac_config_commands="$ac_config_commands default-1" + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [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 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$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 + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + + + + + + 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-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_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 + + +# Check whether --with-libiconv-type was given. +if test "${with_libiconv_type+set}" = set; then : + withval=$with_libiconv_type; with_libiconv_type=$withval +else + with_libiconv_type=auto +fi + + lib_type=`eval echo \$with_libiconv_type` + + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + 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" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBICONV; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-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 $INCICONV; 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 + INCICONV="${INCICONV}${INCICONV:+ }-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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext" + fi + 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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + +if test -f ../gettext/uninstalled-config.sh; then + relative_builddir='$(top_builddir)/../gettext' + . ../gettext/uninstalled-config.sh +else + # The sister gettext directory doesn't exist and won't collect information on + # using gettext for us. Call a bundled AM_GNU_GETTEXT. + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFPreferences.h> +int +main () +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 +$as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; } +if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFLocale.h> +int +main () +{ +CFLocaleCopyPreferredLanguages(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyPreferredLanguages=yes +else + gt_cv_func_CFLocaleCopyPreferredLanguages=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } + if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + +$as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ + || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" + fi + + + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if eval \${$gt_func_gnugettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libc=yes" +else + eval "$gt_func_gnugettext_libc=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; 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 + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + am_cv_func_iconv_works=no + for ac_iconv_const in '' 'const'; do + if test "$cross_compiling" = yes; then : + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <iconv.h> +#include <string.h> + +#ifndef ICONV_CONST +# define ICONV_CONST $ac_iconv_const +#endif + +int +main () +{ +int result = 0; + /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from + successful returns. This is even documented in + <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 1; + iconv_close (cd_utf8_to_88591); + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\263"; + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 2; + iconv_close (cd_ascii_to_88591); + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + ICONV_CONST char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + result |= 4; + iconv_close (cd_88591_to_utf8); + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + result |= 8; + iconv_close (cd_88591_to_utf8); + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + { + /* Try standardized names. */ + iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); + /* Try IRIX, OSF/1 names. */ + iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); + /* Try AIX names. */ + iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); + /* Try HP-UX names. */ + iconv_t cd4 = iconv_open ("utf8", "eucJP"); + if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) + && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) + result |= 16; + if (cd1 != (iconv_t)(-1)) + iconv_close (cd1); + if (cd2 != (iconv_t)(-1)) + iconv_close (cd2); + if (cd3 != (iconv_t)(-1)) + iconv_close (cd3); + if (cd4 != (iconv_t)(-1)) + iconv_close (cd4); + } + return result; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + test "$am_cv_func_iconv_works" = no || break + done + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + 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-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_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 + + +# Check whether --with-libintl-type was given. +if test "${with_libintl_type+set}" = set; then : + withval=$with_libintl_type; with_libintl_type=$withval +else + with_libintl_type=auto +fi + + lib_type=`eval echo \$with_libintl_type` + + LIBINTL= + LTLIBINTL= + INCINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + 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" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBINTL; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-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 $INCINTL; 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 + INCINTL="${INCINTL}${INCINTL:+ }-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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext" + fi + 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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if eval \${$gt_func_gnugettext_libintl+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" +else + eval "$gt_func_gnugettext_libintl=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" +fi +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; 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 + + fi + + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + + +fi + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } if test x"$USE_NLS" != xyes; then @@ -16206,33 +18135,6 @@ $as_echo "$LINGUAS" >&6; } fi - MKINSTALLDIRS= - if test -n "$ac_aux_dir"; then - case "$ac_aux_dir" in - /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; - *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; - esac - fi - if test -z "$MKINSTALLDIRS"; then - MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 -$as_echo_n "checking whether NLS is requested... " >&6; } - # Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then : - enableval=$enable_nls; USE_NLS=$enableval -else - USE_NLS=yes -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -$as_echo "$USE_NLS" >&6; } - - - @@ -16510,7 +18412,7 @@ $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } rm -f messages.po fi - ac_config_commands="$ac_config_commands default-1" + ac_config_commands="$ac_config_commands default-2" @@ -18700,6 +20602,13 @@ fi # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it + # from automake. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + _ACEOF @@ -18714,6 +20623,7 @@ do "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;; "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;; @@ -20316,6 +22226,107 @@ _LT_EOF ;; esac done ;; + "default-2":C) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.ac. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + GMOFILES= + UPDATEPOFILES= + DUMMYPOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; "default":C) case "$srcdir" in .) srcdirpre= ;; diff --git a/ld/po/ld.pot b/ld/po/ld.pot index 0bef157..eb7d69d 100644 --- a/ld/po/ld.pot +++ b/ld/po/ld.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: https://sourceware.org/bugzilla/\n" -"POT-Creation-Date: 2023-01-05 10:57+0000\n" +"POT-Creation-Date: 2023-11-15 11:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -55,15 +55,15 @@ msgstr "" msgid "%P: symbol `%pT' missing from main hash table\n" msgstr "" -#: ldcref.c:517 ldcref.c:628 ldmain.c:1311 ldmisc.c:324 pe-dll.c:758 -#: pe-dll.c:1324 pe-dll.c:1445 pe-dll.c:1569 eaarch64pe.c:1573 earm64pe.c:1573 -#: earm_wince_pe.c:1575 earm_wince_pe.c:1747 earmpe.c:1575 earmpe.c:1747 -#: ei386pe.c:1575 ei386pe.c:1747 ei386pe_posix.c:1575 ei386pe_posix.c:1747 -#: ei386pep.c:1573 emcorepe.c:1575 emcorepe.c:1747 eshpe.c:1575 eshpe.c:1747 +#: ldcref.c:517 ldcref.c:628 ldmain.c:1315 ldmisc.c:327 pe-dll.c:759 +#: pe-dll.c:1329 pe-dll.c:1450 pe-dll.c:1552 eaarch64pe.c:1653 earm64pe.c:1653 +#: earm_wince_pe.c:1661 earm_wince_pe.c:1833 earmpe.c:1661 earmpe.c:1833 +#: ei386pe.c:1661 ei386pe.c:1833 ei386pe_posix.c:1661 ei386pe_posix.c:1833 +#: ei386pep.c:1653 emcorepe.c:1661 emcorepe.c:1833 eshpe.c:1661 eshpe.c:1833 msgid "%F%P: %pB: could not read symbols: %E\n" msgstr "" -#: ldcref.c:690 ldcref.c:697 ldmain.c:1373 ldmain.c:1380 +#: ldcref.c:690 ldcref.c:697 ldmain.c:1377 ldmain.c:1384 msgid "%F%P: %pB: could not read relocs: %E\n" msgstr "" @@ -72,30 +72,30 @@ msgstr "" #. mapped into a section from which references to OUTSECNAME #. are prohibited. We must report an error. #: ldcref.c:724 -msgid "%X%P: %C: prohibited cross reference from %s to `%pT' in %s\n" +msgid "%X%P: %H: prohibited cross reference from %s to `%pT' in %s\n" msgstr "" -#: ldctor.c:84 +#: ldctor.c:85 msgid "%X%P: different relocs used in set %s\n" msgstr "" -#: ldctor.c:102 +#: ldctor.c:103 msgid "%X%P: different object file formats composing set %s\n" msgstr "" -#: ldctor.c:278 ldctor.c:299 +#: ldctor.c:279 ldctor.c:300 msgid "%X%P: %s does not support reloc %s for set %s\n" msgstr "" -#: ldctor.c:294 +#: ldctor.c:295 msgid "%X%P: special section %s does not support reloc %s for set %s\n" msgstr "" -#: ldctor.c:320 +#: ldctor.c:321 msgid "%X%P: unsupported size %d for set %s\n" msgstr "" -#: ldctor.c:343 +#: ldctor.c:344 msgid "" "\n" "Set Symbol\n" @@ -122,7 +122,7 @@ msgstr "" msgid "%P: warning: %s, needed by %pB, may conflict with %s\n" msgstr "" -#: ldelf.c:286 ldfile.c:133 +#: ldelf.c:286 ldfile.c:343 #, c-format msgid "attempt to open %s failed\n" msgstr "" @@ -140,134 +140,134 @@ msgstr "" msgid "found %s at %s\n" msgstr "" -#: ldelf.c:410 ldlang.c:3013 ldlang.c:3027 +#: ldelf.c:410 ldlang.c:3118 ldlang.c:3132 msgid "%F%P: %pB: error adding symbols: %E\n" msgstr "" #. We only issue an "unrecognised" message in verbose mode #. as the $<foo> token might be a legitimate component of #. a path name in the target's file system. -#: ldelf.c:597 +#: ldelf.c:600 #, c-format msgid "unrecognised or unsupported token '%s' in search path\n" msgstr "" -#: ldelf.c:1077 +#: ldelf.c:1080 #, c-format msgid "%s needed by %pB\n" msgstr "" -#: ldelf.c:1186 +#: ldelf.c:1189 msgid "" "%P: warning: %s, needed by %pB, not found (try using -rpath or -rpath-link)\n" msgstr "" -#: ldelf.c:1202 +#: ldelf.c:1205 msgid "%F%P: failed to add DT_NEEDED dynamic tag\n" msgstr "" -#: ldelf.c:1253 +#: ldelf.c:1257 msgid "%F%P: %s: can't open for writing: %E\n" msgstr "" -#: ldelf.c:1309 +#: ldelf.c:1313 msgid "%F%P: cannot use executable file '%pB' as input to a link\n" msgstr "" -#: ldelf.c:1363 +#: ldelf.c:1367 msgid "" "%F%P: compact frame descriptions incompatible with DWARF2 .eh_frame from %" "pB\n" msgstr "" -#: ldelf.c:1399 +#: ldelf.c:1403 msgid "" "%P: warning: cannot create .eh_frame_hdr section, --eh-frame-hdr ignored\n" msgstr "" -#: ldelf.c:1405 +#: ldelf.c:1409 msgid "%F%P: failed to parse EH frame entries\n" msgstr "" -#: ldelf.c:1447 +#: ldelf.c:1451 msgid "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n" msgstr "" -#: ldelf.c:1496 eaarch64pe.c:1357 earm64pe.c:1357 earm_wince_pe.c:1341 -#: earmpe.c:1341 ei386pe.c:1341 ei386pe_posix.c:1341 ei386pep.c:1357 -#: emcorepe.c:1341 eshpe.c:1341 +#: ldelf.c:1500 eaarch64pe.c:1427 earm64pe.c:1427 earm_wince_pe.c:1417 +#: earmpe.c:1417 ei386pe.c:1417 ei386pe_posix.c:1417 ei386pep.c:1427 +#: emcorepe.c:1417 eshpe.c:1417 msgid "%P: warning: unrecognized --build-id style ignored\n" msgstr "" -#: ldelf.c:1515 +#: ldelf.c:1519 msgid "" "%P: warning: cannot create .note.gnu.build-id section, --build-id ignored\n" msgstr "" -#: ldelf.c:1536 +#: ldelf.c:1540 msgid "" "%P: warning: .note.package section discarded, --package-metadata ignored\n" msgstr "" -#: ldelf.c:1591 +#: ldelf.c:1595 msgid "%P: warning: --package-metadata is empty, ignoring\n" msgstr "" -#: ldelf.c:1601 +#: ldelf.c:1605 msgid "" "%P: warning: --package-metadata=%s does not contain valid JSON, ignoring: %" "s\n" msgstr "" -#: ldelf.c:1630 +#: ldelf.c:1634 msgid "" "%P: warning: cannot create .note.package section, --package-metadata " "ignored\n" msgstr "" -#: ldelf.c:1662 eaix5ppc.c:1574 eaix5rs6.c:1574 eaixppc.c:1574 eaixrs6.c:1574 +#: ldelf.c:1666 eaix5ppc.c:1574 eaix5rs6.c:1574 eaixppc.c:1574 eaixrs6.c:1574 #: eppcmacos.c:1574 msgid "%F%P: failed to record assignment to %s: %E\n" msgstr "" -#: ldelf.c:1840 ldelf.c:1905 eaix5ppc.c:844 eaix5rs6.c:844 eaixppc.c:844 -#: eaixrs6.c:844 eelf64_ia64_vms.c:209 eppcmacos.c:844 +#: ldelf.c:1844 ldelf.c:1909 eaix5ppc.c:844 eaix5rs6.c:844 eaixppc.c:844 +#: eaixrs6.c:844 eelf64_ia64_vms.c:210 eppcmacos.c:844 msgid "%F%P: failed to set dynamic section sizes: %E\n" msgstr "" -#: ldelf.c:1877 +#: ldelf.c:1881 msgid "%F%P: %pB: can't read contents of section .gnu.warning: %E\n" msgstr "" -#: ldelfgen.c:284 +#: ldelfgen.c:285 msgid "%F%P: %pA has both ordered and unordered sections\n" msgstr "" -#: ldelfgen.c:309 +#: ldelfgen.c:310 msgid "%F%P: map sections to segments failed: %E\n" msgstr "" -#: ldelfgen.c:329 +#: ldelfgen.c:330 msgid "%F%P: looping in map_segments\n" msgstr "" -#: ldelfgen.c:341 +#: ldelfgen.c:342 msgid "%F%P: failed to strip zero-sized dynamic sections\n" msgstr "" -#: ldelfgen.c:419 +#: ldelfgen.c:420 msgid "" "%F%P: warning: CTF strtab association failed; strings will not be shared: %" "s\n" msgstr "" -#: ldelfgen.c:446 +#: ldelfgen.c:447 msgid "" "%F%P: warning: CTF symbol addition failed; CTF will not be tied to symbols: %" "s\n" msgstr "" -#: ldelfgen.c:456 +#: ldelfgen.c:457 msgid "" "%F%P: warning: CTF symbol shuffling failed; CTF will not be tied to symbols: " "%s\n" @@ -296,848 +296,890 @@ msgstr "" msgid " no emulation specific options.\n" msgstr "" -#: ldexp.c:284 +#: ldexp.c:285 msgid "%F%P: bfd_hash_allocate failed creating symbol %s\n" msgstr "" -#: ldexp.c:315 +#: ldexp.c:316 msgid "%F%P: bfd_hash_lookup failed creating symbol %s\n" msgstr "" -#: ldexp.c:561 +#: ldexp.c:562 msgid "%P: warning: address of `%s' isn't multiple of maximum page size\n" msgstr "" -#: ldexp.c:640 +#: ldexp.c:641 msgid "%F%P:%pS %% by zero\n" msgstr "" -#: ldexp.c:649 +#: ldexp.c:650 msgid "%F%P:%pS / by zero\n" msgstr "" -#: ldexp.c:745 ldlang.c:3864 ldmain.c:1278 eaarch64pe.c:1762 earm64pe.c:1762 -#: earm_wince_pe.c:1858 earmpe.c:1858 ei386pe.c:1858 ei386pe_posix.c:1858 -#: ei386pep.c:1762 emcorepe.c:1858 eshpe.c:1858 +#: ldexp.c:764 ldlang.c:3976 ldmain.c:1282 eaarch64pe.c:1241 eaarch64pe.c:1842 +#: earm64pe.c:1241 earm64pe.c:1842 earm_wince_pe.c:1232 earm_wince_pe.c:1944 +#: earmpe.c:1232 earmpe.c:1944 ei386pe.c:1232 ei386pe.c:1944 +#: ei386pe_posix.c:1232 ei386pe_posix.c:1944 ei386pep.c:1241 ei386pep.c:1842 +#: emcorepe.c:1232 emcorepe.c:1944 eshpe.c:1232 eshpe.c:1944 msgid "%F%P: bfd_link_hash_lookup failed: %E\n" msgstr "" -#: ldexp.c:758 +#: ldexp.c:777 msgid "%X%P:%pS: unresolvable symbol `%s' referenced in expression\n" msgstr "" -#: ldexp.c:773 +#: ldexp.c:792 msgid "%F%P:%pS: undefined symbol `%s' referenced in expression\n" msgstr "" -#: ldexp.c:811 ldexp.c:829 ldexp.c:857 +#: ldexp.c:830 ldexp.c:848 ldexp.c:876 msgid "%F%P:%pS: undefined section `%s' referenced in expression\n" msgstr "" -#: ldexp.c:896 ldexp.c:910 +#: ldexp.c:915 ldexp.c:929 msgid "%F%P:%pS: undefined MEMORY region `%s' referenced in expression\n" msgstr "" -#: ldexp.c:922 +#: ldexp.c:941 msgid "%F%P:%pS: unknown constant `%s' referenced in expression\n" msgstr "" -#: ldexp.c:1070 +#: ldexp.c:1089 msgid "%F%P:%pS can not PROVIDE assignment to location counter\n" msgstr "" -#: ldexp.c:1103 +#: ldexp.c:1122 msgid "%F%P:%pS invalid assignment to location counter\n" msgstr "" -#: ldexp.c:1107 +#: ldexp.c:1126 msgid "%F%P:%pS assignment to location counter invalid outside of SECTIONS\n" msgstr "" -#: ldexp.c:1126 +#: ldexp.c:1145 msgid "%F%P:%pS cannot move location counter backwards (from %V to %V)\n" msgstr "" -#: ldexp.c:1186 +#: ldexp.c:1205 msgid "%F%P:%s: hash creation failed\n" msgstr "" -#: ldexp.c:1558 ldexp.c:1600 ldexp.c:1660 +#: ldexp.c:1581 ldexp.c:1624 ldexp.c:1684 msgid "%F%P:%pS: nonconstant expression for %s\n" msgstr "" -#: ldexp.c:1686 ldlang.c:1272 ldlang.c:3346 ldlang.c:7906 +#: ldexp.c:1710 ldlang.c:1328 ldlang.c:3451 ldlang.c:8146 msgid "%F%P: can not create hash table: %E\n" msgstr "" -#: ldfile.c:135 +#: ldfile.c:238 +#, c-format +msgid "remap input file '%s' to '%s' based upon pattern '%s'\n" +msgstr "" + +#: ldfile.c:241 +#, c-format +msgid "remove input file '%s' based upon pattern '%s'\n" +msgstr "" + +#: ldfile.c:247 +#, c-format +msgid "remap input file '%s' to '%s'\n" +msgstr "" + +#: ldfile.c:250 +#, c-format +msgid "remove input file '%s'\n" +msgstr "" + +#: ldfile.c:268 +msgid "" +"\n" +"Input File Remapping\n" +"\n" +msgstr "" + +#: ldfile.c:273 +#, c-format +msgid " Pattern: %s\tMaps To: %s\n" +msgstr "" + +#: ldfile.c:274 +msgid "<discard>" +msgstr "" + +#: ldfile.c:345 #, c-format msgid "attempt to open %s succeeded\n" msgstr "" -#: ldfile.c:141 +#: ldfile.c:351 msgid "%F%P: invalid BFD target `%s'\n" msgstr "" -#: ldfile.c:267 ldfile.c:297 +#: ldfile.c:481 ldfile.c:511 msgid "%P: skipping incompatible %s when searching for %s\n" msgstr "" -#: ldfile.c:280 +#: ldfile.c:494 msgid "%F%P: attempted static link of dynamic object `%s'\n" msgstr "" -#: ldfile.c:407 +#: ldfile.c:621 msgid "%P: cannot find %s (%s): %E\n" msgstr "" #. We ignore the return status of the script #. and always print the error message. -#: ldfile.c:410 ldfile.c:494 ldfile.c:498 +#: ldfile.c:624 ldfile.c:708 ldfile.c:712 msgid "%P: cannot find %s: %E\n" msgstr "" -#: ldfile.c:462 +#: ldfile.c:676 msgid "%P: cannot find %s inside %s\n" msgstr "" -#: ldfile.c:477 ldmain.c:1458 +#: ldfile.c:691 ldmain.c:1462 msgid "%P: About to run error handling script '%s' with arguments: '%s' '%s'\n" msgstr "" -#: ldfile.c:481 ldmain.c:1462 +#: ldfile.c:695 ldmain.c:1466 msgid "error handling script" msgstr "" -#: ldfile.c:487 ldmain.c:1468 +#: ldfile.c:701 ldmain.c:1472 msgid "%P: Failed to run error handling script '%s', reason: " msgstr "" -#: ldfile.c:508 +#: ldfile.c:722 msgid "%P: note to link with %s use -l:%s or rename it to lib%s\n" msgstr "" -#: ldfile.c:537 +#: ldfile.c:754 #, c-format msgid "cannot find script file %s\n" msgstr "" -#: ldfile.c:539 +#: ldfile.c:756 #, c-format msgid "opened script file %s\n" msgstr "" -#: ldfile.c:688 +#: ldfile.c:905 msgid "%F%P: error: linker script file '%s' appears multiple times\n" msgstr "" -#: ldfile.c:710 +#: ldfile.c:927 msgid "%F%P: cannot open linker script file %s: %E\n" msgstr "" -#: ldfile.c:783 +#: ldfile.c:998 msgid "%F%P: cannot represent machine `%s'\n" msgstr "" -#: ldlang.c:1357 +#: ldlang.c:1414 msgid "%P:%pS: warning: redeclaration of memory region `%s'\n" msgstr "" -#: ldlang.c:1363 +#: ldlang.c:1420 msgid "%P:%pS: warning: memory region `%s' not declared\n" msgstr "" -#: ldlang.c:1399 +#: ldlang.c:1456 msgid "%F%P:%pS: error: alias for default memory region\n" msgstr "" -#: ldlang.c:1410 +#: ldlang.c:1467 msgid "%F%P:%pS: error: redefinition of memory region alias `%s'\n" msgstr "" -#: ldlang.c:1417 +#: ldlang.c:1474 msgid "%F%P:%pS: error: memory region `%s' for alias `%s' does not exist\n" msgstr "" -#: ldlang.c:1478 ldlang.c:1513 +#: ldlang.c:1535 ldlang.c:1570 msgid "%F%P: failed creating section `%s': %E\n" msgstr "" -#: ldlang.c:2215 +#: ldlang.c:2275 msgid "" "\n" "As-needed library included to satisfy reference by file (symbol)\n" "\n" msgstr "" -#: ldlang.c:2278 -#, c-format +#: ldlang.c:2340 msgid "" "\n" "Discarded input sections\n" "\n" msgstr "" -#: ldlang.c:2286 +#: ldlang.c:2348 +msgid "" +"\n" +"There are no discarded input sections\n" +msgstr "" + +#: ldlang.c:2350 msgid "" "\n" "Memory Configuration\n" "\n" msgstr "" -#: ldlang.c:2288 +#: ldlang.c:2352 msgid "Name" msgstr "" -#: ldlang.c:2288 +#: ldlang.c:2352 msgid "Origin" msgstr "" -#: ldlang.c:2288 +#: ldlang.c:2352 msgid "Length" msgstr "" -#: ldlang.c:2288 +#: ldlang.c:2352 msgid "Attributes" msgstr "" -#: ldlang.c:2312 -#, c-format +#: ldlang.c:2376 msgid "" "\n" "Linker script and memory map\n" "\n" msgstr "" -#: ldlang.c:2365 +#: ldlang.c:2429 msgid "%F%P: illegal use of `%s' section\n" msgstr "" -#: ldlang.c:2374 +#: ldlang.c:2438 msgid "%F%P: output format %s cannot represent section called %s: %E\n" msgstr "" -#: ldlang.c:2541 +#: ldlang.c:2619 msgid "" "%P:%pS: warning: --enable-non-contiguous-regions makes section `%pA' from `%" "pB' match /DISCARD/ clause.\n" msgstr "" -#: ldlang.c:2574 +#: ldlang.c:2643 msgid "" "%P:%pS: warning: --enable-non-contiguous-regions may change behaviour for " "section `%pA' from `%pB' (assigned to %pA, but additional match: %pA)\n" msgstr "" -#: ldlang.c:2916 +#: ldlang.c:3021 msgid "%P: %pB: file not recognized: %E; matching formats:" msgstr "" -#: ldlang.c:2925 +#: ldlang.c:3030 msgid "%F%P: %pB: file not recognized: %E\n" msgstr "" -#: ldlang.c:2998 +#: ldlang.c:3103 msgid "%F%P: %pB: member %pB in archive is not an object\n" msgstr "" -#: ldlang.c:3268 +#: ldlang.c:3373 msgid "%F%P: input file '%s' is the same as output file\n" msgstr "" -#: ldlang.c:3316 +#: ldlang.c:3421 msgid "" "%P: warning: could not find any targets that match endianness requirement\n" msgstr "" -#: ldlang.c:3330 +#: ldlang.c:3435 msgid "%F%P: target %s not found\n" msgstr "" -#: ldlang.c:3332 +#: ldlang.c:3437 msgid "%F%P: cannot open output file %s: %E\n" msgstr "" -#: ldlang.c:3338 +#: ldlang.c:3443 msgid "%F%P: %s: can not make object file: %E\n" msgstr "" -#: ldlang.c:3342 +#: ldlang.c:3447 msgid "%F%P: %s: can not set architecture: %E\n" msgstr "" -#: ldlang.c:3522 +#: ldlang.c:3634 msgid "%P: warning: %s contains output sections; did you forget -T?\n" msgstr "" -#: ldlang.c:3569 +#: ldlang.c:3681 #, c-format msgid "%s: %s\n" msgstr "" -#: ldlang.c:3569 +#: ldlang.c:3681 msgid "CTF warning" msgstr "" -#: ldlang.c:3569 +#: ldlang.c:3681 msgid "CTF error" msgstr "" -#: ldlang.c:3575 +#: ldlang.c:3687 #, c-format msgid "CTF error: cannot get CTF errors: `%s'\n" msgstr "" -#: ldlang.c:3609 +#: ldlang.c:3721 msgid "" "%P: warning: CTF section in %pB not loaded; its types will be discarded: %s\n" msgstr "" -#: ldlang.c:3638 +#: ldlang.c:3750 msgid "%P: warning: CTF output not created: `%s'\n" msgstr "" -#: ldlang.c:3681 +#: ldlang.c:3793 msgid "%P: warning: CTF section in %pB cannot be linked: `%s'\n" msgstr "" -#: ldlang.c:3701 +#: ldlang.c:3813 msgid "%P: warning: CTF linking failed; output will have no CTF section: %s\n" msgstr "" -#: ldlang.c:3772 +#: ldlang.c:3884 msgid "" "%P: warning: CTF section emission failed; output will have no CTF section: %" "s\n" msgstr "" -#: ldlang.c:3811 +#: ldlang.c:3923 msgid "" "%P: warning: CTF section in %pB not linkable: %P was built without support " "for CTF\n" msgstr "" -#: ldlang.c:3949 +#: ldlang.c:4061 msgid "%X%P: required symbol `%s' not defined\n" msgstr "" -#: ldlang.c:4147 ldlang.c:4156 +#: ldlang.c:4262 ldlang.c:4271 msgid "%F%P: invalid type for output section `%s'\n" msgstr "" -#: ldlang.c:4290 +#: ldlang.c:4407 msgid "" "warning: INSERT statement in linker script is incompatible with --enable-non-" "contiguous-regions.\n" msgstr "" -#: ldlang.c:4303 +#: ldlang.c:4420 msgid "%F%P: %s not found for insert\n" msgstr "" -#: ldlang.c:4539 +#: ldlang.c:4692 msgid " load address 0x%V" msgstr "" -#: ldlang.c:4759 +#: ldlang.c:4957 msgid "%W (size before relaxing)\n" msgstr "" -#: ldlang.c:4850 +#: ldlang.c:5086 #, c-format msgid "Address of section %s set to " msgstr "" -#: ldlang.c:5042 +#: ldlang.c:5288 #, c-format msgid "Fail with %d\n" msgstr "" -#: ldlang.c:5255 +#: ldlang.c:5502 msgid "" "%F%P: Output section `%pA' not large enough for the linker-created stubs " "section `%pA'.\n" msgstr "" -#: ldlang.c:5260 +#: ldlang.c:5507 msgid "" "%F%P: Relaxation not supported with --enable-non-contiguous-regions (section " "`%pA' would overflow `%pA' after it changed size).\n" msgstr "" -#: ldlang.c:5369 +#: ldlang.c:5616 msgid "%X%P: section %s VMA wraps around address space\n" msgstr "" -#: ldlang.c:5375 +#: ldlang.c:5622 msgid "%X%P: section %s LMA wraps around address space\n" msgstr "" -#: ldlang.c:5427 +#: ldlang.c:5674 msgid "%X%P: section %s LMA [%V,%V] overlaps section %s LMA [%V,%V]\n" msgstr "" -#: ldlang.c:5471 +#: ldlang.c:5718 msgid "%X%P: section %s VMA [%V,%V] overlaps section %s VMA [%V,%V]\n" msgstr "" -#: ldlang.c:5494 +#: ldlang.c:5741 msgid "%X%P: region `%s' overflowed by %lu byte\n" msgid_plural "%X%P: region `%s' overflowed by %lu bytes\n" msgstr[0] "" msgstr[1] "" -#: ldlang.c:5519 +#: ldlang.c:5766 msgid "%X%P: address 0x%v of %pB section `%s' is not within region `%s'\n" msgstr "" -#: ldlang.c:5530 +#: ldlang.c:5777 msgid "%X%P: %pB section `%s' will not fit in region `%s'\n" msgstr "" -#: ldlang.c:5616 +#: ldlang.c:5863 msgid "" "%F%P:%pS: non constant or forward reference address expression for section %" "s\n" msgstr "" -#: ldlang.c:5641 +#: ldlang.c:5888 msgid "%X%P: internal error on COFF shared library section %s\n" msgstr "" -#: ldlang.c:5699 +#: ldlang.c:5946 msgid "%F%P: error: no memory region specified for loadable section `%s'\n" msgstr "" -#: ldlang.c:5703 +#: ldlang.c:5950 msgid "%P: warning: no memory region specified for loadable section `%s'\n" msgstr "" -#: ldlang.c:5737 +#: ldlang.c:5984 msgid "%P: warning: start of section %s changed by %ld\n" msgstr "" -#: ldlang.c:5829 +#: ldlang.c:6077 msgid "%P: warning: dot moved backwards before `%s'\n" msgstr "" -#: ldlang.c:6010 +#: ldlang.c:6253 msgid "%F%P: can't relax section: %E\n" msgstr "" -#: ldlang.c:6422 +#: ldlang.c:6662 msgid "%F%P: invalid data statement\n" msgstr "" -#: ldlang.c:6455 +#: ldlang.c:6695 msgid "%F%P: invalid reloc statement\n" msgstr "" -#: ldlang.c:6873 +#: ldlang.c:7113 msgid "" "%F%P: --gc-sections requires a defined symbol root specified by -e or -u\n" msgstr "" -#: ldlang.c:6898 +#: ldlang.c:7138 msgid "%F%P: %s: can't set start address\n" msgstr "" -#: ldlang.c:6911 ldlang.c:6930 +#: ldlang.c:7151 ldlang.c:7170 msgid "%F%P: can't set start address\n" msgstr "" -#: ldlang.c:6924 +#: ldlang.c:7164 msgid "%P: warning: cannot find entry symbol %s; defaulting to %V\n" msgstr "" -#: ldlang.c:6935 ldlang.c:6943 +#: ldlang.c:7175 ldlang.c:7183 msgid "%P: warning: cannot find entry symbol %s; not setting start address\n" msgstr "" -#: ldlang.c:6999 +#: ldlang.c:7239 msgid "" "%F%P: relocatable linking with relocations from format %s (%pB) to format %s " "(%pB) is not supported\n" msgstr "" -#: ldlang.c:7009 +#: ldlang.c:7249 msgid "" "%X%P: %s architecture of input file `%pB' is incompatible with %s output\n" msgstr "" -#: ldlang.c:7033 +#: ldlang.c:7273 msgid "%X%P: failed to merge target specific data of file %pB\n" msgstr "" -#: ldlang.c:7104 +#: ldlang.c:7344 msgid "%F%P: could not define common symbol `%pT': %E\n" msgstr "" -#: ldlang.c:7116 +#: ldlang.c:7356 msgid "" "\n" "Allocating common symbols\n" msgstr "" -#: ldlang.c:7117 +#: ldlang.c:7357 msgid "" "Common symbol size file\n" "\n" msgstr "" -#: ldlang.c:7174 +#: ldlang.c:7414 msgid "%X%P: error: unplaced orphan section `%pA' from `%pB'\n" msgstr "" -#: ldlang.c:7192 +#: ldlang.c:7432 msgid "" "%P: warning: orphan section `%pA' from `%pB' being placed in section `%s'\n" msgstr "" -#: ldlang.c:7282 +#: ldlang.c:7522 msgid "%F%P: invalid character %c (%d) in flags\n" msgstr "" -#: ldlang.c:7394 +#: ldlang.c:7634 msgid "%F%P:%pS: error: align with input and explicit align specified\n" msgstr "" -#: ldlang.c:7865 +#: ldlang.c:8105 msgid "" "%P: warning: --enable-non-contiguous-regions discards section `%pA' from `%" "pB'\n" msgstr "" -#: ldlang.c:7944 +#: ldlang.c:8184 msgid "%F%P: %s: plugin reported error after all symbols read\n" msgstr "" -#: ldlang.c:8409 +#: ldlang.c:8762 msgid "%F%P: multiple STARTUP files\n" msgstr "" -#: ldlang.c:8455 +#: ldlang.c:8808 msgid "%X%P:%pS: section has both a load address and a load region\n" msgstr "" -#: ldlang.c:8561 +#: ldlang.c:8914 msgid "" "%X%P:%pS: PHDRS and FILEHDR are not supported when prior PT_LOAD headers " "lack them\n" msgstr "" -#: ldlang.c:8634 +#: ldlang.c:8987 msgid "%F%P: no sections assigned to phdrs\n" msgstr "" -#: ldlang.c:8672 +#: ldlang.c:9025 msgid "%F%P: bfd_record_phdr failed: %E\n" msgstr "" -#: ldlang.c:8692 +#: ldlang.c:9045 msgid "%X%P: section `%s' assigned to non-existent phdr `%s'\n" msgstr "" -#: ldlang.c:9115 +#: ldlang.c:9468 msgid "%X%P: unknown language `%s' in version information\n" msgstr "" -#: ldlang.c:9260 +#: ldlang.c:9613 msgid "" "%X%P: anonymous version tag cannot be combined with other version tags\n" msgstr "" -#: ldlang.c:9269 +#: ldlang.c:9622 msgid "%X%P: duplicate version tag `%s'\n" msgstr "" -#: ldlang.c:9290 ldlang.c:9299 ldlang.c:9317 ldlang.c:9327 +#: ldlang.c:9643 ldlang.c:9652 ldlang.c:9670 ldlang.c:9680 msgid "%X%P: duplicate expression `%s' in version information\n" msgstr "" -#: ldlang.c:9367 +#: ldlang.c:9720 msgid "%X%P: unable to find version dependency `%s'\n" msgstr "" -#: ldlang.c:9390 +#: ldlang.c:9743 msgid "%X%P: unable to read .exports section contents\n" msgstr "" -#: ldlang.c:9436 +#: ldlang.c:9789 msgid "%P: invalid origin for memory region %s\n" msgstr "" -#: ldlang.c:9448 +#: ldlang.c:9801 msgid "%P: invalid length for memory region %s\n" msgstr "" -#: ldlang.c:9560 +#: ldlang.c:9913 msgid "%X%P: unknown feature `%s'\n" msgstr "" -#: ldmain.c:196 +#: ldmain.c:195 msgid "%F%P: cannot open dependency file %s: %E\n" msgstr "" -#: ldmain.c:264 +#: ldmain.c:268 msgid "%F%P: fatal error: libbfd ABI mismatch\n" msgstr "" -#: ldmain.c:300 +#: ldmain.c:304 msgid "%X%P: can't set BFD default target to `%s': %E\n" msgstr "" -#: ldmain.c:405 +#: ldmain.c:409 msgid "built in linker script" msgstr "" -#: ldmain.c:415 +#: ldmain.c:419 msgid "using external linker script:" msgstr "" -#: ldmain.c:417 +#: ldmain.c:421 msgid "using internal linker script:" msgstr "" -#: ldmain.c:464 +#: ldmain.c:468 msgid "%F%P: --no-define-common may not be used without -shared\n" msgstr "" -#: ldmain.c:470 +#: ldmain.c:474 msgid "%F%P: no input files\n" msgstr "" -#: ldmain.c:474 +#: ldmain.c:478 msgid "%P: mode %s\n" msgstr "" -#: ldmain.c:490 ends32belf.c:455 ends32belf16m.c:455 ends32belf_linux.c:588 -#: ends32elf.c:455 ends32elf16m.c:455 ends32elf_linux.c:588 +#: ldmain.c:494 ends32belf.c:461 ends32belf16m.c:461 ends32belf_linux.c:594 +#: ends32elf.c:461 ends32elf16m.c:461 ends32elf_linux.c:594 msgid "%F%P: cannot open map file %s: %E\n" msgstr "" -#: ldmain.c:554 +#: ldmain.c:558 msgid "%P: link errors found, deleting executable `%s'\n" msgstr "" -#: ldmain.c:563 +#: ldmain.c:569 msgid "%F%P: %s: final close failed: %E\n" msgstr "" -#: ldmain.c:590 +#: ldmain.c:596 msgid "%F%P: unable to open for source of copy `%s'\n" msgstr "" -#: ldmain.c:593 +#: ldmain.c:599 msgid "%F%P: unable to open for destination of copy `%s'\n" msgstr "" -#: ldmain.c:600 +#: ldmain.c:606 msgid "%P: error writing file `%s'\n" msgstr "" -#: ldmain.c:605 pe-dll.c:1968 +#: ldmain.c:611 pe-dll.c:1985 #, c-format msgid "%P: error closing file `%s'\n" msgstr "" -#: ldmain.c:619 +#: ldmain.c:623 #, c-format msgid "%s: total time in link: %ld.%06ld\n" msgstr "" -#: ldmain.c:706 +#: ldmain.c:710 msgid "%F%P: missing argument to -m\n" msgstr "" -#: ldmain.c:760 ldmain.c:777 ldmain.c:797 ldmain.c:829 pe-dll.c:1405 +#: ldmain.c:764 ldmain.c:781 ldmain.c:801 ldmain.c:833 pe-dll.c:1410 msgid "%F%P: bfd_hash_table_init failed: %E\n" msgstr "" -#: ldmain.c:764 ldmain.c:781 ldmain.c:801 +#: ldmain.c:768 ldmain.c:785 ldmain.c:805 msgid "%F%P: bfd_hash_lookup failed: %E\n" msgstr "" -#: ldmain.c:815 +#: ldmain.c:819 msgid "%X%P: error: duplicate retain-symbols-file\n" msgstr "" -#: ldmain.c:859 +#: ldmain.c:863 msgid "%F%P: bfd_hash_lookup for insertion failed: %E\n" msgstr "" -#: ldmain.c:864 +#: ldmain.c:868 msgid "%P: `-retain-symbols-file' overrides `-s' and `-S'\n" msgstr "" -#: ldmain.c:980 +#: ldmain.c:984 msgid "" "Archive member included to satisfy reference by file (symbol)\n" "\n" msgstr "" -#: ldmain.c:1086 +#: ldmain.c:1090 msgid "%P: %C: warning: multiple definition of `%pT'" msgstr "" -#: ldmain.c:1089 +#: ldmain.c:1093 msgid "%X%P: %C: multiple definition of `%pT'" msgstr "" -#: ldmain.c:1092 +#: ldmain.c:1096 msgid "; %D: first defined here" msgstr "" -#: ldmain.c:1097 +#: ldmain.c:1101 msgid "%P: disabling relaxation; it will not work with multiple definitions\n" msgstr "" -#: ldmain.c:1150 +#: ldmain.c:1154 msgid "%P: %pB: warning: definition of `%pT' overriding common from %pB\n" msgstr "" -#: ldmain.c:1154 +#: ldmain.c:1158 msgid "%P: %pB: warning: definition of `%pT' overriding common\n" msgstr "" -#: ldmain.c:1163 +#: ldmain.c:1167 msgid "%P: %pB: warning: common of `%pT' overridden by definition from %pB\n" msgstr "" -#: ldmain.c:1167 +#: ldmain.c:1171 msgid "%P: %pB: warning: common of `%pT' overridden by definition\n" msgstr "" -#: ldmain.c:1176 +#: ldmain.c:1180 msgid "" "%P: %pB: warning: common of `%pT' overridden by larger common from %pB\n" msgstr "" -#: ldmain.c:1180 +#: ldmain.c:1184 msgid "%P: %pB: warning: common of `%pT' overridden by larger common\n" msgstr "" -#: ldmain.c:1187 +#: ldmain.c:1191 msgid "%P: %pB: warning: common of `%pT' overriding smaller common from %pB\n" msgstr "" -#: ldmain.c:1191 +#: ldmain.c:1195 msgid "%P: %pB: warning: common of `%pT' overriding smaller common\n" msgstr "" -#: ldmain.c:1198 +#: ldmain.c:1202 msgid "%P: %pB and %pB: warning: multiple common of `%pT'\n" msgstr "" -#: ldmain.c:1201 +#: ldmain.c:1205 msgid "%P: %pB: warning: multiple common of `%pT'\n" msgstr "" -#: ldmain.c:1220 ldmain.c:1256 +#: ldmain.c:1224 ldmain.c:1260 msgid "%P: warning: global constructor %s used\n" msgstr "" -#: ldmain.c:1266 +#: ldmain.c:1270 msgid "%F%P: BFD backend error: BFD_RELOC_CTOR unsupported\n" msgstr "" #. We found a reloc for the symbol we are looking for. -#: ldmain.c:1338 ldmain.c:1340 ldmain.c:1342 ldmain.c:1350 ldmain.c:1393 +#: ldmain.c:1342 ldmain.c:1344 ldmain.c:1346 ldmain.c:1354 ldmain.c:1397 msgid "warning: " msgstr "" -#: ldmain.c:1483 -msgid "%X%P: %C: undefined reference to `%pT'\n" +#: ldmain.c:1487 +msgid "%X%P: %H: undefined reference to `%pT'\n" msgstr "" -#: ldmain.c:1486 -msgid "%P: %C: warning: undefined reference to `%pT'\n" +#: ldmain.c:1490 +msgid "%P: %H: warning: undefined reference to `%pT'\n" msgstr "" -#: ldmain.c:1492 +#: ldmain.c:1496 msgid "%X%P: %D: more undefined references to `%pT' follow\n" msgstr "" -#: ldmain.c:1495 +#: ldmain.c:1499 msgid "%P: %D: warning: more undefined references to `%pT' follow\n" msgstr "" -#: ldmain.c:1506 +#: ldmain.c:1510 msgid "%X%P: %pB: undefined reference to `%pT'\n" msgstr "" -#: ldmain.c:1509 +#: ldmain.c:1513 msgid "%P: %pB: warning: undefined reference to `%pT'\n" msgstr "" -#: ldmain.c:1515 +#: ldmain.c:1519 msgid "%X%P: %pB: more undefined references to `%pT' follow\n" msgstr "" -#: ldmain.c:1518 +#: ldmain.c:1522 msgid "%P: %pB: warning: more undefined references to `%pT' follow\n" msgstr "" -#: ldmain.c:1555 +#: ldmain.c:1559 msgid " additional relocation overflows omitted from the output\n" msgstr "" -#: ldmain.c:1568 +#: ldmain.c:1572 #, c-format msgid " relocation truncated to fit: %s against undefined symbol `%pT'" msgstr "" -#: ldmain.c:1574 +#: ldmain.c:1578 #, c-format msgid "" " relocation truncated to fit: %s against symbol `%pT' defined in %pA section " "in %pB" msgstr "" -#: ldmain.c:1587 +#: ldmain.c:1591 #, c-format msgid " relocation truncated to fit: %s against `%pT'" msgstr "" -#: ldmain.c:1603 +#: ldmain.c:1607 msgid "%X%H: dangerous relocation: %s\n" msgstr "" -#: ldmain.c:1617 +#: ldmain.c:1621 msgid "%X%H: reloc refers to symbol `%pT' which is not being output\n" msgstr "" -#: ldmain.c:1651 +#: ldmain.c:1655 msgid "%P: %pB: reference to %s\n" msgstr "" -#: ldmain.c:1653 +#: ldmain.c:1657 msgid "%P: %pB: definition of %s\n" msgstr "" -#: ldmisc.c:363 +#: ldmisc.c:366 #, c-format msgid "%pB: in function `%pT':\n" msgstr "" -#: ldmisc.c:503 +#: ldmisc.c:506 #, c-format msgid "no symbol" msgstr "" -#: ldmisc.c:610 +#: ldmisc.c:626 msgid "%F%P: internal error %s %d\n" msgstr "" -#: ldmisc.c:674 +#: ldmisc.c:690 msgid "%P: internal error: aborting at %s:%d in %s\n" msgstr "" -#: ldmisc.c:677 +#: ldmisc.c:693 msgid "%P: internal error: aborting at %s:%d\n" msgstr "" -#: ldmisc.c:679 +#: ldmisc.c:695 msgid "%F%P: please report this bug\n" msgstr "" @@ -1187,7 +1229,7 @@ msgstr "" msgid "%F%P: final link failed: %E\n" msgstr "" -#: lexsup.c:105 lexsup.c:290 +#: lexsup.c:105 lexsup.c:300 msgid "KEYWORD" msgstr "" @@ -1203,7 +1245,7 @@ msgstr "" msgid "Set architecture" msgstr "" -#: lexsup.c:110 lexsup.c:430 +#: lexsup.c:110 lexsup.c:440 msgid "TARGET" msgstr "" @@ -1211,9 +1253,9 @@ msgstr "" msgid "Specify target for following input files" msgstr "" -#: lexsup.c:113 lexsup.c:119 lexsup.c:176 lexsup.c:180 lexsup.c:216 -#: lexsup.c:229 lexsup.c:231 lexsup.c:452 lexsup.c:521 lexsup.c:534 -#: lexsup.c:538 +#: lexsup.c:113 lexsup.c:119 lexsup.c:180 lexsup.c:184 lexsup.c:220 +#: lexsup.c:224 lexsup.c:239 lexsup.c:241 lexsup.c:462 lexsup.c:531 +#: lexsup.c:544 lexsup.c:548 msgid "FILE" msgstr "" @@ -1233,8 +1275,8 @@ msgstr "" msgid "Force group members out of groups" msgstr "" -#: lexsup.c:124 lexsup.c:498 lexsup.c:500 lexsup.c:502 lexsup.c:504 -#: lexsup.c:506 lexsup.c:508 +#: lexsup.c:124 lexsup.c:508 lexsup.c:510 lexsup.c:512 lexsup.c:514 +#: lexsup.c:516 lexsup.c:518 msgid "ADDRESS" msgstr "" @@ -1261,621 +1303,633 @@ msgid "" msgstr "" #: lexsup.c:134 -msgid "Link big-endian objects" +msgid "Disable the LINKER_VERSION linker script directive" msgstr "" #: lexsup.c:136 +msgid "Enable the LINKER_VERSION linker script directive" +msgstr "" + +#: lexsup.c:138 +msgid "Link big-endian objects" +msgstr "" + +#: lexsup.c:140 msgid "Link little-endian objects" msgstr "" -#: lexsup.c:138 lexsup.c:141 +#: lexsup.c:142 lexsup.c:145 msgid "SHLIB" msgstr "" -#: lexsup.c:138 +#: lexsup.c:142 msgid "Auxiliary filter for shared object symbol table" msgstr "" -#: lexsup.c:141 +#: lexsup.c:145 msgid "Filter for shared object symbol table" msgstr "" -#: lexsup.c:144 +#: lexsup.c:148 msgid "Ignored" msgstr "" -#: lexsup.c:146 +#: lexsup.c:150 msgid "SIZE" msgstr "" -#: lexsup.c:146 +#: lexsup.c:150 msgid "Small data size (if no size, same as --shared)" msgstr "" -#: lexsup.c:149 +#: lexsup.c:153 msgid "FILENAME" msgstr "" -#: lexsup.c:149 +#: lexsup.c:153 msgid "Set internal name of shared library" msgstr "" -#: lexsup.c:151 +#: lexsup.c:155 msgid "PROGRAM" msgstr "" -#: lexsup.c:151 +#: lexsup.c:155 msgid "Set PROGRAM as the dynamic linker to use" msgstr "" -#: lexsup.c:154 +#: lexsup.c:158 msgid "Produce an executable with no program interpreter header" msgstr "" -#: lexsup.c:157 +#: lexsup.c:161 msgid "LIBNAME" msgstr "" -#: lexsup.c:157 +#: lexsup.c:161 msgid "Search for library LIBNAME" msgstr "" -#: lexsup.c:159 +#: lexsup.c:163 msgid "DIRECTORY" msgstr "" -#: lexsup.c:159 +#: lexsup.c:163 msgid "Add DIRECTORY to library search path" msgstr "" -#: lexsup.c:162 +#: lexsup.c:166 msgid "Override the default sysroot location" msgstr "" -#: lexsup.c:164 +#: lexsup.c:168 msgid "EMULATION" msgstr "" -#: lexsup.c:164 +#: lexsup.c:168 msgid "Set emulation" msgstr "" -#: lexsup.c:166 +#: lexsup.c:170 msgid "Print map file on standard output" msgstr "" -#: lexsup.c:168 +#: lexsup.c:172 msgid "Do not page align data" msgstr "" -#: lexsup.c:170 +#: lexsup.c:174 msgid "Do not page align data, do not make text readonly" msgstr "" -#: lexsup.c:173 +#: lexsup.c:177 msgid "Page align data, make text readonly" msgstr "" -#: lexsup.c:176 +#: lexsup.c:180 msgid "Set output file name" msgstr "" -#: lexsup.c:178 +#: lexsup.c:182 msgid "Optimize output file" msgstr "" -#: lexsup.c:180 +#: lexsup.c:184 msgid "Generate import library" msgstr "" -#: lexsup.c:183 lexsup.c:194 +#: lexsup.c:187 lexsup.c:198 msgid "PLUGIN" msgstr "" -#: lexsup.c:183 +#: lexsup.c:187 msgid "Load named plugin" msgstr "" -#: lexsup.c:185 lexsup.c:196 +#: lexsup.c:189 lexsup.c:200 msgid "ARG" msgstr "" -#: lexsup.c:185 +#: lexsup.c:189 msgid "Send arg to last-loaded plugin" msgstr "" -#: lexsup.c:187 lexsup.c:190 +#: lexsup.c:191 lexsup.c:194 msgid "Ignored for GCC LTO option compatibility" msgstr "" -#: lexsup.c:194 +#: lexsup.c:198 msgid "Load named plugin (ignored)" msgstr "" -#: lexsup.c:196 +#: lexsup.c:200 msgid "Send arg to last-loaded plugin (ignored)" msgstr "" -#: lexsup.c:199 +#: lexsup.c:203 msgid "Ignored for GCC linker option compatibility" msgstr "" -#: lexsup.c:202 lexsup.c:205 +#: lexsup.c:206 lexsup.c:209 msgid "Ignored for gold option compatibility" msgstr "" -#: lexsup.c:208 +#: lexsup.c:212 msgid "Ignored for SVR4 compatibility" msgstr "" -#: lexsup.c:212 +#: lexsup.c:216 msgid "Generate relocatable output" msgstr "" -#: lexsup.c:216 +#: lexsup.c:220 msgid "Just link symbols (if directory, same as --rpath)" msgstr "" -#: lexsup.c:219 +#: lexsup.c:226 +msgid "PATTERN=FILE" +msgstr "" + +#: lexsup.c:229 msgid "Strip all symbols" msgstr "" -#: lexsup.c:221 +#: lexsup.c:231 msgid "Strip debugging symbols" msgstr "" -#: lexsup.c:223 +#: lexsup.c:233 msgid "Strip symbols in discarded sections" msgstr "" -#: lexsup.c:225 +#: lexsup.c:235 msgid "Do not strip symbols in discarded sections" msgstr "" -#: lexsup.c:227 +#: lexsup.c:237 msgid "Trace file opens" msgstr "" -#: lexsup.c:229 +#: lexsup.c:239 msgid "Read linker script" msgstr "" -#: lexsup.c:231 +#: lexsup.c:241 msgid "Read default linker script" msgstr "" -#: lexsup.c:235 lexsup.c:238 lexsup.c:256 lexsup.c:348 lexsup.c:372 -#: lexsup.c:491 lexsup.c:524 lexsup.c:536 lexsup.c:582 lexsup.c:585 +#: lexsup.c:245 lexsup.c:248 lexsup.c:266 lexsup.c:358 lexsup.c:382 +#: lexsup.c:501 lexsup.c:534 lexsup.c:546 lexsup.c:605 lexsup.c:608 msgid "SYMBOL" msgstr "" -#: lexsup.c:235 +#: lexsup.c:245 msgid "Start with undefined reference to SYMBOL" msgstr "" -#: lexsup.c:238 +#: lexsup.c:248 msgid "Require SYMBOL be defined in the final output" msgstr "" -#: lexsup.c:241 +#: lexsup.c:251 msgid "[=SECTION]" msgstr "" -#: lexsup.c:242 +#: lexsup.c:252 msgid "Don't merge input [SECTION | orphan] sections" msgstr "" -#: lexsup.c:244 +#: lexsup.c:254 msgid "Build global constructor/destructor tables" msgstr "" -#: lexsup.c:246 +#: lexsup.c:256 msgid "Print version information" msgstr "" -#: lexsup.c:248 +#: lexsup.c:258 msgid "Print version and emulation information" msgstr "" -#: lexsup.c:250 +#: lexsup.c:260 msgid "Discard all local symbols" msgstr "" -#: lexsup.c:252 +#: lexsup.c:262 msgid "Discard temporary local symbols (default)" msgstr "" -#: lexsup.c:254 +#: lexsup.c:264 msgid "Don't discard any local symbols" msgstr "" -#: lexsup.c:256 +#: lexsup.c:266 msgid "Trace mentions of SYMBOL" msgstr "" -#: lexsup.c:258 lexsup.c:454 lexsup.c:456 +#: lexsup.c:268 lexsup.c:464 lexsup.c:466 msgid "PATH" msgstr "" -#: lexsup.c:258 +#: lexsup.c:268 msgid "Default search path for Solaris compatibility" msgstr "" -#: lexsup.c:261 +#: lexsup.c:271 msgid "Start a group" msgstr "" -#: lexsup.c:263 +#: lexsup.c:273 msgid "End a group" msgstr "" -#: lexsup.c:267 +#: lexsup.c:277 msgid "Accept input files whose architecture cannot be determined" msgstr "" -#: lexsup.c:271 +#: lexsup.c:281 msgid "Reject input files whose architecture is unknown" msgstr "" -#: lexsup.c:283 +#: lexsup.c:293 msgid "Only set DT_NEEDED for following dynamic libs if used" msgstr "" -#: lexsup.c:286 +#: lexsup.c:296 msgid "" "Always set DT_NEEDED for dynamic libraries mentioned on\n" " the command line" msgstr "" -#: lexsup.c:290 +#: lexsup.c:300 msgid "Ignored for SunOS compatibility" msgstr "" -#: lexsup.c:292 +#: lexsup.c:302 msgid "Link against shared libraries" msgstr "" -#: lexsup.c:298 +#: lexsup.c:308 msgid "Do not link against shared libraries" msgstr "" -#: lexsup.c:306 +#: lexsup.c:316 msgid "Don't bind global references locally" msgstr "" -#: lexsup.c:308 +#: lexsup.c:318 msgid "Bind global references locally" msgstr "" -#: lexsup.c:310 +#: lexsup.c:320 msgid "Bind global function references locally" msgstr "" -#: lexsup.c:312 +#: lexsup.c:322 msgid "Check section addresses for overlaps (default)" msgstr "" -#: lexsup.c:315 +#: lexsup.c:325 msgid "Do not check section addresses for overlaps" msgstr "" -#: lexsup.c:319 +#: lexsup.c:329 msgid "Copy DT_NEEDED links mentioned inside DSOs that follow" msgstr "" -#: lexsup.c:323 +#: lexsup.c:333 msgid "Do not copy DT_NEEDED links mentioned inside DSOs that follow" msgstr "" -#: lexsup.c:327 +#: lexsup.c:337 msgid "Output cross reference table" msgstr "" -#: lexsup.c:329 +#: lexsup.c:339 msgid "SYMBOL=EXPRESSION" msgstr "" -#: lexsup.c:329 +#: lexsup.c:339 msgid "Define a symbol" msgstr "" -#: lexsup.c:331 +#: lexsup.c:341 msgid "[=STYLE]" msgstr "" -#: lexsup.c:331 +#: lexsup.c:341 msgid "Demangle symbol names [using STYLE]" msgstr "" -#: lexsup.c:335 +#: lexsup.c:345 msgid "" "Do not allow multiple definitions with symbols included\n" " in filename invoked by -R or --just-symbols" msgstr "" -#: lexsup.c:340 +#: lexsup.c:350 msgid "Generate embedded relocs" msgstr "" -#: lexsup.c:342 +#: lexsup.c:352 msgid "Treat warnings as errors" msgstr "" -#: lexsup.c:345 +#: lexsup.c:355 msgid "Do not treat warnings as errors (default)" msgstr "" -#: lexsup.c:348 +#: lexsup.c:358 msgid "Call SYMBOL at unload-time" msgstr "" -#: lexsup.c:350 +#: lexsup.c:360 msgid "Force generation of file with .exe suffix" msgstr "" -#: lexsup.c:352 +#: lexsup.c:362 msgid "Remove unused sections (on some targets)" msgstr "" -#: lexsup.c:355 +#: lexsup.c:365 msgid "Don't remove unused sections (default)" msgstr "" -#: lexsup.c:358 +#: lexsup.c:368 msgid "List removed unused sections on stderr" msgstr "" -#: lexsup.c:361 +#: lexsup.c:371 msgid "Do not list removed unused sections" msgstr "" -#: lexsup.c:364 +#: lexsup.c:374 msgid "Keep exported symbols when removing unused sections" msgstr "" -#: lexsup.c:367 +#: lexsup.c:377 msgid "Set default hash table size close to <NUMBER>" msgstr "" -#: lexsup.c:370 +#: lexsup.c:380 msgid "Print option help" msgstr "" -#: lexsup.c:372 +#: lexsup.c:382 msgid "Call SYMBOL at load-time" msgstr "" -#: lexsup.c:374 +#: lexsup.c:384 msgid "FILE/DIR" msgstr "" -#: lexsup.c:374 +#: lexsup.c:384 msgid "Write a linker map to FILE or DIR/<outputname>.map" msgstr "" -#: lexsup.c:376 +#: lexsup.c:386 msgid "Do not define Common storage" msgstr "" -#: lexsup.c:378 +#: lexsup.c:388 msgid "Do not demangle symbol names" msgstr "" -#: lexsup.c:380 +#: lexsup.c:390 msgid "Use less memory and more disk I/O" msgstr "" -#: lexsup.c:382 +#: lexsup.c:392 msgid "Do not allow unresolved references in object files" msgstr "" -#: lexsup.c:385 +#: lexsup.c:395 msgid "Do not display any warning or error messages" msgstr "" -#: lexsup.c:388 +#: lexsup.c:398 msgid "Allow unresolved references in shared libraries" msgstr "" -#: lexsup.c:392 +#: lexsup.c:402 msgid "Do not allow unresolved references in shared libs" msgstr "" -#: lexsup.c:396 +#: lexsup.c:406 msgid "Allow multiple definitions" msgstr "" -#: lexsup.c:400 +#: lexsup.c:410 msgid "SCRIPT" msgstr "" -#: lexsup.c:400 +#: lexsup.c:410 msgid "Provide a script to help with undefined symbol errors" msgstr "" -#: lexsup.c:403 +#: lexsup.c:413 msgid "Allow undefined version" msgstr "" -#: lexsup.c:405 +#: lexsup.c:415 msgid "Disallow undefined version" msgstr "" -#: lexsup.c:407 +#: lexsup.c:417 msgid "Create default symbol version" msgstr "" -#: lexsup.c:410 +#: lexsup.c:420 msgid "Create default symbol version for imported symbols" msgstr "" -#: lexsup.c:413 +#: lexsup.c:423 msgid "Don't warn about mismatched input files" msgstr "" -#: lexsup.c:416 +#: lexsup.c:426 msgid "Don't warn on finding an incompatible library" msgstr "" -#: lexsup.c:419 +#: lexsup.c:429 msgid "Turn off --whole-archive" msgstr "" -#: lexsup.c:421 +#: lexsup.c:431 msgid "Create an output file even if errors occur" msgstr "" -#: lexsup.c:426 +#: lexsup.c:436 msgid "" "Only use library directories specified on\n" " the command line" msgstr "" -#: lexsup.c:430 +#: lexsup.c:440 msgid "Specify target of output file" msgstr "" -#: lexsup.c:433 +#: lexsup.c:443 msgid "Print default output format" msgstr "" -#: lexsup.c:435 +#: lexsup.c:445 msgid "Print current sysroot" msgstr "" -#: lexsup.c:437 +#: lexsup.c:447 msgid "Ignored for Linux compatibility" msgstr "" -#: lexsup.c:440 +#: lexsup.c:450 msgid "Reduce memory overheads, possibly taking much longer" msgstr "" -#: lexsup.c:444 +#: lexsup.c:454 msgid "Set the maximum cache size to SIZE bytes" msgstr "" -#: lexsup.c:447 +#: lexsup.c:457 msgid "Reduce code size by using target specific optimizations" msgstr "" -#: lexsup.c:449 +#: lexsup.c:459 msgid "Do not use relaxation techniques to reduce code size" msgstr "" -#: lexsup.c:452 +#: lexsup.c:462 msgid "Keep only symbols listed in FILE" msgstr "" -#: lexsup.c:454 +#: lexsup.c:464 msgid "Set runtime shared library search path" msgstr "" -#: lexsup.c:456 +#: lexsup.c:466 msgid "Set link time shared library search path" msgstr "" -#: lexsup.c:459 +#: lexsup.c:469 msgid "Create a shared library" msgstr "" -#: lexsup.c:463 +#: lexsup.c:473 msgid "Create a position independent executable" msgstr "" -#: lexsup.c:467 +#: lexsup.c:477 msgid "Create a position dependent executable (default)" msgstr "" -#: lexsup.c:469 +#: lexsup.c:479 msgid "[=ascending|descending]" msgstr "" -#: lexsup.c:470 +#: lexsup.c:480 msgid "Sort common symbols by alignment [in specified order]" msgstr "" -#: lexsup.c:475 +#: lexsup.c:485 msgid "name|alignment" msgstr "" -#: lexsup.c:476 +#: lexsup.c:486 msgid "Sort sections by name or maximum alignment" msgstr "" -#: lexsup.c:478 +#: lexsup.c:488 msgid "COUNT" msgstr "" -#: lexsup.c:478 +#: lexsup.c:488 msgid "How many tags to reserve in .dynamic section" msgstr "" -#: lexsup.c:481 +#: lexsup.c:491 msgid "[=SIZE]" msgstr "" -#: lexsup.c:481 +#: lexsup.c:491 msgid "Split output sections every SIZE octets" msgstr "" -#: lexsup.c:484 +#: lexsup.c:494 msgid "[=COUNT]" msgstr "" -#: lexsup.c:484 +#: lexsup.c:494 msgid "Split output sections every COUNT relocs" msgstr "" -#: lexsup.c:487 +#: lexsup.c:497 msgid "Print memory usage statistics" msgstr "" -#: lexsup.c:489 +#: lexsup.c:499 msgid "Display target specific options" msgstr "" -#: lexsup.c:491 +#: lexsup.c:501 msgid "Do task level linking" msgstr "" -#: lexsup.c:493 +#: lexsup.c:503 msgid "Use same format as native linker" msgstr "" -#: lexsup.c:495 +#: lexsup.c:505 msgid "SECTION=ADDRESS" msgstr "" -#: lexsup.c:495 +#: lexsup.c:505 msgid "Set address of named section" msgstr "" -#: lexsup.c:498 +#: lexsup.c:508 msgid "Set address of .bss section" msgstr "" -#: lexsup.c:500 +#: lexsup.c:510 msgid "Set address of .data section" msgstr "" -#: lexsup.c:502 +#: lexsup.c:512 msgid "Set address of .text section" msgstr "" -#: lexsup.c:504 +#: lexsup.c:514 msgid "Set address of text segment" msgstr "" -#: lexsup.c:506 +#: lexsup.c:516 msgid "Set address of rodata segment" msgstr "" -#: lexsup.c:508 +#: lexsup.c:518 msgid "Set address of ldata segment" msgstr "" -#: lexsup.c:511 +#: lexsup.c:521 msgid "" "How to handle unresolved symbols. <method> is:\n" " ignore-all, report-all, ignore-in-object-" @@ -1883,214 +1937,206 @@ msgid "" " ignore-in-shared-libs" msgstr "" -#: lexsup.c:516 +#: lexsup.c:526 msgid "[=NUMBER]" msgstr "" -#: lexsup.c:517 +#: lexsup.c:527 msgid "Output lots of information during link" msgstr "" -#: lexsup.c:521 +#: lexsup.c:531 msgid "Read version information script" msgstr "" -#: lexsup.c:524 +#: lexsup.c:534 msgid "" "Take export symbols list from .exports, using\n" " SYMBOL as the version." msgstr "" -#: lexsup.c:528 +#: lexsup.c:538 msgid "Add data symbols to dynamic list" msgstr "" -#: lexsup.c:530 +#: lexsup.c:540 msgid "Use C++ operator new/delete dynamic list" msgstr "" -#: lexsup.c:532 +#: lexsup.c:542 msgid "Use C++ typeinfo dynamic list" msgstr "" -#: lexsup.c:534 +#: lexsup.c:544 msgid "Read dynamic list" msgstr "" -#: lexsup.c:536 +#: lexsup.c:546 msgid "Export the specified symbol" msgstr "" -#: lexsup.c:538 +#: lexsup.c:548 msgid "Read export dynamic symbol list" msgstr "" -#: lexsup.c:540 +#: lexsup.c:550 msgid "Warn about duplicate common symbols" msgstr "" -#: lexsup.c:542 +#: lexsup.c:552 msgid "Warn if global constructors/destructors are seen" msgstr "" -#: lexsup.c:545 -msgid "Warn when creating an executable stack" -msgstr "" - -#: lexsup.c:547 -msgid "Do not warn when creating an executable stack" -msgstr "" - -#: lexsup.c:549 -msgid "Warn when creating executable segments" -msgstr "" - -#: lexsup.c:551 -msgid "Do not warn when creating executable segments" -msgstr "" - -#: lexsup.c:553 +#: lexsup.c:576 msgid "Warn if the multiple GP values are used" msgstr "" -#: lexsup.c:555 +#: lexsup.c:578 msgid "Warn only once per undefined symbol" msgstr "" -#: lexsup.c:557 +#: lexsup.c:580 msgid "Warn if start of section changes due to alignment" msgstr "" -#: lexsup.c:562 +#: lexsup.c:585 msgid "Warn if output has DT_TEXTREL (default)" msgstr "" -#: lexsup.c:564 +#: lexsup.c:587 msgid "Warn if output has DT_TEXTREL" msgstr "" -#: lexsup.c:570 +#: lexsup.c:593 msgid "Warn if an object has alternate ELF machine code" msgstr "" -#: lexsup.c:574 +#: lexsup.c:597 msgid "Report unresolved symbols as warnings" msgstr "" -#: lexsup.c:577 +#: lexsup.c:600 msgid "Report unresolved symbols as errors" msgstr "" -#: lexsup.c:579 +#: lexsup.c:602 msgid "Include all objects from following archives" msgstr "" -#: lexsup.c:582 +#: lexsup.c:605 msgid "Use wrapper functions for SYMBOL" msgstr "" -#: lexsup.c:586 +#: lexsup.c:609 msgid "Unresolved SYMBOL will not cause an error or warning" msgstr "" -#: lexsup.c:588 +#: lexsup.c:611 msgid "Push state of flags governing input file handling" msgstr "" -#: lexsup.c:591 +#: lexsup.c:614 msgid "Pop state of flags governing input file handling" msgstr "" -#: lexsup.c:594 +#: lexsup.c:617 msgid "Report target memory usage" msgstr "" -#: lexsup.c:596 +#: lexsup.c:619 msgid "=MODE" msgstr "" -#: lexsup.c:596 +#: lexsup.c:619 msgid "Control how orphan sections are handled." msgstr "" -#: lexsup.c:599 +#: lexsup.c:622 msgid "Show discarded sections in map file output (default)" msgstr "" -#: lexsup.c:602 +#: lexsup.c:625 msgid "Do not show discarded sections in map file output" msgstr "" -#: lexsup.c:605 +#: lexsup.c:628 +msgid "Show local symbols in map file output" +msgstr "" + +#: lexsup.c:631 +msgid "Do not show local symbols in map file output (default)" +msgstr "" + +#: lexsup.c:634 msgid "Emit names and types of static variables in CTF" msgstr "" -#: lexsup.c:608 +#: lexsup.c:637 msgid "Do not emit names and types of static variables in CTF" msgstr "" -#: lexsup.c:612 +#: lexsup.c:641 msgid "" "How to share CTF types between translation units.\n" " <method> is: share-unconflicted (default),\n" " share-duplicated" msgstr "" -#: lexsup.c:776 +#: lexsup.c:805 msgid "%F%P: Error: unable to disambiguate: %s (did you mean -%s ?)\n" msgstr "" -#: lexsup.c:779 +#: lexsup.c:808 msgid "%P: Warning: grouped short command line options are deprecated: %s\n" msgstr "" -#: lexsup.c:806 +#: lexsup.c:835 msgid "%P: %s: missing argument\n" msgstr "" -#: lexsup.c:811 +#: lexsup.c:840 msgid "%P: unrecognized option '%s'\n" msgstr "" -#: lexsup.c:816 +#: lexsup.c:845 msgid "%F%P: use the --help option for usage information\n" msgstr "" -#: lexsup.c:835 +#: lexsup.c:864 msgid "%F%P: unrecognized -a option `%s'\n" msgstr "" -#: lexsup.c:848 +#: lexsup.c:877 msgid "%F%P: unrecognized -assert option `%s'\n" msgstr "" -#: lexsup.c:892 +#: lexsup.c:921 msgid "%F%P: unknown demangling style `%s'\n" msgstr "" -#: lexsup.c:980 lexsup.c:1457 eaarch64cloudabi.c:845 eaarch64cloudabib.c:845 -#: eaarch64elf.c:840 eaarch64elf32.c:840 eaarch64elf32b.c:840 -#: eaarch64elfb.c:840 eaarch64fbsd.c:845 eaarch64fbsdb.c:845 -#: eaarch64haiku.c:845 eaarch64linux.c:845 eaarch64linux32.c:845 -#: eaarch64linux32b.c:845 eaarch64linuxb.c:845 earmelf.c:1103 -#: earmelf_fbsd.c:1103 earmelf_fuchsia.c:1108 earmelf_haiku.c:1108 -#: earmelf_linux.c:1108 earmelf_linux_eabi.c:1108 -#: earmelf_linux_fdpiceabi.c:1108 earmelf_nacl.c:1108 earmelf_nbsd.c:1103 -#: earmelf_phoenix.c:1108 earmelf_vxworks.c:1139 earmelfb.c:1103 -#: earmelfb_fbsd.c:1103 earmelfb_fuchsia.c:1108 earmelfb_linux.c:1108 -#: earmelfb_linux_eabi.c:1108 earmelfb_linux_fdpiceabi.c:1108 -#: earmelfb_nacl.c:1108 earmelfb_nbsd.c:1103 earmnto.c:1078 ecskyelf.c:567 -#: ecskyelf_linux.c:734 eelf32metag.c:731 eelf64lppc.c:1213 -#: eelf64lppc_fbsd.c:1213 eelf64ppc.c:1213 eelf64ppc_fbsd.c:1213 -#: ehppaelf.c:587 ehppalinux.c:769 ehppanbsd.c:769 ehppaobsd.c:769 +#: lexsup.c:1029 lexsup.c:1513 eaarch64cloudabi.c:849 eaarch64cloudabib.c:849 +#: eaarch64elf.c:844 eaarch64elf32.c:844 eaarch64elf32b.c:844 +#: eaarch64elfb.c:844 eaarch64fbsd.c:849 eaarch64fbsdb.c:849 +#: eaarch64haiku.c:849 eaarch64linux.c:849 eaarch64linux32.c:849 +#: eaarch64linux32b.c:849 eaarch64linuxb.c:849 eaarch64nto.c:1017 +#: earmelf.c:1107 earmelf_fbsd.c:1107 earmelf_fuchsia.c:1112 +#: earmelf_haiku.c:1112 earmelf_linux.c:1112 earmelf_linux_eabi.c:1112 +#: earmelf_linux_fdpiceabi.c:1112 earmelf_nacl.c:1112 earmelf_nbsd.c:1107 +#: earmelf_phoenix.c:1112 earmelf_vxworks.c:1143 earmelfb.c:1107 +#: earmelfb_fbsd.c:1107 earmelfb_fuchsia.c:1112 earmelfb_linux.c:1112 +#: earmelfb_linux_eabi.c:1112 earmelfb_linux_fdpiceabi.c:1112 +#: earmelfb_nacl.c:1112 earmelfb_nbsd.c:1107 earmnto.c:1082 ecskyelf.c:573 +#: ecskyelf_linux.c:740 eelf32metag.c:737 eelf64lppc.c:1219 +#: eelf64lppc_fbsd.c:1219 eelf64ppc.c:1219 eelf64ppc_fbsd.c:1219 +#: ehppaelf.c:593 ehppalinux.c:775 ehppanbsd.c:775 ehppaobsd.c:775 msgid "%F%P: invalid number `%s'\n" msgstr "" -#: lexsup.c:1076 +#: lexsup.c:1125 msgid "%F%P: bad --unresolved-symbols option: %s\n" msgstr "" -#: lexsup.c:1156 +#: lexsup.c:1212 msgid "%F%P: bad -plugin-opt option\n" msgstr "" @@ -2102,163 +2148,177 @@ msgstr "" #. an error message here. We cannot just make this a warning, #. increment optind, and continue because getopt is too confused #. and will seg-fault the next time around. -#: lexsup.c:1173 +#: lexsup.c:1229 msgid "%F%P: unrecognised option: %s\n" msgstr "" -#: lexsup.c:1176 lexsup.c:1286 lexsup.c:1307 lexsup.c:1426 +#: lexsup.c:1232 lexsup.c:1342 lexsup.c:1363 lexsup.c:1482 msgid "%F%P: -r and %s may not be used together\n" msgstr "" -#: lexsup.c:1298 +#: lexsup.c:1354 msgid "%F%P: -shared not supported\n" msgstr "" -#: lexsup.c:1312 +#: lexsup.c:1368 msgid "%F%P: -pie not supported\n" msgstr "" -#: lexsup.c:1318 +#: lexsup.c:1374 msgid "%P: SONAME must not be empty string; keeping previous one\n" msgstr "" -#: lexsup.c:1324 +#: lexsup.c:1380 msgid "descending" msgstr "" -#: lexsup.c:1326 +#: lexsup.c:1382 msgid "ascending" msgstr "" -#: lexsup.c:1329 +#: lexsup.c:1385 msgid "%F%P: invalid common section sorting option: %s\n" msgstr "" -#: lexsup.c:1333 +#: lexsup.c:1389 msgid "name" msgstr "" -#: lexsup.c:1335 +#: lexsup.c:1391 msgid "alignment" msgstr "" -#: lexsup.c:1338 +#: lexsup.c:1394 msgid "%F%P: invalid section sorting option: %s\n" msgstr "" -#: lexsup.c:1375 +#: lexsup.c:1431 msgid "%F%P: invalid argument to option \"--section-start\"\n" msgstr "" -#: lexsup.c:1382 +#: lexsup.c:1438 msgid "%F%P: missing argument(s) to option \"--section-start\"\n" msgstr "" -#: lexsup.c:1652 +#: lexsup.c:1708 msgid "%F%P: group ended before it began (--help for usage)\n" msgstr "" -#: lexsup.c:1677 +#: lexsup.c:1724 +msgid "%F%P: failed to add remap file %s\n" +msgstr "" + +#. FIXME: Should we allow --remap-inputs=@myfile as a synonym +#. for --remap-inputs-file=myfile ? +#: lexsup.c:1733 +msgid "%F%P: invalid argument to option --remap-inputs\n" +msgstr "" + +#: lexsup.c:1754 msgid "%F%P: invalid cache memory size: %s\n" msgstr "" -#: lexsup.c:1691 +#: lexsup.c:1768 msgid "%X%P: --hash-size needs a numeric argument\n" msgstr "" -#: lexsup.c:1703 +#: lexsup.c:1780 msgid "%F%P: no state pushed before popping\n" msgstr "" -#: lexsup.c:1726 +#: lexsup.c:1803 msgid "%F%P: invalid argument to option \"--orphan-handling\"\n" msgstr "" -#: lexsup.c:1756 +#: lexsup.c:1841 msgid "%F%P: bad --ctf-share-types option: %s\n" msgstr "" -#: lexsup.c:1774 +#: lexsup.c:1859 msgid "%P: no file/directory name provided for map output; ignored\n" msgstr "" -#: lexsup.c:1802 +#: lexsup.c:1887 msgid "%P: cannot stat linker map file: %E\n" msgstr "" -#: lexsup.c:1814 +#: lexsup.c:1899 msgid "%P: linker map file is not a regular file\n" msgstr "" #. If the asprintf failed then something is probably very #. wrong. Better to halt now rather than continue on #. into more problems. -#: lexsup.c:1825 +#: lexsup.c:1910 msgid "%P%F: cannot create name for linker map file: %E\n" msgstr "" -#: lexsup.c:1836 +#: lexsup.c:1921 msgid "%P: SONAME must not be empty string; ignored\n" msgstr "" -#: lexsup.c:1842 +#: lexsup.c:1927 msgid "%P: missing --end-group; added as last command line option\n" msgstr "" -#: lexsup.c:1950 +#: lexsup.c:2036 +msgid "%F%P: -r and -z nosectionheader may not be used together\n" +msgstr "" + +#: lexsup.c:2044 msgid "%F%P: -F may not be used without -shared\n" msgstr "" -#: lexsup.c:1952 +#: lexsup.c:2046 msgid "%F%P: -f may not be used without -shared\n" msgstr "" -#: lexsup.c:1993 lexsup.c:2006 +#: lexsup.c:2087 lexsup.c:2100 msgid "%F%P: invalid hex number `%s'\n" msgstr "" -#: lexsup.c:2036 +#: lexsup.c:2130 #, c-format msgid " --audit=AUDITLIB Specify a library to use for auditing\n" msgstr "" -#: lexsup.c:2038 +#: lexsup.c:2132 #, c-format msgid " -Bgroup Selects group name lookup rules for DSO\n" msgstr "" -#: lexsup.c:2040 +#: lexsup.c:2134 #, c-format msgid " --disable-new-dtags Disable new dynamic tags\n" msgstr "" -#: lexsup.c:2042 +#: lexsup.c:2136 #, c-format msgid " --enable-new-dtags Enable new dynamic tags\n" msgstr "" -#: lexsup.c:2044 +#: lexsup.c:2138 #, c-format msgid " --eh-frame-hdr Create .eh_frame_hdr section\n" msgstr "" -#: lexsup.c:2046 +#: lexsup.c:2140 #, c-format msgid " --no-eh-frame-hdr Do not create .eh_frame_hdr section\n" msgstr "" -#: lexsup.c:2048 +#: lexsup.c:2142 #, c-format msgid " --exclude-libs=LIBS Make all symbols in LIBS hidden\n" msgstr "" -#: lexsup.c:2050 +#: lexsup.c:2144 #, c-format msgid "" " --hash-style=STYLE Set hash style to sysv/gnu/both. Default: " msgstr "" -#: lexsup.c:2069 +#: lexsup.c:2163 #, c-format msgid "" " -P AUDITLIB, --depaudit=AUDITLIB\n" @@ -2266,20 +2326,20 @@ msgid "" "dependencies\n" msgstr "" -#: lexsup.c:2072 +#: lexsup.c:2166 #, c-format msgid "" " -z combreloc Merge dynamic relocs into one section and " "sort\n" msgstr "" -#: lexsup.c:2074 +#: lexsup.c:2168 #, c-format msgid "" " -z nocombreloc Don't merge dynamic relocs into one section\n" msgstr "" -#: lexsup.c:2076 +#: lexsup.c:2170 #, c-format msgid "" " -z global Make symbols in DSO available for " @@ -2287,328 +2347,364 @@ msgid "" " loaded objects\n" msgstr "" -#: lexsup.c:2079 +#: lexsup.c:2173 #, c-format msgid "" " -z initfirst Mark DSO to be initialized first at runtime\n" msgstr "" -#: lexsup.c:2081 +#: lexsup.c:2175 #, c-format msgid "" " -z interpose Mark object to interpose all DSOs but " "executable\n" msgstr "" -#: lexsup.c:2083 +#: lexsup.c:2177 #, c-format msgid "" " -z unique Mark DSO to be loaded at most once by default, " "and only in the main namespace\n" msgstr "" -#: lexsup.c:2085 +#: lexsup.c:2179 #, c-format msgid "" " -z nounique Don't mark DSO as a loadable at most once\n" msgstr "" -#: lexsup.c:2087 +#: lexsup.c:2181 #, c-format msgid "" " -z lazy Mark object lazy runtime binding (default)\n" msgstr "" -#: lexsup.c:2089 +#: lexsup.c:2183 #, c-format msgid " -z loadfltr Mark object requiring immediate process\n" msgstr "" -#: lexsup.c:2091 +#: lexsup.c:2185 #, c-format msgid " -z nocopyreloc Don't create copy relocs\n" msgstr "" -#: lexsup.c:2093 +#: lexsup.c:2187 #, c-format msgid "" " -z nodefaultlib Mark object not to use default search paths\n" msgstr "" -#: lexsup.c:2095 +#: lexsup.c:2189 #, c-format msgid " -z nodelete Mark DSO non-deletable at runtime\n" msgstr "" -#: lexsup.c:2097 +#: lexsup.c:2191 #, c-format msgid " -z nodlopen Mark DSO not available to dlopen\n" msgstr "" -#: lexsup.c:2099 +#: lexsup.c:2193 #, c-format msgid " -z nodump Mark DSO not available to dldump\n" msgstr "" -#: lexsup.c:2101 +#: lexsup.c:2195 #, c-format msgid " -z now Mark object non-lazy runtime binding\n" msgstr "" -#: lexsup.c:2103 +#: lexsup.c:2197 #, c-format msgid "" " -z origin Mark object requiring immediate $ORIGIN\n" " processing at runtime\n" msgstr "" -#: lexsup.c:2107 +#: lexsup.c:2201 #, c-format msgid " -z relro Create RELRO program header (default)\n" msgstr "" -#: lexsup.c:2109 +#: lexsup.c:2203 #, c-format msgid " -z norelro Don't create RELRO program header\n" msgstr "" -#: lexsup.c:2112 +#: lexsup.c:2206 #, c-format msgid " -z relro Create RELRO program header\n" msgstr "" -#: lexsup.c:2114 +#: lexsup.c:2208 #, c-format msgid "" " -z norelro Don't create RELRO program header (default)\n" msgstr "" -#: lexsup.c:2118 +#: lexsup.c:2212 #, c-format msgid "" " -z separate-code Create separate code program header (default)\n" msgstr "" -#: lexsup.c:2120 +#: lexsup.c:2214 #, c-format msgid "" " -z noseparate-code Don't create separate code program header\n" msgstr "" -#: lexsup.c:2123 +#: lexsup.c:2217 #, c-format msgid " -z separate-code Create separate code program header\n" msgstr "" -#: lexsup.c:2125 +#: lexsup.c:2219 #, c-format msgid "" " -z noseparate-code Don't create separate code program header " "(default)\n" msgstr "" -#: lexsup.c:2128 +#: lexsup.c:2222 #, c-format msgid "" " -z common Generate common symbols with STT_COMMON type\n" msgstr "" -#: lexsup.c:2130 +#: lexsup.c:2224 #, c-format msgid "" " -z nocommon Generate common symbols with STT_OBJECT type\n" msgstr "" -#: lexsup.c:2133 +#: lexsup.c:2227 #, c-format msgid "" " -z text Treat DT_TEXTREL in output as error (default)\n" msgstr "" -#: lexsup.c:2136 +#: lexsup.c:2230 #, c-format msgid " -z text Treat DT_TEXTREL in output as error\n" msgstr "" -#: lexsup.c:2140 +#: lexsup.c:2234 #, c-format msgid "" " -z notext Don't treat DT_TEXTREL in output as error " "(default)\n" msgstr "" -#: lexsup.c:2142 +#: lexsup.c:2236 #, c-format msgid "" " -z textoff Don't treat DT_TEXTREL in output as error " "(default)\n" msgstr "" -#: lexsup.c:2147 +#: lexsup.c:2241 #, c-format msgid "" " -z notext Don't treat DT_TEXTREL in output as error\n" msgstr "" -#: lexsup.c:2149 +#: lexsup.c:2243 #, c-format msgid "" " -z textoff Don't treat DT_TEXTREL in output as error\n" msgstr "" -#: lexsup.c:2157 +#: lexsup.c:2251 #, c-format msgid " --build-id[=STYLE] Generate build ID note\n" msgstr "" -#: lexsup.c:2159 +#: lexsup.c:2253 #, c-format msgid " --package-metadata[=JSON] Generate package metadata note\n" msgstr "" -#: lexsup.c:2161 +#: lexsup.c:2255 #, c-format msgid "" " --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi|zstd]\n" "\t\t\t Compress DWARF debug sections\n" msgstr "" -#: lexsup.c:2164 +#: lexsup.c:2258 #, c-format msgid " Default: %s\n" msgstr "" -#: lexsup.c:2167 +#: lexsup.c:2261 #, c-format msgid " -z common-page-size=SIZE Set common page size to SIZE\n" msgstr "" -#: lexsup.c:2169 +#: lexsup.c:2263 #, c-format msgid " -z max-page-size=SIZE Set maximum page size to SIZE\n" msgstr "" -#: lexsup.c:2171 +#: lexsup.c:2265 #, c-format msgid "" " -z defs Report unresolved symbols in object files\n" msgstr "" -#: lexsup.c:2173 +#: lexsup.c:2267 #, c-format msgid "" " -z undefs Ignore unresolved symbols in object files\n" msgstr "" -#: lexsup.c:2175 +#: lexsup.c:2269 #, c-format msgid " -z muldefs Allow multiple definitions\n" msgstr "" -#: lexsup.c:2177 +#: lexsup.c:2271 #, c-format msgid " -z stack-size=SIZE Set size of stack segment\n" msgstr "" -#: lexsup.c:2179 +#: lexsup.c:2274 #, c-format msgid "" " -z execstack Mark executable as requiring executable stack\n" msgstr "" -#: lexsup.c:2181 +#: lexsup.c:2276 #, c-format msgid "" " -z noexecstack Mark executable as not requiring executable " "stack\n" msgstr "" -#: lexsup.c:2184 +#: lexsup.c:2278 #, c-format msgid "" -" --warn-execstack Generate a warning if the stack is executable " -"(default)\n" +" --warn-execstack-objects Generate a warning if an object file requests " +"an executable stack\n" msgstr "" -#: lexsup.c:2187 +#: lexsup.c:2281 #, c-format msgid "" -" --warn-execstack Generate a warning if the stack is executable\n" +" --warn-execstack Generate a warning if creating an executable " +"stack\n" msgstr "" -#: lexsup.c:2191 +#: lexsup.c:2284 #, c-format msgid "" -" --no-warn-execstack Do not generate a warning if the stack is " -"executable (default)\n" +" --warn-execstack Generate a warning if creating an executable " +"stack (default)\n" msgstr "" -#: lexsup.c:2194 +#: lexsup.c:2288 #, c-format msgid "" -" --no-warn-execstack Do not generate a warning if the stack is " -"executable\n" +" --no-warn-execstack Do not generate a warning if creating an " +"executable stack (default)\n" +msgstr "" + +#: lexsup.c:2291 +#, c-format +msgid "" +" --no-warn-execstack Do not generate a warning if creating an " +"executable stack\n" +msgstr "" + +#: lexsup.c:2294 +#, c-format +msgid "" +" --error-execstack Turn warnings about executable stacks into " +"errors\n" msgstr "" -#: lexsup.c:2198 +#: lexsup.c:2296 +#, c-format +msgid "" +" --no-error-execstack Do not turn warnings about executable stacks " +"into errors\n" +msgstr "" + +#: lexsup.c:2300 #, c-format msgid "" " --warn-rwx-segments Generate a warning if a LOAD segment has RWX " "permissions (default)\n" msgstr "" -#: lexsup.c:2200 +#: lexsup.c:2302 #, c-format msgid "" " --no-warn-rwx-segments Do not generate a warning if a LOAD segments " "has RWX permissions\n" msgstr "" -#: lexsup.c:2203 +#: lexsup.c:2305 #, c-format msgid "" " --warn-rwx-segments Generate a warning if a LOAD segment has RWX " "permissions\n" msgstr "" -#: lexsup.c:2205 +#: lexsup.c:2307 #, c-format msgid "" " --no-warn-rwx-segments Do not generate a warning if a LOAD segments " "has RWX permissions (default)\n" msgstr "" -#: lexsup.c:2208 +#: lexsup.c:2310 +#, c-format +msgid "" +" --error-rwx-segments Turn warnings about loadable RWX segments into " +"errors\n" +msgstr "" + +#: lexsup.c:2312 +#, c-format +msgid "" +" --no-error-rwx-segments Do not turn warnings about loadable RWX " +"segments into errors\n" +msgstr "" + +#: lexsup.c:2315 #, c-format msgid " -z unique-symbol Avoid duplicated local symbol names\n" msgstr "" -#: lexsup.c:2210 +#: lexsup.c:2317 #, c-format msgid "" " -z nounique-symbol Keep duplicated local symbol names (default)\n" msgstr "" -#: lexsup.c:2212 +#: lexsup.c:2319 #, c-format msgid "" " -z globalaudit Mark executable requiring global auditing\n" msgstr "" -#: lexsup.c:2214 +#: lexsup.c:2321 #, c-format msgid "" " -z start-stop-gc Enable garbage collection on __start/__stop\n" msgstr "" -#: lexsup.c:2216 +#: lexsup.c:2323 #, c-format msgid "" " -z nostart-stop-gc Don't garbage collect __start/__stop " "(default)\n" msgstr "" -#: lexsup.c:2218 +#: lexsup.c:2325 #, c-format msgid "" " -z start-stop-visibility=V Set visibility of built-in __start/__stop " @@ -2616,13 +2712,23 @@ msgid "" " to DEFAULT, PROTECTED, HIDDEN or INTERNAL\n" msgstr "" -#: lexsup.c:2226 +#: lexsup.c:2328 +#, c-format +msgid " -z sectionheader Generate section header (default)\n" +msgstr "" + +#: lexsup.c:2330 +#, c-format +msgid " -z nosectionheader Do not generate section header\n" +msgstr "" + +#: lexsup.c:2337 #, c-format msgid "" " --ld-generated-unwind-info Generate exception handling info for PLT\n" msgstr "" -#: lexsup.c:2228 +#: lexsup.c:2339 #, c-format msgid "" " --no-ld-generated-unwind-info\n" @@ -2630,49 +2736,49 @@ msgid "" "PLT\n" msgstr "" -#: lexsup.c:2238 +#: lexsup.c:2349 #, c-format msgid "ELF emulations:\n" msgstr "" -#: lexsup.c:2256 +#: lexsup.c:2367 #, c-format msgid "Usage: %s [options] file...\n" msgstr "" -#: lexsup.c:2258 +#: lexsup.c:2369 #, c-format msgid "Options:\n" msgstr "" -#: lexsup.c:2336 +#: lexsup.c:2447 #, c-format msgid " @FILE" msgstr "" -#: lexsup.c:2339 +#: lexsup.c:2450 #, c-format msgid "Read options from FILE\n" msgstr "" #. Note: Various tools (such as libtool) depend upon the #. format of the listings below - do not change them. -#: lexsup.c:2344 +#: lexsup.c:2455 #, c-format msgid "%s: supported targets:" msgstr "" -#: lexsup.c:2352 +#: lexsup.c:2463 #, c-format msgid "%s: supported emulations: " msgstr "" -#: lexsup.c:2357 +#: lexsup.c:2468 #, c-format msgid "%s: emulation specific options:\n" msgstr "" -#: lexsup.c:2364 +#: lexsup.c:2475 #, c-format msgid "Report bugs to %s\n" msgstr "" @@ -2681,483 +2787,483 @@ msgstr "" msgid "%F%P: unknown format type %s\n" msgstr "" -#: pdb.c:828 pdb.c:1119 +#: pdb.c:842 pdb.c:1133 msgid "%P: CodeView symbol references out of range type %v\n" msgstr "" -#: pdb.c:997 +#: pdb.c:1011 msgid "" "%P: warning: truncated CodeView record S_LDATA32/S_GDATA32/S_LTHREAD32/" "S_GTHREAD32\n" msgstr "" -#: pdb.c:1016 +#: pdb.c:1030 msgid "" "%P: warning: name for S_LDATA32/S_GDATA32/S_LTHREAD32/S_GTHREAD32 has no " "terminating zero\n" msgstr "" -#: pdb.c:1064 pdb.c:1734 +#: pdb.c:1078 pdb.c:1748 msgid "%P: warning: truncated CodeView record S_GPROC32/S_LPROC32\n" msgstr "" -#: pdb.c:1076 pdb.c:1751 +#: pdb.c:1090 pdb.c:1765 msgid "%P: warning: could not find end of S_GPROC32/S_LPROC32 record\n" msgstr "" -#: pdb.c:1102 +#: pdb.c:1116 msgid "%P: warning: name for S_GPROC32/S_LPROC32 has no terminating zero\n" msgstr "" -#: pdb.c:1158 +#: pdb.c:1172 msgid "" "%P: CodeView S_GPROC32_ID/S_LPROC32_ID symbol referenced unknown type as ID\n" msgstr "" -#: pdb.c:1232 +#: pdb.c:1246 msgid "%P: warning: truncated CodeView record S_UDT\n" msgstr "" -#: pdb.c:1243 +#: pdb.c:1257 msgid "%P: warning: name for S_UDT has no terminating zero\n" msgstr "" -#: pdb.c:1280 +#: pdb.c:1294 msgid "%P: warning: truncated CodeView record S_CONSTANT\n" msgstr "" -#: pdb.c:1297 +#: pdb.c:1311 msgid "%P: warning: unhandled type %v within S_CONSTANT\n" msgstr "" -#: pdb.c:1311 +#: pdb.c:1325 msgid "%P: warning: name for S_CONSTANT has no terminating zero\n" msgstr "" -#: pdb.c:1371 +#: pdb.c:1385 msgid "%P: warning: unexpected CodeView scope start record %v\n" msgstr "" -#: pdb.c:1393 +#: pdb.c:1407 msgid "%P: warning: truncated CodeView record S_BUILDINFO\n" msgstr "" -#: pdb.c:1419 +#: pdb.c:1433 msgid "%P: warning: truncated CodeView record S_BLOCK32\n" msgstr "" -#: pdb.c:1431 +#: pdb.c:1445 msgid "%P: warning: could not find end of S_BLOCK32 record\n" msgstr "" -#: pdb.c:1456 +#: pdb.c:1470 msgid "%P: warning: truncated CodeView record S_BPREL32\n" msgstr "" -#: pdb.c:1480 +#: pdb.c:1494 msgid "%P: warning: truncated CodeView record S_REGISTER\n" msgstr "" -#: pdb.c:1504 +#: pdb.c:1518 msgid "%P: warning: truncated CodeView record S_REGREL32\n" msgstr "" -#: pdb.c:1528 +#: pdb.c:1542 msgid "%P: warning: truncated CodeView record S_LOCAL\n" msgstr "" -#: pdb.c:1554 +#: pdb.c:1568 msgid "%P: warning: truncated CodeView record S_INLINESITE\n" msgstr "" -#: pdb.c:1566 +#: pdb.c:1580 msgid "%P: warning: could not find end of S_INLINESITE record\n" msgstr "" -#: pdb.c:1599 +#: pdb.c:1613 msgid "%P: warning: truncated CodeView record S_THUNK32\n" msgstr "" -#: pdb.c:1611 +#: pdb.c:1625 msgid "%P: warning: could not find end of S_THUNK32 record\n" msgstr "" -#: pdb.c:1636 +#: pdb.c:1650 msgid "%P: warning: truncated CodeView record S_HEAPALLOCSITE\n" msgstr "" -#: pdb.c:1670 pdb.c:1814 +#: pdb.c:1684 pdb.c:1828 msgid "%P: warning: unrecognized CodeView record %v\n" msgstr "" -#: pdb.c:1706 +#: pdb.c:1720 msgid "%P: warning: truncated CodeView record S_LDATA32/S_LTHREAD32\n" msgstr "" -#: pdb.c:2141 +#: pdb.c:2155 msgid "%P: CodeView type %v references other type %v not yet declared\n" msgstr "" -#: pdb.c:2148 +#: pdb.c:2162 msgid "%P: CodeView type %v references out of range type %v\n" msgstr "" -#: pdb.c:2208 +#: pdb.c:2222 msgid "%P: warning: truncated CodeView type record LF_UDT_SRC_LINE\n" msgstr "" -#: pdb.c:2221 +#: pdb.c:2235 msgid "" "%P: warning: CodeView type record LF_UDT_SRC_LINE referred to unknown type %" "v\n" msgstr "" -#: pdb.c:2243 +#: pdb.c:2257 msgid "" "%P: warning: CodeView type record LF_UDT_SRC_LINE referred to unknown string " "%v\n" msgstr "" -#: pdb.c:2252 +#: pdb.c:2266 msgid "" "%P: warning: CodeView type record LF_UDT_SRC_LINE pointed to unexpected " "record type\n" msgstr "" -#: pdb.c:2301 +#: pdb.c:2315 msgid "%P: warning: duplicate CodeView type record LF_UDT_MOD_SRC_LINE\n" msgstr "" -#: pdb.c:2350 +#: pdb.c:2364 msgid "%P: warning: truncated CodeView type record LF_MODIFIER\n" msgstr "" -#: pdb.c:2367 +#: pdb.c:2381 msgid "%P: warning: truncated CodeView type record LF_POINTER\n" msgstr "" -#: pdb.c:2384 +#: pdb.c:2398 msgid "%P: warning: truncated CodeView type record LF_PROCEDURE\n" msgstr "" -#: pdb.c:2404 +#: pdb.c:2418 msgid "%P: warning: truncated CodeView type record LF_MFUNCTION\n" msgstr "" -#: pdb.c:2432 pdb.c:2442 +#: pdb.c:2446 pdb.c:2456 msgid "%P: warning: truncated CodeView type record LF_ARGLIST\n" msgstr "" -#: pdb.c:2467 pdb.c:2537 pdb.c:2674 pdb.c:2721 pdb.c:2939 pdb.c:2986 +#: pdb.c:2481 pdb.c:2551 pdb.c:2688 pdb.c:2735 pdb.c:2953 pdb.c:3000 msgid "%P: warning: truncated CodeView type record LF_FIELDLIST\n" msgstr "" -#: pdb.c:2484 pdb.c:2512 +#: pdb.c:2498 pdb.c:2526 msgid "%P: warning: truncated CodeView type record LF_MEMBER\n" msgstr "" -#: pdb.c:2503 +#: pdb.c:2517 msgid "%P: warning: unhandled type %v within LF_MEMBER\n" msgstr "" -#: pdb.c:2523 +#: pdb.c:2537 msgid "%P: warning: name for LF_MEMBER has no terminating zero\n" msgstr "" -#: pdb.c:2556 pdb.c:2579 pdb.c:2606 +#: pdb.c:2570 pdb.c:2593 pdb.c:2620 msgid "%P: warning: truncated CodeView type record LF_ENUMERATE\n" msgstr "" -#: pdb.c:2572 +#: pdb.c:2586 msgid "%P: warning: unhandled type %v within LF_ENUMERATE\n" msgstr "" -#: pdb.c:2592 +#: pdb.c:2606 msgid "%P: warning: name for LF_ENUMERATE has no terminating zero\n" msgstr "" -#: pdb.c:2623 +#: pdb.c:2637 msgid "%P: warning: truncated CodeView type record LF_INDEX\n" msgstr "" -#: pdb.c:2644 +#: pdb.c:2658 msgid "%P: warning: truncated CodeView type record LF_ONEMETHOD\n" msgstr "" -#: pdb.c:2659 +#: pdb.c:2673 msgid "%P: warning: name for LF_ONEMETHOD has no terminating zero\n" msgstr "" -#: pdb.c:2692 +#: pdb.c:2706 msgid "%P: warning: truncated CodeView type record LF_METHOD\n" msgstr "" -#: pdb.c:2707 +#: pdb.c:2721 msgid "%P: warning: name for LF_METHOD has no terminating zero\n" msgstr "" -#: pdb.c:2740 pdb.c:2769 pdb.c:2780 +#: pdb.c:2754 pdb.c:2783 pdb.c:2794 msgid "%P: warning: truncated CodeView type record LF_BCLASS\n" msgstr "" -#: pdb.c:2760 +#: pdb.c:2774 msgid "%P: warning: unhandled type %v within LF_BCLASS\n" msgstr "" -#: pdb.c:2797 +#: pdb.c:2811 msgid "%P: warning: truncated CodeView type record LF_VFUNCTAB\n" msgstr "" -#: pdb.c:2820 pdb.c:2854 pdb.c:2879 pdb.c:2890 +#: pdb.c:2834 pdb.c:2868 pdb.c:2893 pdb.c:2904 msgid "%P: warning: truncated CodeView type record LF_VBCLASS/LF_IVBCLASS\n" msgstr "" -#: pdb.c:2845 pdb.c:2870 +#: pdb.c:2859 pdb.c:2884 msgid "%P: warning: unhandled type %v within LF_VBCLASS/LF_IVBCLASS\n" msgstr "" -#: pdb.c:2909 +#: pdb.c:2923 msgid "%P: warning: truncated CodeView type record LF_STMEMBER\n" msgstr "" -#: pdb.c:2924 +#: pdb.c:2938 msgid "%P: warning: name for LF_STMEMBER has no terminating zero\n" msgstr "" -#: pdb.c:2957 +#: pdb.c:2971 msgid "%P: warning: truncated CodeView type record LF_NESTTYPE\n" msgstr "" -#: pdb.c:2971 +#: pdb.c:2985 msgid "%P: warning: name for LF_NESTTYPE has no terminating zero\n" msgstr "" -#: pdb.c:2998 +#: pdb.c:3012 msgid "%P: warning: unrecognized CodeView subtype %v\n" msgstr "" -#: pdb.c:3013 +#: pdb.c:3027 msgid "%P: warning: truncated CodeView type record LF_BITFIELD\n" msgstr "" -#: pdb.c:3031 +#: pdb.c:3045 msgid "%P: warning: truncated CodeView type record LF_METHODLIST\n" msgstr "" -#: pdb.c:3039 +#: pdb.c:3053 msgid "%P: warning: malformed CodeView type record LF_METHODLIST\n" msgstr "" -#: pdb.c:3063 +#: pdb.c:3077 msgid "%P: warning: truncated CodeView type record LF_ARRAY\n" msgstr "" -#: pdb.c:3086 pdb.c:3120 +#: pdb.c:3100 pdb.c:3134 msgid "%P: warning: truncated CodeView type record LF_CLASS/LF_STRUCTURE\n" msgstr "" -#: pdb.c:3111 +#: pdb.c:3125 msgid "%P: warning: unhandled type %v within LF_CLASS/LF_STRUCTURE\n" msgstr "" -#: pdb.c:3130 +#: pdb.c:3144 msgid "%P: warning: name for LF_CLASS/LF_STRUCTURE has no terminating zero\n" msgstr "" -#: pdb.c:3149 +#: pdb.c:3163 msgid "" "%P: warning: unique name for LF_CLASS/LF_STRUCTURE has no terminating zero\n" msgstr "" -#: pdb.c:3173 pdb.c:3201 +#: pdb.c:3187 pdb.c:3215 msgid "%P: warning: truncated CodeView type record LF_UNION\n" msgstr "" -#: pdb.c:3192 +#: pdb.c:3206 msgid "%P: warning: unhandled type %v within LF_UNION\n" msgstr "" -#: pdb.c:3211 +#: pdb.c:3225 msgid "%P: warning: name for LF_UNION has no terminating zero\n" msgstr "" -#: pdb.c:3230 +#: pdb.c:3244 msgid "%P: warning: unique name for LF_UNION has no terminating zero\n" msgstr "" -#: pdb.c:3254 +#: pdb.c:3268 msgid "%P: warning: truncated CodeView type record LF_ENUM\n" msgstr "" -#: pdb.c:3269 +#: pdb.c:3283 msgid "%P: warning: name for LF_ENUM has no terminating zero\n" msgstr "" -#: pdb.c:3287 +#: pdb.c:3301 msgid "%P: warning: unique name for LF_ENUM has no terminating zero\n" msgstr "" -#: pdb.c:3306 +#: pdb.c:3320 msgid "%P: warning: truncated CodeView type record LF_VFTABLE\n" msgstr "" -#: pdb.c:3327 +#: pdb.c:3341 msgid "%P: warning: truncated CodeView type record LF_STRING_ID\n" msgstr "" -#: pdb.c:3340 +#: pdb.c:3354 msgid "%P: warning: string for LF_STRING_ID has no terminating zero\n" msgstr "" -#: pdb.c:3357 pdb.c:3367 +#: pdb.c:3371 pdb.c:3381 msgid "%P: warning: truncated CodeView type record LF_SUBSTR_LIST\n" msgstr "" -#: pdb.c:3390 pdb.c:3400 +#: pdb.c:3404 pdb.c:3414 msgid "%P: warning: truncated CodeView type record LF_BUILDINFO\n" msgstr "" -#: pdb.c:3423 +#: pdb.c:3437 msgid "%P: warning: truncated CodeView type record LF_FUNC_ID\n" msgstr "" -#: pdb.c:3439 +#: pdb.c:3453 msgid "%P: warning: string for LF_FUNC_ID has no terminating zero\n" msgstr "" -#: pdb.c:3456 +#: pdb.c:3470 msgid "%P: warning: truncated CodeView type record LF_MFUNC_ID\n" msgstr "" -#: pdb.c:3472 +#: pdb.c:3486 msgid "%P: warning: string for LF_MFUNC_ID has no terminating zero\n" msgstr "" -#: pdb.c:3487 +#: pdb.c:3501 msgid "%P: warning: unrecognized CodeView type %v\n" msgstr "" -#: pdb.c:3654 +#: pdb.c:3675 msgid "%P: warning: unable to get working directory\n" msgstr "" -#: pdb.c:3662 +#: pdb.c:3683 msgid "%P: warning: unable to get program name\n" msgstr "" -#: pdb.c:3671 +#: pdb.c:3692 msgid "%P: warning: unable to get full path to PDB\n" msgstr "" -#: pdb.c:5090 +#: pdb.c:5148 msgid "%P: warning: cannot create PDB file: %E\n" msgstr "" -#: pdb.c:5105 +#: pdb.c:5163 msgid "%P: warning: cannot create old directory stream in PDB file: %E\n" msgstr "" -#: pdb.c:5114 +#: pdb.c:5172 msgid "%P: warning: cannot create info stream in PDB file: %E\n" msgstr "" -#: pdb.c:5123 +#: pdb.c:5181 msgid "%P: warning: cannot create TPI stream in PDB file: %E\n" msgstr "" -#: pdb.c:5132 +#: pdb.c:5190 msgid "%P: warning: cannot create DBI stream in PDB file: %E\n" msgstr "" -#: pdb.c:5141 +#: pdb.c:5199 msgid "%P: warning: cannot create IPI stream in PDB file: %E\n" msgstr "" -#: pdb.c:5150 +#: pdb.c:5208 msgid "%P: warning: cannot create /names stream in PDB file: %E\n" msgstr "" -#: pdb.c:5159 +#: pdb.c:5217 msgid "%P: warning: cannot create symbol record stream in PDB file: %E\n" msgstr "" -#: pdb.c:5168 +#: pdb.c:5226 msgid "%P: warning: cannot create publics stream in PDB file: %E\n" msgstr "" -#: pdb.c:5175 +#: pdb.c:5233 msgid "%P: warning: cannot create section header stream in PDB file: %E\n" msgstr "" -#: pdb.c:5194 +#: pdb.c:5252 msgid "%P: warning: cannot populate DBI stream in PDB file: %E\n" msgstr "" -#: pdb.c:5203 +#: pdb.c:5261 msgid "%P: warning: cannot populate TPI stream in PDB file: %E\n" msgstr "" -#: pdb.c:5214 +#: pdb.c:5272 msgid "%P: warning: cannot populate IPI stream in PDB file: %E\n" msgstr "" -#: pdb.c:5226 +#: pdb.c:5284 msgid "%P: warning: cannot populate names stream in PDB file: %E\n" msgstr "" -#: pdb.c:5233 +#: pdb.c:5291 msgid "%P: warning: cannot populate publics stream in PDB file: %E\n" msgstr "" -#: pdb.c:5240 +#: pdb.c:5298 msgid "%P: warning: cannot populate info stream in PDB file: %E\n" msgstr "" -#: pe-dll.c:458 +#: pe-dll.c:459 msgid "%X%P: unsupported PEI architecture: %s\n" msgstr "" -#: pe-dll.c:847 +#: pe-dll.c:848 msgid "%X%P: cannot export %s: invalid export name\n" msgstr "" -#: pe-dll.c:899 +#: pe-dll.c:900 #, c-format msgid "%X%P: error, duplicate EXPORT with ordinals: %s (%d vs %d)\n" msgstr "" -#: pe-dll.c:906 +#: pe-dll.c:907 #, c-format msgid "%P: warning, duplicate EXPORT: %s\n" msgstr "" -#: pe-dll.c:1013 +#: pe-dll.c:1014 #, c-format msgid "%X%P: cannot export %s: symbol not defined\n" msgstr "" -#: pe-dll.c:1019 +#: pe-dll.c:1020 #, c-format msgid "%X%P: cannot export %s: symbol wrong type (%d vs %d)\n" msgstr "" -#: pe-dll.c:1026 +#: pe-dll.c:1027 #, c-format msgid "%X%P: cannot export %s: symbol not found\n" msgstr "" -#: pe-dll.c:1049 eaarch64cloudabi.c:366 eaarch64cloudabib.c:366 +#: pe-dll.c:1051 eaarch64cloudabi.c:366 eaarch64cloudabib.c:366 #: eaarch64elf.c:365 eaarch64elf32.c:365 eaarch64elf32b.c:365 #: eaarch64elfb.c:365 eaarch64fbsd.c:366 eaarch64fbsdb.c:366 #: eaarch64haiku.c:366 eaarch64linux.c:366 eaarch64linux32.c:366 -#: eaarch64linux32b.c:366 eaarch64linuxb.c:366 eaix5ppc.c:1660 eaix5ppc.c:1670 -#: eaix5rs6.c:1660 eaix5rs6.c:1670 eaixppc.c:1660 eaixppc.c:1670 -#: eaixrs6.c:1660 eaixrs6.c:1670 earmelf.c:571 earmelf_fbsd.c:571 -#: earmelf_fuchsia.c:572 earmelf_haiku.c:572 earmelf_linux.c:572 -#: earmelf_linux_eabi.c:572 earmelf_linux_fdpiceabi.c:572 earmelf_nacl.c:572 -#: earmelf_nbsd.c:571 earmelf_phoenix.c:572 earmelf_vxworks.c:571 -#: earmelfb.c:571 earmelfb_fbsd.c:571 earmelfb_fuchsia.c:572 -#: earmelfb_linux.c:572 earmelfb_linux_eabi.c:572 +#: eaarch64linux32b.c:366 eaarch64linuxb.c:366 eaarch64nto.c:366 +#: eaix5ppc.c:1660 eaix5ppc.c:1670 eaix5rs6.c:1660 eaix5rs6.c:1670 +#: eaixppc.c:1660 eaixppc.c:1670 eaixrs6.c:1660 eaixrs6.c:1670 earmelf.c:571 +#: earmelf_fbsd.c:571 earmelf_fuchsia.c:572 earmelf_haiku.c:572 +#: earmelf_linux.c:572 earmelf_linux_eabi.c:572 earmelf_linux_fdpiceabi.c:572 +#: earmelf_nacl.c:572 earmelf_nbsd.c:571 earmelf_phoenix.c:572 +#: earmelf_vxworks.c:571 earmelfb.c:571 earmelfb_fbsd.c:571 +#: earmelfb_fuchsia.c:572 earmelfb_linux.c:572 earmelfb_linux_eabi.c:572 #: earmelfb_linux_fdpiceabi.c:572 earmelfb_nacl.c:572 earmelfb_nbsd.c:571 #: earmnto.c:571 ecskyelf.c:165 ecskyelf_linux.c:165 eelf32b4300.c:174 #: eelf32bmip.c:174 eelf32bmipn32.c:188 eelf32bsmip.c:188 eelf32btsmip.c:174 @@ -3177,180 +3283,180 @@ msgstr "" msgid "%F%P: can not create BFD: %E\n" msgstr "" -#: pe-dll.c:1063 +#: pe-dll.c:1065 msgid "%X%P: can not create .edata section: %E\n" msgstr "" -#: pe-dll.c:1077 +#: pe-dll.c:1079 msgid "%X%P: can not create .reloc section: %E\n" msgstr "" -#: pe-dll.c:1126 +#: pe-dll.c:1128 #, c-format msgid "%X%P: error: ordinal used twice: %d (%s vs %s)\n" msgstr "" -#: pe-dll.c:1162 +#: pe-dll.c:1164 #, c-format msgid "%X%P: error: export ordinal too large: %d\n" msgstr "" -#: pe-dll.c:1485 +#: pe-dll.c:1490 #, c-format msgid "Info: resolving %s by linking to %s (auto-import)\n" msgstr "" -#: pe-dll.c:1491 +#: pe-dll.c:1496 msgid "" "%P: warning: auto-importing has been activated without --enable-auto-import " "specified on the command line; this should work unless it involves constant " "data structures referencing symbols from auto-imported DLLs\n" msgstr "" -#: pe-dll.c:1560 -msgid "%P: zero vma section reloc detected: `%s' #%d f=%d\n" -msgstr "" - -#: pe-dll.c:1643 +#: pe-dll.c:1656 msgid "%P: base relocation for section `%s' above .reloc section\n" msgstr "" -#: pe-dll.c:1693 +#: pe-dll.c:1706 #, c-format msgid "%X%P: error: %d-bit reloc in dll\n" msgstr "" -#: pe-dll.c:1815 +#: pe-dll.c:1832 #, c-format msgid "%P: can't open output def file %s\n" msgstr "" -#: pe-dll.c:1964 +#: pe-dll.c:1981 #, c-format msgid "; no contents available\n" msgstr "" -#: pe-dll.c:2867 +#: pe-dll.c:2350 +msgid "%P: error: NULL decorated name for %s\n" +msgstr "" + +#: pe-dll.c:2917 msgid "" -"%X%P: %C: variable '%pT' can't be auto-imported; please read the " +"%X%P: %H: variable '%pT' can't be auto-imported; please read the " "documentation for ld's --enable-auto-import for details\n" msgstr "" -#: pe-dll.c:2888 +#: pe-dll.c:2938 #, c-format msgid "%X%P: can't open .lib file: %s\n" msgstr "" -#: pe-dll.c:2894 +#: pe-dll.c:2944 #, c-format msgid "Creating library file: %s\n" msgstr "" -#: pe-dll.c:2924 +#: pe-dll.c:2974 msgid "%X%P: bfd_openr %s: %E\n" msgstr "" -#: pe-dll.c:2936 +#: pe-dll.c:2986 msgid "%X%P: %s(%s): can't find member in non-archive file" msgstr "" -#: pe-dll.c:2950 +#: pe-dll.c:3000 msgid "%X%P: %s(%s): can't find member in archive" msgstr "" -#: pe-dll.c:3214 +#: pe-dll.c:3264 msgid "%X%P: add symbols %s: %E\n" msgstr "" -#: pe-dll.c:3419 +#: pe-dll.c:3475 msgid "%X%P: open %s: %E\n" msgstr "" -#: pe-dll.c:3428 +#: pe-dll.c:3485 msgid "%X%P: %s: this doesn't appear to be a DLL\n" msgstr "" -#: pe-dll.c:3633 +#: pe-dll.c:3705 msgid "%X%P: error: can't use long section names on this arch\n" msgstr "" -#: plugin.c:238 plugin.c:284 +#: plugin.c:240 plugin.c:286 msgid "<no plugin>" msgstr "" -#: plugin.c:253 plugin.c:1116 +#: plugin.c:255 plugin.c:1130 msgid "%F%P: %s: error loading plugin: %s\n" msgstr "" -#: plugin.c:260 +#: plugin.c:262 msgid "%P: %s: duplicated plugin\n" msgstr "" -#: plugin.c:346 +#: plugin.c:348 msgid "%F%P: could not create dummy IR bfd: %E\n" msgstr "" -#: plugin.c:427 +#: plugin.c:429 msgid "%F%P: %s: non-ELF symbol in ELF BFD!\n" msgstr "" -#: plugin.c:438 +#: plugin.c:440 msgid "%F%P: unknown ELF symbol visibility: %d!\n" msgstr "" -#: plugin.c:547 +#: plugin.c:558 msgid "%F%P: unsupported input file size: %s (%ld bytes)\n" msgstr "" -#: plugin.c:692 +#: plugin.c:703 #, c-format msgid "unknown LTO kind value %x" msgstr "" -#: plugin.c:718 +#: plugin.c:729 #, c-format msgid "unknown LTO resolution value %x" msgstr "" -#: plugin.c:738 +#: plugin.c:749 #, c-format msgid "unknown LTO visibility value %x" msgstr "" #. We should not have a new, indirect or warning symbol here. -#: plugin.c:818 +#: plugin.c:829 msgid "%F%P: %s: plugin symbol table corrupt (sym type %d)\n" msgstr "" -#: plugin.c:883 +#: plugin.c:894 msgid "%P: %pB: symbol `%s' definition: %s, visibility: %s, resolution: %s\n" msgstr "" -#: plugin.c:960 +#: plugin.c:971 msgid "%P: warning: " msgstr "" -#: plugin.c:971 +#: plugin.c:982 msgid "%P: error: " msgstr "" -#: plugin.c:1123 +#: plugin.c:1137 msgid "%F%P: %s: plugin error: %d\n" msgstr "" -#: plugin.c:1178 +#: plugin.c:1196 msgid "%F%P: plugin_strdup failed to allocate memory: %s\n" msgstr "" -#: plugin.c:1215 +#: plugin.c:1233 msgid "%F%P: plugin failed to allocate memory for input: %s\n" msgstr "" -#: plugin.c:1243 +#: plugin.c:1261 msgid "%F%P: %s: plugin reported error claiming file\n" msgstr "" -#: plugin.c:1354 +#: plugin.c:1372 msgid "%P: %s: error in plugin cleanup: %d (ignored)\n" msgstr "" @@ -3358,23 +3464,24 @@ msgstr "" #: eaarch64elf32.c:228 eaarch64elf32b.c:228 eaarch64elfb.c:228 #: eaarch64fbsd.c:229 eaarch64fbsdb.c:229 eaarch64haiku.c:229 #: eaarch64linux.c:229 eaarch64linux32.c:229 eaarch64linux32b.c:229 -#: eaarch64linuxb.c:229 eaix5ppc.c:1125 eaix5rs6.c:1125 eaixppc.c:1125 -#: eaixrs6.c:1125 earmelf.c:298 earmelf_fbsd.c:298 earmelf_fuchsia.c:299 -#: earmelf_haiku.c:299 earmelf_linux.c:299 earmelf_linux_eabi.c:299 -#: earmelf_linux_fdpiceabi.c:299 earmelf_nacl.c:299 earmelf_nbsd.c:298 -#: earmelf_phoenix.c:299 earmelf_vxworks.c:298 earmelfb.c:298 -#: earmelfb_fbsd.c:298 earmelfb_fuchsia.c:299 earmelfb_linux.c:299 -#: earmelfb_linux_eabi.c:299 earmelfb_linux_fdpiceabi.c:299 -#: earmelfb_nacl.c:299 earmelfb_nbsd.c:298 earmnto.c:298 eavr1.c:181 -#: eavr2.c:181 eavr25.c:181 eavr3.c:181 eavr31.c:181 eavr35.c:181 eavr4.c:181 -#: eavr5.c:181 eavr51.c:181 eavr6.c:181 eavrtiny.c:181 eavrxmega1.c:181 -#: eavrxmega2.c:181 eavrxmega3.c:181 eavrxmega4.c:181 eavrxmega5.c:181 -#: eavrxmega6.c:181 eavrxmega7.c:181 ecskyelf.c:212 ecskyelf_linux.c:212 -#: eelf32b4300.c:207 eelf32bmip.c:207 eelf32bmipn32.c:221 eelf32bsmip.c:221 -#: eelf32btsmip.c:207 eelf32btsmip_fbsd.c:207 eelf32btsmipn32.c:207 -#: eelf32btsmipn32_fbsd.c:207 eelf32ebmip.c:207 eelf32ebmipvxworks.c:207 -#: eelf32elmip.c:207 eelf32elmipvxworks.c:207 eelf32l4300.c:207 -#: eelf32lmip.c:207 eelf32lr5900.c:207 eelf32lr5900n32.c:207 eelf32lsmip.c:207 +#: eaarch64linuxb.c:229 eaarch64nto.c:229 eaix5ppc.c:1125 eaix5rs6.c:1125 +#: eaixppc.c:1125 eaixrs6.c:1125 earmelf.c:298 earmelf_fbsd.c:298 +#: earmelf_fuchsia.c:299 earmelf_haiku.c:299 earmelf_linux.c:299 +#: earmelf_linux_eabi.c:299 earmelf_linux_fdpiceabi.c:299 earmelf_nacl.c:299 +#: earmelf_nbsd.c:298 earmelf_phoenix.c:299 earmelf_vxworks.c:298 +#: earmelfb.c:298 earmelfb_fbsd.c:298 earmelfb_fuchsia.c:299 +#: earmelfb_linux.c:299 earmelfb_linux_eabi.c:299 +#: earmelfb_linux_fdpiceabi.c:299 earmelfb_nacl.c:299 earmelfb_nbsd.c:298 +#: earmnto.c:298 eavr1.c:181 eavr2.c:181 eavr25.c:181 eavr3.c:181 eavr31.c:181 +#: eavr35.c:181 eavr4.c:181 eavr5.c:181 eavr51.c:181 eavr6.c:181 +#: eavrtiny.c:181 eavrxmega1.c:181 eavrxmega2.c:181 eavrxmega3.c:181 +#: eavrxmega4.c:181 eavrxmega5.c:181 eavrxmega6.c:181 eavrxmega7.c:181 +#: ecskyelf.c:212 ecskyelf_linux.c:212 eelf32b4300.c:207 eelf32bmip.c:207 +#: eelf32bmipn32.c:221 eelf32bsmip.c:221 eelf32btsmip.c:207 +#: eelf32btsmip_fbsd.c:207 eelf32btsmipn32.c:207 eelf32btsmipn32_fbsd.c:207 +#: eelf32ebmip.c:207 eelf32ebmipvxworks.c:207 eelf32elmip.c:207 +#: eelf32elmipvxworks.c:207 eelf32l4300.c:207 eelf32lmip.c:207 +#: eelf32lr5900.c:207 eelf32lr5900n32.c:207 eelf32lsmip.c:207 #: eelf32ltsmip.c:207 eelf32ltsmip_fbsd.c:207 eelf32ltsmipn32.c:207 #: eelf32ltsmipn32_fbsd.c:207 eelf32metag.c:208 eelf32mipswindiss.c:207 #: eelf64bmip.c:221 eelf64btsmip.c:207 eelf64btsmip_fbsd.c:207 @@ -3390,76 +3497,76 @@ msgstr "" #: eaarch64elf32.c:271 eaarch64elf32b.c:271 eaarch64elfb.c:271 #: eaarch64fbsd.c:272 eaarch64fbsdb.c:272 eaarch64haiku.c:272 #: eaarch64linux.c:272 eaarch64linux32.c:272 eaarch64linux32b.c:272 -#: eaarch64linuxb.c:272 earcelf.c:112 earclinux.c:113 earclinux_nps.c:113 -#: earcv2elf.c:112 earcv2elfx.c:112 earmelf.c:410 earmelf_fbsd.c:410 -#: earmelf_fuchsia.c:411 earmelf_haiku.c:411 earmelf_linux.c:411 -#: earmelf_linux_eabi.c:411 earmelf_linux_fdpiceabi.c:411 earmelf_nacl.c:411 -#: earmelf_nbsd.c:410 earmelf_phoenix.c:411 earmelf_vxworks.c:410 -#: earmelfb.c:410 earmelfb_fbsd.c:410 earmelfb_fuchsia.c:411 -#: earmelfb_linux.c:411 earmelfb_linux_eabi.c:411 +#: eaarch64linuxb.c:272 eaarch64nto.c:272 earcelf.c:114 earclinux.c:115 +#: earclinux_nps.c:115 earcv2elf.c:114 earcv2elfx.c:114 earmelf.c:410 +#: earmelf_fbsd.c:410 earmelf_fuchsia.c:411 earmelf_haiku.c:411 +#: earmelf_linux.c:411 earmelf_linux_eabi.c:411 earmelf_linux_fdpiceabi.c:411 +#: earmelf_nacl.c:411 earmelf_nbsd.c:410 earmelf_phoenix.c:411 +#: earmelf_vxworks.c:410 earmelfb.c:410 earmelfb_fbsd.c:410 +#: earmelfb_fuchsia.c:411 earmelfb_linux.c:411 earmelfb_linux_eabi.c:411 #: earmelfb_linux_fdpiceabi.c:411 earmelfb_nacl.c:411 earmelfb_nbsd.c:410 -#: earmnto.c:410 eavr1.c:316 eavr2.c:316 eavr25.c:316 eavr3.c:316 eavr31.c:316 -#: eavr35.c:316 eavr4.c:316 eavr5.c:316 eavr51.c:316 eavr6.c:316 -#: eavrtiny.c:316 eavrxmega1.c:316 eavrxmega2.c:316 eavrxmega3.c:316 -#: eavrxmega4.c:316 eavrxmega5.c:316 eavrxmega6.c:316 eavrxmega7.c:316 -#: ecriself.c:112 ecrislinux.c:113 ed10velf.c:112 eelf32_sparc.c:113 -#: eelf32_sparc_sol2.c:245 eelf32_sparc_vxworks.c:142 eelf32_spu.c:782 +#: earmnto.c:410 eavr1.c:318 eavr2.c:318 eavr25.c:318 eavr3.c:318 eavr31.c:318 +#: eavr35.c:318 eavr4.c:318 eavr5.c:318 eavr51.c:318 eavr6.c:318 +#: eavrtiny.c:318 eavrxmega1.c:318 eavrxmega2.c:318 eavrxmega3.c:318 +#: eavrxmega4.c:318 eavrxmega5.c:318 eavrxmega6.c:318 eavrxmega7.c:318 +#: ecriself.c:114 ecrislinux.c:115 ed10velf.c:114 eelf32_sparc.c:115 +#: eelf32_sparc_sol2.c:247 eelf32_sparc_vxworks.c:144 eelf32_spu.c:784 #: eelf32_tic6x_be.c:183 eelf32_tic6x_elf_be.c:183 eelf32_tic6x_elf_le.c:183 #: eelf32_tic6x_le.c:183 eelf32_tic6x_linux_be.c:183 -#: eelf32_tic6x_linux_le.c:183 eelf32_x86_64.c:137 eelf32am33lin.c:112 -#: eelf32b4300.c:309 eelf32bfin.c:122 eelf32bfinfd.c:122 eelf32bmip.c:309 -#: eelf32bmipn32.c:323 eelf32briscv.c:91 eelf32briscv_ilp32.c:91 -#: eelf32briscv_ilp32f.c:91 eelf32bsmip.c:323 eelf32btsmip.c:309 -#: eelf32btsmip_fbsd.c:309 eelf32btsmipn32.c:309 eelf32btsmipn32_fbsd.c:309 -#: eelf32cr16.c:262 eelf32crx.c:149 eelf32ebmip.c:309 eelf32ebmipvxworks.c:338 -#: eelf32elmip.c:309 eelf32elmipvxworks.c:338 eelf32epiphany.c:112 -#: eelf32epiphany_4x4.c:114 eelf32frvfd.c:112 eelf32ip2k.c:112 -#: eelf32l4300.c:309 eelf32lm32.c:112 eelf32lm32fd.c:112 eelf32lmip.c:309 -#: eelf32loongarch.c:90 eelf32lppc.c:333 eelf32lppclinux.c:333 -#: eelf32lppcnto.c:333 eelf32lppcsim.c:333 eelf32lr5900.c:309 -#: eelf32lr5900n32.c:308 eelf32lriscv.c:91 eelf32lriscv_ilp32.c:91 -#: eelf32lriscv_ilp32f.c:91 eelf32lsmip.c:309 eelf32ltsmip.c:309 -#: eelf32ltsmip_fbsd.c:309 eelf32ltsmipn32.c:309 eelf32ltsmipn32_fbsd.c:309 -#: eelf32m32c.c:123 eelf32mb_linux.c:113 eelf32mbel_linux.c:113 -#: eelf32mcore.c:112 eelf32mep.c:112 eelf32metag.c:258 eelf32microblaze.c:112 -#: eelf32microblazeel.c:112 eelf32mipswindiss.c:308 eelf32moxie.c:112 -#: eelf32or1k.c:113 eelf32or1k_linux.c:113 eelf32ppc.c:333 -#: eelf32ppc_fbsd.c:333 eelf32ppchaiku.c:333 eelf32ppclinux.c:333 -#: eelf32ppcnto.c:333 eelf32ppcsim.c:333 eelf32ppcvxworks.c:307 -#: eelf32ppcwindiss.c:333 eelf32rl78.c:112 eelf32rx.c:128 eelf32rx_linux.c:125 -#: eelf32tilegx.c:113 eelf32tilegx_be.c:113 eelf32tilepro.c:113 -#: eelf32vax.c:112 eelf32visium.c:112 eelf32xstormy16.c:123 -#: eelf32xtensa.c:2009 eelf32z80.c:139 eelf64_aix.c:112 eelf64_ia64.c:138 -#: eelf64_ia64_fbsd.c:138 eelf64_ia64_vms.c:220 eelf64_s390.c:128 -#: eelf64_sparc.c:113 eelf64_sparc_fbsd.c:113 eelf64_sparc_sol2.c:245 -#: eelf64alpha.c:196 eelf64alpha_fbsd.c:196 eelf64alpha_nbsd.c:196 -#: eelf64bmip.c:323 eelf64bpf.c:112 eelf64briscv.c:91 eelf64briscv_lp64.c:91 -#: eelf64briscv_lp64f.c:91 eelf64btsmip.c:309 eelf64btsmip_fbsd.c:309 -#: eelf64hppa.c:112 eelf64loongarch.c:90 eelf64lppc.c:594 -#: eelf64lppc_fbsd.c:594 eelf64lriscv.c:91 eelf64lriscv_lp64.c:91 -#: eelf64lriscv_lp64f.c:91 eelf64ltsmip.c:309 eelf64ltsmip_fbsd.c:309 -#: eelf64mmix.c:223 eelf64ppc.c:594 eelf64ppc_fbsd.c:594 eelf64rdos.c:128 -#: eelf64tilegx.c:113 eelf64tilegx_be.c:113 eelf_i386.c:137 eelf_i386_be.c:136 -#: eelf_i386_fbsd.c:137 eelf_i386_haiku.c:137 eelf_i386_ldso.c:137 -#: eelf_i386_sol2.c:269 eelf_i386_vxworks.c:166 eelf_iamcu.c:137 -#: eelf_mipsel_haiku.c:309 eelf_s390.c:113 eelf_x86_64.c:137 -#: eelf_x86_64_cloudabi.c:137 eelf_x86_64_fbsd.c:137 eelf_x86_64_haiku.c:137 -#: eelf_x86_64_sol2.c:269 eh8300elf.c:112 eh8300elf_linux.c:112 -#: eh8300helf.c:112 eh8300helf_linux.c:112 eh8300hnelf.c:112 eh8300self.c:112 -#: eh8300self_linux.c:112 eh8300snelf.c:112 eh8300sxelf.c:112 -#: eh8300sxelf_linux.c:112 eh8300sxnelf.c:112 ehppa64linux.c:112 +#: eelf32_tic6x_linux_le.c:183 eelf32_x86_64.c:139 eelf32am33lin.c:114 +#: eelf32b4300.c:311 eelf32bfin.c:124 eelf32bfinfd.c:124 eelf32bmip.c:311 +#: eelf32bmipn32.c:325 eelf32briscv.c:92 eelf32briscv_ilp32.c:92 +#: eelf32briscv_ilp32f.c:92 eelf32bsmip.c:325 eelf32btsmip.c:311 +#: eelf32btsmip_fbsd.c:311 eelf32btsmipn32.c:311 eelf32btsmipn32_fbsd.c:311 +#: eelf32cr16.c:264 eelf32crx.c:151 eelf32ebmip.c:311 eelf32ebmipvxworks.c:340 +#: eelf32elmip.c:311 eelf32elmipvxworks.c:340 eelf32epiphany.c:114 +#: eelf32epiphany_4x4.c:116 eelf32frvfd.c:114 eelf32ip2k.c:114 +#: eelf32l4300.c:311 eelf32lm32.c:114 eelf32lm32fd.c:114 eelf32lmip.c:311 +#: eelf32loongarch.c:91 eelf32lppc.c:335 eelf32lppclinux.c:335 +#: eelf32lppcnto.c:335 eelf32lppcsim.c:335 eelf32lr5900.c:311 +#: eelf32lr5900n32.c:310 eelf32lriscv.c:92 eelf32lriscv_ilp32.c:92 +#: eelf32lriscv_ilp32f.c:92 eelf32lsmip.c:311 eelf32ltsmip.c:311 +#: eelf32ltsmip_fbsd.c:311 eelf32ltsmipn32.c:311 eelf32ltsmipn32_fbsd.c:311 +#: eelf32m32c.c:125 eelf32mb_linux.c:115 eelf32mbel_linux.c:115 +#: eelf32mcore.c:114 eelf32mep.c:114 eelf32metag.c:258 eelf32microblaze.c:114 +#: eelf32microblazeel.c:114 eelf32mipswindiss.c:310 eelf32moxie.c:114 +#: eelf32or1k.c:115 eelf32or1k_linux.c:115 eelf32ppc.c:335 +#: eelf32ppc_fbsd.c:335 eelf32ppchaiku.c:335 eelf32ppclinux.c:335 +#: eelf32ppcnto.c:335 eelf32ppcsim.c:335 eelf32ppcvxworks.c:309 +#: eelf32ppcwindiss.c:335 eelf32rl78.c:114 eelf32rx.c:130 eelf32rx_linux.c:127 +#: eelf32tilegx.c:115 eelf32tilegx_be.c:115 eelf32tilepro.c:115 +#: eelf32vax.c:114 eelf32visium.c:114 eelf32xstormy16.c:125 +#: eelf32xtensa.c:2009 eelf32z80.c:141 eelf64_aix.c:114 eelf64_ia64.c:140 +#: eelf64_ia64_fbsd.c:140 eelf64_ia64_vms.c:221 eelf64_s390.c:130 +#: eelf64_sparc.c:115 eelf64_sparc_fbsd.c:115 eelf64_sparc_sol2.c:247 +#: eelf64alpha.c:198 eelf64alpha_fbsd.c:198 eelf64alpha_nbsd.c:198 +#: eelf64bmip.c:325 eelf64bpf.c:114 eelf64briscv.c:92 eelf64briscv_lp64.c:92 +#: eelf64briscv_lp64f.c:92 eelf64btsmip.c:311 eelf64btsmip_fbsd.c:311 +#: eelf64hppa.c:114 eelf64loongarch.c:91 eelf64lppc.c:594 +#: eelf64lppc_fbsd.c:594 eelf64lriscv.c:92 eelf64lriscv_lp64.c:92 +#: eelf64lriscv_lp64f.c:92 eelf64ltsmip.c:311 eelf64ltsmip_fbsd.c:311 +#: eelf64mmix.c:225 eelf64ppc.c:594 eelf64ppc_fbsd.c:594 eelf64rdos.c:130 +#: eelf64tilegx.c:115 eelf64tilegx_be.c:115 eelf_i386.c:139 eelf_i386_be.c:138 +#: eelf_i386_fbsd.c:139 eelf_i386_haiku.c:139 eelf_i386_ldso.c:139 +#: eelf_i386_sol2.c:271 eelf_i386_vxworks.c:168 eelf_iamcu.c:139 +#: eelf_mipsel_haiku.c:311 eelf_s390.c:115 eelf_x86_64.c:139 +#: eelf_x86_64_cloudabi.c:139 eelf_x86_64_fbsd.c:139 eelf_x86_64_haiku.c:139 +#: eelf_x86_64_sol2.c:271 eh8300elf.c:114 eh8300elf_linux.c:114 +#: eh8300helf.c:114 eh8300helf_linux.c:114 eh8300hnelf.c:114 eh8300self.c:114 +#: eh8300self_linux.c:114 eh8300snelf.c:114 eh8300sxelf.c:114 +#: eh8300sxelf_linux.c:114 eh8300sxnelf.c:114 ehppa64linux.c:114 #: ehppaelf.c:282 ehppalinux.c:282 ehppanbsd.c:282 ehppaobsd.c:282 -#: ei386lynx.c:127 ei386moss.c:127 ei386nto.c:127 em32relf.c:112 -#: em32relf_linux.c:112 em32rlelf.c:112 em32rlelf_linux.c:112 -#: em68hc11elf.c:389 em68hc11elfb.c:389 em68hc12elf.c:389 em68hc12elfb.c:389 -#: em68kelf.c:264 em68kelfnbsd.c:264 emn10300.c:112 ends32belf.c:220 -#: ends32belf16m.c:220 ends32belf_linux.c:220 ends32elf.c:220 -#: ends32elf16m.c:220 ends32elf_linux.c:220 enios2elf.c:275 enios2linux.c:275 -#: epruelf.c:133 escore3_elf.c:134 escore7_elf.c:134 eshelf.c:112 -#: eshelf_fd.c:113 eshelf_linux.c:113 eshelf_nbsd.c:112 eshelf_nto.c:112 -#: eshelf_uclinux.c:112 eshelf_vxworks.c:141 eshlelf.c:112 eshlelf_fd.c:113 -#: eshlelf_linux.c:113 eshlelf_nbsd.c:112 eshlelf_nto.c:112 -#: eshlelf_vxworks.c:141 ev850.c:159 ev850_rh850.c:159 +#: ei386lynx.c:129 ei386moss.c:129 ei386nto.c:129 em32relf.c:114 +#: em32relf_linux.c:114 em32rlelf.c:114 em32rlelf_linux.c:114 +#: em68hc11elf.c:391 em68hc11elfb.c:391 em68hc12elf.c:391 em68hc12elfb.c:391 +#: em68kelf.c:266 em68kelfnbsd.c:266 emn10300.c:114 ends32belf.c:222 +#: ends32belf16m.c:222 ends32belf_linux.c:222 ends32elf.c:222 +#: ends32elf16m.c:222 ends32elf_linux.c:222 enios2elf.c:275 enios2linux.c:275 +#: epruelf.c:135 escore3_elf.c:134 escore7_elf.c:134 eshelf.c:114 +#: eshelf_fd.c:115 eshelf_linux.c:115 eshelf_nbsd.c:114 eshelf_nto.c:114 +#: eshelf_uclinux.c:114 eshelf_vxworks.c:143 eshlelf.c:114 eshlelf_fd.c:115 +#: eshlelf_linux.c:115 eshlelf_nbsd.c:114 eshlelf_nto.c:114 +#: eshlelf_vxworks.c:143 ev850.c:161 ev850_rh850.c:161 msgid "%X%P: .eh_frame/.stab edit: %E\n" msgstr "" @@ -3467,14 +3574,14 @@ msgstr "" #: eaarch64elf32.c:287 eaarch64elf32b.c:287 eaarch64elfb.c:287 #: eaarch64fbsd.c:288 eaarch64fbsdb.c:288 eaarch64haiku.c:288 #: eaarch64linux.c:288 eaarch64linux32.c:288 eaarch64linux32b.c:288 -#: eaarch64linuxb.c:288 earmelf.c:425 earmelf_fbsd.c:425 earmelf_fuchsia.c:426 -#: earmelf_haiku.c:426 earmelf_linux.c:426 earmelf_linux_eabi.c:426 -#: earmelf_linux_fdpiceabi.c:426 earmelf_nacl.c:426 earmelf_nbsd.c:425 -#: earmelf_phoenix.c:426 earmelf_vxworks.c:425 earmelfb.c:425 -#: earmelfb_fbsd.c:425 earmelfb_fuchsia.c:426 earmelfb_linux.c:426 -#: earmelfb_linux_eabi.c:426 earmelfb_linux_fdpiceabi.c:426 -#: earmelfb_nacl.c:426 earmelfb_nbsd.c:425 earmnto.c:425 ecskyelf.c:262 -#: ecskyelf_linux.c:262 +#: eaarch64linuxb.c:288 eaarch64nto.c:288 earmelf.c:425 earmelf_fbsd.c:425 +#: earmelf_fuchsia.c:426 earmelf_haiku.c:426 earmelf_linux.c:426 +#: earmelf_linux_eabi.c:426 earmelf_linux_fdpiceabi.c:426 earmelf_nacl.c:426 +#: earmelf_nbsd.c:425 earmelf_phoenix.c:426 earmelf_vxworks.c:425 +#: earmelfb.c:425 earmelfb_fbsd.c:425 earmelfb_fuchsia.c:426 +#: earmelfb_linux.c:426 earmelfb_linux_eabi.c:426 +#: earmelfb_linux_fdpiceabi.c:426 earmelfb_nacl.c:426 earmelfb_nbsd.c:425 +#: earmnto.c:425 ecskyelf.c:262 ecskyelf_linux.c:262 msgid "%X%P: could not compute sections lists for stub generation: %E\n" msgstr "" @@ -3482,30 +3589,31 @@ msgstr "" #: eaarch64elf32.c:302 eaarch64elf32b.c:302 eaarch64elfb.c:302 #: eaarch64fbsd.c:303 eaarch64fbsdb.c:303 eaarch64haiku.c:303 #: eaarch64linux.c:303 eaarch64linux32.c:303 eaarch64linux32b.c:303 -#: eaarch64linuxb.c:303 earmelf.c:440 earmelf_fbsd.c:440 earmelf_fuchsia.c:441 -#: earmelf_haiku.c:441 earmelf_linux.c:441 earmelf_linux_eabi.c:441 -#: earmelf_linux_fdpiceabi.c:441 earmelf_nacl.c:441 earmelf_nbsd.c:440 -#: earmelf_phoenix.c:441 earmelf_vxworks.c:440 earmelfb.c:440 -#: earmelfb_fbsd.c:440 earmelfb_fuchsia.c:441 earmelfb_linux.c:441 -#: earmelfb_linux_eabi.c:441 earmelfb_linux_fdpiceabi.c:441 -#: earmelfb_nacl.c:441 earmelfb_nbsd.c:440 earmnto.c:440 eavr1.c:131 -#: eavr1.c:195 eavr2.c:131 eavr2.c:195 eavr25.c:131 eavr25.c:195 eavr3.c:131 -#: eavr3.c:195 eavr31.c:131 eavr31.c:195 eavr35.c:131 eavr35.c:195 eavr4.c:131 -#: eavr4.c:195 eavr5.c:131 eavr5.c:195 eavr51.c:131 eavr51.c:195 eavr6.c:131 -#: eavr6.c:195 eavrtiny.c:131 eavrtiny.c:195 eavrxmega1.c:131 eavrxmega1.c:195 -#: eavrxmega2.c:131 eavrxmega2.c:195 eavrxmega3.c:131 eavrxmega3.c:195 -#: eavrxmega4.c:131 eavrxmega4.c:195 eavrxmega5.c:131 eavrxmega5.c:195 -#: eavrxmega6.c:131 eavrxmega6.c:195 eavrxmega7.c:131 eavrxmega7.c:195 -#: eelf32metag.c:273 eelf32metag.c:287 eelf64lppc.c:537 eelf64lppc.c:556 -#: eelf64lppc.c:583 eelf64lppc_fbsd.c:537 eelf64lppc_fbsd.c:556 -#: eelf64lppc_fbsd.c:583 eelf64ppc.c:537 eelf64ppc.c:556 eelf64ppc.c:583 -#: eelf64ppc_fbsd.c:537 eelf64ppc_fbsd.c:556 eelf64ppc_fbsd.c:583 -#: ehppaelf.c:297 ehppaelf.c:312 ehppalinux.c:297 ehppalinux.c:312 -#: ehppanbsd.c:297 ehppanbsd.c:312 ehppaobsd.c:297 ehppaobsd.c:312 -#: em68hc11elf.c:92 em68hc11elf.c:102 em68hc11elf.c:319 em68hc11elfb.c:92 -#: em68hc11elfb.c:102 em68hc11elfb.c:319 em68hc12elf.c:92 em68hc12elf.c:102 -#: em68hc12elf.c:319 em68hc12elfb.c:92 em68hc12elfb.c:102 em68hc12elfb.c:319 -#: enios2elf.c:292 enios2elf.c:305 enios2linux.c:292 enios2linux.c:305 +#: eaarch64linuxb.c:303 eaarch64nto.c:303 earmelf.c:440 earmelf_fbsd.c:440 +#: earmelf_fuchsia.c:441 earmelf_haiku.c:441 earmelf_linux.c:441 +#: earmelf_linux_eabi.c:441 earmelf_linux_fdpiceabi.c:441 earmelf_nacl.c:441 +#: earmelf_nbsd.c:440 earmelf_phoenix.c:441 earmelf_vxworks.c:440 +#: earmelfb.c:440 earmelfb_fbsd.c:440 earmelfb_fuchsia.c:441 +#: earmelfb_linux.c:441 earmelfb_linux_eabi.c:441 +#: earmelfb_linux_fdpiceabi.c:441 earmelfb_nacl.c:441 earmelfb_nbsd.c:440 +#: earmnto.c:440 eavr1.c:131 eavr1.c:195 eavr2.c:131 eavr2.c:195 eavr25.c:131 +#: eavr25.c:195 eavr3.c:131 eavr3.c:195 eavr31.c:131 eavr31.c:195 eavr35.c:131 +#: eavr35.c:195 eavr4.c:131 eavr4.c:195 eavr5.c:131 eavr5.c:195 eavr51.c:131 +#: eavr51.c:195 eavr6.c:131 eavr6.c:195 eavrtiny.c:131 eavrtiny.c:195 +#: eavrxmega1.c:131 eavrxmega1.c:195 eavrxmega2.c:131 eavrxmega2.c:195 +#: eavrxmega3.c:131 eavrxmega3.c:195 eavrxmega4.c:131 eavrxmega4.c:195 +#: eavrxmega5.c:131 eavrxmega5.c:195 eavrxmega6.c:131 eavrxmega6.c:195 +#: eavrxmega7.c:131 eavrxmega7.c:195 eelf32metag.c:273 eelf32metag.c:287 +#: eelf64lppc.c:537 eelf64lppc.c:556 eelf64lppc.c:583 eelf64lppc_fbsd.c:537 +#: eelf64lppc_fbsd.c:556 eelf64lppc_fbsd.c:583 eelf64ppc.c:537 eelf64ppc.c:556 +#: eelf64ppc.c:583 eelf64ppc_fbsd.c:537 eelf64ppc_fbsd.c:556 +#: eelf64ppc_fbsd.c:583 ehppaelf.c:297 ehppaelf.c:312 ehppalinux.c:297 +#: ehppalinux.c:312 ehppanbsd.c:297 ehppanbsd.c:312 ehppaobsd.c:297 +#: ehppaobsd.c:312 em68hc11elf.c:92 em68hc11elf.c:102 em68hc11elf.c:319 +#: em68hc11elfb.c:92 em68hc11elfb.c:102 em68hc11elfb.c:319 em68hc12elf.c:92 +#: em68hc12elf.c:102 em68hc12elf.c:319 em68hc12elfb.c:92 em68hc12elfb.c:102 +#: em68hc12elfb.c:319 enios2elf.c:292 enios2elf.c:305 enios2linux.c:292 +#: enios2linux.c:305 msgid "%X%P: can not size stub section: %E\n" msgstr "" @@ -3513,22 +3621,22 @@ msgstr "" #: eaarch64elf32.c:321 eaarch64elf32b.c:321 eaarch64elfb.c:321 #: eaarch64fbsd.c:322 eaarch64fbsdb.c:322 eaarch64haiku.c:322 #: eaarch64linux.c:322 eaarch64linux32.c:322 eaarch64linux32b.c:322 -#: eaarch64linuxb.c:322 eaix5ppc.c:1165 eaix5rs6.c:1165 eaixppc.c:1165 -#: eaixrs6.c:1165 earmelf.c:474 earmelf_fbsd.c:474 earmelf_fuchsia.c:475 -#: earmelf_haiku.c:475 earmelf_linux.c:475 earmelf_linux_eabi.c:475 -#: earmelf_linux_fdpiceabi.c:475 earmelf_nacl.c:475 earmelf_nbsd.c:474 -#: earmelf_phoenix.c:475 earmelf_vxworks.c:474 earmelfb.c:474 -#: earmelfb_fbsd.c:474 earmelfb_fuchsia.c:475 earmelfb_linux.c:475 -#: earmelfb_linux_eabi.c:475 earmelfb_linux_fdpiceabi.c:475 -#: earmelfb_nacl.c:475 earmelfb_nbsd.c:474 earmnto.c:474 eavr1.c:204 -#: eavr2.c:204 eavr25.c:204 eavr3.c:204 eavr31.c:204 eavr35.c:204 eavr4.c:204 -#: eavr5.c:204 eavr51.c:204 eavr6.c:204 eavrtiny.c:204 eavrxmega1.c:204 -#: eavrxmega2.c:204 eavrxmega3.c:204 eavrxmega4.c:204 eavrxmega5.c:204 -#: eavrxmega6.c:204 eavrxmega7.c:204 eelf32metag.c:302 eelf64lppc.c:633 -#: eelf64lppc_fbsd.c:633 eelf64ppc.c:633 eelf64ppc_fbsd.c:633 ehppaelf.c:334 -#: ehppalinux.c:334 ehppanbsd.c:334 ehppaobsd.c:334 em68hc11elf.c:323 -#: em68hc11elfb.c:323 em68hc12elf.c:323 em68hc12elfb.c:323 enios2elf.c:320 -#: enios2linux.c:320 eppcmacos.c:1165 +#: eaarch64linuxb.c:322 eaarch64nto.c:322 eaix5ppc.c:1165 eaix5rs6.c:1165 +#: eaixppc.c:1165 eaixrs6.c:1165 earmelf.c:474 earmelf_fbsd.c:474 +#: earmelf_fuchsia.c:475 earmelf_haiku.c:475 earmelf_linux.c:475 +#: earmelf_linux_eabi.c:475 earmelf_linux_fdpiceabi.c:475 earmelf_nacl.c:475 +#: earmelf_nbsd.c:474 earmelf_phoenix.c:475 earmelf_vxworks.c:474 +#: earmelfb.c:474 earmelfb_fbsd.c:474 earmelfb_fuchsia.c:475 +#: earmelfb_linux.c:475 earmelfb_linux_eabi.c:475 +#: earmelfb_linux_fdpiceabi.c:475 earmelfb_nacl.c:475 earmelfb_nbsd.c:474 +#: earmnto.c:474 eavr1.c:204 eavr2.c:204 eavr25.c:204 eavr3.c:204 eavr31.c:204 +#: eavr35.c:204 eavr4.c:204 eavr5.c:204 eavr51.c:204 eavr6.c:204 +#: eavrtiny.c:204 eavrxmega1.c:204 eavrxmega2.c:204 eavrxmega3.c:204 +#: eavrxmega4.c:204 eavrxmega5.c:204 eavrxmega6.c:204 eavrxmega7.c:204 +#: eelf32metag.c:302 eelf64lppc.c:633 eelf64lppc_fbsd.c:633 eelf64ppc.c:633 +#: eelf64ppc_fbsd.c:633 ehppaelf.c:334 ehppalinux.c:334 ehppanbsd.c:334 +#: ehppaobsd.c:334 em68hc11elf.c:323 em68hc11elfb.c:323 em68hc12elf.c:323 +#: em68hc12elfb.c:323 enios2elf.c:320 enios2linux.c:320 eppcmacos.c:1165 msgid "%X%P: can not build stubs: %E\n" msgstr "" @@ -3561,25 +3669,25 @@ msgstr "" #: eaarch64elf32.c:339 eaarch64elf32b.c:339 eaarch64elfb.c:339 #: eaarch64fbsd.c:340 eaarch64fbsdb.c:340 eaarch64haiku.c:340 #: eaarch64linux.c:340 eaarch64linux32.c:340 eaarch64linux32b.c:340 -#: eaarch64linuxb.c:340 earm_wince_pe.c:1515 earmelf.c:543 earmelf_fbsd.c:543 -#: earmelf_fuchsia.c:544 earmelf_haiku.c:544 earmelf_linux.c:544 -#: earmelf_linux_eabi.c:544 earmelf_linux_fdpiceabi.c:544 earmelf_nacl.c:544 -#: earmelf_nbsd.c:543 earmelf_phoenix.c:544 earmelf_vxworks.c:543 -#: earmelfb.c:543 earmelfb_fbsd.c:543 earmelfb_fuchsia.c:544 -#: earmelfb_linux.c:544 earmelfb_linux_eabi.c:544 +#: eaarch64linuxb.c:340 eaarch64nto.c:340 earm_wince_pe.c:1601 earmelf.c:543 +#: earmelf_fbsd.c:543 earmelf_fuchsia.c:544 earmelf_haiku.c:544 +#: earmelf_linux.c:544 earmelf_linux_eabi.c:544 earmelf_linux_fdpiceabi.c:544 +#: earmelf_nacl.c:544 earmelf_nbsd.c:543 earmelf_phoenix.c:544 +#: earmelf_vxworks.c:543 earmelfb.c:543 earmelfb_fbsd.c:543 +#: earmelfb_fuchsia.c:544 earmelfb_linux.c:544 earmelfb_linux_eabi.c:544 #: earmelfb_linux_fdpiceabi.c:544 earmelfb_nacl.c:544 earmelfb_nbsd.c:543 -#: earmnto.c:543 earmpe.c:1515 eavr1.c:144 eavr2.c:144 eavr25.c:144 +#: earmnto.c:543 earmpe.c:1601 eavr1.c:144 eavr2.c:144 eavr25.c:144 #: eavr3.c:144 eavr31.c:144 eavr35.c:144 eavr4.c:144 eavr5.c:144 eavr51.c:144 #: eavr6.c:144 eavrtiny.c:144 eavrxmega1.c:144 eavrxmega2.c:144 #: eavrxmega3.c:144 eavrxmega4.c:144 eavrxmega5.c:144 eavrxmega6.c:144 -#: eavrxmega7.c:144 eelf32briscv.c:126 eelf32briscv_ilp32.c:126 -#: eelf32briscv_ilp32f.c:126 eelf32loongarch.c:108 eelf32lriscv.c:126 -#: eelf32lriscv_ilp32.c:126 eelf32lriscv_ilp32f.c:126 eelf64briscv.c:126 -#: eelf64briscv_lp64.c:126 eelf64briscv_lp64f.c:126 eelf64loongarch.c:108 -#: eelf64lriscv.c:126 eelf64lriscv_lp64.c:126 eelf64lriscv_lp64f.c:126 -#: ei386pe.c:1515 ei386pe_posix.c:1515 emcorepe.c:1515 ends32belf.c:76 +#: eavrxmega7.c:144 eelf32briscv.c:127 eelf32briscv_ilp32.c:127 +#: eelf32briscv_ilp32f.c:127 eelf32loongarch.c:111 eelf32lriscv.c:127 +#: eelf32lriscv_ilp32.c:127 eelf32lriscv_ilp32f.c:127 eelf64briscv.c:127 +#: eelf64briscv_lp64.c:127 eelf64briscv_lp64f.c:127 eelf64loongarch.c:111 +#: eelf64lriscv.c:127 eelf64lriscv_lp64.c:127 eelf64lriscv_lp64f.c:127 +#: ei386pe.c:1601 ei386pe_posix.c:1601 emcorepe.c:1601 ends32belf.c:76 #: ends32belf16m.c:76 ends32belf_linux.c:76 ends32elf.c:76 ends32elf16m.c:76 -#: ends32elf_linux.c:76 escore3_elf.c:81 escore7_elf.c:81 eshpe.c:1515 +#: ends32elf_linux.c:76 escore3_elf.c:81 escore7_elf.c:81 eshpe.c:1601 #: ev850.c:93 ev850_rh850.c:93 msgid "%F%P: error: cannot change output format whilst linking %s binaries\n" msgstr "" @@ -3588,76 +3696,78 @@ msgstr "" #: eaarch64elf32.c:591 eaarch64elf32b.c:591 eaarch64elfb.c:591 #: eaarch64fbsd.c:592 eaarch64fbsdb.c:592 eaarch64haiku.c:592 #: eaarch64linux.c:592 eaarch64linux32.c:592 eaarch64linux32b.c:592 -#: eaarch64linuxb.c:592 earcelf.c:223 earclinux.c:279 earclinux_nps.c:279 -#: earcv2elf.c:207 earcv2elfx.c:207 earmelf.c:831 earmelf_fbsd.c:831 -#: earmelf_fuchsia.c:832 earmelf_haiku.c:832 earmelf_linux.c:832 -#: earmelf_linux_eabi.c:832 earmelf_linux_fdpiceabi.c:832 earmelf_nacl.c:832 -#: earmelf_nbsd.c:831 earmelf_phoenix.c:832 earmelf_vxworks.c:867 -#: earmelfb.c:831 earmelfb_fbsd.c:831 earmelfb_fuchsia.c:832 -#: earmelfb_linux.c:832 earmelfb_linux_eabi.c:832 +#: eaarch64linuxb.c:592 eaarch64nto.c:760 earcelf.c:225 earclinux.c:281 +#: earclinux_nps.c:281 earcv2elf.c:209 earcv2elfx.c:209 earmelf.c:831 +#: earmelf_fbsd.c:831 earmelf_fuchsia.c:832 earmelf_haiku.c:832 +#: earmelf_linux.c:832 earmelf_linux_eabi.c:832 earmelf_linux_fdpiceabi.c:832 +#: earmelf_nacl.c:832 earmelf_nbsd.c:831 earmelf_phoenix.c:832 +#: earmelf_vxworks.c:867 earmelfb.c:831 earmelfb_fbsd.c:831 +#: earmelfb_fuchsia.c:832 earmelfb_linux.c:832 earmelfb_linux_eabi.c:832 #: earmelfb_linux_fdpiceabi.c:832 earmelfb_nacl.c:832 earmelfb_nbsd.c:831 -#: earmnto.c:806 eavr1.c:431 eavr2.c:431 eavr25.c:431 eavr3.c:431 eavr31.c:431 -#: eavr35.c:431 eavr4.c:431 eavr5.c:431 eavr51.c:431 eavr6.c:431 -#: eavrtiny.c:431 eavrxmega1.c:431 eavrxmega2.c:431 eavrxmega3.c:431 -#: eavrxmega4.c:431 eavrxmega5.c:431 eavrxmega6.c:431 eavrxmega7.c:431 -#: ecriself.c:222 ecrislinux.c:254 ecskyelf.c:466 ecskyelf_linux.c:523 -#: ed10velf.c:207 eelf32_sparc.c:279 eelf32_sparc_sol2.c:411 -#: eelf32_sparc_vxworks.c:316 eelf32_spu.c:940 eelf32_tic6x_be.c:390 -#: eelf32_tic6x_elf_be.c:390 eelf32_tic6x_elf_le.c:390 eelf32_tic6x_le.c:390 -#: eelf32_tic6x_linux_be.c:390 eelf32_tic6x_linux_le.c:390 -#: eelf32_x86_64.c:5414 eelf32am33lin.c:253 eelf32b4300.c:494 eelf32bfin.c:271 -#: eelf32bfinfd.c:296 eelf32bmip.c:494 eelf32bmipn32.c:508 eelf32briscv.c:347 -#: eelf32briscv_ilp32.c:347 eelf32briscv_ilp32f.c:347 eelf32bsmip.c:508 -#: eelf32btsmip.c:494 eelf32btsmip_fbsd.c:494 eelf32btsmipn32.c:494 -#: eelf32btsmipn32_fbsd.c:494 eelf32cr16.c:357 eelf32crx.c:244 -#: eelf32ebmip.c:494 eelf32ebmipvxworks.c:529 eelf32elmip.c:494 -#: eelf32elmipvxworks.c:529 eelf32epiphany.c:222 eelf32epiphany_4x4.c:209 -#: eelf32frvfd.c:278 eelf32ip2k.c:222 eelf32l4300.c:494 eelf32lm32.c:222 -#: eelf32lm32fd.c:278 eelf32lmip.c:494 eelf32loongarch.c:329 eelf32lppc.c:542 -#: eelf32lppclinux.c:542 eelf32lppcnto.c:542 eelf32lppcsim.c:542 -#: eelf32lr5900.c:463 eelf32lr5900n32.c:462 eelf32lriscv.c:347 -#: eelf32lriscv_ilp32.c:347 eelf32lriscv_ilp32f.c:347 eelf32lsmip.c:494 -#: eelf32ltsmip.c:494 eelf32ltsmip_fbsd.c:494 eelf32ltsmipn32.c:494 -#: eelf32ltsmipn32_fbsd.c:494 eelf32m32c.c:233 eelf32mb_linux.c:279 -#: eelf32mbel_linux.c:279 eelf32mcore.c:228 eelf32mep.c:207 eelf32metag.c:528 -#: eelf32microblaze.c:207 eelf32microblazeel.c:207 eelf32mipswindiss.c:437 -#: eelf32moxie.c:222 eelf32or1k.c:223 eelf32or1k_linux.c:279 eelf32ppc.c:542 -#: eelf32ppc_fbsd.c:542 eelf32ppchaiku.c:542 eelf32ppclinux.c:542 -#: eelf32ppcnto.c:542 eelf32ppcsim.c:542 eelf32ppcvxworks.c:516 -#: eelf32ppcwindiss.c:542 eelf32rl78.c:222 eelf32rx.c:250 eelf32rx_linux.c:235 -#: eelf32tilegx.c:279 eelf32tilegx_be.c:279 eelf32tilepro.c:279 -#: eelf32vax.c:253 eelf32visium.c:207 eelf32xstormy16.c:218 -#: eelf32xtensa.c:2192 eelf32z80.c:234 eelf64_aix.c:253 eelf64_ia64.c:310 -#: eelf64_ia64_fbsd.c:310 eelf64_s390.c:349 eelf64_sparc.c:279 -#: eelf64_sparc_fbsd.c:279 eelf64_sparc_sol2.c:411 eelf64alpha.c:372 -#: eelf64alpha_fbsd.c:372 eelf64alpha_nbsd.c:372 eelf64bmip.c:508 -#: eelf64bpf.c:207 eelf64briscv.c:347 eelf64briscv_lp64.c:347 -#: eelf64briscv_lp64f.c:347 eelf64btsmip.c:494 eelf64btsmip_fbsd.c:494 -#: eelf64hppa.c:223 eelf64loongarch.c:329 eelf64lppc.c:991 -#: eelf64lppc_fbsd.c:991 eelf64lriscv.c:347 eelf64lriscv_lp64.c:347 -#: eelf64lriscv_lp64f.c:347 eelf64ltsmip.c:494 eelf64ltsmip_fbsd.c:494 -#: eelf64mmix.c:364 eelf64ppc.c:991 eelf64ppc_fbsd.c:991 eelf64rdos.c:304 -#: eelf64tilegx.c:279 eelf64tilegx_be.c:279 eelf_i386.c:5036 -#: eelf_i386_be.c:277 eelf_i386_fbsd.c:313 eelf_i386_haiku.c:313 -#: eelf_i386_ldso.c:288 eelf_i386_sol2.c:445 eelf_i386_vxworks.c:340 -#: eelf_iamcu.c:313 eelf_mipsel_haiku.c:494 eelf_s390.c:279 eelf_x86_64.c:5414 -#: eelf_x86_64_cloudabi.c:313 eelf_x86_64_fbsd.c:313 eelf_x86_64_haiku.c:313 -#: eelf_x86_64_sol2.c:445 eh8300elf.c:222 eh8300elf_linux.c:222 -#: eh8300helf.c:222 eh8300helf_linux.c:222 eh8300hnelf.c:222 eh8300self.c:222 -#: eh8300self_linux.c:222 eh8300snelf.c:222 eh8300sxelf.c:222 -#: eh8300sxelf_linux.c:222 eh8300sxnelf.c:222 ehppa64linux.c:253 -#: ehppaelf.c:490 ehppalinux.c:562 ehppanbsd.c:562 ehppaobsd.c:562 -#: ei386lynx.c:268 ei386moss.c:268 ei386nto.c:268 em32relf.c:222 -#: em32relf_linux.c:278 em32rlelf.c:222 em32rlelf_linux.c:278 -#: em68hc11elf.c:492 em68hc11elfb.c:492 em68hc12elf.c:492 em68hc12elfb.c:492 -#: em68kelf.c:436 em68kelfnbsd.c:436 emn10300.c:253 ends32belf.c:343 -#: ends32belf16m.c:343 ends32belf_linux.c:366 ends32elf.c:343 -#: ends32elf16m.c:343 ends32elf_linux.c:366 enios2elf.c:509 enios2linux.c:540 -#: epruelf.c:228 escore3_elf.c:275 escore7_elf.c:275 eshelf.c:253 -#: eshelf_fd.c:279 eshelf_linux.c:279 eshelf_nbsd.c:253 eshelf_nto.c:253 -#: eshelf_uclinux.c:253 eshelf_vxworks.c:290 eshlelf.c:253 eshlelf_fd.c:279 -#: eshlelf_linux.c:279 eshlelf_nbsd.c:253 eshlelf_nto.c:253 -#: eshlelf_vxworks.c:290 ev850.c:254 ev850_rh850.c:254 +#: earmnto.c:806 eavr1.c:433 eavr2.c:433 eavr25.c:433 eavr3.c:433 eavr31.c:433 +#: eavr35.c:433 eavr4.c:433 eavr5.c:433 eavr51.c:433 eavr6.c:433 +#: eavrtiny.c:433 eavrxmega1.c:433 eavrxmega2.c:433 eavrxmega3.c:433 +#: eavrxmega4.c:433 eavrxmega5.c:433 eavrxmega6.c:433 eavrxmega7.c:433 +#: ecriself.c:224 ecrislinux.c:256 ecskyelf.c:468 ecskyelf_linux.c:525 +#: ed10velf.c:209 eelf32_sparc.c:281 eelf32_sparc_sol2.c:413 +#: eelf32_sparc_vxworks.c:318 eelf32_spu.c:942 eelf32_tic6x_be.c:392 +#: eelf32_tic6x_elf_be.c:392 eelf32_tic6x_elf_le.c:392 eelf32_tic6x_le.c:392 +#: eelf32_tic6x_linux_be.c:392 eelf32_tic6x_linux_le.c:392 +#: eelf32_x86_64.c:5416 eelf32am33lin.c:255 eelf32b4300.c:496 eelf32bfin.c:273 +#: eelf32bfinfd.c:298 eelf32bmip.c:496 eelf32bmipn32.c:510 eelf32briscv.c:363 +#: eelf32briscv_ilp32.c:363 eelf32briscv_ilp32f.c:363 eelf32bsmip.c:510 +#: eelf32btsmip.c:496 eelf32btsmip_fbsd.c:496 eelf32btsmipn32.c:496 +#: eelf32btsmipn32_fbsd.c:496 eelf32cr16.c:359 eelf32crx.c:246 +#: eelf32ebmip.c:496 eelf32ebmipvxworks.c:531 eelf32elmip.c:496 +#: eelf32elmipvxworks.c:531 eelf32epiphany.c:224 eelf32epiphany_4x4.c:211 +#: eelf32frvfd.c:280 eelf32ip2k.c:224 eelf32kvx.c:521 eelf32l4300.c:496 +#: eelf32lm32.c:224 eelf32lm32fd.c:280 eelf32lmip.c:496 eelf32loongarch.c:334 +#: eelf32lppc.c:544 eelf32lppclinux.c:544 eelf32lppcnto.c:544 +#: eelf32lppcsim.c:544 eelf32lr5900.c:465 eelf32lr5900n32.c:464 +#: eelf32lriscv.c:363 eelf32lriscv_ilp32.c:363 eelf32lriscv_ilp32f.c:363 +#: eelf32lsmip.c:496 eelf32ltsmip.c:496 eelf32ltsmip_fbsd.c:496 +#: eelf32ltsmipn32.c:496 eelf32ltsmipn32_fbsd.c:496 eelf32m32c.c:235 +#: eelf32mb_linux.c:281 eelf32mbel_linux.c:281 eelf32mcore.c:230 +#: eelf32mep.c:209 eelf32metag.c:530 eelf32microblaze.c:209 +#: eelf32microblazeel.c:209 eelf32mipswindiss.c:439 eelf32moxie.c:224 +#: eelf32or1k.c:225 eelf32or1k_linux.c:281 eelf32ppc.c:544 +#: eelf32ppc_fbsd.c:544 eelf32ppchaiku.c:544 eelf32ppclinux.c:544 +#: eelf32ppcnto.c:544 eelf32ppcsim.c:544 eelf32ppcvxworks.c:518 +#: eelf32ppcwindiss.c:544 eelf32rl78.c:224 eelf32rx.c:252 eelf32rx_linux.c:237 +#: eelf32tilegx.c:281 eelf32tilegx_be.c:281 eelf32tilepro.c:281 +#: eelf32vax.c:255 eelf32visium.c:209 eelf32xstormy16.c:220 +#: eelf32xtensa.c:2192 eelf32z80.c:236 eelf64_aix.c:255 eelf64_ia64.c:312 +#: eelf64_ia64_fbsd.c:312 eelf64_s390.c:351 eelf64_sparc.c:281 +#: eelf64_sparc_fbsd.c:281 eelf64_sparc_sol2.c:413 eelf64alpha.c:374 +#: eelf64alpha_fbsd.c:374 eelf64alpha_nbsd.c:374 eelf64bmip.c:510 +#: eelf64bpf.c:209 eelf64briscv.c:363 eelf64briscv_lp64.c:363 +#: eelf64briscv_lp64f.c:363 eelf64btsmip.c:496 eelf64btsmip_fbsd.c:496 +#: eelf64hppa.c:225 eelf64kvx.c:521 eelf64kvx_linux.c:543 +#: eelf64loongarch.c:334 eelf64lppc.c:993 eelf64lppc_fbsd.c:993 +#: eelf64lriscv.c:363 eelf64lriscv_lp64.c:363 eelf64lriscv_lp64f.c:363 +#: eelf64ltsmip.c:496 eelf64ltsmip_fbsd.c:496 eelf64mmix.c:366 eelf64ppc.c:993 +#: eelf64ppc_fbsd.c:993 eelf64rdos.c:306 eelf64tilegx.c:281 +#: eelf64tilegx_be.c:281 eelf_i386.c:5038 eelf_i386_be.c:279 +#: eelf_i386_fbsd.c:315 eelf_i386_haiku.c:315 eelf_i386_ldso.c:290 +#: eelf_i386_sol2.c:447 eelf_i386_vxworks.c:342 eelf_iamcu.c:315 +#: eelf_mipsel_haiku.c:496 eelf_s390.c:281 eelf_x86_64.c:5416 +#: eelf_x86_64_cloudabi.c:315 eelf_x86_64_fbsd.c:315 eelf_x86_64_haiku.c:315 +#: eelf_x86_64_sol2.c:447 eh8300elf.c:224 eh8300elf_linux.c:224 +#: eh8300helf.c:224 eh8300helf_linux.c:224 eh8300hnelf.c:224 eh8300self.c:224 +#: eh8300self_linux.c:224 eh8300snelf.c:224 eh8300sxelf.c:224 +#: eh8300sxelf_linux.c:224 eh8300sxnelf.c:224 ehppa64linux.c:255 +#: ehppaelf.c:492 ehppalinux.c:564 ehppanbsd.c:564 ehppaobsd.c:564 +#: ei386lynx.c:270 ei386moss.c:270 ei386nto.c:270 em32relf.c:224 +#: em32relf_linux.c:280 em32rlelf.c:224 em32rlelf_linux.c:280 +#: em68hc11elf.c:494 em68hc11elfb.c:494 em68hc12elf.c:494 em68hc12elfb.c:494 +#: em68kelf.c:438 em68kelfnbsd.c:438 emn10300.c:255 ends32belf.c:345 +#: ends32belf16m.c:345 ends32belf_linux.c:368 ends32elf.c:345 +#: ends32elf16m.c:345 ends32elf_linux.c:368 enios2elf.c:511 enios2linux.c:542 +#: epruelf.c:230 escore3_elf.c:275 escore7_elf.c:275 eshelf.c:255 +#: eshelf_fd.c:281 eshelf_linux.c:281 eshelf_nbsd.c:255 eshelf_nto.c:255 +#: eshelf_uclinux.c:255 eshelf_vxworks.c:292 eshlelf.c:255 eshlelf_fd.c:281 +#: eshlelf_linux.c:281 eshlelf_nbsd.c:255 eshlelf_nto.c:255 +#: eshlelf_vxworks.c:292 ev850.c:256 ev850_rh850.c:256 msgid "" "%F%P: --compress-debug-sections=zstd: ld is not built with zstd support\n" msgstr "" @@ -3666,76 +3776,78 @@ msgstr "" #: eaarch64elf32.c:596 eaarch64elf32b.c:596 eaarch64elfb.c:596 #: eaarch64fbsd.c:597 eaarch64fbsdb.c:597 eaarch64haiku.c:597 #: eaarch64linux.c:597 eaarch64linux32.c:597 eaarch64linux32b.c:597 -#: eaarch64linuxb.c:597 earcelf.c:228 earclinux.c:284 earclinux_nps.c:284 -#: earcv2elf.c:212 earcv2elfx.c:212 earmelf.c:836 earmelf_fbsd.c:836 -#: earmelf_fuchsia.c:837 earmelf_haiku.c:837 earmelf_linux.c:837 -#: earmelf_linux_eabi.c:837 earmelf_linux_fdpiceabi.c:837 earmelf_nacl.c:837 -#: earmelf_nbsd.c:836 earmelf_phoenix.c:837 earmelf_vxworks.c:872 -#: earmelfb.c:836 earmelfb_fbsd.c:836 earmelfb_fuchsia.c:837 -#: earmelfb_linux.c:837 earmelfb_linux_eabi.c:837 +#: eaarch64linuxb.c:597 eaarch64nto.c:765 earcelf.c:230 earclinux.c:286 +#: earclinux_nps.c:286 earcv2elf.c:214 earcv2elfx.c:214 earmelf.c:836 +#: earmelf_fbsd.c:836 earmelf_fuchsia.c:837 earmelf_haiku.c:837 +#: earmelf_linux.c:837 earmelf_linux_eabi.c:837 earmelf_linux_fdpiceabi.c:837 +#: earmelf_nacl.c:837 earmelf_nbsd.c:836 earmelf_phoenix.c:837 +#: earmelf_vxworks.c:872 earmelfb.c:836 earmelfb_fbsd.c:836 +#: earmelfb_fuchsia.c:837 earmelfb_linux.c:837 earmelfb_linux_eabi.c:837 #: earmelfb_linux_fdpiceabi.c:837 earmelfb_nacl.c:837 earmelfb_nbsd.c:836 -#: earmnto.c:811 eavr1.c:436 eavr2.c:436 eavr25.c:436 eavr3.c:436 eavr31.c:436 -#: eavr35.c:436 eavr4.c:436 eavr5.c:436 eavr51.c:436 eavr6.c:436 -#: eavrtiny.c:436 eavrxmega1.c:436 eavrxmega2.c:436 eavrxmega3.c:436 -#: eavrxmega4.c:436 eavrxmega5.c:436 eavrxmega6.c:436 eavrxmega7.c:436 -#: ecriself.c:227 ecrislinux.c:259 ecskyelf.c:471 ecskyelf_linux.c:528 -#: ed10velf.c:212 eelf32_sparc.c:284 eelf32_sparc_sol2.c:416 -#: eelf32_sparc_vxworks.c:321 eelf32_spu.c:945 eelf32_tic6x_be.c:395 -#: eelf32_tic6x_elf_be.c:395 eelf32_tic6x_elf_le.c:395 eelf32_tic6x_le.c:395 -#: eelf32_tic6x_linux_be.c:395 eelf32_tic6x_linux_le.c:395 -#: eelf32_x86_64.c:5419 eelf32am33lin.c:258 eelf32b4300.c:499 eelf32bfin.c:276 -#: eelf32bfinfd.c:301 eelf32bmip.c:499 eelf32bmipn32.c:513 eelf32briscv.c:352 -#: eelf32briscv_ilp32.c:352 eelf32briscv_ilp32f.c:352 eelf32bsmip.c:513 -#: eelf32btsmip.c:499 eelf32btsmip_fbsd.c:499 eelf32btsmipn32.c:499 -#: eelf32btsmipn32_fbsd.c:499 eelf32cr16.c:362 eelf32crx.c:249 -#: eelf32ebmip.c:499 eelf32ebmipvxworks.c:534 eelf32elmip.c:499 -#: eelf32elmipvxworks.c:534 eelf32epiphany.c:227 eelf32epiphany_4x4.c:214 -#: eelf32frvfd.c:283 eelf32ip2k.c:227 eelf32l4300.c:499 eelf32lm32.c:227 -#: eelf32lm32fd.c:283 eelf32lmip.c:499 eelf32loongarch.c:334 eelf32lppc.c:547 -#: eelf32lppclinux.c:547 eelf32lppcnto.c:547 eelf32lppcsim.c:547 -#: eelf32lr5900.c:468 eelf32lr5900n32.c:467 eelf32lriscv.c:352 -#: eelf32lriscv_ilp32.c:352 eelf32lriscv_ilp32f.c:352 eelf32lsmip.c:499 -#: eelf32ltsmip.c:499 eelf32ltsmip_fbsd.c:499 eelf32ltsmipn32.c:499 -#: eelf32ltsmipn32_fbsd.c:499 eelf32m32c.c:238 eelf32mb_linux.c:284 -#: eelf32mbel_linux.c:284 eelf32mcore.c:233 eelf32mep.c:212 eelf32metag.c:533 -#: eelf32microblaze.c:212 eelf32microblazeel.c:212 eelf32mipswindiss.c:442 -#: eelf32moxie.c:227 eelf32or1k.c:228 eelf32or1k_linux.c:284 eelf32ppc.c:547 -#: eelf32ppc_fbsd.c:547 eelf32ppchaiku.c:547 eelf32ppclinux.c:547 -#: eelf32ppcnto.c:547 eelf32ppcsim.c:547 eelf32ppcvxworks.c:521 -#: eelf32ppcwindiss.c:547 eelf32rl78.c:227 eelf32rx.c:255 eelf32rx_linux.c:240 -#: eelf32tilegx.c:284 eelf32tilegx_be.c:284 eelf32tilepro.c:284 -#: eelf32vax.c:258 eelf32visium.c:212 eelf32xstormy16.c:223 -#: eelf32xtensa.c:2197 eelf32z80.c:239 eelf64_aix.c:258 eelf64_ia64.c:315 -#: eelf64_ia64_fbsd.c:315 eelf64_s390.c:354 eelf64_sparc.c:284 -#: eelf64_sparc_fbsd.c:284 eelf64_sparc_sol2.c:416 eelf64alpha.c:377 -#: eelf64alpha_fbsd.c:377 eelf64alpha_nbsd.c:377 eelf64bmip.c:513 -#: eelf64bpf.c:212 eelf64briscv.c:352 eelf64briscv_lp64.c:352 -#: eelf64briscv_lp64f.c:352 eelf64btsmip.c:499 eelf64btsmip_fbsd.c:499 -#: eelf64hppa.c:228 eelf64loongarch.c:334 eelf64lppc.c:996 -#: eelf64lppc_fbsd.c:996 eelf64lriscv.c:352 eelf64lriscv_lp64.c:352 -#: eelf64lriscv_lp64f.c:352 eelf64ltsmip.c:499 eelf64ltsmip_fbsd.c:499 -#: eelf64mmix.c:369 eelf64ppc.c:996 eelf64ppc_fbsd.c:996 eelf64rdos.c:309 -#: eelf64tilegx.c:284 eelf64tilegx_be.c:284 eelf_i386.c:5041 -#: eelf_i386_be.c:282 eelf_i386_fbsd.c:318 eelf_i386_haiku.c:318 -#: eelf_i386_ldso.c:293 eelf_i386_sol2.c:450 eelf_i386_vxworks.c:345 -#: eelf_iamcu.c:318 eelf_mipsel_haiku.c:499 eelf_s390.c:284 eelf_x86_64.c:5419 -#: eelf_x86_64_cloudabi.c:318 eelf_x86_64_fbsd.c:318 eelf_x86_64_haiku.c:318 -#: eelf_x86_64_sol2.c:450 eh8300elf.c:227 eh8300elf_linux.c:227 -#: eh8300helf.c:227 eh8300helf_linux.c:227 eh8300hnelf.c:227 eh8300self.c:227 -#: eh8300self_linux.c:227 eh8300snelf.c:227 eh8300sxelf.c:227 -#: eh8300sxelf_linux.c:227 eh8300sxnelf.c:227 ehppa64linux.c:258 -#: ehppaelf.c:495 ehppalinux.c:567 ehppanbsd.c:567 ehppaobsd.c:567 -#: ei386lynx.c:273 ei386moss.c:273 ei386nto.c:273 em32relf.c:227 -#: em32relf_linux.c:283 em32rlelf.c:227 em32rlelf_linux.c:283 -#: em68hc11elf.c:497 em68hc11elfb.c:497 em68hc12elf.c:497 em68hc12elfb.c:497 -#: em68kelf.c:441 em68kelfnbsd.c:441 emn10300.c:258 ends32belf.c:348 -#: ends32belf16m.c:348 ends32belf_linux.c:371 ends32elf.c:348 -#: ends32elf16m.c:348 ends32elf_linux.c:371 enios2elf.c:514 enios2linux.c:545 -#: epruelf.c:233 escore3_elf.c:280 escore7_elf.c:280 eshelf.c:258 -#: eshelf_fd.c:284 eshelf_linux.c:284 eshelf_nbsd.c:258 eshelf_nto.c:258 -#: eshelf_uclinux.c:258 eshelf_vxworks.c:295 eshlelf.c:258 eshlelf_fd.c:284 -#: eshlelf_linux.c:284 eshlelf_nbsd.c:258 eshlelf_nto.c:258 -#: eshlelf_vxworks.c:295 ev850.c:259 ev850_rh850.c:259 +#: earmnto.c:811 eavr1.c:438 eavr2.c:438 eavr25.c:438 eavr3.c:438 eavr31.c:438 +#: eavr35.c:438 eavr4.c:438 eavr5.c:438 eavr51.c:438 eavr6.c:438 +#: eavrtiny.c:438 eavrxmega1.c:438 eavrxmega2.c:438 eavrxmega3.c:438 +#: eavrxmega4.c:438 eavrxmega5.c:438 eavrxmega6.c:438 eavrxmega7.c:438 +#: ecriself.c:229 ecrislinux.c:261 ecskyelf.c:473 ecskyelf_linux.c:530 +#: ed10velf.c:214 eelf32_sparc.c:286 eelf32_sparc_sol2.c:418 +#: eelf32_sparc_vxworks.c:323 eelf32_spu.c:947 eelf32_tic6x_be.c:397 +#: eelf32_tic6x_elf_be.c:397 eelf32_tic6x_elf_le.c:397 eelf32_tic6x_le.c:397 +#: eelf32_tic6x_linux_be.c:397 eelf32_tic6x_linux_le.c:397 +#: eelf32_x86_64.c:5421 eelf32am33lin.c:260 eelf32b4300.c:501 eelf32bfin.c:278 +#: eelf32bfinfd.c:303 eelf32bmip.c:501 eelf32bmipn32.c:515 eelf32briscv.c:368 +#: eelf32briscv_ilp32.c:368 eelf32briscv_ilp32f.c:368 eelf32bsmip.c:515 +#: eelf32btsmip.c:501 eelf32btsmip_fbsd.c:501 eelf32btsmipn32.c:501 +#: eelf32btsmipn32_fbsd.c:501 eelf32cr16.c:364 eelf32crx.c:251 +#: eelf32ebmip.c:501 eelf32ebmipvxworks.c:536 eelf32elmip.c:501 +#: eelf32elmipvxworks.c:536 eelf32epiphany.c:229 eelf32epiphany_4x4.c:216 +#: eelf32frvfd.c:285 eelf32ip2k.c:229 eelf32kvx.c:526 eelf32l4300.c:501 +#: eelf32lm32.c:229 eelf32lm32fd.c:285 eelf32lmip.c:501 eelf32loongarch.c:339 +#: eelf32lppc.c:549 eelf32lppclinux.c:549 eelf32lppcnto.c:549 +#: eelf32lppcsim.c:549 eelf32lr5900.c:470 eelf32lr5900n32.c:469 +#: eelf32lriscv.c:368 eelf32lriscv_ilp32.c:368 eelf32lriscv_ilp32f.c:368 +#: eelf32lsmip.c:501 eelf32ltsmip.c:501 eelf32ltsmip_fbsd.c:501 +#: eelf32ltsmipn32.c:501 eelf32ltsmipn32_fbsd.c:501 eelf32m32c.c:240 +#: eelf32mb_linux.c:286 eelf32mbel_linux.c:286 eelf32mcore.c:235 +#: eelf32mep.c:214 eelf32metag.c:535 eelf32microblaze.c:214 +#: eelf32microblazeel.c:214 eelf32mipswindiss.c:444 eelf32moxie.c:229 +#: eelf32or1k.c:230 eelf32or1k_linux.c:286 eelf32ppc.c:549 +#: eelf32ppc_fbsd.c:549 eelf32ppchaiku.c:549 eelf32ppclinux.c:549 +#: eelf32ppcnto.c:549 eelf32ppcsim.c:549 eelf32ppcvxworks.c:523 +#: eelf32ppcwindiss.c:549 eelf32rl78.c:229 eelf32rx.c:257 eelf32rx_linux.c:242 +#: eelf32tilegx.c:286 eelf32tilegx_be.c:286 eelf32tilepro.c:286 +#: eelf32vax.c:260 eelf32visium.c:214 eelf32xstormy16.c:225 +#: eelf32xtensa.c:2197 eelf32z80.c:241 eelf64_aix.c:260 eelf64_ia64.c:317 +#: eelf64_ia64_fbsd.c:317 eelf64_s390.c:356 eelf64_sparc.c:286 +#: eelf64_sparc_fbsd.c:286 eelf64_sparc_sol2.c:418 eelf64alpha.c:379 +#: eelf64alpha_fbsd.c:379 eelf64alpha_nbsd.c:379 eelf64bmip.c:515 +#: eelf64bpf.c:214 eelf64briscv.c:368 eelf64briscv_lp64.c:368 +#: eelf64briscv_lp64f.c:368 eelf64btsmip.c:501 eelf64btsmip_fbsd.c:501 +#: eelf64hppa.c:230 eelf64kvx.c:526 eelf64kvx_linux.c:548 +#: eelf64loongarch.c:339 eelf64lppc.c:998 eelf64lppc_fbsd.c:998 +#: eelf64lriscv.c:368 eelf64lriscv_lp64.c:368 eelf64lriscv_lp64f.c:368 +#: eelf64ltsmip.c:501 eelf64ltsmip_fbsd.c:501 eelf64mmix.c:371 eelf64ppc.c:998 +#: eelf64ppc_fbsd.c:998 eelf64rdos.c:311 eelf64tilegx.c:286 +#: eelf64tilegx_be.c:286 eelf_i386.c:5043 eelf_i386_be.c:284 +#: eelf_i386_fbsd.c:320 eelf_i386_haiku.c:320 eelf_i386_ldso.c:295 +#: eelf_i386_sol2.c:452 eelf_i386_vxworks.c:347 eelf_iamcu.c:320 +#: eelf_mipsel_haiku.c:501 eelf_s390.c:286 eelf_x86_64.c:5421 +#: eelf_x86_64_cloudabi.c:320 eelf_x86_64_fbsd.c:320 eelf_x86_64_haiku.c:320 +#: eelf_x86_64_sol2.c:452 eh8300elf.c:229 eh8300elf_linux.c:229 +#: eh8300helf.c:229 eh8300helf_linux.c:229 eh8300hnelf.c:229 eh8300self.c:229 +#: eh8300self_linux.c:229 eh8300snelf.c:229 eh8300sxelf.c:229 +#: eh8300sxelf_linux.c:229 eh8300sxnelf.c:229 ehppa64linux.c:260 +#: ehppaelf.c:497 ehppalinux.c:569 ehppanbsd.c:569 ehppaobsd.c:569 +#: ei386lynx.c:275 ei386moss.c:275 ei386nto.c:275 em32relf.c:229 +#: em32relf_linux.c:285 em32rlelf.c:229 em32rlelf_linux.c:285 +#: em68hc11elf.c:499 em68hc11elfb.c:499 em68hc12elf.c:499 em68hc12elfb.c:499 +#: em68kelf.c:443 em68kelfnbsd.c:443 emn10300.c:260 ends32belf.c:350 +#: ends32belf16m.c:350 ends32belf_linux.c:373 ends32elf.c:350 +#: ends32elf16m.c:350 ends32elf_linux.c:373 enios2elf.c:516 enios2linux.c:547 +#: epruelf.c:235 escore3_elf.c:280 escore7_elf.c:280 eshelf.c:260 +#: eshelf_fd.c:286 eshelf_linux.c:286 eshelf_nbsd.c:260 eshelf_nto.c:260 +#: eshelf_uclinux.c:260 eshelf_vxworks.c:297 eshlelf.c:260 eshlelf_fd.c:286 +#: eshlelf_linux.c:286 eshlelf_nbsd.c:260 eshlelf_nto.c:260 +#: eshlelf_vxworks.c:297 ev850.c:261 ev850_rh850.c:261 msgid "%F%P: invalid --compress-debug-sections option: `%s'\n" msgstr "" @@ -3743,57 +3855,58 @@ msgstr "" #: eaarch64elf32.c:647 eaarch64elf32b.c:647 eaarch64elfb.c:647 #: eaarch64fbsd.c:648 eaarch64fbsdb.c:648 eaarch64haiku.c:648 #: eaarch64linux.c:648 eaarch64linux32.c:648 eaarch64linux32b.c:648 -#: eaarch64linuxb.c:648 earcelf.c:279 earclinux.c:335 earclinux_nps.c:335 -#: earmelf.c:887 earmelf_fbsd.c:887 earmelf_fuchsia.c:888 earmelf_haiku.c:888 -#: earmelf_linux.c:888 earmelf_linux_eabi.c:888 earmelf_linux_fdpiceabi.c:888 -#: earmelf_nacl.c:888 earmelf_nbsd.c:887 earmelf_phoenix.c:888 -#: earmelf_vxworks.c:923 earmelfb.c:887 earmelfb_fbsd.c:887 -#: earmelfb_fuchsia.c:888 earmelfb_linux.c:888 earmelfb_linux_eabi.c:888 -#: earmelfb_linux_fdpiceabi.c:888 earmelfb_nacl.c:888 earmelfb_nbsd.c:887 -#: earmnto.c:862 ecrislinux.c:310 ecskyelf_linux.c:579 eelf32_sparc.c:335 -#: eelf32_sparc_sol2.c:467 eelf32_sparc_vxworks.c:372 eelf32_tic6x_be.c:446 -#: eelf32_tic6x_elf_be.c:446 eelf32_tic6x_elf_le.c:446 eelf32_tic6x_le.c:446 -#: eelf32_tic6x_linux_be.c:446 eelf32_tic6x_linux_le.c:446 -#: eelf32_x86_64.c:5470 eelf32am33lin.c:309 eelf32b4300.c:550 eelf32bfin.c:327 -#: eelf32bfinfd.c:352 eelf32bmip.c:550 eelf32bmipn32.c:564 eelf32briscv.c:403 -#: eelf32briscv_ilp32.c:403 eelf32briscv_ilp32f.c:403 eelf32bsmip.c:564 -#: eelf32btsmip.c:550 eelf32btsmip_fbsd.c:550 eelf32btsmipn32.c:550 -#: eelf32btsmipn32_fbsd.c:550 eelf32ebmip.c:550 eelf32ebmipvxworks.c:585 -#: eelf32elmip.c:550 eelf32elmipvxworks.c:585 eelf32frvfd.c:334 -#: eelf32l4300.c:550 eelf32lm32fd.c:334 eelf32lmip.c:550 eelf32loongarch.c:385 -#: eelf32lppc.c:598 eelf32lppclinux.c:598 eelf32lppcnto.c:598 -#: eelf32lppcsim.c:598 eelf32lriscv.c:403 eelf32lriscv_ilp32.c:403 -#: eelf32lriscv_ilp32f.c:403 eelf32lsmip.c:550 eelf32ltsmip.c:550 -#: eelf32ltsmip_fbsd.c:550 eelf32ltsmipn32.c:550 eelf32ltsmipn32_fbsd.c:550 -#: eelf32mb_linux.c:335 eelf32mbel_linux.c:335 eelf32metag.c:584 -#: eelf32or1k_linux.c:335 eelf32ppc.c:598 eelf32ppc_fbsd.c:598 -#: eelf32ppchaiku.c:598 eelf32ppclinux.c:598 eelf32ppcnto.c:598 -#: eelf32ppcsim.c:598 eelf32ppcvxworks.c:572 eelf32ppcwindiss.c:598 -#: eelf32tilegx.c:335 eelf32tilegx_be.c:335 eelf32tilepro.c:335 -#: eelf32vax.c:309 eelf32xtensa.c:2248 eelf64_aix.c:309 eelf64_ia64.c:366 -#: eelf64_ia64_fbsd.c:366 eelf64_s390.c:405 eelf64_sparc.c:335 -#: eelf64_sparc_fbsd.c:335 eelf64_sparc_sol2.c:467 eelf64alpha.c:428 -#: eelf64alpha_fbsd.c:428 eelf64alpha_nbsd.c:428 eelf64bmip.c:564 -#: eelf64briscv.c:403 eelf64briscv_lp64.c:403 eelf64briscv_lp64f.c:403 -#: eelf64btsmip.c:550 eelf64btsmip_fbsd.c:550 eelf64hppa.c:279 -#: eelf64loongarch.c:385 eelf64lppc.c:1047 eelf64lppc_fbsd.c:1047 -#: eelf64lriscv.c:403 eelf64lriscv_lp64.c:403 eelf64lriscv_lp64f.c:403 -#: eelf64ltsmip.c:550 eelf64ltsmip_fbsd.c:550 eelf64mmix.c:420 -#: eelf64ppc.c:1047 eelf64ppc_fbsd.c:1047 eelf64rdos.c:360 eelf64tilegx.c:335 -#: eelf64tilegx_be.c:335 eelf_i386.c:5092 eelf_i386_be.c:333 -#: eelf_i386_fbsd.c:369 eelf_i386_haiku.c:369 eelf_i386_ldso.c:344 -#: eelf_i386_sol2.c:501 eelf_i386_vxworks.c:396 eelf_iamcu.c:369 -#: eelf_mipsel_haiku.c:550 eelf_s390.c:335 eelf_x86_64.c:5470 -#: eelf_x86_64_cloudabi.c:369 eelf_x86_64_fbsd.c:369 eelf_x86_64_haiku.c:369 -#: eelf_x86_64_sol2.c:501 ehppa64linux.c:309 ehppalinux.c:618 ehppanbsd.c:618 -#: ehppaobsd.c:618 ei386lynx.c:324 ei386moss.c:324 ei386nto.c:324 -#: em32relf_linux.c:334 em32rlelf_linux.c:334 em68kelf.c:492 -#: em68kelfnbsd.c:492 emn10300.c:309 ends32belf_linux.c:422 -#: ends32elf_linux.c:422 enios2linux.c:596 escore3_elf.c:331 escore7_elf.c:331 -#: eshelf.c:309 eshelf_fd.c:335 eshelf_linux.c:335 eshelf_nbsd.c:309 -#: eshelf_nto.c:309 eshelf_uclinux.c:309 eshelf_vxworks.c:346 eshlelf.c:309 -#: eshlelf_fd.c:335 eshlelf_linux.c:335 eshlelf_nbsd.c:309 eshlelf_nto.c:309 -#: eshlelf_vxworks.c:346 +#: eaarch64linuxb.c:648 eaarch64nto.c:816 earcelf.c:281 earclinux.c:337 +#: earclinux_nps.c:337 earmelf.c:887 earmelf_fbsd.c:887 earmelf_fuchsia.c:888 +#: earmelf_haiku.c:888 earmelf_linux.c:888 earmelf_linux_eabi.c:888 +#: earmelf_linux_fdpiceabi.c:888 earmelf_nacl.c:888 earmelf_nbsd.c:887 +#: earmelf_phoenix.c:888 earmelf_vxworks.c:923 earmelfb.c:887 +#: earmelfb_fbsd.c:887 earmelfb_fuchsia.c:888 earmelfb_linux.c:888 +#: earmelfb_linux_eabi.c:888 earmelfb_linux_fdpiceabi.c:888 +#: earmelfb_nacl.c:888 earmelfb_nbsd.c:887 earmnto.c:862 ecrislinux.c:312 +#: ecskyelf_linux.c:581 eelf32_sparc.c:337 eelf32_sparc_sol2.c:469 +#: eelf32_sparc_vxworks.c:374 eelf32_tic6x_be.c:448 eelf32_tic6x_elf_be.c:448 +#: eelf32_tic6x_elf_le.c:448 eelf32_tic6x_le.c:448 eelf32_tic6x_linux_be.c:448 +#: eelf32_tic6x_linux_le.c:448 eelf32_x86_64.c:5472 eelf32am33lin.c:311 +#: eelf32b4300.c:552 eelf32bfin.c:329 eelf32bfinfd.c:354 eelf32bmip.c:552 +#: eelf32bmipn32.c:566 eelf32briscv.c:419 eelf32briscv_ilp32.c:419 +#: eelf32briscv_ilp32f.c:419 eelf32bsmip.c:566 eelf32btsmip.c:552 +#: eelf32btsmip_fbsd.c:552 eelf32btsmipn32.c:552 eelf32btsmipn32_fbsd.c:552 +#: eelf32ebmip.c:552 eelf32ebmipvxworks.c:587 eelf32elmip.c:552 +#: eelf32elmipvxworks.c:587 eelf32frvfd.c:336 eelf32kvx.c:577 +#: eelf32l4300.c:552 eelf32lm32fd.c:336 eelf32lmip.c:552 eelf32loongarch.c:390 +#: eelf32lppc.c:600 eelf32lppclinux.c:600 eelf32lppcnto.c:600 +#: eelf32lppcsim.c:600 eelf32lriscv.c:419 eelf32lriscv_ilp32.c:419 +#: eelf32lriscv_ilp32f.c:419 eelf32lsmip.c:552 eelf32ltsmip.c:552 +#: eelf32ltsmip_fbsd.c:552 eelf32ltsmipn32.c:552 eelf32ltsmipn32_fbsd.c:552 +#: eelf32mb_linux.c:337 eelf32mbel_linux.c:337 eelf32metag.c:586 +#: eelf32or1k_linux.c:337 eelf32ppc.c:600 eelf32ppc_fbsd.c:600 +#: eelf32ppchaiku.c:600 eelf32ppclinux.c:600 eelf32ppcnto.c:600 +#: eelf32ppcsim.c:600 eelf32ppcvxworks.c:574 eelf32ppcwindiss.c:600 +#: eelf32tilegx.c:337 eelf32tilegx_be.c:337 eelf32tilepro.c:337 +#: eelf32vax.c:311 eelf32xtensa.c:2248 eelf64_aix.c:311 eelf64_ia64.c:368 +#: eelf64_ia64_fbsd.c:368 eelf64_s390.c:407 eelf64_sparc.c:337 +#: eelf64_sparc_fbsd.c:337 eelf64_sparc_sol2.c:469 eelf64alpha.c:430 +#: eelf64alpha_fbsd.c:430 eelf64alpha_nbsd.c:430 eelf64bmip.c:566 +#: eelf64briscv.c:419 eelf64briscv_lp64.c:419 eelf64briscv_lp64f.c:419 +#: eelf64btsmip.c:552 eelf64btsmip_fbsd.c:552 eelf64hppa.c:281 eelf64kvx.c:577 +#: eelf64kvx_linux.c:599 eelf64loongarch.c:390 eelf64lppc.c:1049 +#: eelf64lppc_fbsd.c:1049 eelf64lriscv.c:419 eelf64lriscv_lp64.c:419 +#: eelf64lriscv_lp64f.c:419 eelf64ltsmip.c:552 eelf64ltsmip_fbsd.c:552 +#: eelf64mmix.c:422 eelf64ppc.c:1049 eelf64ppc_fbsd.c:1049 eelf64rdos.c:362 +#: eelf64tilegx.c:337 eelf64tilegx_be.c:337 eelf_i386.c:5094 +#: eelf_i386_be.c:335 eelf_i386_fbsd.c:371 eelf_i386_haiku.c:371 +#: eelf_i386_ldso.c:346 eelf_i386_sol2.c:503 eelf_i386_vxworks.c:398 +#: eelf_iamcu.c:371 eelf_mipsel_haiku.c:552 eelf_s390.c:337 eelf_x86_64.c:5472 +#: eelf_x86_64_cloudabi.c:371 eelf_x86_64_fbsd.c:371 eelf_x86_64_haiku.c:371 +#: eelf_x86_64_sol2.c:503 ehppa64linux.c:311 ehppalinux.c:620 ehppanbsd.c:620 +#: ehppaobsd.c:620 ei386lynx.c:326 ei386moss.c:326 ei386nto.c:326 +#: em32relf_linux.c:336 em32rlelf_linux.c:336 em68kelf.c:494 +#: em68kelfnbsd.c:494 emn10300.c:311 ends32belf_linux.c:424 +#: ends32elf_linux.c:424 enios2linux.c:598 escore3_elf.c:331 escore7_elf.c:331 +#: eshelf.c:311 eshelf_fd.c:337 eshelf_linux.c:337 eshelf_nbsd.c:311 +#: eshelf_nto.c:311 eshelf_uclinux.c:311 eshelf_vxworks.c:348 eshlelf.c:311 +#: eshlelf_fd.c:337 eshlelf_linux.c:337 eshlelf_nbsd.c:311 eshlelf_nto.c:311 +#: eshlelf_vxworks.c:348 msgid "%F%P: invalid hash style `%s'\n" msgstr "" @@ -3801,76 +3914,78 @@ msgstr "" #: eaarch64elf32.c:664 eaarch64elf32b.c:664 eaarch64elfb.c:664 #: eaarch64fbsd.c:665 eaarch64fbsdb.c:665 eaarch64haiku.c:665 #: eaarch64linux.c:665 eaarch64linux32.c:665 eaarch64linux32b.c:665 -#: eaarch64linuxb.c:665 earcelf.c:296 earclinux.c:352 earclinux_nps.c:352 -#: earcv2elf.c:229 earcv2elfx.c:229 earmelf.c:904 earmelf_fbsd.c:904 -#: earmelf_fuchsia.c:905 earmelf_haiku.c:905 earmelf_linux.c:905 -#: earmelf_linux_eabi.c:905 earmelf_linux_fdpiceabi.c:905 earmelf_nacl.c:905 -#: earmelf_nbsd.c:904 earmelf_phoenix.c:905 earmelf_vxworks.c:940 -#: earmelfb.c:904 earmelfb_fbsd.c:904 earmelfb_fuchsia.c:905 -#: earmelfb_linux.c:905 earmelfb_linux_eabi.c:905 +#: eaarch64linuxb.c:665 eaarch64nto.c:833 earcelf.c:298 earclinux.c:354 +#: earclinux_nps.c:354 earcv2elf.c:231 earcv2elfx.c:231 earmelf.c:904 +#: earmelf_fbsd.c:904 earmelf_fuchsia.c:905 earmelf_haiku.c:905 +#: earmelf_linux.c:905 earmelf_linux_eabi.c:905 earmelf_linux_fdpiceabi.c:905 +#: earmelf_nacl.c:905 earmelf_nbsd.c:904 earmelf_phoenix.c:905 +#: earmelf_vxworks.c:940 earmelfb.c:904 earmelfb_fbsd.c:904 +#: earmelfb_fuchsia.c:905 earmelfb_linux.c:905 earmelfb_linux_eabi.c:905 #: earmelfb_linux_fdpiceabi.c:905 earmelfb_nacl.c:905 earmelfb_nbsd.c:904 -#: earmnto.c:879 eavr1.c:453 eavr2.c:453 eavr25.c:453 eavr3.c:453 eavr31.c:453 -#: eavr35.c:453 eavr4.c:453 eavr5.c:453 eavr51.c:453 eavr6.c:453 -#: eavrtiny.c:453 eavrxmega1.c:453 eavrxmega2.c:453 eavrxmega3.c:453 -#: eavrxmega4.c:453 eavrxmega5.c:453 eavrxmega6.c:453 eavrxmega7.c:453 -#: ecriself.c:244 ecrislinux.c:327 ecskyelf.c:488 ecskyelf_linux.c:596 -#: ed10velf.c:229 eelf32_sparc.c:352 eelf32_sparc_sol2.c:484 -#: eelf32_sparc_vxworks.c:389 eelf32_spu.c:962 eelf32_tic6x_be.c:463 -#: eelf32_tic6x_elf_be.c:463 eelf32_tic6x_elf_le.c:463 eelf32_tic6x_le.c:463 -#: eelf32_tic6x_linux_be.c:463 eelf32_tic6x_linux_le.c:463 -#: eelf32_x86_64.c:5487 eelf32am33lin.c:326 eelf32b4300.c:567 eelf32bfin.c:344 -#: eelf32bfinfd.c:369 eelf32bmip.c:567 eelf32bmipn32.c:581 eelf32briscv.c:420 -#: eelf32briscv_ilp32.c:420 eelf32briscv_ilp32f.c:420 eelf32bsmip.c:581 -#: eelf32btsmip.c:567 eelf32btsmip_fbsd.c:567 eelf32btsmipn32.c:567 -#: eelf32btsmipn32_fbsd.c:567 eelf32cr16.c:379 eelf32crx.c:266 -#: eelf32ebmip.c:567 eelf32ebmipvxworks.c:602 eelf32elmip.c:567 -#: eelf32elmipvxworks.c:602 eelf32epiphany.c:244 eelf32epiphany_4x4.c:231 -#: eelf32frvfd.c:351 eelf32ip2k.c:244 eelf32l4300.c:567 eelf32lm32.c:244 -#: eelf32lm32fd.c:351 eelf32lmip.c:567 eelf32loongarch.c:402 eelf32lppc.c:615 -#: eelf32lppclinux.c:615 eelf32lppcnto.c:615 eelf32lppcsim.c:615 -#: eelf32lr5900.c:485 eelf32lr5900n32.c:484 eelf32lriscv.c:420 -#: eelf32lriscv_ilp32.c:420 eelf32lriscv_ilp32f.c:420 eelf32lsmip.c:567 -#: eelf32ltsmip.c:567 eelf32ltsmip_fbsd.c:567 eelf32ltsmipn32.c:567 -#: eelf32ltsmipn32_fbsd.c:567 eelf32m32c.c:255 eelf32mb_linux.c:352 -#: eelf32mbel_linux.c:352 eelf32mcore.c:250 eelf32mep.c:229 eelf32metag.c:601 -#: eelf32microblaze.c:229 eelf32microblazeel.c:229 eelf32mipswindiss.c:459 -#: eelf32moxie.c:244 eelf32or1k.c:245 eelf32or1k_linux.c:352 eelf32ppc.c:615 -#: eelf32ppc_fbsd.c:615 eelf32ppchaiku.c:615 eelf32ppclinux.c:615 -#: eelf32ppcnto.c:615 eelf32ppcsim.c:615 eelf32ppcvxworks.c:589 -#: eelf32ppcwindiss.c:615 eelf32rl78.c:244 eelf32rx.c:272 eelf32rx_linux.c:257 -#: eelf32tilegx.c:352 eelf32tilegx_be.c:352 eelf32tilepro.c:352 -#: eelf32vax.c:326 eelf32visium.c:229 eelf32xstormy16.c:240 -#: eelf32xtensa.c:2265 eelf32z80.c:256 eelf64_aix.c:326 eelf64_ia64.c:383 -#: eelf64_ia64_fbsd.c:383 eelf64_s390.c:422 eelf64_sparc.c:352 -#: eelf64_sparc_fbsd.c:352 eelf64_sparc_sol2.c:484 eelf64alpha.c:445 -#: eelf64alpha_fbsd.c:445 eelf64alpha_nbsd.c:445 eelf64bmip.c:581 -#: eelf64bpf.c:229 eelf64briscv.c:420 eelf64briscv_lp64.c:420 -#: eelf64briscv_lp64f.c:420 eelf64btsmip.c:567 eelf64btsmip_fbsd.c:567 -#: eelf64hppa.c:296 eelf64loongarch.c:402 eelf64lppc.c:1064 -#: eelf64lppc_fbsd.c:1064 eelf64lriscv.c:420 eelf64lriscv_lp64.c:420 -#: eelf64lriscv_lp64f.c:420 eelf64ltsmip.c:567 eelf64ltsmip_fbsd.c:567 -#: eelf64mmix.c:437 eelf64ppc.c:1064 eelf64ppc_fbsd.c:1064 eelf64rdos.c:377 -#: eelf64tilegx.c:352 eelf64tilegx_be.c:352 eelf_i386.c:5109 -#: eelf_i386_be.c:350 eelf_i386_fbsd.c:386 eelf_i386_haiku.c:386 -#: eelf_i386_ldso.c:361 eelf_i386_sol2.c:518 eelf_i386_vxworks.c:413 -#: eelf_iamcu.c:386 eelf_mipsel_haiku.c:567 eelf_s390.c:352 eelf_x86_64.c:5487 -#: eelf_x86_64_cloudabi.c:386 eelf_x86_64_fbsd.c:386 eelf_x86_64_haiku.c:386 -#: eelf_x86_64_sol2.c:518 eh8300elf.c:244 eh8300elf_linux.c:244 -#: eh8300helf.c:244 eh8300helf_linux.c:244 eh8300hnelf.c:244 eh8300self.c:244 -#: eh8300self_linux.c:244 eh8300snelf.c:244 eh8300sxelf.c:244 -#: eh8300sxelf_linux.c:244 eh8300sxnelf.c:244 ehppa64linux.c:326 -#: ehppaelf.c:512 ehppalinux.c:635 ehppanbsd.c:635 ehppaobsd.c:635 -#: ei386lynx.c:341 ei386moss.c:341 ei386nto.c:341 em32relf.c:244 -#: em32relf_linux.c:351 em32rlelf.c:244 em32rlelf_linux.c:351 -#: em68hc11elf.c:514 em68hc11elfb.c:514 em68hc12elf.c:514 em68hc12elfb.c:514 -#: em68kelf.c:509 em68kelfnbsd.c:509 emn10300.c:326 ends32belf.c:365 -#: ends32belf16m.c:365 ends32belf_linux.c:439 ends32elf.c:365 -#: ends32elf16m.c:365 ends32elf_linux.c:439 enios2elf.c:531 enios2linux.c:613 -#: epruelf.c:250 escore3_elf.c:348 escore7_elf.c:348 eshelf.c:326 -#: eshelf_fd.c:352 eshelf_linux.c:352 eshelf_nbsd.c:326 eshelf_nto.c:326 -#: eshelf_uclinux.c:326 eshelf_vxworks.c:363 eshlelf.c:326 eshlelf_fd.c:352 -#: eshlelf_linux.c:352 eshlelf_nbsd.c:326 eshlelf_nto.c:326 -#: eshlelf_vxworks.c:363 ev850.c:276 ev850_rh850.c:276 +#: earmnto.c:879 eavr1.c:455 eavr2.c:455 eavr25.c:455 eavr3.c:455 eavr31.c:455 +#: eavr35.c:455 eavr4.c:455 eavr5.c:455 eavr51.c:455 eavr6.c:455 +#: eavrtiny.c:455 eavrxmega1.c:455 eavrxmega2.c:455 eavrxmega3.c:455 +#: eavrxmega4.c:455 eavrxmega5.c:455 eavrxmega6.c:455 eavrxmega7.c:455 +#: ecriself.c:246 ecrislinux.c:329 ecskyelf.c:490 ecskyelf_linux.c:598 +#: ed10velf.c:231 eelf32_sparc.c:354 eelf32_sparc_sol2.c:486 +#: eelf32_sparc_vxworks.c:391 eelf32_spu.c:964 eelf32_tic6x_be.c:465 +#: eelf32_tic6x_elf_be.c:465 eelf32_tic6x_elf_le.c:465 eelf32_tic6x_le.c:465 +#: eelf32_tic6x_linux_be.c:465 eelf32_tic6x_linux_le.c:465 +#: eelf32_x86_64.c:5489 eelf32am33lin.c:328 eelf32b4300.c:569 eelf32bfin.c:346 +#: eelf32bfinfd.c:371 eelf32bmip.c:569 eelf32bmipn32.c:583 eelf32briscv.c:436 +#: eelf32briscv_ilp32.c:436 eelf32briscv_ilp32f.c:436 eelf32bsmip.c:583 +#: eelf32btsmip.c:569 eelf32btsmip_fbsd.c:569 eelf32btsmipn32.c:569 +#: eelf32btsmipn32_fbsd.c:569 eelf32cr16.c:381 eelf32crx.c:268 +#: eelf32ebmip.c:569 eelf32ebmipvxworks.c:604 eelf32elmip.c:569 +#: eelf32elmipvxworks.c:604 eelf32epiphany.c:246 eelf32epiphany_4x4.c:233 +#: eelf32frvfd.c:353 eelf32ip2k.c:246 eelf32kvx.c:594 eelf32l4300.c:569 +#: eelf32lm32.c:246 eelf32lm32fd.c:353 eelf32lmip.c:569 eelf32loongarch.c:407 +#: eelf32lppc.c:617 eelf32lppclinux.c:617 eelf32lppcnto.c:617 +#: eelf32lppcsim.c:617 eelf32lr5900.c:487 eelf32lr5900n32.c:486 +#: eelf32lriscv.c:436 eelf32lriscv_ilp32.c:436 eelf32lriscv_ilp32f.c:436 +#: eelf32lsmip.c:569 eelf32ltsmip.c:569 eelf32ltsmip_fbsd.c:569 +#: eelf32ltsmipn32.c:569 eelf32ltsmipn32_fbsd.c:569 eelf32m32c.c:257 +#: eelf32mb_linux.c:354 eelf32mbel_linux.c:354 eelf32mcore.c:252 +#: eelf32mep.c:231 eelf32metag.c:603 eelf32microblaze.c:231 +#: eelf32microblazeel.c:231 eelf32mipswindiss.c:461 eelf32moxie.c:246 +#: eelf32or1k.c:247 eelf32or1k_linux.c:354 eelf32ppc.c:617 +#: eelf32ppc_fbsd.c:617 eelf32ppchaiku.c:617 eelf32ppclinux.c:617 +#: eelf32ppcnto.c:617 eelf32ppcsim.c:617 eelf32ppcvxworks.c:591 +#: eelf32ppcwindiss.c:617 eelf32rl78.c:246 eelf32rx.c:274 eelf32rx_linux.c:259 +#: eelf32tilegx.c:354 eelf32tilegx_be.c:354 eelf32tilepro.c:354 +#: eelf32vax.c:328 eelf32visium.c:231 eelf32xstormy16.c:242 +#: eelf32xtensa.c:2265 eelf32z80.c:258 eelf64_aix.c:328 eelf64_ia64.c:385 +#: eelf64_ia64_fbsd.c:385 eelf64_s390.c:424 eelf64_sparc.c:354 +#: eelf64_sparc_fbsd.c:354 eelf64_sparc_sol2.c:486 eelf64alpha.c:447 +#: eelf64alpha_fbsd.c:447 eelf64alpha_nbsd.c:447 eelf64bmip.c:583 +#: eelf64bpf.c:231 eelf64briscv.c:436 eelf64briscv_lp64.c:436 +#: eelf64briscv_lp64f.c:436 eelf64btsmip.c:569 eelf64btsmip_fbsd.c:569 +#: eelf64hppa.c:298 eelf64kvx.c:594 eelf64kvx_linux.c:616 +#: eelf64loongarch.c:407 eelf64lppc.c:1066 eelf64lppc_fbsd.c:1066 +#: eelf64lriscv.c:436 eelf64lriscv_lp64.c:436 eelf64lriscv_lp64f.c:436 +#: eelf64ltsmip.c:569 eelf64ltsmip_fbsd.c:569 eelf64mmix.c:439 +#: eelf64ppc.c:1066 eelf64ppc_fbsd.c:1066 eelf64rdos.c:379 eelf64tilegx.c:354 +#: eelf64tilegx_be.c:354 eelf_i386.c:5111 eelf_i386_be.c:352 +#: eelf_i386_fbsd.c:388 eelf_i386_haiku.c:388 eelf_i386_ldso.c:363 +#: eelf_i386_sol2.c:520 eelf_i386_vxworks.c:415 eelf_iamcu.c:388 +#: eelf_mipsel_haiku.c:569 eelf_s390.c:354 eelf_x86_64.c:5489 +#: eelf_x86_64_cloudabi.c:388 eelf_x86_64_fbsd.c:388 eelf_x86_64_haiku.c:388 +#: eelf_x86_64_sol2.c:520 eh8300elf.c:246 eh8300elf_linux.c:246 +#: eh8300helf.c:246 eh8300helf_linux.c:246 eh8300hnelf.c:246 eh8300self.c:246 +#: eh8300self_linux.c:246 eh8300snelf.c:246 eh8300sxelf.c:246 +#: eh8300sxelf_linux.c:246 eh8300sxnelf.c:246 ehppa64linux.c:328 +#: ehppaelf.c:514 ehppalinux.c:637 ehppanbsd.c:637 ehppaobsd.c:637 +#: ei386lynx.c:343 ei386moss.c:343 ei386nto.c:343 em32relf.c:246 +#: em32relf_linux.c:353 em32rlelf.c:246 em32rlelf_linux.c:353 +#: em68hc11elf.c:516 em68hc11elfb.c:516 em68hc12elf.c:516 em68hc12elfb.c:516 +#: em68kelf.c:511 em68kelfnbsd.c:511 emn10300.c:328 ends32belf.c:367 +#: ends32belf16m.c:367 ends32belf_linux.c:441 ends32elf.c:367 +#: ends32elf16m.c:367 ends32elf_linux.c:441 enios2elf.c:533 enios2linux.c:615 +#: epruelf.c:252 escore3_elf.c:348 escore7_elf.c:348 eshelf.c:328 +#: eshelf_fd.c:354 eshelf_linux.c:354 eshelf_nbsd.c:328 eshelf_nto.c:328 +#: eshelf_uclinux.c:328 eshelf_vxworks.c:365 eshlelf.c:328 eshlelf_fd.c:354 +#: eshlelf_linux.c:354 eshlelf_nbsd.c:328 eshlelf_nto.c:328 +#: eshlelf_vxworks.c:365 ev850.c:278 ev850_rh850.c:278 msgid "%F%P: invalid maximum page size `%s'\n" msgstr "" @@ -3878,76 +3993,78 @@ msgstr "" #: eaarch64elf32.c:674 eaarch64elf32b.c:674 eaarch64elfb.c:674 #: eaarch64fbsd.c:675 eaarch64fbsdb.c:675 eaarch64haiku.c:675 #: eaarch64linux.c:675 eaarch64linux32.c:675 eaarch64linux32b.c:675 -#: eaarch64linuxb.c:675 earcelf.c:306 earclinux.c:362 earclinux_nps.c:362 -#: earcv2elf.c:239 earcv2elfx.c:239 earmelf.c:914 earmelf_fbsd.c:914 -#: earmelf_fuchsia.c:915 earmelf_haiku.c:915 earmelf_linux.c:915 -#: earmelf_linux_eabi.c:915 earmelf_linux_fdpiceabi.c:915 earmelf_nacl.c:915 -#: earmelf_nbsd.c:914 earmelf_phoenix.c:915 earmelf_vxworks.c:950 -#: earmelfb.c:914 earmelfb_fbsd.c:914 earmelfb_fuchsia.c:915 -#: earmelfb_linux.c:915 earmelfb_linux_eabi.c:915 +#: eaarch64linuxb.c:675 eaarch64nto.c:843 earcelf.c:308 earclinux.c:364 +#: earclinux_nps.c:364 earcv2elf.c:241 earcv2elfx.c:241 earmelf.c:914 +#: earmelf_fbsd.c:914 earmelf_fuchsia.c:915 earmelf_haiku.c:915 +#: earmelf_linux.c:915 earmelf_linux_eabi.c:915 earmelf_linux_fdpiceabi.c:915 +#: earmelf_nacl.c:915 earmelf_nbsd.c:914 earmelf_phoenix.c:915 +#: earmelf_vxworks.c:950 earmelfb.c:914 earmelfb_fbsd.c:914 +#: earmelfb_fuchsia.c:915 earmelfb_linux.c:915 earmelfb_linux_eabi.c:915 #: earmelfb_linux_fdpiceabi.c:915 earmelfb_nacl.c:915 earmelfb_nbsd.c:914 -#: earmnto.c:889 eavr1.c:463 eavr2.c:463 eavr25.c:463 eavr3.c:463 eavr31.c:463 -#: eavr35.c:463 eavr4.c:463 eavr5.c:463 eavr51.c:463 eavr6.c:463 -#: eavrtiny.c:463 eavrxmega1.c:463 eavrxmega2.c:463 eavrxmega3.c:463 -#: eavrxmega4.c:463 eavrxmega5.c:463 eavrxmega6.c:463 eavrxmega7.c:463 -#: ecriself.c:254 ecrislinux.c:337 ecskyelf.c:498 ecskyelf_linux.c:606 -#: ed10velf.c:239 eelf32_sparc.c:362 eelf32_sparc_sol2.c:494 -#: eelf32_sparc_vxworks.c:399 eelf32_spu.c:972 eelf32_tic6x_be.c:473 -#: eelf32_tic6x_elf_be.c:473 eelf32_tic6x_elf_le.c:473 eelf32_tic6x_le.c:473 -#: eelf32_tic6x_linux_be.c:473 eelf32_tic6x_linux_le.c:473 -#: eelf32_x86_64.c:5497 eelf32am33lin.c:336 eelf32b4300.c:577 eelf32bfin.c:354 -#: eelf32bfinfd.c:379 eelf32bmip.c:577 eelf32bmipn32.c:591 eelf32briscv.c:430 -#: eelf32briscv_ilp32.c:430 eelf32briscv_ilp32f.c:430 eelf32bsmip.c:591 -#: eelf32btsmip.c:577 eelf32btsmip_fbsd.c:577 eelf32btsmipn32.c:577 -#: eelf32btsmipn32_fbsd.c:577 eelf32cr16.c:389 eelf32crx.c:276 -#: eelf32ebmip.c:577 eelf32ebmipvxworks.c:612 eelf32elmip.c:577 -#: eelf32elmipvxworks.c:612 eelf32epiphany.c:254 eelf32epiphany_4x4.c:241 -#: eelf32frvfd.c:361 eelf32ip2k.c:254 eelf32l4300.c:577 eelf32lm32.c:254 -#: eelf32lm32fd.c:361 eelf32lmip.c:577 eelf32loongarch.c:412 eelf32lppc.c:625 -#: eelf32lppclinux.c:625 eelf32lppcnto.c:625 eelf32lppcsim.c:625 -#: eelf32lr5900.c:495 eelf32lr5900n32.c:494 eelf32lriscv.c:430 -#: eelf32lriscv_ilp32.c:430 eelf32lriscv_ilp32f.c:430 eelf32lsmip.c:577 -#: eelf32ltsmip.c:577 eelf32ltsmip_fbsd.c:577 eelf32ltsmipn32.c:577 -#: eelf32ltsmipn32_fbsd.c:577 eelf32m32c.c:265 eelf32mb_linux.c:362 -#: eelf32mbel_linux.c:362 eelf32mcore.c:260 eelf32mep.c:239 eelf32metag.c:611 -#: eelf32microblaze.c:239 eelf32microblazeel.c:239 eelf32mipswindiss.c:469 -#: eelf32moxie.c:254 eelf32or1k.c:255 eelf32or1k_linux.c:362 eelf32ppc.c:625 -#: eelf32ppc_fbsd.c:625 eelf32ppchaiku.c:625 eelf32ppclinux.c:625 -#: eelf32ppcnto.c:625 eelf32ppcsim.c:625 eelf32ppcvxworks.c:599 -#: eelf32ppcwindiss.c:625 eelf32rl78.c:254 eelf32rx.c:282 eelf32rx_linux.c:267 -#: eelf32tilegx.c:362 eelf32tilegx_be.c:362 eelf32tilepro.c:362 -#: eelf32vax.c:336 eelf32visium.c:239 eelf32xstormy16.c:250 -#: eelf32xtensa.c:2275 eelf32z80.c:266 eelf64_aix.c:336 eelf64_ia64.c:393 -#: eelf64_ia64_fbsd.c:393 eelf64_s390.c:432 eelf64_sparc.c:362 -#: eelf64_sparc_fbsd.c:362 eelf64_sparc_sol2.c:494 eelf64alpha.c:455 -#: eelf64alpha_fbsd.c:455 eelf64alpha_nbsd.c:455 eelf64bmip.c:591 -#: eelf64bpf.c:239 eelf64briscv.c:430 eelf64briscv_lp64.c:430 -#: eelf64briscv_lp64f.c:430 eelf64btsmip.c:577 eelf64btsmip_fbsd.c:577 -#: eelf64hppa.c:306 eelf64loongarch.c:412 eelf64lppc.c:1074 -#: eelf64lppc_fbsd.c:1074 eelf64lriscv.c:430 eelf64lriscv_lp64.c:430 -#: eelf64lriscv_lp64f.c:430 eelf64ltsmip.c:577 eelf64ltsmip_fbsd.c:577 -#: eelf64mmix.c:447 eelf64ppc.c:1074 eelf64ppc_fbsd.c:1074 eelf64rdos.c:387 -#: eelf64tilegx.c:362 eelf64tilegx_be.c:362 eelf_i386.c:5119 -#: eelf_i386_be.c:360 eelf_i386_fbsd.c:396 eelf_i386_haiku.c:396 -#: eelf_i386_ldso.c:371 eelf_i386_sol2.c:528 eelf_i386_vxworks.c:423 -#: eelf_iamcu.c:396 eelf_mipsel_haiku.c:577 eelf_s390.c:362 eelf_x86_64.c:5497 -#: eelf_x86_64_cloudabi.c:396 eelf_x86_64_fbsd.c:396 eelf_x86_64_haiku.c:396 -#: eelf_x86_64_sol2.c:528 eh8300elf.c:254 eh8300elf_linux.c:254 -#: eh8300helf.c:254 eh8300helf_linux.c:254 eh8300hnelf.c:254 eh8300self.c:254 -#: eh8300self_linux.c:254 eh8300snelf.c:254 eh8300sxelf.c:254 -#: eh8300sxelf_linux.c:254 eh8300sxnelf.c:254 ehppa64linux.c:336 -#: ehppaelf.c:522 ehppalinux.c:645 ehppanbsd.c:645 ehppaobsd.c:645 -#: ei386lynx.c:351 ei386moss.c:351 ei386nto.c:351 em32relf.c:254 -#: em32relf_linux.c:361 em32rlelf.c:254 em32rlelf_linux.c:361 -#: em68hc11elf.c:524 em68hc11elfb.c:524 em68hc12elf.c:524 em68hc12elfb.c:524 -#: em68kelf.c:519 em68kelfnbsd.c:519 emn10300.c:336 ends32belf.c:375 -#: ends32belf16m.c:375 ends32belf_linux.c:449 ends32elf.c:375 -#: ends32elf16m.c:375 ends32elf_linux.c:449 enios2elf.c:541 enios2linux.c:623 -#: epruelf.c:260 escore3_elf.c:358 escore7_elf.c:358 eshelf.c:336 -#: eshelf_fd.c:362 eshelf_linux.c:362 eshelf_nbsd.c:336 eshelf_nto.c:336 -#: eshelf_uclinux.c:336 eshelf_vxworks.c:373 eshlelf.c:336 eshlelf_fd.c:362 -#: eshlelf_linux.c:362 eshlelf_nbsd.c:336 eshlelf_nto.c:336 -#: eshlelf_vxworks.c:373 ev850.c:286 ev850_rh850.c:286 +#: earmnto.c:889 eavr1.c:465 eavr2.c:465 eavr25.c:465 eavr3.c:465 eavr31.c:465 +#: eavr35.c:465 eavr4.c:465 eavr5.c:465 eavr51.c:465 eavr6.c:465 +#: eavrtiny.c:465 eavrxmega1.c:465 eavrxmega2.c:465 eavrxmega3.c:465 +#: eavrxmega4.c:465 eavrxmega5.c:465 eavrxmega6.c:465 eavrxmega7.c:465 +#: ecriself.c:256 ecrislinux.c:339 ecskyelf.c:500 ecskyelf_linux.c:608 +#: ed10velf.c:241 eelf32_sparc.c:364 eelf32_sparc_sol2.c:496 +#: eelf32_sparc_vxworks.c:401 eelf32_spu.c:974 eelf32_tic6x_be.c:475 +#: eelf32_tic6x_elf_be.c:475 eelf32_tic6x_elf_le.c:475 eelf32_tic6x_le.c:475 +#: eelf32_tic6x_linux_be.c:475 eelf32_tic6x_linux_le.c:475 +#: eelf32_x86_64.c:5499 eelf32am33lin.c:338 eelf32b4300.c:579 eelf32bfin.c:356 +#: eelf32bfinfd.c:381 eelf32bmip.c:579 eelf32bmipn32.c:593 eelf32briscv.c:446 +#: eelf32briscv_ilp32.c:446 eelf32briscv_ilp32f.c:446 eelf32bsmip.c:593 +#: eelf32btsmip.c:579 eelf32btsmip_fbsd.c:579 eelf32btsmipn32.c:579 +#: eelf32btsmipn32_fbsd.c:579 eelf32cr16.c:391 eelf32crx.c:278 +#: eelf32ebmip.c:579 eelf32ebmipvxworks.c:614 eelf32elmip.c:579 +#: eelf32elmipvxworks.c:614 eelf32epiphany.c:256 eelf32epiphany_4x4.c:243 +#: eelf32frvfd.c:363 eelf32ip2k.c:256 eelf32kvx.c:604 eelf32l4300.c:579 +#: eelf32lm32.c:256 eelf32lm32fd.c:363 eelf32lmip.c:579 eelf32loongarch.c:417 +#: eelf32lppc.c:627 eelf32lppclinux.c:627 eelf32lppcnto.c:627 +#: eelf32lppcsim.c:627 eelf32lr5900.c:497 eelf32lr5900n32.c:496 +#: eelf32lriscv.c:446 eelf32lriscv_ilp32.c:446 eelf32lriscv_ilp32f.c:446 +#: eelf32lsmip.c:579 eelf32ltsmip.c:579 eelf32ltsmip_fbsd.c:579 +#: eelf32ltsmipn32.c:579 eelf32ltsmipn32_fbsd.c:579 eelf32m32c.c:267 +#: eelf32mb_linux.c:364 eelf32mbel_linux.c:364 eelf32mcore.c:262 +#: eelf32mep.c:241 eelf32metag.c:613 eelf32microblaze.c:241 +#: eelf32microblazeel.c:241 eelf32mipswindiss.c:471 eelf32moxie.c:256 +#: eelf32or1k.c:257 eelf32or1k_linux.c:364 eelf32ppc.c:627 +#: eelf32ppc_fbsd.c:627 eelf32ppchaiku.c:627 eelf32ppclinux.c:627 +#: eelf32ppcnto.c:627 eelf32ppcsim.c:627 eelf32ppcvxworks.c:601 +#: eelf32ppcwindiss.c:627 eelf32rl78.c:256 eelf32rx.c:284 eelf32rx_linux.c:269 +#: eelf32tilegx.c:364 eelf32tilegx_be.c:364 eelf32tilepro.c:364 +#: eelf32vax.c:338 eelf32visium.c:241 eelf32xstormy16.c:252 +#: eelf32xtensa.c:2275 eelf32z80.c:268 eelf64_aix.c:338 eelf64_ia64.c:395 +#: eelf64_ia64_fbsd.c:395 eelf64_s390.c:434 eelf64_sparc.c:364 +#: eelf64_sparc_fbsd.c:364 eelf64_sparc_sol2.c:496 eelf64alpha.c:457 +#: eelf64alpha_fbsd.c:457 eelf64alpha_nbsd.c:457 eelf64bmip.c:593 +#: eelf64bpf.c:241 eelf64briscv.c:446 eelf64briscv_lp64.c:446 +#: eelf64briscv_lp64f.c:446 eelf64btsmip.c:579 eelf64btsmip_fbsd.c:579 +#: eelf64hppa.c:308 eelf64kvx.c:604 eelf64kvx_linux.c:626 +#: eelf64loongarch.c:417 eelf64lppc.c:1076 eelf64lppc_fbsd.c:1076 +#: eelf64lriscv.c:446 eelf64lriscv_lp64.c:446 eelf64lriscv_lp64f.c:446 +#: eelf64ltsmip.c:579 eelf64ltsmip_fbsd.c:579 eelf64mmix.c:449 +#: eelf64ppc.c:1076 eelf64ppc_fbsd.c:1076 eelf64rdos.c:389 eelf64tilegx.c:364 +#: eelf64tilegx_be.c:364 eelf_i386.c:5121 eelf_i386_be.c:362 +#: eelf_i386_fbsd.c:398 eelf_i386_haiku.c:398 eelf_i386_ldso.c:373 +#: eelf_i386_sol2.c:530 eelf_i386_vxworks.c:425 eelf_iamcu.c:398 +#: eelf_mipsel_haiku.c:579 eelf_s390.c:364 eelf_x86_64.c:5499 +#: eelf_x86_64_cloudabi.c:398 eelf_x86_64_fbsd.c:398 eelf_x86_64_haiku.c:398 +#: eelf_x86_64_sol2.c:530 eh8300elf.c:256 eh8300elf_linux.c:256 +#: eh8300helf.c:256 eh8300helf_linux.c:256 eh8300hnelf.c:256 eh8300self.c:256 +#: eh8300self_linux.c:256 eh8300snelf.c:256 eh8300sxelf.c:256 +#: eh8300sxelf_linux.c:256 eh8300sxnelf.c:256 ehppa64linux.c:338 +#: ehppaelf.c:524 ehppalinux.c:647 ehppanbsd.c:647 ehppaobsd.c:647 +#: ei386lynx.c:353 ei386moss.c:353 ei386nto.c:353 em32relf.c:256 +#: em32relf_linux.c:363 em32rlelf.c:256 em32rlelf_linux.c:363 +#: em68hc11elf.c:526 em68hc11elfb.c:526 em68hc12elf.c:526 em68hc12elfb.c:526 +#: em68kelf.c:521 em68kelfnbsd.c:521 emn10300.c:338 ends32belf.c:377 +#: ends32belf16m.c:377 ends32belf_linux.c:451 ends32elf.c:377 +#: ends32elf16m.c:377 ends32elf_linux.c:451 enios2elf.c:543 enios2linux.c:625 +#: epruelf.c:262 escore3_elf.c:358 escore7_elf.c:358 eshelf.c:338 +#: eshelf_fd.c:364 eshelf_linux.c:364 eshelf_nbsd.c:338 eshelf_nto.c:338 +#: eshelf_uclinux.c:338 eshelf_vxworks.c:375 eshlelf.c:338 eshlelf_fd.c:364 +#: eshlelf_linux.c:364 eshlelf_nbsd.c:338 eshlelf_nto.c:338 +#: eshlelf_vxworks.c:375 ev850.c:288 ev850_rh850.c:288 msgid "%F%P: invalid common page size `%s'\n" msgstr "" @@ -3955,76 +4072,78 @@ msgstr "" #: eaarch64elf32.c:683 eaarch64elf32b.c:683 eaarch64elfb.c:683 #: eaarch64fbsd.c:684 eaarch64fbsdb.c:684 eaarch64haiku.c:684 #: eaarch64linux.c:684 eaarch64linux32.c:684 eaarch64linux32b.c:684 -#: eaarch64linuxb.c:684 earcelf.c:315 earclinux.c:371 earclinux_nps.c:371 -#: earcv2elf.c:248 earcv2elfx.c:248 earmelf.c:923 earmelf_fbsd.c:923 -#: earmelf_fuchsia.c:924 earmelf_haiku.c:924 earmelf_linux.c:924 -#: earmelf_linux_eabi.c:924 earmelf_linux_fdpiceabi.c:924 earmelf_nacl.c:924 -#: earmelf_nbsd.c:923 earmelf_phoenix.c:924 earmelf_vxworks.c:959 -#: earmelfb.c:923 earmelfb_fbsd.c:923 earmelfb_fuchsia.c:924 -#: earmelfb_linux.c:924 earmelfb_linux_eabi.c:924 +#: eaarch64linuxb.c:684 eaarch64nto.c:852 eaarch64nto.c:1026 earcelf.c:317 +#: earclinux.c:373 earclinux_nps.c:373 earcv2elf.c:250 earcv2elfx.c:250 +#: earmelf.c:923 earmelf_fbsd.c:923 earmelf_fuchsia.c:924 earmelf_haiku.c:924 +#: earmelf_linux.c:924 earmelf_linux_eabi.c:924 earmelf_linux_fdpiceabi.c:924 +#: earmelf_nacl.c:924 earmelf_nbsd.c:923 earmelf_phoenix.c:924 +#: earmelf_vxworks.c:959 earmelfb.c:923 earmelfb_fbsd.c:923 +#: earmelfb_fuchsia.c:924 earmelfb_linux.c:924 earmelfb_linux_eabi.c:924 #: earmelfb_linux_fdpiceabi.c:924 earmelfb_nacl.c:924 earmelfb_nbsd.c:923 -#: earmnto.c:898 eavr1.c:472 eavr2.c:472 eavr25.c:472 eavr3.c:472 eavr31.c:472 -#: eavr35.c:472 eavr4.c:472 eavr5.c:472 eavr51.c:472 eavr6.c:472 -#: eavrtiny.c:472 eavrxmega1.c:472 eavrxmega2.c:472 eavrxmega3.c:472 -#: eavrxmega4.c:472 eavrxmega5.c:472 eavrxmega6.c:472 eavrxmega7.c:472 -#: ecriself.c:263 ecrislinux.c:346 ecskyelf.c:507 ecskyelf_linux.c:615 -#: ed10velf.c:248 eelf32_sparc.c:371 eelf32_sparc_sol2.c:503 -#: eelf32_sparc_vxworks.c:408 eelf32_spu.c:981 eelf32_tic6x_be.c:482 -#: eelf32_tic6x_elf_be.c:482 eelf32_tic6x_elf_le.c:482 eelf32_tic6x_le.c:482 -#: eelf32_tic6x_linux_be.c:482 eelf32_tic6x_linux_le.c:482 -#: eelf32_x86_64.c:5506 eelf32am33lin.c:345 eelf32b4300.c:586 eelf32bfin.c:363 -#: eelf32bfinfd.c:388 eelf32bmip.c:586 eelf32bmipn32.c:600 eelf32briscv.c:439 -#: eelf32briscv_ilp32.c:439 eelf32briscv_ilp32f.c:439 eelf32bsmip.c:600 -#: eelf32btsmip.c:586 eelf32btsmip_fbsd.c:586 eelf32btsmipn32.c:586 -#: eelf32btsmipn32_fbsd.c:586 eelf32cr16.c:398 eelf32crx.c:285 -#: eelf32ebmip.c:586 eelf32ebmipvxworks.c:621 eelf32elmip.c:586 -#: eelf32elmipvxworks.c:621 eelf32epiphany.c:263 eelf32epiphany_4x4.c:250 -#: eelf32frvfd.c:370 eelf32ip2k.c:263 eelf32l4300.c:586 eelf32lm32.c:263 -#: eelf32lm32fd.c:370 eelf32lmip.c:586 eelf32loongarch.c:421 eelf32lppc.c:634 -#: eelf32lppclinux.c:634 eelf32lppcnto.c:634 eelf32lppcsim.c:634 -#: eelf32lr5900.c:504 eelf32lr5900n32.c:503 eelf32lriscv.c:439 -#: eelf32lriscv_ilp32.c:439 eelf32lriscv_ilp32f.c:439 eelf32lsmip.c:586 -#: eelf32ltsmip.c:586 eelf32ltsmip_fbsd.c:586 eelf32ltsmipn32.c:586 -#: eelf32ltsmipn32_fbsd.c:586 eelf32m32c.c:274 eelf32mb_linux.c:371 -#: eelf32mbel_linux.c:371 eelf32mcore.c:269 eelf32mep.c:248 eelf32metag.c:620 -#: eelf32microblaze.c:248 eelf32microblazeel.c:248 eelf32mipswindiss.c:478 -#: eelf32moxie.c:263 eelf32or1k.c:264 eelf32or1k_linux.c:371 eelf32ppc.c:634 -#: eelf32ppc_fbsd.c:634 eelf32ppchaiku.c:634 eelf32ppclinux.c:634 -#: eelf32ppcnto.c:634 eelf32ppcsim.c:634 eelf32ppcvxworks.c:608 -#: eelf32ppcwindiss.c:634 eelf32rl78.c:263 eelf32rx.c:291 eelf32rx_linux.c:276 -#: eelf32tilegx.c:371 eelf32tilegx_be.c:371 eelf32tilepro.c:371 -#: eelf32vax.c:345 eelf32visium.c:248 eelf32xstormy16.c:259 -#: eelf32xtensa.c:2284 eelf32z80.c:275 eelf64_aix.c:345 eelf64_ia64.c:402 -#: eelf64_ia64_fbsd.c:402 eelf64_s390.c:441 eelf64_sparc.c:371 -#: eelf64_sparc_fbsd.c:371 eelf64_sparc_sol2.c:503 eelf64alpha.c:464 -#: eelf64alpha_fbsd.c:464 eelf64alpha_nbsd.c:464 eelf64bmip.c:600 -#: eelf64bpf.c:248 eelf64briscv.c:439 eelf64briscv_lp64.c:439 -#: eelf64briscv_lp64f.c:439 eelf64btsmip.c:586 eelf64btsmip_fbsd.c:586 -#: eelf64hppa.c:315 eelf64loongarch.c:421 eelf64lppc.c:1083 -#: eelf64lppc_fbsd.c:1083 eelf64lriscv.c:439 eelf64lriscv_lp64.c:439 -#: eelf64lriscv_lp64f.c:439 eelf64ltsmip.c:586 eelf64ltsmip_fbsd.c:586 -#: eelf64mmix.c:456 eelf64ppc.c:1083 eelf64ppc_fbsd.c:1083 eelf64rdos.c:396 -#: eelf64tilegx.c:371 eelf64tilegx_be.c:371 eelf_i386.c:5128 -#: eelf_i386_be.c:369 eelf_i386_fbsd.c:405 eelf_i386_haiku.c:405 -#: eelf_i386_ldso.c:380 eelf_i386_sol2.c:537 eelf_i386_vxworks.c:432 -#: eelf_iamcu.c:405 eelf_mipsel_haiku.c:586 eelf_s390.c:371 eelf_x86_64.c:5506 -#: eelf_x86_64_cloudabi.c:405 eelf_x86_64_fbsd.c:405 eelf_x86_64_haiku.c:405 -#: eelf_x86_64_sol2.c:537 eh8300elf.c:263 eh8300elf_linux.c:263 -#: eh8300helf.c:263 eh8300helf_linux.c:263 eh8300hnelf.c:263 eh8300self.c:263 -#: eh8300self_linux.c:263 eh8300snelf.c:263 eh8300sxelf.c:263 -#: eh8300sxelf_linux.c:263 eh8300sxnelf.c:263 ehppa64linux.c:345 -#: ehppaelf.c:531 ehppalinux.c:654 ehppanbsd.c:654 ehppaobsd.c:654 -#: ei386lynx.c:360 ei386moss.c:360 ei386nto.c:360 em32relf.c:263 -#: em32relf_linux.c:370 em32rlelf.c:263 em32rlelf_linux.c:370 -#: em68hc11elf.c:533 em68hc11elfb.c:533 em68hc12elf.c:533 em68hc12elfb.c:533 -#: em68kelf.c:528 em68kelfnbsd.c:528 emn10300.c:345 ends32belf.c:384 -#: ends32belf16m.c:384 ends32belf_linux.c:458 ends32elf.c:384 -#: ends32elf16m.c:384 ends32elf_linux.c:458 enios2elf.c:550 enios2linux.c:632 -#: epruelf.c:269 escore3_elf.c:367 escore7_elf.c:367 eshelf.c:345 -#: eshelf_fd.c:371 eshelf_linux.c:371 eshelf_nbsd.c:345 eshelf_nto.c:345 -#: eshelf_uclinux.c:345 eshelf_vxworks.c:382 eshlelf.c:345 eshlelf_fd.c:371 -#: eshlelf_linux.c:371 eshlelf_nbsd.c:345 eshlelf_nto.c:345 -#: eshlelf_vxworks.c:382 ev850.c:295 ev850_rh850.c:295 +#: earmnto.c:898 eavr1.c:474 eavr2.c:474 eavr25.c:474 eavr3.c:474 eavr31.c:474 +#: eavr35.c:474 eavr4.c:474 eavr5.c:474 eavr51.c:474 eavr6.c:474 +#: eavrtiny.c:474 eavrxmega1.c:474 eavrxmega2.c:474 eavrxmega3.c:474 +#: eavrxmega4.c:474 eavrxmega5.c:474 eavrxmega6.c:474 eavrxmega7.c:474 +#: ecriself.c:265 ecrislinux.c:348 ecskyelf.c:509 ecskyelf_linux.c:617 +#: ed10velf.c:250 eelf32_sparc.c:373 eelf32_sparc_sol2.c:505 +#: eelf32_sparc_vxworks.c:410 eelf32_spu.c:983 eelf32_tic6x_be.c:484 +#: eelf32_tic6x_elf_be.c:484 eelf32_tic6x_elf_le.c:484 eelf32_tic6x_le.c:484 +#: eelf32_tic6x_linux_be.c:484 eelf32_tic6x_linux_le.c:484 +#: eelf32_x86_64.c:5508 eelf32am33lin.c:347 eelf32b4300.c:588 eelf32bfin.c:365 +#: eelf32bfinfd.c:390 eelf32bmip.c:588 eelf32bmipn32.c:602 eelf32briscv.c:455 +#: eelf32briscv_ilp32.c:455 eelf32briscv_ilp32f.c:455 eelf32bsmip.c:602 +#: eelf32btsmip.c:588 eelf32btsmip_fbsd.c:588 eelf32btsmipn32.c:588 +#: eelf32btsmipn32_fbsd.c:588 eelf32cr16.c:400 eelf32crx.c:287 +#: eelf32ebmip.c:588 eelf32ebmipvxworks.c:623 eelf32elmip.c:588 +#: eelf32elmipvxworks.c:623 eelf32epiphany.c:265 eelf32epiphany_4x4.c:252 +#: eelf32frvfd.c:372 eelf32ip2k.c:265 eelf32kvx.c:613 eelf32l4300.c:588 +#: eelf32lm32.c:265 eelf32lm32fd.c:372 eelf32lmip.c:588 eelf32loongarch.c:426 +#: eelf32lppc.c:636 eelf32lppclinux.c:636 eelf32lppcnto.c:636 +#: eelf32lppcsim.c:636 eelf32lr5900.c:506 eelf32lr5900n32.c:505 +#: eelf32lriscv.c:455 eelf32lriscv_ilp32.c:455 eelf32lriscv_ilp32f.c:455 +#: eelf32lsmip.c:588 eelf32ltsmip.c:588 eelf32ltsmip_fbsd.c:588 +#: eelf32ltsmipn32.c:588 eelf32ltsmipn32_fbsd.c:588 eelf32m32c.c:276 +#: eelf32mb_linux.c:373 eelf32mbel_linux.c:373 eelf32mcore.c:271 +#: eelf32mep.c:250 eelf32metag.c:622 eelf32microblaze.c:250 +#: eelf32microblazeel.c:250 eelf32mipswindiss.c:480 eelf32moxie.c:265 +#: eelf32or1k.c:266 eelf32or1k_linux.c:373 eelf32ppc.c:636 +#: eelf32ppc_fbsd.c:636 eelf32ppchaiku.c:636 eelf32ppclinux.c:636 +#: eelf32ppcnto.c:636 eelf32ppcsim.c:636 eelf32ppcvxworks.c:610 +#: eelf32ppcwindiss.c:636 eelf32rl78.c:265 eelf32rx.c:293 eelf32rx_linux.c:278 +#: eelf32tilegx.c:373 eelf32tilegx_be.c:373 eelf32tilepro.c:373 +#: eelf32vax.c:347 eelf32visium.c:250 eelf32xstormy16.c:261 +#: eelf32xtensa.c:2284 eelf32z80.c:277 eelf64_aix.c:347 eelf64_ia64.c:404 +#: eelf64_ia64_fbsd.c:404 eelf64_s390.c:443 eelf64_sparc.c:373 +#: eelf64_sparc_fbsd.c:373 eelf64_sparc_sol2.c:505 eelf64alpha.c:466 +#: eelf64alpha_fbsd.c:466 eelf64alpha_nbsd.c:466 eelf64bmip.c:602 +#: eelf64bpf.c:250 eelf64briscv.c:455 eelf64briscv_lp64.c:455 +#: eelf64briscv_lp64f.c:455 eelf64btsmip.c:588 eelf64btsmip_fbsd.c:588 +#: eelf64hppa.c:317 eelf64kvx.c:613 eelf64kvx_linux.c:635 +#: eelf64loongarch.c:426 eelf64lppc.c:1085 eelf64lppc_fbsd.c:1085 +#: eelf64lriscv.c:455 eelf64lriscv_lp64.c:455 eelf64lriscv_lp64f.c:455 +#: eelf64ltsmip.c:588 eelf64ltsmip_fbsd.c:588 eelf64mmix.c:458 +#: eelf64ppc.c:1085 eelf64ppc_fbsd.c:1085 eelf64rdos.c:398 eelf64tilegx.c:373 +#: eelf64tilegx_be.c:373 eelf_i386.c:5130 eelf_i386_be.c:371 +#: eelf_i386_fbsd.c:407 eelf_i386_haiku.c:407 eelf_i386_ldso.c:382 +#: eelf_i386_sol2.c:539 eelf_i386_vxworks.c:434 eelf_iamcu.c:407 +#: eelf_mipsel_haiku.c:588 eelf_s390.c:373 eelf_x86_64.c:5508 +#: eelf_x86_64_cloudabi.c:407 eelf_x86_64_fbsd.c:407 eelf_x86_64_haiku.c:407 +#: eelf_x86_64_sol2.c:539 eh8300elf.c:265 eh8300elf_linux.c:265 +#: eh8300helf.c:265 eh8300helf_linux.c:265 eh8300hnelf.c:265 eh8300self.c:265 +#: eh8300self_linux.c:265 eh8300snelf.c:265 eh8300sxelf.c:265 +#: eh8300sxelf_linux.c:265 eh8300sxnelf.c:265 ehppa64linux.c:347 +#: ehppaelf.c:533 ehppalinux.c:656 ehppanbsd.c:656 ehppaobsd.c:656 +#: ei386lynx.c:362 ei386moss.c:362 ei386nto.c:362 em32relf.c:265 +#: em32relf_linux.c:372 em32rlelf.c:265 em32rlelf_linux.c:372 +#: em68hc11elf.c:535 em68hc11elfb.c:535 em68hc12elf.c:535 em68hc12elfb.c:535 +#: em68kelf.c:530 em68kelfnbsd.c:530 emn10300.c:347 ends32belf.c:386 +#: ends32belf16m.c:386 ends32belf_linux.c:460 ends32elf.c:386 +#: ends32elf16m.c:386 ends32elf_linux.c:460 enios2elf.c:552 enios2linux.c:634 +#: epruelf.c:271 escore3_elf.c:367 escore7_elf.c:367 eshelf.c:347 +#: eshelf_fd.c:373 eshelf_linux.c:373 eshelf_nbsd.c:347 eshelf_nto.c:347 +#: eshelf_uclinux.c:347 eshelf_vxworks.c:384 eshlelf.c:347 eshlelf_fd.c:373 +#: eshlelf_linux.c:373 eshlelf_nbsd.c:347 eshlelf_nto.c:347 +#: eshlelf_vxworks.c:384 ev850.c:297 ev850_rh850.c:297 msgid "%F%P: invalid stack size `%s'\n" msgstr "" @@ -4032,231 +4151,235 @@ msgstr "" #: eaarch64elf32.c:722 eaarch64elf32b.c:722 eaarch64elfb.c:722 #: eaarch64fbsd.c:723 eaarch64fbsdb.c:723 eaarch64haiku.c:723 #: eaarch64linux.c:723 eaarch64linux32.c:723 eaarch64linux32b.c:723 -#: eaarch64linuxb.c:723 earcelf.c:354 earclinux.c:410 earclinux_nps.c:410 -#: earcv2elf.c:287 earcv2elfx.c:287 earmelf.c:962 earmelf_fbsd.c:962 -#: earmelf_fuchsia.c:963 earmelf_haiku.c:963 earmelf_linux.c:963 -#: earmelf_linux_eabi.c:963 earmelf_linux_fdpiceabi.c:963 earmelf_nacl.c:963 -#: earmelf_nbsd.c:962 earmelf_phoenix.c:963 earmelf_vxworks.c:998 -#: earmelfb.c:962 earmelfb_fbsd.c:962 earmelfb_fuchsia.c:963 -#: earmelfb_linux.c:963 earmelfb_linux_eabi.c:963 +#: eaarch64linuxb.c:723 eaarch64nto.c:891 earcelf.c:356 earclinux.c:412 +#: earclinux_nps.c:412 earcv2elf.c:289 earcv2elfx.c:289 earmelf.c:962 +#: earmelf_fbsd.c:962 earmelf_fuchsia.c:963 earmelf_haiku.c:963 +#: earmelf_linux.c:963 earmelf_linux_eabi.c:963 earmelf_linux_fdpiceabi.c:963 +#: earmelf_nacl.c:963 earmelf_nbsd.c:962 earmelf_phoenix.c:963 +#: earmelf_vxworks.c:998 earmelfb.c:962 earmelfb_fbsd.c:962 +#: earmelfb_fuchsia.c:963 earmelfb_linux.c:963 earmelfb_linux_eabi.c:963 #: earmelfb_linux_fdpiceabi.c:963 earmelfb_nacl.c:963 earmelfb_nbsd.c:962 -#: earmnto.c:937 eavr1.c:511 eavr2.c:511 eavr25.c:511 eavr3.c:511 eavr31.c:511 -#: eavr35.c:511 eavr4.c:511 eavr5.c:511 eavr51.c:511 eavr6.c:511 -#: eavrtiny.c:511 eavrxmega1.c:511 eavrxmega2.c:511 eavrxmega3.c:511 -#: eavrxmega4.c:511 eavrxmega5.c:511 eavrxmega6.c:511 eavrxmega7.c:511 -#: ecriself.c:302 ecrislinux.c:385 ecskyelf.c:546 ecskyelf_linux.c:654 -#: ed10velf.c:287 eelf32_sparc.c:410 eelf32_sparc_sol2.c:542 -#: eelf32_sparc_vxworks.c:447 eelf32_spu.c:1020 eelf32_tic6x_be.c:521 -#: eelf32_tic6x_elf_be.c:521 eelf32_tic6x_elf_le.c:521 eelf32_tic6x_le.c:521 -#: eelf32_tic6x_linux_be.c:521 eelf32_tic6x_linux_le.c:521 -#: eelf32_x86_64.c:5545 eelf32am33lin.c:384 eelf32b4300.c:625 eelf32bfin.c:402 -#: eelf32bfinfd.c:427 eelf32bmip.c:625 eelf32bmipn32.c:639 eelf32briscv.c:478 -#: eelf32briscv_ilp32.c:478 eelf32briscv_ilp32f.c:478 eelf32bsmip.c:639 -#: eelf32btsmip.c:625 eelf32btsmip_fbsd.c:625 eelf32btsmipn32.c:625 -#: eelf32btsmipn32_fbsd.c:625 eelf32cr16.c:437 eelf32crx.c:324 -#: eelf32ebmip.c:625 eelf32ebmipvxworks.c:660 eelf32elmip.c:625 -#: eelf32elmipvxworks.c:660 eelf32epiphany.c:302 eelf32epiphany_4x4.c:289 -#: eelf32frvfd.c:409 eelf32ip2k.c:302 eelf32l4300.c:625 eelf32lm32.c:302 -#: eelf32lm32fd.c:409 eelf32lmip.c:625 eelf32loongarch.c:460 eelf32lppc.c:673 -#: eelf32lppclinux.c:673 eelf32lppcnto.c:673 eelf32lppcsim.c:673 -#: eelf32lr5900.c:543 eelf32lr5900n32.c:542 eelf32lriscv.c:478 -#: eelf32lriscv_ilp32.c:478 eelf32lriscv_ilp32f.c:478 eelf32lsmip.c:625 -#: eelf32ltsmip.c:625 eelf32ltsmip_fbsd.c:625 eelf32ltsmipn32.c:625 -#: eelf32ltsmipn32_fbsd.c:625 eelf32m32c.c:313 eelf32mb_linux.c:410 -#: eelf32mbel_linux.c:410 eelf32mcore.c:308 eelf32mep.c:287 eelf32metag.c:659 -#: eelf32microblaze.c:287 eelf32microblazeel.c:287 eelf32mipswindiss.c:517 -#: eelf32moxie.c:302 eelf32or1k.c:303 eelf32or1k_linux.c:410 eelf32ppc.c:673 -#: eelf32ppc_fbsd.c:673 eelf32ppchaiku.c:673 eelf32ppclinux.c:673 -#: eelf32ppcnto.c:673 eelf32ppcsim.c:673 eelf32ppcvxworks.c:647 -#: eelf32ppcwindiss.c:673 eelf32rl78.c:302 eelf32rx.c:330 eelf32rx_linux.c:315 -#: eelf32tilegx.c:410 eelf32tilegx_be.c:410 eelf32tilepro.c:410 -#: eelf32vax.c:384 eelf32visium.c:287 eelf32xstormy16.c:298 -#: eelf32xtensa.c:2323 eelf32z80.c:314 eelf64_aix.c:384 eelf64_ia64.c:441 -#: eelf64_ia64_fbsd.c:441 eelf64_s390.c:480 eelf64_sparc.c:410 -#: eelf64_sparc_fbsd.c:410 eelf64_sparc_sol2.c:542 eelf64alpha.c:503 -#: eelf64alpha_fbsd.c:503 eelf64alpha_nbsd.c:503 eelf64bmip.c:639 -#: eelf64bpf.c:287 eelf64briscv.c:478 eelf64briscv_lp64.c:478 -#: eelf64briscv_lp64f.c:478 eelf64btsmip.c:625 eelf64btsmip_fbsd.c:625 -#: eelf64hppa.c:354 eelf64loongarch.c:460 eelf64lppc.c:1122 -#: eelf64lppc_fbsd.c:1122 eelf64lriscv.c:478 eelf64lriscv_lp64.c:478 -#: eelf64lriscv_lp64f.c:478 eelf64ltsmip.c:625 eelf64ltsmip_fbsd.c:625 -#: eelf64mmix.c:495 eelf64ppc.c:1122 eelf64ppc_fbsd.c:1122 eelf64rdos.c:435 -#: eelf64tilegx.c:410 eelf64tilegx_be.c:410 eelf_i386.c:5167 -#: eelf_i386_be.c:408 eelf_i386_fbsd.c:444 eelf_i386_haiku.c:444 -#: eelf_i386_ldso.c:419 eelf_i386_sol2.c:576 eelf_i386_vxworks.c:471 -#: eelf_iamcu.c:444 eelf_mipsel_haiku.c:625 eelf_s390.c:410 eelf_x86_64.c:5545 -#: eelf_x86_64_cloudabi.c:444 eelf_x86_64_fbsd.c:444 eelf_x86_64_haiku.c:444 -#: eelf_x86_64_sol2.c:576 eh8300elf.c:302 eh8300elf_linux.c:302 -#: eh8300helf.c:302 eh8300helf_linux.c:302 eh8300hnelf.c:302 eh8300self.c:302 -#: eh8300self_linux.c:302 eh8300snelf.c:302 eh8300sxelf.c:302 -#: eh8300sxelf_linux.c:302 eh8300sxnelf.c:302 ehppa64linux.c:384 -#: ehppaelf.c:570 ehppalinux.c:693 ehppanbsd.c:693 ehppaobsd.c:693 -#: ei386lynx.c:399 ei386moss.c:399 ei386nto.c:399 em32relf.c:302 -#: em32relf_linux.c:409 em32rlelf.c:302 em32rlelf_linux.c:409 -#: em68hc11elf.c:572 em68hc11elfb.c:572 em68hc12elf.c:572 em68hc12elfb.c:572 -#: em68kelf.c:567 em68kelfnbsd.c:567 emn10300.c:384 ends32belf.c:423 -#: ends32belf16m.c:423 ends32belf_linux.c:497 ends32elf.c:423 -#: ends32elf16m.c:423 ends32elf_linux.c:497 enios2elf.c:589 enios2linux.c:671 -#: epruelf.c:308 escore3_elf.c:406 escore7_elf.c:406 eshelf.c:384 -#: eshelf_fd.c:410 eshelf_linux.c:410 eshelf_nbsd.c:384 eshelf_nto.c:384 -#: eshelf_uclinux.c:384 eshelf_vxworks.c:421 eshlelf.c:384 eshlelf_fd.c:410 -#: eshlelf_linux.c:410 eshlelf_nbsd.c:384 eshlelf_nto.c:384 -#: eshlelf_vxworks.c:421 ev850.c:334 ev850_rh850.c:334 +#: earmnto.c:937 eavr1.c:513 eavr2.c:513 eavr25.c:513 eavr3.c:513 eavr31.c:513 +#: eavr35.c:513 eavr4.c:513 eavr5.c:513 eavr51.c:513 eavr6.c:513 +#: eavrtiny.c:513 eavrxmega1.c:513 eavrxmega2.c:513 eavrxmega3.c:513 +#: eavrxmega4.c:513 eavrxmega5.c:513 eavrxmega6.c:513 eavrxmega7.c:513 +#: ecriself.c:304 ecrislinux.c:387 ecskyelf.c:548 ecskyelf_linux.c:656 +#: ed10velf.c:289 eelf32_sparc.c:412 eelf32_sparc_sol2.c:544 +#: eelf32_sparc_vxworks.c:449 eelf32_spu.c:1022 eelf32_tic6x_be.c:523 +#: eelf32_tic6x_elf_be.c:523 eelf32_tic6x_elf_le.c:523 eelf32_tic6x_le.c:523 +#: eelf32_tic6x_linux_be.c:523 eelf32_tic6x_linux_le.c:523 +#: eelf32_x86_64.c:5547 eelf32am33lin.c:386 eelf32b4300.c:627 eelf32bfin.c:404 +#: eelf32bfinfd.c:429 eelf32bmip.c:627 eelf32bmipn32.c:641 eelf32briscv.c:494 +#: eelf32briscv_ilp32.c:494 eelf32briscv_ilp32f.c:494 eelf32bsmip.c:641 +#: eelf32btsmip.c:627 eelf32btsmip_fbsd.c:627 eelf32btsmipn32.c:627 +#: eelf32btsmipn32_fbsd.c:627 eelf32cr16.c:439 eelf32crx.c:326 +#: eelf32ebmip.c:627 eelf32ebmipvxworks.c:662 eelf32elmip.c:627 +#: eelf32elmipvxworks.c:662 eelf32epiphany.c:304 eelf32epiphany_4x4.c:291 +#: eelf32frvfd.c:411 eelf32ip2k.c:304 eelf32kvx.c:652 eelf32l4300.c:627 +#: eelf32lm32.c:304 eelf32lm32fd.c:411 eelf32lmip.c:627 eelf32loongarch.c:465 +#: eelf32lppc.c:675 eelf32lppclinux.c:675 eelf32lppcnto.c:675 +#: eelf32lppcsim.c:675 eelf32lr5900.c:545 eelf32lr5900n32.c:544 +#: eelf32lriscv.c:494 eelf32lriscv_ilp32.c:494 eelf32lriscv_ilp32f.c:494 +#: eelf32lsmip.c:627 eelf32ltsmip.c:627 eelf32ltsmip_fbsd.c:627 +#: eelf32ltsmipn32.c:627 eelf32ltsmipn32_fbsd.c:627 eelf32m32c.c:315 +#: eelf32mb_linux.c:412 eelf32mbel_linux.c:412 eelf32mcore.c:310 +#: eelf32mep.c:289 eelf32metag.c:661 eelf32microblaze.c:289 +#: eelf32microblazeel.c:289 eelf32mipswindiss.c:519 eelf32moxie.c:304 +#: eelf32or1k.c:305 eelf32or1k_linux.c:412 eelf32ppc.c:675 +#: eelf32ppc_fbsd.c:675 eelf32ppchaiku.c:675 eelf32ppclinux.c:675 +#: eelf32ppcnto.c:675 eelf32ppcsim.c:675 eelf32ppcvxworks.c:649 +#: eelf32ppcwindiss.c:675 eelf32rl78.c:304 eelf32rx.c:332 eelf32rx_linux.c:317 +#: eelf32tilegx.c:412 eelf32tilegx_be.c:412 eelf32tilepro.c:412 +#: eelf32vax.c:386 eelf32visium.c:289 eelf32xstormy16.c:300 +#: eelf32xtensa.c:2323 eelf32z80.c:316 eelf64_aix.c:386 eelf64_ia64.c:443 +#: eelf64_ia64_fbsd.c:443 eelf64_s390.c:482 eelf64_sparc.c:412 +#: eelf64_sparc_fbsd.c:412 eelf64_sparc_sol2.c:544 eelf64alpha.c:505 +#: eelf64alpha_fbsd.c:505 eelf64alpha_nbsd.c:505 eelf64bmip.c:641 +#: eelf64bpf.c:289 eelf64briscv.c:494 eelf64briscv_lp64.c:494 +#: eelf64briscv_lp64f.c:494 eelf64btsmip.c:627 eelf64btsmip_fbsd.c:627 +#: eelf64hppa.c:356 eelf64kvx.c:652 eelf64kvx_linux.c:674 +#: eelf64loongarch.c:465 eelf64lppc.c:1124 eelf64lppc_fbsd.c:1124 +#: eelf64lriscv.c:494 eelf64lriscv_lp64.c:494 eelf64lriscv_lp64f.c:494 +#: eelf64ltsmip.c:627 eelf64ltsmip_fbsd.c:627 eelf64mmix.c:497 +#: eelf64ppc.c:1124 eelf64ppc_fbsd.c:1124 eelf64rdos.c:437 eelf64tilegx.c:412 +#: eelf64tilegx_be.c:412 eelf_i386.c:5169 eelf_i386_be.c:410 +#: eelf_i386_fbsd.c:446 eelf_i386_haiku.c:446 eelf_i386_ldso.c:421 +#: eelf_i386_sol2.c:578 eelf_i386_vxworks.c:473 eelf_iamcu.c:446 +#: eelf_mipsel_haiku.c:627 eelf_s390.c:412 eelf_x86_64.c:5547 +#: eelf_x86_64_cloudabi.c:446 eelf_x86_64_fbsd.c:446 eelf_x86_64_haiku.c:446 +#: eelf_x86_64_sol2.c:578 eh8300elf.c:304 eh8300elf_linux.c:304 +#: eh8300helf.c:304 eh8300helf_linux.c:304 eh8300hnelf.c:304 eh8300self.c:304 +#: eh8300self_linux.c:304 eh8300snelf.c:304 eh8300sxelf.c:304 +#: eh8300sxelf_linux.c:304 eh8300sxnelf.c:304 ehppa64linux.c:386 +#: ehppaelf.c:572 ehppalinux.c:695 ehppanbsd.c:695 ehppaobsd.c:695 +#: ei386lynx.c:401 ei386moss.c:401 ei386nto.c:401 em32relf.c:304 +#: em32relf_linux.c:411 em32rlelf.c:304 em32rlelf_linux.c:411 +#: em68hc11elf.c:574 em68hc11elfb.c:574 em68hc12elf.c:574 em68hc12elfb.c:574 +#: em68kelf.c:569 em68kelfnbsd.c:569 emn10300.c:386 ends32belf.c:425 +#: ends32belf16m.c:425 ends32belf_linux.c:499 ends32elf.c:425 +#: ends32elf16m.c:425 ends32elf_linux.c:499 enios2elf.c:591 enios2linux.c:673 +#: epruelf.c:310 escore3_elf.c:406 escore7_elf.c:406 eshelf.c:386 +#: eshelf_fd.c:412 eshelf_linux.c:412 eshelf_nbsd.c:386 eshelf_nto.c:386 +#: eshelf_uclinux.c:386 eshelf_vxworks.c:423 eshlelf.c:386 eshlelf_fd.c:412 +#: eshlelf_linux.c:412 eshlelf_nbsd.c:386 eshlelf_nto.c:386 +#: eshlelf_vxworks.c:423 ev850.c:336 ev850_rh850.c:336 msgid "" "%F%P: invalid visibility in `-z %s'; must be default, internal, hidden, or " "protected" msgstr "" -#: eaarch64cloudabi.c:796 eaarch64cloudabib.c:796 eaarch64elf.c:791 -#: eaarch64elf32.c:791 eaarch64elf32b.c:791 eaarch64elfb.c:791 -#: eaarch64fbsd.c:796 eaarch64fbsdb.c:796 eaarch64haiku.c:796 -#: eaarch64linux.c:796 eaarch64linux32.c:796 eaarch64linux32b.c:796 -#: eaarch64linuxb.c:796 earcelf.c:414 earclinux.c:474 earclinux_nps.c:474 -#: earcv2elf.c:292 earcv2elfx.c:292 earmelf.c:1022 earmelf_fbsd.c:1022 -#: earmelf_fuchsia.c:1027 earmelf_haiku.c:1027 earmelf_linux.c:1027 -#: earmelf_linux_eabi.c:1027 earmelf_linux_fdpiceabi.c:1027 -#: earmelf_nacl.c:1027 earmelf_nbsd.c:1022 earmelf_phoenix.c:1027 -#: earmelf_vxworks.c:1058 earmelfb.c:1022 earmelfb_fbsd.c:1022 -#: earmelfb_fuchsia.c:1027 earmelfb_linux.c:1027 earmelfb_linux_eabi.c:1027 -#: earmelfb_linux_fdpiceabi.c:1027 earmelfb_nacl.c:1027 earmelfb_nbsd.c:1022 -#: earmnto.c:997 eavr1.c:516 eavr2.c:516 eavr25.c:516 eavr3.c:516 eavr31.c:516 -#: eavr35.c:516 eavr4.c:516 eavr5.c:516 eavr51.c:516 eavr6.c:516 -#: eavrtiny.c:516 eavrxmega1.c:516 eavrxmega2.c:516 eavrxmega3.c:516 -#: eavrxmega4.c:516 eavrxmega5.c:516 eavrxmega6.c:516 eavrxmega7.c:516 -#: ecriself.c:307 ecrislinux.c:449 ecskyelf.c:551 ecskyelf_linux.c:718 -#: ed10velf.c:292 eelf32_sparc.c:474 eelf32_sparc_sol2.c:606 -#: eelf32_sparc_vxworks.c:511 eelf32_spu.c:1025 eelf32_tic6x_be.c:581 -#: eelf32_tic6x_elf_be.c:581 eelf32_tic6x_elf_le.c:581 eelf32_tic6x_le.c:581 -#: eelf32_tic6x_linux_be.c:581 eelf32_tic6x_linux_le.c:581 -#: eelf32_x86_64.c:5701 eelf32am33lin.c:444 eelf32b4300.c:689 eelf32bfin.c:462 -#: eelf32bfinfd.c:487 eelf32bmip.c:689 eelf32bmipn32.c:703 eelf32briscv.c:542 -#: eelf32briscv_ilp32.c:542 eelf32briscv_ilp32f.c:542 eelf32bsmip.c:703 -#: eelf32btsmip.c:689 eelf32btsmip_fbsd.c:689 eelf32btsmipn32.c:689 -#: eelf32btsmipn32_fbsd.c:689 eelf32cr16.c:442 eelf32crx.c:329 -#: eelf32ebmip.c:689 eelf32ebmipvxworks.c:724 eelf32elmip.c:689 -#: eelf32elmipvxworks.c:724 eelf32epiphany.c:307 eelf32epiphany_4x4.c:294 -#: eelf32frvfd.c:469 eelf32ip2k.c:307 eelf32l4300.c:689 eelf32lm32.c:307 -#: eelf32lm32fd.c:469 eelf32lmip.c:689 eelf32loongarch.c:524 eelf32lppc.c:743 -#: eelf32lppclinux.c:743 eelf32lppcnto.c:743 eelf32lppcsim.c:743 -#: eelf32lr5900.c:548 eelf32lr5900n32.c:547 eelf32lriscv.c:542 -#: eelf32lriscv_ilp32.c:542 eelf32lriscv_ilp32f.c:542 eelf32lsmip.c:689 -#: eelf32ltsmip.c:689 eelf32ltsmip_fbsd.c:689 eelf32ltsmipn32.c:689 -#: eelf32ltsmipn32_fbsd.c:689 eelf32m32c.c:318 eelf32mb_linux.c:474 -#: eelf32mbel_linux.c:474 eelf32mcore.c:313 eelf32mep.c:292 eelf32metag.c:723 -#: eelf32microblaze.c:292 eelf32microblazeel.c:292 eelf32mipswindiss.c:522 -#: eelf32moxie.c:307 eelf32or1k.c:308 eelf32or1k_linux.c:474 eelf32ppc.c:743 -#: eelf32ppc_fbsd.c:743 eelf32ppchaiku.c:743 eelf32ppclinux.c:743 -#: eelf32ppcnto.c:743 eelf32ppcsim.c:743 eelf32ppcvxworks.c:717 -#: eelf32ppcwindiss.c:743 eelf32rl78.c:307 eelf32rx.c:335 eelf32rx_linux.c:320 -#: eelf32tilegx.c:474 eelf32tilegx_be.c:474 eelf32tilepro.c:474 -#: eelf32vax.c:444 eelf32visium.c:292 eelf32xstormy16.c:303 -#: eelf32xtensa.c:2387 eelf32z80.c:319 eelf64_aix.c:444 eelf64_ia64.c:501 -#: eelf64_ia64_fbsd.c:501 eelf64_s390.c:544 eelf64_sparc.c:474 -#: eelf64_sparc_fbsd.c:474 eelf64_sparc_sol2.c:606 eelf64alpha.c:567 -#: eelf64alpha_fbsd.c:567 eelf64alpha_nbsd.c:567 eelf64bmip.c:703 -#: eelf64bpf.c:292 eelf64briscv.c:542 eelf64briscv_lp64.c:542 -#: eelf64briscv_lp64f.c:542 eelf64btsmip.c:689 eelf64btsmip_fbsd.c:689 -#: eelf64hppa.c:414 eelf64loongarch.c:524 eelf64lppc.c:1197 -#: eelf64lppc_fbsd.c:1197 eelf64lriscv.c:542 eelf64lriscv_lp64.c:542 -#: eelf64lriscv_lp64f.c:542 eelf64ltsmip.c:689 eelf64ltsmip_fbsd.c:689 -#: eelf64mmix.c:555 eelf64ppc.c:1197 eelf64ppc_fbsd.c:1197 eelf64rdos.c:499 -#: eelf64tilegx.c:474 eelf64tilegx_be.c:474 eelf_i386.c:5320 -#: eelf_i386_be.c:515 eelf_i386_fbsd.c:597 eelf_i386_haiku.c:597 -#: eelf_i386_ldso.c:530 eelf_i386_sol2.c:687 eelf_i386_vxworks.c:582 -#: eelf_iamcu.c:555 eelf_mipsel_haiku.c:689 eelf_s390.c:474 eelf_x86_64.c:5751 -#: eelf_x86_64_cloudabi.c:650 eelf_x86_64_fbsd.c:650 eelf_x86_64_haiku.c:650 -#: eelf_x86_64_sol2.c:782 eh8300elf.c:307 eh8300elf_linux.c:307 -#: eh8300helf.c:307 eh8300helf_linux.c:307 eh8300hnelf.c:307 eh8300self.c:307 -#: eh8300self_linux.c:307 eh8300snelf.c:307 eh8300sxelf.c:307 -#: eh8300sxelf_linux.c:307 eh8300sxnelf.c:307 ehppa64linux.c:444 -#: ehppaelf.c:575 ehppalinux.c:757 ehppanbsd.c:757 ehppaobsd.c:757 -#: ei386lynx.c:459 ei386moss.c:459 ei386nto.c:459 em32relf.c:307 -#: em32relf_linux.c:469 em32rlelf.c:307 em32rlelf_linux.c:469 -#: em68hc11elf.c:577 em68hc11elfb.c:577 em68hc12elf.c:577 em68hc12elfb.c:577 -#: em68kelf.c:631 em68kelfnbsd.c:631 emn10300.c:444 ends32belf.c:428 -#: ends32belf16m.c:428 ends32belf_linux.c:561 ends32elf.c:428 -#: ends32elf16m.c:428 ends32elf_linux.c:561 enios2elf.c:594 enios2linux.c:735 -#: epruelf.c:313 escore3_elf.c:466 escore7_elf.c:466 eshelf.c:444 -#: eshelf_fd.c:474 eshelf_linux.c:474 eshelf_nbsd.c:444 eshelf_nto.c:444 -#: eshelf_uclinux.c:444 eshelf_vxworks.c:481 eshlelf.c:444 eshlelf_fd.c:474 -#: eshlelf_linux.c:474 eshlelf_nbsd.c:444 eshlelf_nto.c:444 -#: eshlelf_vxworks.c:481 ev850.c:339 ev850_rh850.c:339 +#: eaarch64cloudabi.c:800 eaarch64cloudabib.c:800 eaarch64elf.c:795 +#: eaarch64elf32.c:795 eaarch64elf32b.c:795 eaarch64elfb.c:795 +#: eaarch64fbsd.c:800 eaarch64fbsdb.c:800 eaarch64haiku.c:800 +#: eaarch64linux.c:800 eaarch64linux32.c:800 eaarch64linux32b.c:800 +#: eaarch64linuxb.c:800 eaarch64nto.c:968 earcelf.c:420 earclinux.c:480 +#: earclinux_nps.c:480 earcv2elf.c:298 earcv2elfx.c:298 earmelf.c:1026 +#: earmelf_fbsd.c:1026 earmelf_fuchsia.c:1031 earmelf_haiku.c:1031 +#: earmelf_linux.c:1031 earmelf_linux_eabi.c:1031 +#: earmelf_linux_fdpiceabi.c:1031 earmelf_nacl.c:1031 earmelf_nbsd.c:1026 +#: earmelf_phoenix.c:1031 earmelf_vxworks.c:1062 earmelfb.c:1026 +#: earmelfb_fbsd.c:1026 earmelfb_fuchsia.c:1031 earmelfb_linux.c:1031 +#: earmelfb_linux_eabi.c:1031 earmelfb_linux_fdpiceabi.c:1031 +#: earmelfb_nacl.c:1031 earmelfb_nbsd.c:1026 earmnto.c:1001 eavr1.c:522 +#: eavr2.c:522 eavr25.c:522 eavr3.c:522 eavr31.c:522 eavr35.c:522 eavr4.c:522 +#: eavr5.c:522 eavr51.c:522 eavr6.c:522 eavrtiny.c:522 eavrxmega1.c:522 +#: eavrxmega2.c:522 eavrxmega3.c:522 eavrxmega4.c:522 eavrxmega5.c:522 +#: eavrxmega6.c:522 eavrxmega7.c:522 ecriself.c:313 ecrislinux.c:455 +#: ecskyelf.c:557 ecskyelf_linux.c:724 ed10velf.c:298 eelf32_sparc.c:480 +#: eelf32_sparc_sol2.c:612 eelf32_sparc_vxworks.c:517 eelf32_spu.c:1031 +#: eelf32_tic6x_be.c:587 eelf32_tic6x_elf_be.c:587 eelf32_tic6x_elf_le.c:587 +#: eelf32_tic6x_le.c:587 eelf32_tic6x_linux_be.c:587 +#: eelf32_tic6x_linux_le.c:587 eelf32_x86_64.c:5712 eelf32am33lin.c:450 +#: eelf32b4300.c:695 eelf32bfin.c:468 eelf32bfinfd.c:493 eelf32bmip.c:695 +#: eelf32bmipn32.c:709 eelf32briscv.c:562 eelf32briscv_ilp32.c:562 +#: eelf32briscv_ilp32f.c:562 eelf32bsmip.c:709 eelf32btsmip.c:695 +#: eelf32btsmip_fbsd.c:695 eelf32btsmipn32.c:695 eelf32btsmipn32_fbsd.c:695 +#: eelf32cr16.c:448 eelf32crx.c:335 eelf32ebmip.c:695 eelf32ebmipvxworks.c:730 +#: eelf32elmip.c:695 eelf32elmipvxworks.c:730 eelf32epiphany.c:313 +#: eelf32epiphany_4x4.c:300 eelf32frvfd.c:475 eelf32ip2k.c:313 eelf32kvx.c:716 +#: eelf32l4300.c:695 eelf32lm32.c:313 eelf32lm32fd.c:475 eelf32lmip.c:695 +#: eelf32loongarch.c:533 eelf32lppc.c:749 eelf32lppclinux.c:749 +#: eelf32lppcnto.c:749 eelf32lppcsim.c:749 eelf32lr5900.c:554 +#: eelf32lr5900n32.c:553 eelf32lriscv.c:562 eelf32lriscv_ilp32.c:562 +#: eelf32lriscv_ilp32f.c:562 eelf32lsmip.c:695 eelf32ltsmip.c:695 +#: eelf32ltsmip_fbsd.c:695 eelf32ltsmipn32.c:695 eelf32ltsmipn32_fbsd.c:695 +#: eelf32m32c.c:324 eelf32mb_linux.c:480 eelf32mbel_linux.c:480 +#: eelf32mcore.c:319 eelf32mep.c:298 eelf32metag.c:729 eelf32microblaze.c:298 +#: eelf32microblazeel.c:298 eelf32mipswindiss.c:528 eelf32moxie.c:313 +#: eelf32or1k.c:314 eelf32or1k_linux.c:480 eelf32ppc.c:749 +#: eelf32ppc_fbsd.c:749 eelf32ppchaiku.c:749 eelf32ppclinux.c:749 +#: eelf32ppcnto.c:749 eelf32ppcsim.c:749 eelf32ppcvxworks.c:723 +#: eelf32ppcwindiss.c:749 eelf32rl78.c:313 eelf32rx.c:341 eelf32rx_linux.c:326 +#: eelf32tilegx.c:480 eelf32tilegx_be.c:480 eelf32tilepro.c:480 +#: eelf32vax.c:450 eelf32visium.c:298 eelf32xstormy16.c:309 +#: eelf32xtensa.c:2391 eelf32z80.c:325 eelf64_aix.c:450 eelf64_ia64.c:507 +#: eelf64_ia64_fbsd.c:507 eelf64_s390.c:550 eelf64_sparc.c:480 +#: eelf64_sparc_fbsd.c:480 eelf64_sparc_sol2.c:612 eelf64alpha.c:573 +#: eelf64alpha_fbsd.c:573 eelf64alpha_nbsd.c:573 eelf64bmip.c:709 +#: eelf64bpf.c:298 eelf64briscv.c:562 eelf64briscv_lp64.c:562 +#: eelf64briscv_lp64f.c:562 eelf64btsmip.c:695 eelf64btsmip_fbsd.c:695 +#: eelf64hppa.c:420 eelf64kvx.c:716 eelf64kvx_linux.c:738 +#: eelf64loongarch.c:533 eelf64lppc.c:1203 eelf64lppc_fbsd.c:1203 +#: eelf64lriscv.c:562 eelf64lriscv_lp64.c:562 eelf64lriscv_lp64f.c:562 +#: eelf64ltsmip.c:695 eelf64ltsmip_fbsd.c:695 eelf64mmix.c:561 +#: eelf64ppc.c:1203 eelf64ppc_fbsd.c:1203 eelf64rdos.c:505 eelf64tilegx.c:480 +#: eelf64tilegx_be.c:480 eelf_i386.c:5326 eelf_i386_be.c:521 +#: eelf_i386_fbsd.c:603 eelf_i386_haiku.c:603 eelf_i386_ldso.c:536 +#: eelf_i386_sol2.c:693 eelf_i386_vxworks.c:588 eelf_iamcu.c:561 +#: eelf_mipsel_haiku.c:695 eelf_s390.c:480 eelf_x86_64.c:5762 +#: eelf_x86_64_cloudabi.c:661 eelf_x86_64_fbsd.c:661 eelf_x86_64_haiku.c:661 +#: eelf_x86_64_sol2.c:793 eh8300elf.c:313 eh8300elf_linux.c:313 +#: eh8300helf.c:313 eh8300helf_linux.c:313 eh8300hnelf.c:313 eh8300self.c:313 +#: eh8300self_linux.c:313 eh8300snelf.c:313 eh8300sxelf.c:313 +#: eh8300sxelf_linux.c:313 eh8300sxnelf.c:313 ehppa64linux.c:450 +#: ehppaelf.c:581 ehppalinux.c:763 ehppanbsd.c:763 ehppaobsd.c:763 +#: ei386lynx.c:465 ei386moss.c:465 ei386nto.c:465 em32relf.c:313 +#: em32relf_linux.c:475 em32rlelf.c:313 em32rlelf_linux.c:475 +#: em68hc11elf.c:583 em68hc11elfb.c:583 em68hc12elf.c:583 em68hc12elfb.c:583 +#: em68kelf.c:637 em68kelfnbsd.c:637 emn10300.c:450 ends32belf.c:434 +#: ends32belf16m.c:434 ends32belf_linux.c:567 ends32elf.c:434 +#: ends32elf16m.c:434 ends32elf_linux.c:567 enios2elf.c:600 enios2linux.c:741 +#: epruelf.c:319 escore3_elf.c:470 escore7_elf.c:470 eshelf.c:450 +#: eshelf_fd.c:480 eshelf_linux.c:480 eshelf_nbsd.c:450 eshelf_nto.c:450 +#: eshelf_uclinux.c:450 eshelf_vxworks.c:487 eshlelf.c:450 eshlelf_fd.c:480 +#: eshlelf_linux.c:480 eshlelf_nbsd.c:450 eshlelf_nto.c:450 +#: eshlelf_vxworks.c:487 ev850.c:345 ev850_rh850.c:345 msgid "%P: warning: -z %s ignored\n" msgstr "" -#: eaarch64cloudabi.c:830 eaarch64cloudabib.c:830 eaarch64elf.c:825 -#: eaarch64elf32.c:825 eaarch64elf32b.c:825 eaarch64elfb.c:825 -#: eaarch64fbsd.c:830 eaarch64fbsdb.c:830 eaarch64haiku.c:830 -#: eaarch64linux.c:830 eaarch64linux32.c:830 eaarch64linux32b.c:830 -#: eaarch64linuxb.c:830 +#: eaarch64cloudabi.c:834 eaarch64cloudabib.c:834 eaarch64elf.c:829 +#: eaarch64elf32.c:829 eaarch64elf32b.c:829 eaarch64elfb.c:829 +#: eaarch64fbsd.c:834 eaarch64fbsdb.c:834 eaarch64haiku.c:834 +#: eaarch64linux.c:834 eaarch64linux32.c:834 eaarch64linux32b.c:834 +#: eaarch64linuxb.c:834 eaarch64nto.c:1002 msgid "%P: error: unrecognized option for --fix-cortex-a53-843419: %s\n" msgstr "" -#: eaarch64cloudabi.c:859 eaarch64cloudabib.c:859 eaarch64elf.c:854 -#: eaarch64elf32.c:854 eaarch64elf32b.c:854 eaarch64elfb.c:854 -#: eaarch64fbsd.c:859 eaarch64fbsdb.c:859 eaarch64haiku.c:859 -#: eaarch64linux.c:859 eaarch64linux32.c:859 eaarch64linux32b.c:859 -#: eaarch64linuxb.c:859 earmelf.c:1159 earmelf_fbsd.c:1159 -#: earmelf_fuchsia.c:1164 earmelf_haiku.c:1164 earmelf_linux.c:1164 -#: earmelf_linux_eabi.c:1164 earmelf_linux_fdpiceabi.c:1164 -#: earmelf_nacl.c:1164 earmelf_nbsd.c:1159 earmelf_phoenix.c:1164 -#: earmelf_vxworks.c:1199 earmelfb.c:1159 earmelfb_fbsd.c:1159 -#: earmelfb_fuchsia.c:1164 earmelfb_linux.c:1164 earmelfb_linux_eabi.c:1164 -#: earmelfb_linux_fdpiceabi.c:1164 earmelfb_nacl.c:1164 earmelfb_nbsd.c:1159 -#: earmnto.c:1134 +#: eaarch64cloudabi.c:863 eaarch64cloudabib.c:863 eaarch64elf.c:858 +#: eaarch64elf32.c:858 eaarch64elf32b.c:858 eaarch64elfb.c:858 +#: eaarch64fbsd.c:863 eaarch64fbsdb.c:863 eaarch64haiku.c:863 +#: eaarch64linux.c:863 eaarch64linux32.c:863 eaarch64linux32b.c:863 +#: eaarch64linuxb.c:863 eaarch64nto.c:1047 earmelf.c:1163 earmelf_fbsd.c:1163 +#: earmelf_fuchsia.c:1168 earmelf_haiku.c:1168 earmelf_linux.c:1168 +#: earmelf_linux_eabi.c:1168 earmelf_linux_fdpiceabi.c:1168 +#: earmelf_nacl.c:1168 earmelf_nbsd.c:1163 earmelf_phoenix.c:1168 +#: earmelf_vxworks.c:1203 earmelfb.c:1163 earmelfb_fbsd.c:1163 +#: earmelfb_fuchsia.c:1168 earmelfb_linux.c:1168 earmelfb_linux_eabi.c:1168 +#: earmelfb_linux_fdpiceabi.c:1168 earmelfb_nacl.c:1168 earmelfb_nbsd.c:1163 +#: earmnto.c:1138 #, c-format msgid "" " --no-enum-size-warning Don't warn about objects with incompatible\n" " enum sizes\n" msgstr "" -#: eaarch64cloudabi.c:861 eaarch64cloudabib.c:861 eaarch64elf.c:856 -#: eaarch64elf32.c:856 eaarch64elf32b.c:856 eaarch64elfb.c:856 -#: eaarch64fbsd.c:861 eaarch64fbsdb.c:861 eaarch64haiku.c:861 -#: eaarch64linux.c:861 eaarch64linux32.c:861 eaarch64linux32b.c:861 -#: eaarch64linuxb.c:861 earmelf.c:1161 earmelf_fbsd.c:1161 -#: earmelf_fuchsia.c:1166 earmelf_haiku.c:1166 earmelf_linux.c:1166 -#: earmelf_linux_eabi.c:1166 earmelf_linux_fdpiceabi.c:1166 -#: earmelf_nacl.c:1166 earmelf_nbsd.c:1161 earmelf_phoenix.c:1166 -#: earmelf_vxworks.c:1201 earmelfb.c:1161 earmelfb_fbsd.c:1161 -#: earmelfb_fuchsia.c:1166 earmelfb_linux.c:1166 earmelfb_linux_eabi.c:1166 -#: earmelfb_linux_fdpiceabi.c:1166 earmelfb_nacl.c:1166 earmelfb_nbsd.c:1161 -#: earmnto.c:1136 +#: eaarch64cloudabi.c:865 eaarch64cloudabib.c:865 eaarch64elf.c:860 +#: eaarch64elf32.c:860 eaarch64elf32b.c:860 eaarch64elfb.c:860 +#: eaarch64fbsd.c:865 eaarch64fbsdb.c:865 eaarch64haiku.c:865 +#: eaarch64linux.c:865 eaarch64linux32.c:865 eaarch64linux32b.c:865 +#: eaarch64linuxb.c:865 eaarch64nto.c:1049 earmelf.c:1165 earmelf_fbsd.c:1165 +#: earmelf_fuchsia.c:1170 earmelf_haiku.c:1170 earmelf_linux.c:1170 +#: earmelf_linux_eabi.c:1170 earmelf_linux_fdpiceabi.c:1170 +#: earmelf_nacl.c:1170 earmelf_nbsd.c:1165 earmelf_phoenix.c:1170 +#: earmelf_vxworks.c:1205 earmelfb.c:1165 earmelfb_fbsd.c:1165 +#: earmelfb_fuchsia.c:1170 earmelfb_linux.c:1170 earmelfb_linux_eabi.c:1170 +#: earmelfb_linux_fdpiceabi.c:1170 earmelfb_nacl.c:1170 earmelfb_nbsd.c:1165 +#: earmnto.c:1140 #, c-format msgid "" " --no-wchar-size-warning Don't warn about objects with incompatible\n" " wchar_t sizes\n" msgstr "" -#: eaarch64cloudabi.c:863 eaarch64cloudabib.c:863 eaarch64elf.c:858 -#: eaarch64elf32.c:858 eaarch64elf32b.c:858 eaarch64elfb.c:858 -#: eaarch64fbsd.c:863 eaarch64fbsdb.c:863 eaarch64haiku.c:863 -#: eaarch64linux.c:863 eaarch64linux32.c:863 eaarch64linux32b.c:863 -#: eaarch64linuxb.c:863 earmelf.c:1163 earmelf_fbsd.c:1163 -#: earmelf_fuchsia.c:1168 earmelf_haiku.c:1168 earmelf_linux.c:1168 -#: earmelf_linux_eabi.c:1168 earmelf_linux_fdpiceabi.c:1168 -#: earmelf_nacl.c:1168 earmelf_nbsd.c:1163 earmelf_phoenix.c:1168 -#: earmelf_vxworks.c:1203 earmelfb.c:1163 earmelfb_fbsd.c:1163 -#: earmelfb_fuchsia.c:1168 earmelfb_linux.c:1168 earmelfb_linux_eabi.c:1168 -#: earmelfb_linux_fdpiceabi.c:1168 earmelfb_nacl.c:1168 earmelfb_nbsd.c:1163 -#: earmnto.c:1138 +#: eaarch64cloudabi.c:867 eaarch64cloudabib.c:867 eaarch64elf.c:862 +#: eaarch64elf32.c:862 eaarch64elf32b.c:862 eaarch64elfb.c:862 +#: eaarch64fbsd.c:867 eaarch64fbsdb.c:867 eaarch64haiku.c:867 +#: eaarch64linux.c:867 eaarch64linux32.c:867 eaarch64linux32b.c:867 +#: eaarch64linuxb.c:867 eaarch64nto.c:1051 earmelf.c:1167 earmelf_fbsd.c:1167 +#: earmelf_fuchsia.c:1172 earmelf_haiku.c:1172 earmelf_linux.c:1172 +#: earmelf_linux_eabi.c:1172 earmelf_linux_fdpiceabi.c:1172 +#: earmelf_nacl.c:1172 earmelf_nbsd.c:1167 earmelf_phoenix.c:1172 +#: earmelf_vxworks.c:1207 earmelfb.c:1167 earmelfb_fbsd.c:1167 +#: earmelfb_fuchsia.c:1172 earmelfb_linux.c:1172 earmelfb_linux_eabi.c:1172 +#: earmelfb_linux_fdpiceabi.c:1172 earmelfb_nacl.c:1172 earmelfb_nbsd.c:1167 +#: earmnto.c:1142 #, c-format msgid "" " --pic-veneer Always generate PIC interworking veneers\n" msgstr "" -#: eaarch64cloudabi.c:864 eaarch64cloudabib.c:864 eaarch64elf.c:859 -#: eaarch64elf32.c:859 eaarch64elf32b.c:859 eaarch64elfb.c:859 -#: eaarch64fbsd.c:864 eaarch64fbsdb.c:864 eaarch64haiku.c:864 -#: eaarch64linux.c:864 eaarch64linux32.c:864 eaarch64linux32b.c:864 -#: eaarch64linuxb.c:864 earmelf.c:1170 earmelf_fbsd.c:1170 -#: earmelf_fuchsia.c:1175 earmelf_haiku.c:1175 earmelf_linux.c:1175 -#: earmelf_linux_eabi.c:1175 earmelf_linux_fdpiceabi.c:1175 -#: earmelf_nacl.c:1175 earmelf_nbsd.c:1170 earmelf_phoenix.c:1175 -#: earmelf_vxworks.c:1210 earmelfb.c:1170 earmelfb_fbsd.c:1170 -#: earmelfb_fuchsia.c:1175 earmelfb_linux.c:1175 earmelfb_linux_eabi.c:1175 -#: earmelfb_linux_fdpiceabi.c:1175 earmelfb_nacl.c:1175 earmelfb_nbsd.c:1170 -#: earmnto.c:1145 +#: eaarch64cloudabi.c:868 eaarch64cloudabib.c:868 eaarch64elf.c:863 +#: eaarch64elf32.c:863 eaarch64elf32b.c:863 eaarch64elfb.c:863 +#: eaarch64fbsd.c:868 eaarch64fbsdb.c:868 eaarch64haiku.c:868 +#: eaarch64linux.c:868 eaarch64linux32.c:868 eaarch64linux32b.c:868 +#: eaarch64linuxb.c:868 eaarch64nto.c:1052 earmelf.c:1174 earmelf_fbsd.c:1174 +#: earmelf_fuchsia.c:1179 earmelf_haiku.c:1179 earmelf_linux.c:1179 +#: earmelf_linux_eabi.c:1179 earmelf_linux_fdpiceabi.c:1179 +#: earmelf_nacl.c:1179 earmelf_nbsd.c:1174 earmelf_phoenix.c:1179 +#: earmelf_vxworks.c:1214 earmelfb.c:1174 earmelfb_fbsd.c:1174 +#: earmelfb_fuchsia.c:1179 earmelfb_linux.c:1179 earmelfb_linux_eabi.c:1179 +#: earmelfb_linux_fdpiceabi.c:1179 earmelfb_nacl.c:1179 earmelfb_nbsd.c:1174 +#: earmnto.c:1149 #, c-format msgid "" " --stub-group-size=N Maximum size of a group of input sections " @@ -4273,20 +4396,20 @@ msgid "" " choose suitable defaults.\n" msgstr "" -#: eaarch64cloudabi.c:873 eaarch64cloudabib.c:873 eaarch64elf.c:868 -#: eaarch64elf32.c:868 eaarch64elf32b.c:868 eaarch64elfb.c:868 -#: eaarch64fbsd.c:873 eaarch64fbsdb.c:873 eaarch64haiku.c:873 -#: eaarch64linux.c:873 eaarch64linux32.c:873 eaarch64linux32b.c:873 -#: eaarch64linuxb.c:873 +#: eaarch64cloudabi.c:877 eaarch64cloudabib.c:877 eaarch64elf.c:872 +#: eaarch64elf32.c:872 eaarch64elf32b.c:872 eaarch64elfb.c:872 +#: eaarch64fbsd.c:877 eaarch64fbsdb.c:877 eaarch64haiku.c:877 +#: eaarch64linux.c:877 eaarch64linux32.c:877 eaarch64linux32b.c:877 +#: eaarch64linuxb.c:877 eaarch64nto.c:1061 #, c-format msgid " --fix-cortex-a53-835769 Fix erratum 835769\n" msgstr "" -#: eaarch64cloudabi.c:874 eaarch64cloudabib.c:874 eaarch64elf.c:869 -#: eaarch64elf32.c:869 eaarch64elf32b.c:869 eaarch64elfb.c:869 -#: eaarch64fbsd.c:874 eaarch64fbsdb.c:874 eaarch64haiku.c:874 -#: eaarch64linux.c:874 eaarch64linux32.c:874 eaarch64linux32b.c:874 -#: eaarch64linuxb.c:874 +#: eaarch64cloudabi.c:878 eaarch64cloudabib.c:878 eaarch64elf.c:873 +#: eaarch64elf32.c:873 eaarch64elf32b.c:873 eaarch64elfb.c:873 +#: eaarch64fbsd.c:878 eaarch64fbsdb.c:878 eaarch64haiku.c:878 +#: eaarch64linux.c:878 eaarch64linux32.c:878 eaarch64linux32b.c:878 +#: eaarch64linuxb.c:878 eaarch64nto.c:1062 #, c-format msgid "" " --fix-cortex-a53-843419[=full|adr|adrp] Fix erratum 843419 and " @@ -4311,22 +4434,22 @@ msgid "" "you both a performance and size overhead.\n" msgstr "" -#: eaarch64cloudabi.c:885 eaarch64cloudabib.c:885 eaarch64elf.c:880 -#: eaarch64elf32.c:880 eaarch64elf32b.c:880 eaarch64elfb.c:880 -#: eaarch64fbsd.c:885 eaarch64fbsdb.c:885 eaarch64haiku.c:885 -#: eaarch64linux.c:885 eaarch64linux32.c:885 eaarch64linux32b.c:885 -#: eaarch64linuxb.c:885 +#: eaarch64cloudabi.c:889 eaarch64cloudabib.c:889 eaarch64elf.c:884 +#: eaarch64elf32.c:884 eaarch64elf32b.c:884 eaarch64elfb.c:884 +#: eaarch64fbsd.c:889 eaarch64fbsdb.c:889 eaarch64haiku.c:889 +#: eaarch64linux.c:889 eaarch64linux32.c:889 eaarch64linux32b.c:889 +#: eaarch64linuxb.c:889 eaarch64nto.c:1073 #, c-format msgid "" " --no-apply-dynamic-relocs Do not apply link-time values for dynamic " "relocations\n" msgstr "" -#: eaarch64cloudabi.c:886 eaarch64cloudabib.c:886 eaarch64elf.c:881 -#: eaarch64elf32.c:881 eaarch64elf32b.c:881 eaarch64elfb.c:881 -#: eaarch64fbsd.c:886 eaarch64fbsdb.c:886 eaarch64haiku.c:886 -#: eaarch64linux.c:886 eaarch64linux32.c:886 eaarch64linux32b.c:886 -#: eaarch64linuxb.c:886 +#: eaarch64cloudabi.c:890 eaarch64cloudabib.c:890 eaarch64elf.c:885 +#: eaarch64elf32.c:885 eaarch64elf32b.c:885 eaarch64elfb.c:885 +#: eaarch64fbsd.c:890 eaarch64fbsdb.c:890 eaarch64haiku.c:890 +#: eaarch64linux.c:890 eaarch64linux32.c:890 eaarch64linux32b.c:890 +#: eaarch64linuxb.c:890 eaarch64nto.c:1074 #, c-format msgid "" " -z force-bti Turn on Branch Target Identification " @@ -4334,232 +4457,259 @@ msgid "" "inputs\n" msgstr "" -#: eaarch64cloudabi.c:887 eaarch64cloudabib.c:887 eaarch64elf.c:882 -#: eaarch64elf32.c:882 eaarch64elf32b.c:882 eaarch64elfb.c:882 -#: eaarch64fbsd.c:887 eaarch64fbsdb.c:887 eaarch64haiku.c:887 -#: eaarch64linux.c:887 eaarch64linux32.c:887 eaarch64linux32b.c:887 -#: eaarch64linuxb.c:887 +#: eaarch64cloudabi.c:891 eaarch64cloudabib.c:891 eaarch64elf.c:886 +#: eaarch64elf32.c:886 eaarch64elf32b.c:886 eaarch64elfb.c:886 +#: eaarch64fbsd.c:891 eaarch64fbsdb.c:891 eaarch64haiku.c:891 +#: eaarch64linux.c:891 eaarch64linux32.c:891 eaarch64linux32b.c:891 +#: eaarch64linuxb.c:891 eaarch64nto.c:1075 #, c-format msgid "" " -z pac-plt Protect PLTs with Pointer Authentication.\n" msgstr "" -#: eaarch64pe.c:424 earm64pe.c:424 earm_wince_pe.c:414 earmpe.c:414 -#: ei386pe.c:414 ei386pe_posix.c:414 ei386pep.c:424 emcorepe.c:414 eshpe.c:414 +#: eaarch64nto.c:400 +msgid "%F%P: cannot create .note section in stub BFD.\n" +msgstr "" + +#: eaarch64nto.c:409 +msgid "%F%P: failed to create .note section\n" +msgstr "" + +#: eaarch64nto.c:450 +msgid "%F%P: %pB: can't read contents of section .note: %E\n" +msgstr "" + +#: eaarch64nto.c:460 eaarch64nto.c:464 +msgid "%P: %pB: warning: duplicated QNX stack .note detected\n" +msgstr "" + +#: eaarch64nto.c:493 +msgid "%F%P: error: --lazy-stack must follow -zstack-size=<size>\n" +msgstr "" + +#: eaarch64nto.c:1077 +#, c-format +msgid "" +" --stack <size> Set size of the initial stack\n" +" --lazy-stack\t\t Set lazy allocation of stack\n" +msgstr "" + +#: eaarch64pe.c:423 earm64pe.c:423 earm_wince_pe.c:416 earmpe.c:416 +#: ei386pe.c:416 ei386pe_posix.c:416 ei386pep.c:423 emcorepe.c:416 eshpe.c:416 #, c-format msgid "" " --base_file <basefile> Generate a base file for relocatable " "DLLs\n" msgstr "" -#: eaarch64pe.c:425 earm64pe.c:425 earm_wince_pe.c:415 earmpe.c:415 -#: ei386pe.c:415 ei386pe_posix.c:415 ei386pep.c:425 emcorepe.c:415 eshpe.c:415 +#: eaarch64pe.c:424 earm64pe.c:424 earm_wince_pe.c:417 earmpe.c:417 +#: ei386pe.c:417 ei386pe_posix.c:417 ei386pep.c:424 emcorepe.c:417 eshpe.c:417 #, c-format msgid "" " --dll Set image base to the default for DLLs\n" msgstr "" -#: eaarch64pe.c:426 earm64pe.c:426 earm_wince_pe.c:416 earmpe.c:416 -#: ei386pe.c:416 ei386pe_posix.c:416 ei386pep.c:426 emcorepe.c:416 eshpe.c:416 +#: eaarch64pe.c:425 earm64pe.c:425 earm_wince_pe.c:418 earmpe.c:418 +#: ei386pe.c:418 ei386pe_posix.c:418 ei386pep.c:425 emcorepe.c:418 eshpe.c:418 #, c-format msgid " --file-alignment <size> Set file alignment\n" msgstr "" -#: eaarch64pe.c:427 earm64pe.c:427 earm_wince_pe.c:417 earmpe.c:417 -#: ei386pe.c:417 ei386pe_posix.c:417 ei386pep.c:427 emcorepe.c:417 eshpe.c:417 +#: eaarch64pe.c:426 earm64pe.c:426 earm_wince_pe.c:419 earmpe.c:419 +#: ei386pe.c:419 ei386pe_posix.c:419 ei386pep.c:426 emcorepe.c:419 eshpe.c:419 #, c-format msgid " --heap <size> Set initial size of the heap\n" msgstr "" -#: eaarch64pe.c:428 earm64pe.c:428 earm_wince_pe.c:418 earmpe.c:418 -#: ei386pe.c:418 ei386pe_posix.c:418 ei386pep.c:428 emcorepe.c:418 eshpe.c:418 +#: eaarch64pe.c:427 earm64pe.c:427 earm_wince_pe.c:420 earmpe.c:420 +#: ei386pe.c:420 ei386pe_posix.c:420 ei386pep.c:427 emcorepe.c:420 eshpe.c:420 #, c-format msgid "" " --image-base <address> Set start address of the executable\n" msgstr "" -#: eaarch64pe.c:429 earm64pe.c:429 earm_wince_pe.c:419 earmpe.c:419 -#: ei386pe.c:419 ei386pe_posix.c:419 ei386pep.c:429 emcorepe.c:419 eshpe.c:419 +#: eaarch64pe.c:428 earm64pe.c:428 earm_wince_pe.c:421 earmpe.c:421 +#: ei386pe.c:421 ei386pe_posix.c:421 ei386pep.c:428 emcorepe.c:421 eshpe.c:421 #, c-format msgid "" " --major-image-version <number> Set version number of the executable\n" msgstr "" -#: eaarch64pe.c:430 earm64pe.c:430 earm_wince_pe.c:420 earmpe.c:420 -#: ei386pe.c:420 ei386pe_posix.c:420 ei386pep.c:430 emcorepe.c:420 eshpe.c:420 +#: eaarch64pe.c:429 earm64pe.c:429 earm_wince_pe.c:422 earmpe.c:422 +#: ei386pe.c:422 ei386pe_posix.c:422 ei386pep.c:429 emcorepe.c:422 eshpe.c:422 #, c-format msgid " --major-os-version <number> Set minimum required OS version\n" msgstr "" -#: eaarch64pe.c:431 earm64pe.c:431 earm_wince_pe.c:421 earmpe.c:421 -#: ei386pe.c:421 ei386pe_posix.c:421 ei386pep.c:431 emcorepe.c:421 eshpe.c:421 +#: eaarch64pe.c:430 earm64pe.c:430 earm_wince_pe.c:423 earmpe.c:423 +#: ei386pe.c:423 ei386pe_posix.c:423 ei386pep.c:430 emcorepe.c:423 eshpe.c:423 #, c-format msgid "" " --major-subsystem-version <number> Set minimum required OS subsystem " "version\n" msgstr "" -#: eaarch64pe.c:432 earm64pe.c:432 earm_wince_pe.c:422 earmpe.c:422 -#: ei386pe.c:422 ei386pe_posix.c:422 ei386pep.c:432 emcorepe.c:422 eshpe.c:422 +#: eaarch64pe.c:431 earm64pe.c:431 earm_wince_pe.c:424 earmpe.c:424 +#: ei386pe.c:424 ei386pe_posix.c:424 ei386pep.c:431 emcorepe.c:424 eshpe.c:424 #, c-format msgid "" " --minor-image-version <number> Set revision number of the executable\n" msgstr "" -#: eaarch64pe.c:433 earm64pe.c:433 earm_wince_pe.c:423 earmpe.c:423 -#: ei386pe.c:423 ei386pe_posix.c:423 ei386pep.c:433 emcorepe.c:423 eshpe.c:423 +#: eaarch64pe.c:432 earm64pe.c:432 earm_wince_pe.c:425 earmpe.c:425 +#: ei386pe.c:425 ei386pe_posix.c:425 ei386pep.c:432 emcorepe.c:425 eshpe.c:425 #, c-format msgid " --minor-os-version <number> Set minimum required OS revision\n" msgstr "" -#: eaarch64pe.c:434 earm64pe.c:434 earm_wince_pe.c:424 earmpe.c:424 -#: ei386pe.c:424 ei386pe_posix.c:424 ei386pep.c:434 emcorepe.c:424 eshpe.c:424 +#: eaarch64pe.c:433 earm64pe.c:433 earm_wince_pe.c:426 earmpe.c:426 +#: ei386pe.c:426 ei386pe_posix.c:426 ei386pep.c:433 emcorepe.c:426 eshpe.c:426 #, c-format msgid "" " --minor-subsystem-version <number> Set minimum required OS subsystem " "revision\n" msgstr "" -#: eaarch64pe.c:435 earm64pe.c:435 earm_wince_pe.c:425 earmpe.c:425 -#: ei386pe.c:425 ei386pe_posix.c:425 ei386pep.c:435 emcorepe.c:425 eshpe.c:425 +#: eaarch64pe.c:434 earm64pe.c:434 earm_wince_pe.c:427 earmpe.c:427 +#: ei386pe.c:427 ei386pe_posix.c:427 ei386pep.c:434 emcorepe.c:427 eshpe.c:427 #, c-format msgid " --section-alignment <size> Set section alignment\n" msgstr "" -#: eaarch64pe.c:436 earm64pe.c:436 earm_wince_pe.c:426 earmpe.c:426 -#: ei386pe.c:426 ei386pe_posix.c:426 ei386pep.c:436 emcorepe.c:426 eshpe.c:426 +#: eaarch64pe.c:435 earm64pe.c:435 earm_wince_pe.c:428 earmpe.c:428 +#: ei386pe.c:428 ei386pe_posix.c:428 ei386pep.c:435 emcorepe.c:428 eshpe.c:428 #, c-format msgid " --stack <size> Set size of the initial stack\n" msgstr "" -#: eaarch64pe.c:437 earm64pe.c:437 earm_wince_pe.c:427 earmpe.c:427 -#: ei386pe.c:427 ei386pe_posix.c:427 ei386pep.c:437 emcorepe.c:427 eshpe.c:427 +#: eaarch64pe.c:436 earm64pe.c:436 earm_wince_pe.c:429 earmpe.c:429 +#: ei386pe.c:429 ei386pe_posix.c:429 ei386pep.c:436 emcorepe.c:429 eshpe.c:429 #, c-format msgid "" " --subsystem <name>[:<version>] Set required OS subsystem [& version]\n" msgstr "" -#: eaarch64pe.c:438 earm64pe.c:438 earm_wince_pe.c:428 earmpe.c:428 -#: ei386pe.c:428 ei386pe_posix.c:428 ei386pep.c:438 emcorepe.c:428 eshpe.c:428 +#: eaarch64pe.c:437 earm64pe.c:437 earm_wince_pe.c:430 earmpe.c:430 +#: ei386pe.c:430 ei386pe_posix.c:430 ei386pep.c:437 emcorepe.c:430 eshpe.c:430 #, c-format msgid "" " --support-old-code Support interworking with old code\n" msgstr "" -#: eaarch64pe.c:439 earm64pe.c:439 earm_wince_pe.c:429 earmpe.c:429 -#: ei386pe.c:429 ei386pe_posix.c:429 ei386pep.c:439 emcorepe.c:429 eshpe.c:429 +#: eaarch64pe.c:438 earm64pe.c:438 earm_wince_pe.c:431 earmpe.c:431 +#: ei386pe.c:431 ei386pe_posix.c:431 ei386pep.c:438 emcorepe.c:431 eshpe.c:431 #, c-format msgid "" " --[no-]leading-underscore Set explicit symbol underscore prefix " "mode\n" msgstr "" -#: eaarch64pe.c:440 earm64pe.c:440 ei386pep.c:440 +#: eaarch64pe.c:439 earm64pe.c:439 ei386pep.c:439 #, c-format msgid "" " --[no-]insert-timestamp Use a real timestamp rather than zero " "(default)\n" msgstr "" -#: eaarch64pe.c:441 earm64pe.c:441 earm_wince_pe.c:432 earmpe.c:432 -#: ei386pe.c:432 ei386pe_posix.c:432 ei386pep.c:441 emcorepe.c:432 eshpe.c:432 +#: eaarch64pe.c:440 earm64pe.c:440 earm_wince_pe.c:434 earmpe.c:434 +#: ei386pe.c:434 ei386pe_posix.c:434 ei386pep.c:440 emcorepe.c:434 eshpe.c:434 #, c-format msgid "" " This makes binaries non-deterministic\n" msgstr "" -#: eaarch64pe.c:443 earm64pe.c:443 earm_wince_pe.c:434 earmpe.c:434 -#: ei386pe.c:434 ei386pe_posix.c:434 ei386pep.c:443 emcorepe.c:434 eshpe.c:434 +#: eaarch64pe.c:442 earm64pe.c:442 earm_wince_pe.c:436 earmpe.c:436 +#: ei386pe.c:436 ei386pe_posix.c:436 ei386pep.c:442 emcorepe.c:436 eshpe.c:436 #, c-format msgid "" " --add-stdcall-alias Export symbols with and without @nn\n" msgstr "" -#: eaarch64pe.c:444 earm64pe.c:444 earm_wince_pe.c:435 earmpe.c:435 -#: ei386pe.c:435 ei386pe_posix.c:435 ei386pep.c:444 emcorepe.c:435 eshpe.c:435 +#: eaarch64pe.c:443 earm64pe.c:443 earm_wince_pe.c:437 earmpe.c:437 +#: ei386pe.c:437 ei386pe_posix.c:437 ei386pep.c:443 emcorepe.c:437 eshpe.c:437 #, c-format msgid " --disable-stdcall-fixup Don't link _sym to _sym@nn\n" msgstr "" -#: eaarch64pe.c:445 earm64pe.c:445 earm_wince_pe.c:436 earmpe.c:436 -#: ei386pe.c:436 ei386pe_posix.c:436 ei386pep.c:445 emcorepe.c:436 eshpe.c:436 +#: eaarch64pe.c:444 earm64pe.c:444 earm_wince_pe.c:438 earmpe.c:438 +#: ei386pe.c:438 ei386pe_posix.c:438 ei386pep.c:444 emcorepe.c:438 eshpe.c:438 #, c-format msgid "" " --enable-stdcall-fixup Link _sym to _sym@nn without warnings\n" msgstr "" -#: eaarch64pe.c:446 earm64pe.c:446 earm_wince_pe.c:437 earmpe.c:437 -#: ei386pe.c:437 ei386pe_posix.c:437 ei386pep.c:446 emcorepe.c:437 eshpe.c:437 +#: eaarch64pe.c:445 earm64pe.c:445 earm_wince_pe.c:439 earmpe.c:439 +#: ei386pe.c:439 ei386pe_posix.c:439 ei386pep.c:445 emcorepe.c:439 eshpe.c:439 #, c-format msgid "" " --exclude-symbols sym,sym,... Exclude symbols from automatic export\n" msgstr "" -#: eaarch64pe.c:447 earm64pe.c:447 earm_wince_pe.c:438 earmpe.c:438 -#: ei386pe.c:438 ei386pe_posix.c:438 ei386pep.c:447 emcorepe.c:438 eshpe.c:438 +#: eaarch64pe.c:446 earm64pe.c:446 earm_wince_pe.c:440 earmpe.c:440 +#: ei386pe.c:440 ei386pe_posix.c:440 ei386pep.c:446 emcorepe.c:440 eshpe.c:440 #, c-format msgid "" " --exclude-all-symbols Exclude all symbols from automatic " "export\n" msgstr "" -#: eaarch64pe.c:448 earm64pe.c:448 earm_wince_pe.c:439 earmpe.c:439 -#: ei386pe.c:439 ei386pe_posix.c:439 ei386pep.c:448 emcorepe.c:439 eshpe.c:439 +#: eaarch64pe.c:447 earm64pe.c:447 earm_wince_pe.c:441 earmpe.c:441 +#: ei386pe.c:441 ei386pe_posix.c:441 ei386pep.c:447 emcorepe.c:441 eshpe.c:441 #, c-format msgid "" " --exclude-libs lib,lib,... Exclude libraries from automatic " "export\n" msgstr "" -#: eaarch64pe.c:449 earm64pe.c:449 earm_wince_pe.c:440 earmpe.c:440 -#: ei386pe.c:440 ei386pe_posix.c:440 ei386pep.c:449 emcorepe.c:440 eshpe.c:440 +#: eaarch64pe.c:448 earm64pe.c:448 earm_wince_pe.c:442 earmpe.c:442 +#: ei386pe.c:442 ei386pe_posix.c:442 ei386pep.c:448 emcorepe.c:442 eshpe.c:442 #, c-format msgid " --exclude-modules-for-implib mod,mod,...\n" msgstr "" -#: eaarch64pe.c:450 earm64pe.c:450 earm_wince_pe.c:441 earmpe.c:441 -#: ei386pe.c:441 ei386pe_posix.c:441 ei386pep.c:450 emcorepe.c:441 eshpe.c:441 +#: eaarch64pe.c:449 earm64pe.c:449 earm_wince_pe.c:443 earmpe.c:443 +#: ei386pe.c:443 ei386pe_posix.c:443 ei386pep.c:449 emcorepe.c:443 eshpe.c:443 #, c-format msgid "" " Exclude objects, archive members from " "auto\n" msgstr "" -#: eaarch64pe.c:451 earm64pe.c:451 ei386pep.c:451 +#: eaarch64pe.c:450 earm64pe.c:450 ei386pep.c:450 #, c-format msgid "" " export, place into import library " "instead\n" msgstr "" -#: eaarch64pe.c:452 earm64pe.c:452 earm_wince_pe.c:443 earmpe.c:443 -#: ei386pe.c:443 ei386pe_posix.c:443 ei386pep.c:452 emcorepe.c:443 eshpe.c:443 +#: eaarch64pe.c:451 earm64pe.c:451 earm_wince_pe.c:445 earmpe.c:445 +#: ei386pe.c:445 ei386pe_posix.c:445 ei386pep.c:451 emcorepe.c:445 eshpe.c:445 #, c-format msgid "" " --export-all-symbols Automatically export all globals to " "DLL\n" msgstr "" -#: eaarch64pe.c:453 earm64pe.c:453 earm_wince_pe.c:444 earmpe.c:444 -#: ei386pe.c:444 ei386pe_posix.c:444 ei386pep.c:453 emcorepe.c:444 eshpe.c:444 +#: eaarch64pe.c:452 earm64pe.c:452 earm_wince_pe.c:446 earmpe.c:446 +#: ei386pe.c:446 ei386pe_posix.c:446 ei386pep.c:452 emcorepe.c:446 eshpe.c:446 #, c-format msgid " --kill-at Remove @nn from exported symbols\n" msgstr "" -#: eaarch64pe.c:454 earm64pe.c:454 earm_wince_pe.c:445 earmpe.c:445 -#: ei386pe.c:445 ei386pe_posix.c:445 ei386pep.c:454 emcorepe.c:445 eshpe.c:445 +#: eaarch64pe.c:453 earm64pe.c:453 earm_wince_pe.c:447 earmpe.c:447 +#: ei386pe.c:447 ei386pe_posix.c:447 ei386pep.c:453 emcorepe.c:447 eshpe.c:447 #, c-format msgid "" " --output-def <file> Generate a .DEF file for the built DLL\n" msgstr "" -#: eaarch64pe.c:455 earm64pe.c:455 earm_wince_pe.c:446 earmpe.c:446 -#: ei386pe.c:446 ei386pe_posix.c:446 ei386pep.c:455 emcorepe.c:446 eshpe.c:446 +#: eaarch64pe.c:454 earm64pe.c:454 earm_wince_pe.c:448 earmpe.c:448 +#: ei386pe.c:448 ei386pe_posix.c:448 ei386pep.c:454 emcorepe.c:448 eshpe.c:448 #, c-format msgid " --warn-duplicate-exports Warn about duplicate exports\n" msgstr "" -#: eaarch64pe.c:456 earm64pe.c:456 ei386pep.c:456 +#: eaarch64pe.c:455 earm64pe.c:455 ei386pep.c:455 #, c-format msgid "" " --compat-implib Create backward compatible import " @@ -4567,7 +4717,7 @@ msgid "" " create __imp_<SYMBOL> as well\n" msgstr "" -#: eaarch64pe.c:457 earm64pe.c:457 ei386pep.c:457 +#: eaarch64pe.c:456 earm64pe.c:456 ei386pep.c:456 #, c-format msgid "" " --enable-auto-image-base Automatically choose image base for " @@ -4575,15 +4725,15 @@ msgid "" " unless user specifies one\n" msgstr "" -#: eaarch64pe.c:458 earm64pe.c:458 ei386pep.c:458 +#: eaarch64pe.c:457 earm64pe.c:457 ei386pep.c:457 #, c-format msgid "" " --disable-auto-image-base Do not auto-choose image base " "(default)\n" msgstr "" -#: eaarch64pe.c:459 earm64pe.c:459 earm_wince_pe.c:450 earmpe.c:450 -#: ei386pe.c:450 ei386pe_posix.c:450 ei386pep.c:459 emcorepe.c:450 eshpe.c:450 +#: eaarch64pe.c:458 earm64pe.c:458 earm_wince_pe.c:452 earmpe.c:452 +#: ei386pe.c:452 ei386pe_posix.c:452 ei386pep.c:458 emcorepe.c:452 eshpe.c:452 #, c-format msgid "" " --dll-search-prefix=<string> When linking dynamically to a dll " @@ -4593,23 +4743,23 @@ msgid "" " in preference to lib<basename>.dll \n" msgstr "" -#: eaarch64pe.c:460 earm64pe.c:460 earm_wince_pe.c:451 earmpe.c:451 -#: ei386pe.c:451 ei386pe_posix.c:451 ei386pep.c:460 emcorepe.c:451 eshpe.c:451 +#: eaarch64pe.c:459 earm64pe.c:459 earm_wince_pe.c:453 earmpe.c:453 +#: ei386pe.c:453 ei386pe_posix.c:453 ei386pep.c:459 emcorepe.c:453 eshpe.c:453 #, c-format msgid "" " --enable-auto-import Do sophisticated linking of _sym to\n" " __imp_sym for DATA references\n" msgstr "" -#: eaarch64pe.c:461 earm64pe.c:461 earm_wince_pe.c:452 earmpe.c:452 -#: ei386pe.c:452 ei386pe_posix.c:452 ei386pep.c:461 emcorepe.c:452 eshpe.c:452 +#: eaarch64pe.c:460 earm64pe.c:460 earm_wince_pe.c:454 earmpe.c:454 +#: ei386pe.c:454 ei386pe_posix.c:454 ei386pep.c:460 emcorepe.c:454 eshpe.c:454 #, c-format msgid "" " --disable-auto-import Do not auto-import DATA items from " "DLLs\n" msgstr "" -#: eaarch64pe.c:462 earm64pe.c:462 ei386pep.c:462 +#: eaarch64pe.c:461 earm64pe.c:461 ei386pep.c:461 #, c-format msgid "" " --enable-runtime-pseudo-reloc Work around auto-import limitations by\n" @@ -4618,7 +4768,7 @@ msgid "" " runtime\n" msgstr "" -#: eaarch64pe.c:463 earm64pe.c:463 ei386pep.c:463 +#: eaarch64pe.c:462 earm64pe.c:462 ei386pep.c:462 #, c-format msgid "" " --disable-runtime-pseudo-reloc Do not add runtime pseudo-relocations " @@ -4626,7 +4776,7 @@ msgid "" " auto-imported DATA\n" msgstr "" -#: eaarch64pe.c:464 earm64pe.c:464 ei386pep.c:464 +#: eaarch64pe.c:463 earm64pe.c:463 ei386pep.c:463 #, c-format msgid "" " --enable-extra-pep-debug Enable verbose debug output when " @@ -4635,16 +4785,16 @@ msgid "" "import)\n" msgstr "" -#: eaarch64pe.c:465 earm64pe.c:465 earm_wince_pe.c:459 earmpe.c:459 -#: ei386pe.c:459 ei386pe_posix.c:459 ei386pep.c:465 emcorepe.c:459 eshpe.c:459 +#: eaarch64pe.c:464 earm64pe.c:464 earm_wince_pe.c:461 earmpe.c:461 +#: ei386pe.c:461 ei386pe_posix.c:461 ei386pep.c:464 emcorepe.c:461 eshpe.c:461 #, c-format msgid "" " --enable-long-section-names Use long COFF section names even in\n" " executable image files\n" msgstr "" -#: eaarch64pe.c:466 earm64pe.c:466 earm_wince_pe.c:460 earmpe.c:460 -#: ei386pe.c:460 ei386pe_posix.c:460 ei386pep.c:466 emcorepe.c:460 eshpe.c:460 +#: eaarch64pe.c:465 earm64pe.c:465 earm_wince_pe.c:462 earmpe.c:462 +#: ei386pe.c:462 ei386pe_posix.c:462 ei386pep.c:465 emcorepe.c:462 eshpe.c:462 #, c-format msgid "" " --disable-long-section-names Never use long COFF section names, " @@ -4652,7 +4802,7 @@ msgid "" " in object files\n" msgstr "" -#: eaarch64pe.c:467 earm64pe.c:467 ei386pep.c:467 +#: eaarch64pe.c:466 earm64pe.c:466 ei386pep.c:466 #, c-format msgid "" " --[disable-]high-entropy-va Image is compatible with 64-bit address " @@ -4660,8 +4810,8 @@ msgid "" " layout randomization (ASLR)\n" msgstr "" -#: eaarch64pe.c:468 earm64pe.c:468 earm_wince_pe.c:461 earmpe.c:461 -#: ei386pe.c:461 ei386pe_posix.c:461 ei386pep.c:468 emcorepe.c:461 eshpe.c:461 +#: eaarch64pe.c:467 earm64pe.c:467 earm_wince_pe.c:463 earmpe.c:463 +#: ei386pe.c:463 ei386pe_posix.c:463 ei386pep.c:467 emcorepe.c:463 eshpe.c:463 #, c-format msgid "" " --[disable-]dynamicbase Image base address may be relocated " @@ -4670,29 +4820,29 @@ msgid "" "(ASLR)\n" msgstr "" -#: eaarch64pe.c:469 earm64pe.c:469 earm_wince_pe.c:462 earmpe.c:462 -#: ei386pe.c:462 ei386pe_posix.c:462 ei386pep.c:469 emcorepe.c:462 eshpe.c:462 +#: eaarch64pe.c:468 earm64pe.c:468 earm_wince_pe.c:464 earmpe.c:464 +#: ei386pe.c:464 ei386pe_posix.c:464 ei386pep.c:468 emcorepe.c:464 eshpe.c:464 #, c-format msgid " --enable-reloc-section Create the base relocation table\n" msgstr "" -#: eaarch64pe.c:470 earm64pe.c:470 earm_wince_pe.c:463 earmpe.c:463 -#: ei386pe.c:463 ei386pe_posix.c:463 ei386pep.c:470 emcorepe.c:463 eshpe.c:463 +#: eaarch64pe.c:469 earm64pe.c:469 earm_wince_pe.c:465 earmpe.c:465 +#: ei386pe.c:465 ei386pe_posix.c:465 ei386pep.c:469 emcorepe.c:465 eshpe.c:465 #, c-format msgid "" " --disable-reloc-section Do not create the base relocation " "table\n" msgstr "" -#: eaarch64pe.c:471 earm64pe.c:471 earm_wince_pe.c:464 earmpe.c:464 -#: ei386pe.c:464 ei386pe_posix.c:464 ei386pep.c:471 emcorepe.c:464 eshpe.c:464 +#: eaarch64pe.c:470 earm64pe.c:470 earm_wince_pe.c:466 earmpe.c:466 +#: ei386pe.c:466 ei386pe_posix.c:466 ei386pep.c:470 emcorepe.c:466 eshpe.c:466 #, c-format msgid "" " --[disable-]forceinteg Code integrity checks are enforced\n" msgstr "" -#: eaarch64pe.c:472 earm64pe.c:472 earm_wince_pe.c:465 earmpe.c:465 -#: ei386pe.c:465 ei386pe_posix.c:465 ei386pep.c:472 emcorepe.c:465 eshpe.c:465 +#: eaarch64pe.c:471 earm64pe.c:471 earm_wince_pe.c:467 earmpe.c:467 +#: ei386pe.c:467 ei386pe_posix.c:467 ei386pep.c:471 emcorepe.c:467 eshpe.c:467 #, c-format msgid "" " --[disable-]nxcompat Image is compatible with data " @@ -4700,15 +4850,15 @@ msgid "" " prevention\n" msgstr "" -#: eaarch64pe.c:473 earm64pe.c:473 earm_wince_pe.c:466 earmpe.c:466 -#: ei386pe.c:466 ei386pe_posix.c:466 ei386pep.c:473 emcorepe.c:466 eshpe.c:466 +#: eaarch64pe.c:472 earm64pe.c:472 earm_wince_pe.c:468 earmpe.c:468 +#: ei386pe.c:468 ei386pe_posix.c:468 ei386pep.c:472 emcorepe.c:468 eshpe.c:468 #, c-format msgid "" " --[disable-]no-isolation Image understands isolation but do not\n" " isolate the image\n" msgstr "" -#: eaarch64pe.c:474 earm64pe.c:474 ei386pep.c:474 +#: eaarch64pe.c:473 earm64pe.c:473 ei386pep.c:473 #, c-format msgid "" " --[disable-]no-seh Image does not use SEH; no SE handler " @@ -4716,123 +4866,129 @@ msgid "" " be called in this image\n" msgstr "" -#: eaarch64pe.c:475 earm64pe.c:475 earm_wince_pe.c:468 earmpe.c:468 -#: ei386pe.c:468 ei386pe_posix.c:468 ei386pep.c:475 emcorepe.c:468 eshpe.c:468 +#: eaarch64pe.c:474 earm64pe.c:474 earm_wince_pe.c:470 earmpe.c:470 +#: ei386pe.c:470 ei386pe_posix.c:470 ei386pep.c:474 emcorepe.c:470 eshpe.c:470 #, c-format msgid " --[disable-]no-bind Do not bind this image\n" msgstr "" -#: eaarch64pe.c:476 earm64pe.c:476 earm_wince_pe.c:469 earmpe.c:469 -#: ei386pe.c:469 ei386pe_posix.c:469 ei386pep.c:476 emcorepe.c:469 eshpe.c:469 +#: eaarch64pe.c:475 earm64pe.c:475 earm_wince_pe.c:471 earmpe.c:471 +#: ei386pe.c:471 ei386pe_posix.c:471 ei386pep.c:475 emcorepe.c:471 eshpe.c:471 #, c-format msgid " --[disable-]wdmdriver Driver uses the WDM model\n" msgstr "" -#: eaarch64pe.c:477 earm64pe.c:477 earm_wince_pe.c:470 earmpe.c:470 -#: ei386pe.c:470 ei386pe_posix.c:470 ei386pep.c:477 emcorepe.c:470 eshpe.c:470 +#: eaarch64pe.c:476 earm64pe.c:476 earm_wince_pe.c:472 earmpe.c:472 +#: ei386pe.c:472 ei386pe_posix.c:472 ei386pep.c:476 emcorepe.c:472 eshpe.c:472 #, c-format msgid " --[disable-]tsaware Image is Terminal Server aware\n" msgstr "" -#: eaarch64pe.c:478 earm64pe.c:478 earm_wince_pe.c:471 earmpe.c:471 -#: ei386pe.c:471 ei386pe_posix.c:471 ei386pep.c:478 emcorepe.c:471 eshpe.c:471 +#: eaarch64pe.c:477 earm64pe.c:477 earm_wince_pe.c:473 earmpe.c:473 +#: ei386pe.c:473 ei386pe_posix.c:473 ei386pep.c:477 emcorepe.c:473 eshpe.c:473 #, c-format msgid " --build-id[=STYLE] Generate build ID\n" msgstr "" -#: eaarch64pe.c:480 earm64pe.c:480 earm_wince_pe.c:473 earmpe.c:473 -#: ei386pe.c:473 ei386pe_posix.c:473 ei386pep.c:480 emcorepe.c:473 eshpe.c:473 +#: eaarch64pe.c:479 earm64pe.c:479 earm_wince_pe.c:475 earmpe.c:475 +#: ei386pe.c:475 ei386pe_posix.c:475 ei386pep.c:479 emcorepe.c:475 eshpe.c:475 #, c-format msgid " --pdb=[FILENAME] Generate PDB file\n" msgstr "" -#: eaarch64pe.c:606 earm64pe.c:606 earm_wince_pe.c:619 earmpe.c:619 -#: ei386beos.c:205 ei386pe.c:619 ei386pe_posix.c:619 ei386pep.c:606 -#: emcorepe.c:619 eshpe.c:619 +#: eaarch64pe.c:608 earm64pe.c:608 earm_wince_pe.c:624 earmpe.c:624 +#: ei386beos.c:205 ei386pe.c:624 ei386pe_posix.c:624 ei386pep.c:608 +#: emcorepe.c:624 eshpe.c:624 msgid "%P: warning: bad version number in -subsystem option\n" msgstr "" -#: eaarch64pe.c:631 earm64pe.c:631 earm_wince_pe.c:644 earmpe.c:644 -#: ei386beos.c:222 ei386pe.c:644 ei386pe_posix.c:644 ei386pep.c:631 -#: emcorepe.c:644 eshpe.c:644 +#: eaarch64pe.c:633 earm64pe.c:633 earm_wince_pe.c:649 earmpe.c:649 +#: ei386beos.c:222 ei386pe.c:649 ei386pe_posix.c:649 ei386pep.c:633 +#: emcorepe.c:649 eshpe.c:649 msgid "%F%P: invalid subsystem type %s\n" msgstr "" -#: eaarch64pe.c:652 earm64pe.c:652 earm_wince_pe.c:665 earmpe.c:665 -#: ei386beos.c:233 ei386pe.c:665 ei386pe_posix.c:665 ei386pep.c:652 -#: emcorepe.c:665 eshpe.c:665 +#: eaarch64pe.c:654 earm64pe.c:654 earm_wince_pe.c:670 earmpe.c:670 +#: ei386beos.c:233 ei386pe.c:670 ei386pe_posix.c:670 ei386pep.c:654 +#: emcorepe.c:670 eshpe.c:670 msgid "%F%P: invalid hex number for PE parameter '%s'\n" msgstr "" -#: eaarch64pe.c:669 earm64pe.c:669 earm_wince_pe.c:682 earmpe.c:682 -#: ei386beos.c:250 ei386pe.c:682 ei386pe_posix.c:682 ei386pep.c:669 -#: emcorepe.c:682 eshpe.c:682 +#: eaarch64pe.c:671 earm64pe.c:671 earm_wince_pe.c:687 earmpe.c:687 +#: ei386beos.c:250 ei386pe.c:687 ei386pe_posix.c:687 ei386pep.c:671 +#: emcorepe.c:687 eshpe.c:687 msgid "%F%P: strange hex info for PE parameter '%s'\n" msgstr "" -#: eaarch64pe.c:686 earm64pe.c:686 earm_wince_pe.c:698 earmpe.c:698 -#: eelf32mcore.c:319 ei386beos.c:266 ei386pe.c:698 ei386pe_posix.c:698 -#: ei386pep.c:686 emcorepe.c:698 eshpe.c:698 +#: eaarch64pe.c:688 earm64pe.c:688 earm_wince_pe.c:703 earmpe.c:703 +#: eelf32mcore.c:325 ei386beos.c:266 ei386pe.c:703 ei386pe_posix.c:703 +#: ei386pep.c:688 emcorepe.c:703 eshpe.c:703 msgid "%F%P: cannot open base file %s\n" msgstr "" -#: eaarch64pe.c:1003 earm64pe.c:1003 earm_wince_pe.c:1028 earmpe.c:1028 -#: ei386beos.c:362 ei386pe.c:1028 ei386pe_posix.c:1028 ei386pep.c:1003 -#: emcorepe.c:1028 eshpe.c:1028 +#: eaarch64pe.c:1005 earm64pe.c:1005 earm_wince_pe.c:1033 earmpe.c:1033 +#: ei386beos.c:362 ei386pe.c:1033 ei386pe_posix.c:1033 ei386pep.c:1005 +#: emcorepe.c:1033 eshpe.c:1033 msgid "%P: warning, file alignment > section alignment\n" msgstr "" -#: eaarch64pe.c:1016 earm64pe.c:1016 ei386pep.c:1016 +#: eaarch64pe.c:1018 earm64pe.c:1018 ei386pep.c:1018 msgid "" "%P: warning: --export-dynamic is not supported for PE+ targets, did you mean " "--export-all-symbols?\n" msgstr "" -#: eaarch64pe.c:1089 eaarch64pe.c:1116 earm64pe.c:1089 earm64pe.c:1116 -#: ei386pep.c:1089 ei386pep.c:1116 +#: eaarch64pe.c:1070 earm64pe.c:1070 earm_wince_pe.c:1127 earmpe.c:1127 +#: ei386pe.c:1127 ei386pe_posix.c:1127 ei386pep.c:1070 emcorepe.c:1127 +#: eshpe.c:1127 +msgid "%P: warning: overwriting decorated name %s with %s\n" +msgstr "" + +#: eaarch64pe.c:1115 eaarch64pe.c:1143 earm64pe.c:1115 earm64pe.c:1143 +#: ei386pep.c:1115 ei386pep.c:1143 #, c-format msgid "warning: resolving %s by linking to %s\n" msgstr "" -#: eaarch64pe.c:1094 eaarch64pe.c:1121 earm64pe.c:1094 earm64pe.c:1121 -#: earm_wince_pe.c:1096 earmpe.c:1096 ei386pe.c:1096 ei386pe_posix.c:1096 -#: ei386pep.c:1094 ei386pep.c:1121 emcorepe.c:1096 eshpe.c:1096 +#: eaarch64pe.c:1120 eaarch64pe.c:1148 earm64pe.c:1120 earm64pe.c:1148 +#: earm_wince_pe.c:1101 earmpe.c:1101 ei386pe.c:1101 ei386pe_posix.c:1101 +#: ei386pep.c:1120 ei386pep.c:1148 emcorepe.c:1101 eshpe.c:1101 msgid "Use --enable-stdcall-fixup to disable these warnings\n" msgstr "" -#: eaarch64pe.c:1095 eaarch64pe.c:1122 earm64pe.c:1095 earm64pe.c:1122 -#: earm_wince_pe.c:1097 earmpe.c:1097 ei386pe.c:1097 ei386pe_posix.c:1097 -#: ei386pep.c:1095 ei386pep.c:1122 emcorepe.c:1097 eshpe.c:1097 +#: eaarch64pe.c:1121 eaarch64pe.c:1149 earm64pe.c:1121 earm64pe.c:1149 +#: earm_wince_pe.c:1102 earmpe.c:1102 ei386pe.c:1102 ei386pe_posix.c:1102 +#: ei386pep.c:1121 ei386pep.c:1149 emcorepe.c:1102 eshpe.c:1102 msgid "Use --disable-stdcall-fixup to disable these fixups\n" msgstr "" -#: eaarch64pe.c:1173 earm64pe.c:1173 earm_wince_pe.c:1166 earmpe.c:1166 -#: ei386pe.c:1166 ei386pe_posix.c:1166 ei386pep.c:1173 emcorepe.c:1166 -#: eshpe.c:1166 -msgid "%P: %C: cannot get section contents - auto-import exception\n" +#: eaarch64pe.c:1204 earm64pe.c:1204 earm_wince_pe.c:1193 earmpe.c:1193 +#: ei386pe.c:1193 ei386pe_posix.c:1193 ei386pep.c:1204 emcorepe.c:1193 +#: eshpe.c:1193 +msgid "%P: %H: cannot get section contents - auto-import exception\n" msgstr "" -#: eaarch64pe.c:1267 earm64pe.c:1267 earm_wince_pe.c:1251 earmpe.c:1251 -#: ei386pe.c:1251 ei386pe_posix.c:1251 ei386pep.c:1267 emcorepe.c:1251 -#: eshpe.c:1251 +#: eaarch64pe.c:1334 earm64pe.c:1334 earm_wince_pe.c:1324 earmpe.c:1324 +#: ei386pe.c:1324 ei386pe_posix.c:1324 ei386pep.c:1334 emcorepe.c:1324 +#: eshpe.c:1324 msgid "%P: warning: .buildid section discarded, --build-id ignored\n" msgstr "" -#: eaarch64pe.c:1385 earm64pe.c:1385 earm_wince_pe.c:1369 earmpe.c:1369 -#: ei386pe.c:1369 ei386pe_posix.c:1369 ei386pep.c:1385 emcorepe.c:1369 -#: eshpe.c:1369 +#: eaarch64pe.c:1455 earm64pe.c:1455 earm_wince_pe.c:1445 earmpe.c:1445 +#: ei386pe.c:1445 ei386pe_posix.c:1445 ei386pep.c:1455 emcorepe.c:1445 +#: eshpe.c:1445 msgid "%P: warning: cannot create .buildid section, --build-id ignored\n" msgstr "" -#: eaarch64pe.c:1461 earm64pe.c:1461 earm_wince_pe.c:1444 earmpe.c:1444 -#: ei386pe.c:1444 ei386pe_posix.c:1444 ei386pep.c:1461 emcorepe.c:1444 -#: eshpe.c:1444 +#: eaarch64pe.c:1541 earm64pe.c:1541 earm_wince_pe.c:1530 earmpe.c:1530 +#: ei386pe.c:1530 ei386pe_posix.c:1530 ei386pep.c:1541 emcorepe.c:1530 +#: eshpe.c:1530 msgid "%F%P: cannot perform PE operations on non PE output file '%pB'\n" msgstr "" -#: eaarch64pe.c:1585 earm64pe.c:1585 earm_wince_pe.c:1587 earmpe.c:1587 -#: ei386pe.c:1587 ei386pe_posix.c:1587 ei386pep.c:1585 emcorepe.c:1587 -#: eshpe.c:1587 +#: eaarch64pe.c:1665 earm64pe.c:1665 earm_wince_pe.c:1673 earmpe.c:1673 +#: ei386pe.c:1673 ei386pe_posix.c:1673 ei386pep.c:1665 emcorepe.c:1673 +#: eshpe.c:1673 msgid "%X%P: unable to process relocs: %E\n" msgstr "" @@ -4963,38 +5119,38 @@ msgstr "" msgid "%F%P: can not init BFD: %E\n" msgstr "" -#: ealphavms.c:167 eelf64_ia64_vms.c:167 +#: ealphavms.c:168 eelf64_ia64_vms.c:168 #, c-format msgid "" " --identification <string> Set the identification of the output\n" msgstr "" -#: earm_wince_pe.c:430 earmpe.c:430 ei386pe.c:430 ei386pe_posix.c:430 -#: emcorepe.c:430 eshpe.c:430 +#: earm_wince_pe.c:432 earmpe.c:432 ei386pe.c:432 ei386pe_posix.c:432 +#: emcorepe.c:432 eshpe.c:432 #, c-format msgid "" " --thumb-entry=<symbol> Set the entry point to be Thumb " "<symbol>\n" msgstr "" -#: earm_wince_pe.c:431 earmpe.c:431 ei386pe.c:431 ei386pe_posix.c:431 -#: emcorepe.c:431 eshpe.c:431 +#: earm_wince_pe.c:433 earmpe.c:433 ei386pe.c:433 ei386pe_posix.c:433 +#: emcorepe.c:433 eshpe.c:433 #, c-format msgid "" " --[no-]insert-timestamp Use a real timestamp rather than zero " "(default).\n" msgstr "" -#: earm_wince_pe.c:442 earmpe.c:442 ei386pe.c:442 ei386pe_posix.c:442 -#: emcorepe.c:442 eshpe.c:442 +#: earm_wince_pe.c:444 earmpe.c:444 ei386pe.c:444 ei386pe_posix.c:444 +#: emcorepe.c:444 eshpe.c:444 #, c-format msgid "" " export, place into import library " "instead.\n" msgstr "" -#: earm_wince_pe.c:447 earmpe.c:447 ei386pe.c:447 ei386pe_posix.c:447 -#: emcorepe.c:447 eshpe.c:447 +#: earm_wince_pe.c:449 earmpe.c:449 ei386pe.c:449 ei386pe_posix.c:449 +#: emcorepe.c:449 eshpe.c:449 #, c-format msgid "" " --compat-implib Create backward compatible import " @@ -5002,8 +5158,8 @@ msgid "" " create __imp_<SYMBOL> as well.\n" msgstr "" -#: earm_wince_pe.c:448 earmpe.c:448 ei386pe.c:448 ei386pe_posix.c:448 -#: emcorepe.c:448 eshpe.c:448 +#: earm_wince_pe.c:450 earmpe.c:450 ei386pe.c:450 ei386pe_posix.c:450 +#: emcorepe.c:450 eshpe.c:450 #, c-format msgid "" " --enable-auto-image-base[=<address>] Automatically choose image base for " @@ -5013,16 +5169,16 @@ msgid "" " specifically set with --image-base\n" msgstr "" -#: earm_wince_pe.c:449 earmpe.c:449 ei386pe.c:449 ei386pe_posix.c:449 -#: emcorepe.c:449 eshpe.c:449 +#: earm_wince_pe.c:451 earmpe.c:451 ei386pe.c:451 ei386pe_posix.c:451 +#: emcorepe.c:451 eshpe.c:451 #, c-format msgid "" " --disable-auto-image-base Do not auto-choose image base. " "(default)\n" msgstr "" -#: earm_wince_pe.c:453 earmpe.c:453 ei386pe.c:453 ei386pe_posix.c:453 -#: emcorepe.c:453 eshpe.c:453 +#: earm_wince_pe.c:455 earmpe.c:455 ei386pe.c:455 ei386pe_posix.c:455 +#: emcorepe.c:455 eshpe.c:455 #, c-format msgid "" " --enable-runtime-pseudo-reloc Work around auto-import limitations by\n" @@ -5031,8 +5187,8 @@ msgid "" " runtime.\n" msgstr "" -#: earm_wince_pe.c:454 earmpe.c:454 ei386pe.c:454 ei386pe_posix.c:454 -#: emcorepe.c:454 eshpe.c:454 +#: earm_wince_pe.c:456 earmpe.c:456 ei386pe.c:456 ei386pe_posix.c:456 +#: emcorepe.c:456 eshpe.c:456 #, c-format msgid "" " --disable-runtime-pseudo-reloc Do not add runtime pseudo-relocations " @@ -5040,8 +5196,8 @@ msgid "" " auto-imported DATA.\n" msgstr "" -#: earm_wince_pe.c:455 earmpe.c:455 ei386pe.c:455 ei386pe_posix.c:455 -#: emcorepe.c:455 eshpe.c:455 +#: earm_wince_pe.c:457 earmpe.c:457 ei386pe.c:457 ei386pe_posix.c:457 +#: emcorepe.c:457 eshpe.c:457 #, c-format msgid "" " --enable-extra-pe-debug Enable verbose debug output when " @@ -5050,24 +5206,24 @@ msgid "" "import)\n" msgstr "" -#: earm_wince_pe.c:457 earmpe.c:457 ei386pe.c:457 ei386pe_posix.c:457 -#: emcorepe.c:457 eshpe.c:457 +#: earm_wince_pe.c:459 earmpe.c:459 ei386pe.c:459 ei386pe_posix.c:459 +#: emcorepe.c:459 eshpe.c:459 #, c-format msgid "" " --large-address-aware Executable supports virtual addresses\n" " greater than 2 gigabytes\n" msgstr "" -#: earm_wince_pe.c:458 earmpe.c:458 ei386pe.c:458 ei386pe_posix.c:458 -#: emcorepe.c:458 eshpe.c:458 +#: earm_wince_pe.c:460 earmpe.c:460 ei386pe.c:460 ei386pe_posix.c:460 +#: emcorepe.c:460 eshpe.c:460 #, c-format msgid "" " --disable-large-address-aware Executable does not support virtual\n" " addresses greater than 2 gigabytes\n" msgstr "" -#: earm_wince_pe.c:467 earmpe.c:467 ei386pe.c:467 ei386pe_posix.c:467 -#: emcorepe.c:467 eshpe.c:467 +#: earm_wince_pe.c:469 earmpe.c:469 ei386pe.c:469 ei386pe_posix.c:469 +#: emcorepe.c:469 eshpe.c:469 #, c-format msgid "" " --[disable-]no-seh Image does not use SEH. No SE handler " @@ -5075,43 +5231,43 @@ msgid "" " be called in this image\n" msgstr "" -#: earm_wince_pe.c:1041 earmpe.c:1041 ei386pe.c:1041 ei386pe_posix.c:1041 -#: emcorepe.c:1041 eshpe.c:1041 +#: earm_wince_pe.c:1046 earmpe.c:1046 ei386pe.c:1046 ei386pe_posix.c:1046 +#: emcorepe.c:1046 eshpe.c:1046 msgid "" "%P: warning: --export-dynamic is not supported for PE targets, did you mean " "--export-all-symbols?\n" msgstr "" -#: earm_wince_pe.c:1091 earmpe.c:1091 ei386pe.c:1091 ei386pe_posix.c:1091 -#: emcorepe.c:1091 eshpe.c:1091 +#: earm_wince_pe.c:1096 earmpe.c:1096 ei386pe.c:1096 ei386pe_posix.c:1096 +#: emcorepe.c:1096 eshpe.c:1096 msgid "%P: warning: resolving %s by linking to %s\n" msgstr "" -#: earm_wince_pe.c:1796 earmpe.c:1796 ei386pe.c:1796 ei386pe_posix.c:1796 -#: emcorepe.c:1796 eshpe.c:1796 +#: earm_wince_pe.c:1882 earmpe.c:1882 ei386pe.c:1882 ei386pe_posix.c:1882 +#: emcorepe.c:1882 eshpe.c:1882 #, c-format msgid "%P: errors encountered processing file %s for interworking\n" msgstr "" -#: earm_wince_pe.c:1960 earmelf.c:523 earmelf_fbsd.c:523 earmelf_fuchsia.c:524 +#: earm_wince_pe.c:2046 earmelf.c:523 earmelf_fbsd.c:523 earmelf_fuchsia.c:524 #: earmelf_haiku.c:524 earmelf_linux.c:524 earmelf_linux_eabi.c:524 #: earmelf_linux_fdpiceabi.c:524 earmelf_nacl.c:524 earmelf_nbsd.c:523 #: earmelf_phoenix.c:524 earmelf_vxworks.c:523 earmelfb.c:523 #: earmelfb_fbsd.c:523 earmelfb_fuchsia.c:524 earmelfb_linux.c:524 #: earmelfb_linux_eabi.c:524 earmelfb_linux_fdpiceabi.c:524 -#: earmelfb_nacl.c:524 earmelfb_nbsd.c:523 earmnto.c:523 earmpe.c:1960 -#: ei386pe.c:1960 ei386pe_posix.c:1960 emcorepe.c:1960 eshpe.c:1960 +#: earmelfb_nacl.c:524 earmelfb_nbsd.c:523 earmnto.c:523 earmpe.c:2046 +#: ei386pe.c:2046 ei386pe_posix.c:2046 emcorepe.c:2046 eshpe.c:2046 msgid "%P: warning: '--thumb-entry %s' is overriding '-e %s'\n" msgstr "" -#: earm_wince_pe.c:1965 earmelf.c:528 earmelf_fbsd.c:528 earmelf_fuchsia.c:529 +#: earm_wince_pe.c:2051 earmelf.c:528 earmelf_fbsd.c:528 earmelf_fuchsia.c:529 #: earmelf_haiku.c:529 earmelf_linux.c:529 earmelf_linux_eabi.c:529 #: earmelf_linux_fdpiceabi.c:529 earmelf_nacl.c:529 earmelf_nbsd.c:528 #: earmelf_phoenix.c:529 earmelf_vxworks.c:528 earmelfb.c:528 #: earmelfb_fbsd.c:528 earmelfb_fuchsia.c:529 earmelfb_linux.c:529 #: earmelfb_linux_eabi.c:529 earmelfb_linux_fdpiceabi.c:529 -#: earmelfb_nacl.c:529 earmelfb_nbsd.c:528 earmnto.c:528 earmpe.c:1965 -#: ei386pe.c:1965 ei386pe_posix.c:1965 emcorepe.c:1965 eshpe.c:1965 +#: earmelfb_nacl.c:529 earmelfb_nbsd.c:528 earmnto.c:528 earmpe.c:2051 +#: ei386pe.c:2051 ei386pe_posix.c:2051 emcorepe.c:2051 eshpe.c:2051 msgid "%P: warning: cannot find thumb start symbol %s\n" msgstr "" @@ -5146,71 +5302,26 @@ msgstr "" msgid "%F%P: %s: not a relocatable file: %E\n" msgstr "" -#: earmelf.c:1069 earmelf_fbsd.c:1069 earmelf_fuchsia.c:1074 -#: earmelf_haiku.c:1074 earmelf_linux.c:1074 earmelf_linux_eabi.c:1074 -#: earmelf_linux_fdpiceabi.c:1074 earmelf_nacl.c:1074 earmelf_nbsd.c:1069 -#: earmelf_phoenix.c:1074 earmelf_vxworks.c:1105 earmelfb.c:1069 -#: earmelfb_fbsd.c:1069 earmelfb_fuchsia.c:1074 earmelfb_linux.c:1074 -#: earmelfb_linux_eabi.c:1074 earmelfb_linux_fdpiceabi.c:1074 -#: earmelfb_nacl.c:1074 earmelfb_nbsd.c:1069 earmnto.c:1044 +#: earmelf.c:1073 earmelf_fbsd.c:1073 earmelf_fuchsia.c:1078 +#: earmelf_haiku.c:1078 earmelf_linux.c:1078 earmelf_linux_eabi.c:1078 +#: earmelf_linux_fdpiceabi.c:1078 earmelf_nacl.c:1078 earmelf_nbsd.c:1073 +#: earmelf_phoenix.c:1078 earmelf_vxworks.c:1109 earmelfb.c:1073 +#: earmelfb_fbsd.c:1073 earmelfb_fuchsia.c:1078 earmelfb_linux.c:1078 +#: earmelfb_linux_eabi.c:1078 earmelfb_linux_fdpiceabi.c:1078 +#: earmelfb_nacl.c:1078 earmelfb_nbsd.c:1073 earmnto.c:1048 msgid "%P: unrecognized VFP11 fix type '%s'\n" msgstr "" -#: earmelf.c:1082 earmelf_fbsd.c:1082 earmelf_fuchsia.c:1087 -#: earmelf_haiku.c:1087 earmelf_linux.c:1087 earmelf_linux_eabi.c:1087 -#: earmelf_linux_fdpiceabi.c:1087 earmelf_nacl.c:1087 earmelf_nbsd.c:1082 -#: earmelf_phoenix.c:1087 earmelf_vxworks.c:1118 earmelfb.c:1082 -#: earmelfb_fbsd.c:1082 earmelfb_fuchsia.c:1087 earmelfb_linux.c:1087 -#: earmelfb_linux_eabi.c:1087 earmelfb_linux_fdpiceabi.c:1087 -#: earmelfb_nacl.c:1087 earmelfb_nbsd.c:1082 earmnto.c:1057 +#: earmelf.c:1086 earmelf_fbsd.c:1086 earmelf_fuchsia.c:1091 +#: earmelf_haiku.c:1091 earmelf_linux.c:1091 earmelf_linux_eabi.c:1091 +#: earmelf_linux_fdpiceabi.c:1091 earmelf_nacl.c:1091 earmelf_nbsd.c:1086 +#: earmelf_phoenix.c:1091 earmelf_vxworks.c:1122 earmelfb.c:1086 +#: earmelfb_fbsd.c:1086 earmelfb_fuchsia.c:1091 earmelfb_linux.c:1091 +#: earmelfb_linux_eabi.c:1091 earmelfb_linux_fdpiceabi.c:1091 +#: earmelfb_nacl.c:1091 earmelfb_nbsd.c:1086 earmnto.c:1061 msgid "%P: unrecognized STM32L4XX fix type '%s'\n" msgstr "" -#: earmelf.c:1149 earmelf_fbsd.c:1149 earmelf_fuchsia.c:1154 -#: earmelf_haiku.c:1154 earmelf_linux.c:1154 earmelf_linux_eabi.c:1154 -#: earmelf_linux_fdpiceabi.c:1154 earmelf_nacl.c:1154 earmelf_nbsd.c:1149 -#: earmelf_phoenix.c:1154 earmelf_vxworks.c:1189 earmelfb.c:1149 -#: earmelfb_fbsd.c:1149 earmelfb_fuchsia.c:1154 earmelfb_linux.c:1154 -#: earmelfb_linux_eabi.c:1154 earmelfb_linux_fdpiceabi.c:1154 -#: earmelfb_nacl.c:1154 earmelfb_nbsd.c:1149 earmnto.c:1124 -#, c-format -msgid "" -" --thumb-entry=<sym> Set the entry point to be Thumb symbol <sym>\n" -msgstr "" - -#: earmelf.c:1150 earmelf_fbsd.c:1150 earmelf_fuchsia.c:1155 -#: earmelf_haiku.c:1155 earmelf_linux.c:1155 earmelf_linux_eabi.c:1155 -#: earmelf_linux_fdpiceabi.c:1155 earmelf_nacl.c:1155 earmelf_nbsd.c:1150 -#: earmelf_phoenix.c:1155 earmelf_vxworks.c:1190 earmelfb.c:1150 -#: earmelfb_fbsd.c:1150 earmelfb_fuchsia.c:1155 earmelfb_linux.c:1155 -#: earmelfb_linux_eabi.c:1155 earmelfb_linux_fdpiceabi.c:1155 -#: earmelfb_nacl.c:1155 earmelfb_nbsd.c:1150 earmnto.c:1125 -#, c-format -msgid " --be8 Output BE8 format image\n" -msgstr "" - -#: earmelf.c:1151 earmelf_fbsd.c:1151 earmelf_fuchsia.c:1156 -#: earmelf_haiku.c:1156 earmelf_linux.c:1156 earmelf_linux_eabi.c:1156 -#: earmelf_linux_fdpiceabi.c:1156 earmelf_nacl.c:1156 earmelf_nbsd.c:1151 -#: earmelf_phoenix.c:1156 earmelf_vxworks.c:1191 earmelfb.c:1151 -#: earmelfb_fbsd.c:1151 earmelfb_fuchsia.c:1156 earmelfb_linux.c:1156 -#: earmelfb_linux_eabi.c:1156 earmelfb_linux_fdpiceabi.c:1156 -#: earmelfb_nacl.c:1156 earmelfb_nbsd.c:1151 earmnto.c:1126 -#, c-format -msgid " --target1-rel Interpret R_ARM_TARGET1 as R_ARM_REL32\n" -msgstr "" - -#: earmelf.c:1152 earmelf_fbsd.c:1152 earmelf_fuchsia.c:1157 -#: earmelf_haiku.c:1157 earmelf_linux.c:1157 earmelf_linux_eabi.c:1157 -#: earmelf_linux_fdpiceabi.c:1157 earmelf_nacl.c:1157 earmelf_nbsd.c:1152 -#: earmelf_phoenix.c:1157 earmelf_vxworks.c:1192 earmelfb.c:1152 -#: earmelfb_fbsd.c:1152 earmelfb_fuchsia.c:1157 earmelfb_linux.c:1157 -#: earmelfb_linux_eabi.c:1157 earmelfb_linux_fdpiceabi.c:1157 -#: earmelfb_nacl.c:1157 earmelfb_nbsd.c:1152 earmnto.c:1127 -#, c-format -msgid " --target1-abs Interpret R_ARM_TARGET1 as R_ARM_ABS32\n" -msgstr "" - #: earmelf.c:1153 earmelf_fbsd.c:1153 earmelf_fuchsia.c:1158 #: earmelf_haiku.c:1158 earmelf_linux.c:1158 earmelf_linux_eabi.c:1158 #: earmelf_linux_fdpiceabi.c:1158 earmelf_nacl.c:1158 earmelf_nbsd.c:1153 @@ -5219,7 +5330,8 @@ msgstr "" #: earmelfb_linux_eabi.c:1158 earmelfb_linux_fdpiceabi.c:1158 #: earmelfb_nacl.c:1158 earmelfb_nbsd.c:1153 earmnto.c:1128 #, c-format -msgid " --target2=<type> Specify definition of R_ARM_TARGET2\n" +msgid "" +" --thumb-entry=<sym> Set the entry point to be Thumb symbol <sym>\n" msgstr "" #: earmelf.c:1154 earmelf_fbsd.c:1154 earmelf_fuchsia.c:1159 @@ -5230,7 +5342,7 @@ msgstr "" #: earmelfb_linux_eabi.c:1159 earmelfb_linux_fdpiceabi.c:1159 #: earmelfb_nacl.c:1159 earmelfb_nbsd.c:1154 earmnto.c:1129 #, c-format -msgid " --fix-v4bx Rewrite BX rn as MOV pc, rn for ARMv4\n" +msgid " --be8 Output BE8 format image\n" msgstr "" #: earmelf.c:1155 earmelf_fbsd.c:1155 earmelf_fuchsia.c:1160 @@ -5241,9 +5353,7 @@ msgstr "" #: earmelfb_linux_eabi.c:1160 earmelfb_linux_fdpiceabi.c:1160 #: earmelfb_nacl.c:1160 earmelfb_nbsd.c:1155 earmnto.c:1130 #, c-format -msgid "" -" --fix-v4bx-interworking Rewrite BX rn branch to ARMv4 interworking " -"veneer\n" +msgid " --target1-rel Interpret R_ARM_TARGET1 as R_ARM_REL32\n" msgstr "" #: earmelf.c:1156 earmelf_fbsd.c:1156 earmelf_fuchsia.c:1161 @@ -5254,7 +5364,7 @@ msgstr "" #: earmelfb_linux_eabi.c:1161 earmelfb_linux_fdpiceabi.c:1161 #: earmelfb_nacl.c:1161 earmelfb_nbsd.c:1156 earmnto.c:1131 #, c-format -msgid " --use-blx Enable use of BLX instructions\n" +msgid " --target1-abs Interpret R_ARM_TARGET1 as R_ARM_ABS32\n" msgstr "" #: earmelf.c:1157 earmelf_fbsd.c:1157 earmelf_fuchsia.c:1162 @@ -5265,7 +5375,7 @@ msgstr "" #: earmelfb_linux_eabi.c:1162 earmelfb_linux_fdpiceabi.c:1162 #: earmelfb_nacl.c:1162 earmelfb_nbsd.c:1157 earmnto.c:1132 #, c-format -msgid " --vfp11-denorm-fix Specify how to fix VFP11 denorm erratum\n" +msgid " --target2=<type> Specify definition of R_ARM_TARGET2\n" msgstr "" #: earmelf.c:1158 earmelf_fbsd.c:1158 earmelf_fuchsia.c:1163 @@ -5276,35 +5386,54 @@ msgstr "" #: earmelfb_linux_eabi.c:1163 earmelfb_linux_fdpiceabi.c:1163 #: earmelfb_nacl.c:1163 earmelfb_nbsd.c:1158 earmnto.c:1133 #, c-format -msgid "" -" --fix-stm32l4xx-629360 Specify how to fix STM32L4XX 629360 erratum\n" +msgid " --fix-v4bx Rewrite BX rn as MOV pc, rn for ARMv4\n" msgstr "" -#: earmelf.c:1164 earmelf_fbsd.c:1164 earmelf_fuchsia.c:1169 -#: earmelf_haiku.c:1169 earmelf_linux.c:1169 earmelf_linux_eabi.c:1169 -#: earmelf_linux_fdpiceabi.c:1169 earmelf_nacl.c:1169 earmelf_nbsd.c:1164 -#: earmelf_phoenix.c:1169 earmelf_vxworks.c:1204 earmelfb.c:1164 -#: earmelfb_fbsd.c:1164 earmelfb_fuchsia.c:1169 earmelfb_linux.c:1169 -#: earmelfb_linux_eabi.c:1169 earmelfb_linux_fdpiceabi.c:1169 -#: earmelfb_nacl.c:1169 earmelfb_nbsd.c:1164 earmnto.c:1139 +#: earmelf.c:1159 earmelf_fbsd.c:1159 earmelf_fuchsia.c:1164 +#: earmelf_haiku.c:1164 earmelf_linux.c:1164 earmelf_linux_eabi.c:1164 +#: earmelf_linux_fdpiceabi.c:1164 earmelf_nacl.c:1164 earmelf_nbsd.c:1159 +#: earmelf_phoenix.c:1164 earmelf_vxworks.c:1199 earmelfb.c:1159 +#: earmelfb_fbsd.c:1159 earmelfb_fuchsia.c:1164 earmelfb_linux.c:1164 +#: earmelfb_linux_eabi.c:1164 earmelfb_linux_fdpiceabi.c:1164 +#: earmelfb_nacl.c:1164 earmelfb_nbsd.c:1159 earmnto.c:1134 #, c-format msgid "" -" --long-plt Generate long .plt entries\n" -" to handle large .plt/.got displacements\n" +" --fix-v4bx-interworking Rewrite BX rn branch to ARMv4 interworking " +"veneer\n" +msgstr "" + +#: earmelf.c:1160 earmelf_fbsd.c:1160 earmelf_fuchsia.c:1165 +#: earmelf_haiku.c:1165 earmelf_linux.c:1165 earmelf_linux_eabi.c:1165 +#: earmelf_linux_fdpiceabi.c:1165 earmelf_nacl.c:1165 earmelf_nbsd.c:1160 +#: earmelf_phoenix.c:1165 earmelf_vxworks.c:1200 earmelfb.c:1160 +#: earmelfb_fbsd.c:1160 earmelfb_fuchsia.c:1165 earmelfb_linux.c:1165 +#: earmelfb_linux_eabi.c:1165 earmelfb_linux_fdpiceabi.c:1165 +#: earmelfb_nacl.c:1165 earmelfb_nbsd.c:1160 earmnto.c:1135 +#, c-format +msgid " --use-blx Enable use of BLX instructions\n" msgstr "" -#: earmelf.c:1166 earmelf_fbsd.c:1166 earmelf_fuchsia.c:1171 -#: earmelf_haiku.c:1171 earmelf_linux.c:1171 earmelf_linux_eabi.c:1171 -#: earmelf_linux_fdpiceabi.c:1171 earmelf_nacl.c:1171 earmelf_nbsd.c:1166 -#: earmelf_phoenix.c:1171 earmelf_vxworks.c:1206 earmelfb.c:1166 -#: earmelfb_fbsd.c:1166 earmelfb_fuchsia.c:1171 earmelfb_linux.c:1171 -#: earmelfb_linux_eabi.c:1171 earmelfb_linux_fdpiceabi.c:1171 -#: earmelfb_nacl.c:1171 earmelfb_nbsd.c:1166 earmnto.c:1141 +#: earmelf.c:1161 earmelf_fbsd.c:1161 earmelf_fuchsia.c:1166 +#: earmelf_haiku.c:1166 earmelf_linux.c:1166 earmelf_linux_eabi.c:1166 +#: earmelf_linux_fdpiceabi.c:1166 earmelf_nacl.c:1166 earmelf_nbsd.c:1161 +#: earmelf_phoenix.c:1166 earmelf_vxworks.c:1201 earmelfb.c:1161 +#: earmelfb_fbsd.c:1161 earmelfb_fuchsia.c:1166 earmelfb_linux.c:1166 +#: earmelfb_linux_eabi.c:1166 earmelfb_linux_fdpiceabi.c:1166 +#: earmelfb_nacl.c:1166 earmelfb_nbsd.c:1161 earmnto.c:1136 +#, c-format +msgid " --vfp11-denorm-fix Specify how to fix VFP11 denorm erratum\n" +msgstr "" + +#: earmelf.c:1162 earmelf_fbsd.c:1162 earmelf_fuchsia.c:1167 +#: earmelf_haiku.c:1167 earmelf_linux.c:1167 earmelf_linux_eabi.c:1167 +#: earmelf_linux_fdpiceabi.c:1167 earmelf_nacl.c:1167 earmelf_nbsd.c:1162 +#: earmelf_phoenix.c:1167 earmelf_vxworks.c:1202 earmelfb.c:1162 +#: earmelfb_fbsd.c:1162 earmelfb_fuchsia.c:1167 earmelfb_linux.c:1167 +#: earmelfb_linux_eabi.c:1167 earmelfb_linux_fdpiceabi.c:1167 +#: earmelfb_nacl.c:1167 earmelfb_nbsd.c:1162 earmnto.c:1137 #, c-format msgid "" -" --cmse-implib Make import library to be a secure gateway " -"import\n" -" library as per ARMv8-M Security Extensions\n" +" --fix-stm32l4xx-629360 Specify how to fix STM32L4XX 629360 erratum\n" msgstr "" #: earmelf.c:1168 earmelf_fbsd.c:1168 earmelf_fuchsia.c:1173 @@ -5316,41 +5445,68 @@ msgstr "" #: earmelfb_nacl.c:1173 earmelfb_nbsd.c:1168 earmnto.c:1143 #, c-format msgid "" +" --long-plt Generate long .plt entries\n" +" to handle large .plt/.got displacements\n" +msgstr "" + +#: earmelf.c:1170 earmelf_fbsd.c:1170 earmelf_fuchsia.c:1175 +#: earmelf_haiku.c:1175 earmelf_linux.c:1175 earmelf_linux_eabi.c:1175 +#: earmelf_linux_fdpiceabi.c:1175 earmelf_nacl.c:1175 earmelf_nbsd.c:1170 +#: earmelf_phoenix.c:1175 earmelf_vxworks.c:1210 earmelfb.c:1170 +#: earmelfb_fbsd.c:1170 earmelfb_fuchsia.c:1175 earmelfb_linux.c:1175 +#: earmelfb_linux_eabi.c:1175 earmelfb_linux_fdpiceabi.c:1175 +#: earmelfb_nacl.c:1175 earmelfb_nbsd.c:1170 earmnto.c:1145 +#, c-format +msgid "" +" --cmse-implib Make import library to be a secure gateway " +"import\n" +" library as per ARMv8-M Security Extensions\n" +msgstr "" + +#: earmelf.c:1172 earmelf_fbsd.c:1172 earmelf_fuchsia.c:1177 +#: earmelf_haiku.c:1177 earmelf_linux.c:1177 earmelf_linux_eabi.c:1177 +#: earmelf_linux_fdpiceabi.c:1177 earmelf_nacl.c:1177 earmelf_nbsd.c:1172 +#: earmelf_phoenix.c:1177 earmelf_vxworks.c:1212 earmelfb.c:1172 +#: earmelfb_fbsd.c:1172 earmelfb_fuchsia.c:1177 earmelfb_linux.c:1177 +#: earmelfb_linux_eabi.c:1177 earmelfb_linux_fdpiceabi.c:1177 +#: earmelfb_nacl.c:1177 earmelfb_nbsd.c:1172 earmnto.c:1147 +#, c-format +msgid "" " --in-implib Import library whose symbols address must\n" " remain stable\n" msgstr "" -#: earmelf.c:1179 earmelf_fbsd.c:1179 earmelf_fuchsia.c:1184 -#: earmelf_haiku.c:1184 earmelf_linux.c:1184 earmelf_linux_eabi.c:1184 -#: earmelf_linux_fdpiceabi.c:1184 earmelf_nacl.c:1184 earmelf_nbsd.c:1179 -#: earmelf_phoenix.c:1184 earmelf_vxworks.c:1219 earmelfb.c:1179 -#: earmelfb_fbsd.c:1179 earmelfb_fuchsia.c:1184 earmelfb_linux.c:1184 -#: earmelfb_linux_eabi.c:1184 earmelfb_linux_fdpiceabi.c:1184 -#: earmelfb_nacl.c:1184 earmelfb_nbsd.c:1179 earmnto.c:1154 +#: earmelf.c:1183 earmelf_fbsd.c:1183 earmelf_fuchsia.c:1188 +#: earmelf_haiku.c:1188 earmelf_linux.c:1188 earmelf_linux_eabi.c:1188 +#: earmelf_linux_fdpiceabi.c:1188 earmelf_nacl.c:1188 earmelf_nbsd.c:1183 +#: earmelf_phoenix.c:1188 earmelf_vxworks.c:1223 earmelfb.c:1183 +#: earmelfb_fbsd.c:1183 earmelfb_fuchsia.c:1188 earmelfb_linux.c:1188 +#: earmelfb_linux_eabi.c:1188 earmelfb_linux_fdpiceabi.c:1188 +#: earmelfb_nacl.c:1188 earmelfb_nbsd.c:1183 earmnto.c:1158 #, c-format msgid "" " --[no-]fix-cortex-a8 Disable/enable Cortex-A8 Thumb-2 branch " "erratum fix\n" msgstr "" -#: earmelf.c:1180 earmelf_fbsd.c:1180 earmelf_fuchsia.c:1185 -#: earmelf_haiku.c:1185 earmelf_linux.c:1185 earmelf_linux_eabi.c:1185 -#: earmelf_linux_fdpiceabi.c:1185 earmelf_nacl.c:1185 earmelf_nbsd.c:1180 -#: earmelf_phoenix.c:1185 earmelf_vxworks.c:1220 earmelfb.c:1180 -#: earmelfb_fbsd.c:1180 earmelfb_fuchsia.c:1185 earmelfb_linux.c:1185 -#: earmelfb_linux_eabi.c:1185 earmelfb_linux_fdpiceabi.c:1185 -#: earmelfb_nacl.c:1185 earmelfb_nbsd.c:1180 earmnto.c:1155 +#: earmelf.c:1184 earmelf_fbsd.c:1184 earmelf_fuchsia.c:1189 +#: earmelf_haiku.c:1189 earmelf_linux.c:1189 earmelf_linux_eabi.c:1189 +#: earmelf_linux_fdpiceabi.c:1189 earmelf_nacl.c:1189 earmelf_nbsd.c:1184 +#: earmelf_phoenix.c:1189 earmelf_vxworks.c:1224 earmelfb.c:1184 +#: earmelfb_fbsd.c:1184 earmelfb_fuchsia.c:1189 earmelfb_linux.c:1189 +#: earmelfb_linux_eabi.c:1189 earmelfb_linux_fdpiceabi.c:1189 +#: earmelfb_nacl.c:1189 earmelfb_nbsd.c:1184 earmnto.c:1159 #, c-format msgid " --no-merge-exidx-entries Disable merging exidx entries\n" msgstr "" -#: earmelf.c:1181 earmelf_fbsd.c:1181 earmelf_fuchsia.c:1186 -#: earmelf_haiku.c:1186 earmelf_linux.c:1186 earmelf_linux_eabi.c:1186 -#: earmelf_linux_fdpiceabi.c:1186 earmelf_nacl.c:1186 earmelf_nbsd.c:1181 -#: earmelf_phoenix.c:1186 earmelf_vxworks.c:1221 earmelfb.c:1181 -#: earmelfb_fbsd.c:1181 earmelfb_fuchsia.c:1186 earmelfb_linux.c:1186 -#: earmelfb_linux_eabi.c:1186 earmelfb_linux_fdpiceabi.c:1186 -#: earmelfb_nacl.c:1186 earmelfb_nbsd.c:1181 earmnto.c:1156 +#: earmelf.c:1185 earmelf_fbsd.c:1185 earmelf_fuchsia.c:1190 +#: earmelf_haiku.c:1190 earmelf_linux.c:1190 earmelf_linux_eabi.c:1190 +#: earmelf_linux_fdpiceabi.c:1190 earmelf_nacl.c:1190 earmelf_nbsd.c:1185 +#: earmelf_phoenix.c:1190 earmelf_vxworks.c:1225 earmelfb.c:1185 +#: earmelfb_fbsd.c:1185 earmelfb_fuchsia.c:1190 earmelfb_linux.c:1190 +#: earmelfb_linux_eabi.c:1190 earmelfb_linux_fdpiceabi.c:1190 +#: earmelfb_nacl.c:1190 earmelfb_nbsd.c:1185 earmnto.c:1160 #, c-format msgid "" " --[no-]fix-arm1176 Disable/enable ARM1176 BLX immediate erratum " @@ -5369,9 +5525,9 @@ msgstr "" msgid "%X%P: dynamic sections created in non-dynamic link\n" msgstr "" -#: earmelf_vxworks.c:1223 eelf32_sparc_vxworks.c:528 eelf32ebmipvxworks.c:786 -#: eelf32elmipvxworks.c:786 eelf32ppcvxworks.c:851 eelf_i386_vxworks.c:613 -#: eshelf_vxworks.c:498 eshlelf_vxworks.c:498 +#: earmelf_vxworks.c:1227 eelf32_sparc_vxworks.c:534 eelf32ebmipvxworks.c:792 +#: eelf32elmipvxworks.c:792 eelf32ppcvxworks.c:857 eelf_i386_vxworks.c:619 +#: eshelf_vxworks.c:504 eshlelf_vxworks.c:504 #, c-format msgid " --force-dynamic Always create dynamic sections\n" msgstr "" @@ -5390,10 +5546,10 @@ msgstr "" msgid "%X%P: can not create stub BFD: %E\n" msgstr "" -#: eavr1.c:565 eavr2.c:565 eavr25.c:565 eavr3.c:565 eavr31.c:565 eavr35.c:565 -#: eavr4.c:565 eavr5.c:565 eavr51.c:565 eavr6.c:565 eavrtiny.c:565 -#: eavrxmega1.c:565 eavrxmega2.c:565 eavrxmega3.c:565 eavrxmega4.c:565 -#: eavrxmega5.c:565 eavrxmega6.c:565 eavrxmega7.c:565 +#: eavr1.c:571 eavr2.c:571 eavr25.c:571 eavr3.c:571 eavr31.c:571 eavr35.c:571 +#: eavr4.c:571 eavr5.c:571 eavr51.c:571 eavr6.c:571 eavrtiny.c:571 +#: eavrxmega1.c:571 eavrxmega2.c:571 eavrxmega3.c:571 eavrxmega4.c:571 +#: eavrxmega5.c:571 eavrxmega6.c:571 eavrxmega7.c:571 #, c-format msgid "" " --pmem-wrap-around=<val> Make the linker relaxation machine assume that " @@ -5404,10 +5560,10 @@ msgid "" "64k.\n" msgstr "" -#: eavr1.c:571 eavr2.c:571 eavr25.c:571 eavr3.c:571 eavr31.c:571 eavr35.c:571 -#: eavr4.c:571 eavr5.c:571 eavr51.c:571 eavr6.c:571 eavrtiny.c:571 -#: eavrxmega1.c:571 eavrxmega2.c:571 eavrxmega3.c:571 eavrxmega4.c:571 -#: eavrxmega5.c:571 eavrxmega6.c:571 eavrxmega7.c:571 +#: eavr1.c:577 eavr2.c:577 eavr25.c:577 eavr3.c:577 eavr31.c:577 eavr35.c:577 +#: eavr4.c:577 eavr5.c:577 eavr51.c:577 eavr6.c:577 eavrtiny.c:577 +#: eavrxmega1.c:577 eavrxmega2.c:577 eavrxmega3.c:577 eavrxmega4.c:577 +#: eavrxmega5.c:577 eavrxmega6.c:577 eavrxmega7.c:577 #, c-format msgid "" " --no-call-ret-replacement The relaxation machine normally will\n" @@ -5417,10 +5573,10 @@ msgid "" " This option disables this optimization.\n" msgstr "" -#: eavr1.c:579 eavr2.c:579 eavr25.c:579 eavr3.c:579 eavr31.c:579 eavr35.c:579 -#: eavr4.c:579 eavr5.c:579 eavr51.c:579 eavr6.c:579 eavrtiny.c:579 -#: eavrxmega1.c:579 eavrxmega2.c:579 eavrxmega3.c:579 eavrxmega4.c:579 -#: eavrxmega5.c:579 eavrxmega6.c:579 eavrxmega7.c:579 +#: eavr1.c:585 eavr2.c:585 eavr25.c:585 eavr3.c:585 eavr31.c:585 eavr35.c:585 +#: eavr4.c:585 eavr5.c:585 eavr51.c:585 eavr6.c:585 eavrtiny.c:585 +#: eavrxmega1.c:585 eavrxmega2.c:585 eavrxmega3.c:585 eavrxmega4.c:585 +#: eavrxmega5.c:585 eavrxmega6.c:585 eavrxmega7.c:585 #, c-format msgid "" " --no-stubs If the linker detects to attempt to access\n" @@ -5430,18 +5586,18 @@ msgid "" "switch.\n" msgstr "" -#: eavr1.c:587 eavr2.c:587 eavr25.c:587 eavr3.c:587 eavr31.c:587 eavr35.c:587 -#: eavr4.c:587 eavr5.c:587 eavr51.c:587 eavr6.c:587 eavrtiny.c:587 -#: eavrxmega1.c:587 eavrxmega2.c:587 eavrxmega3.c:587 eavrxmega4.c:587 -#: eavrxmega5.c:587 eavrxmega6.c:587 eavrxmega7.c:587 +#: eavr1.c:593 eavr2.c:593 eavr25.c:593 eavr3.c:593 eavr31.c:593 eavr35.c:593 +#: eavr4.c:593 eavr5.c:593 eavr51.c:593 eavr6.c:593 eavrtiny.c:593 +#: eavrxmega1.c:593 eavrxmega2.c:593 eavrxmega3.c:593 eavrxmega4.c:593 +#: eavrxmega5.c:593 eavrxmega6.c:593 eavrxmega7.c:593 #, c-format msgid " --debug-stubs Used for debugging avr-ld.\n" msgstr "" -#: eavr1.c:589 eavr2.c:589 eavr25.c:589 eavr3.c:589 eavr31.c:589 eavr35.c:589 -#: eavr4.c:589 eavr5.c:589 eavr51.c:589 eavr6.c:589 eavrtiny.c:589 -#: eavrxmega1.c:589 eavrxmega2.c:589 eavrxmega3.c:589 eavrxmega4.c:589 -#: eavrxmega5.c:589 eavrxmega6.c:589 eavrxmega7.c:589 +#: eavr1.c:595 eavr2.c:595 eavr25.c:595 eavr3.c:595 eavr31.c:595 eavr35.c:595 +#: eavr4.c:595 eavr5.c:595 eavr51.c:595 eavr6.c:595 eavrtiny.c:595 +#: eavrxmega1.c:595 eavrxmega2.c:595 eavrxmega3.c:595 eavrxmega4.c:595 +#: eavrxmega5.c:595 eavrxmega6.c:595 eavrxmega7.c:595 #, c-format msgid " --debug-relax Used for debugging avr-ld.\n" msgstr "" @@ -5454,14 +5610,14 @@ msgstr "" msgid "%X%P: cannot build stubs: %E\n" msgstr "" -#: ecskyelf.c:581 ecskyelf_linux.c:748 +#: ecskyelf.c:587 ecskyelf_linux.c:754 #, c-format msgid "" " --[no-]branch-stub Disable/enable use of stubs to expand branch\n" " instructions that cannot reach the target.\n" msgstr "" -#: ecskyelf.c:585 ecskyelf_linux.c:752 +#: ecskyelf.c:591 ecskyelf_linux.c:758 #, c-format msgid "" " --stub-group-size=N Maximum size of a group of input sections\n" @@ -5520,118 +5676,118 @@ msgstr "" msgid "running: %s \"%s\" \"%s\" \"%s\" \"%s\"\n" msgstr "" -#: eelf32_spu.c:1058 +#: eelf32_spu.c:1064 msgid "%F%P: invalid --local-store address range `%s'\n" msgstr "" -#: eelf32_spu.c:1094 +#: eelf32_spu.c:1100 msgid "%F%P: invalid --num-lines/--num-regions `%u'\n" msgstr "" -#: eelf32_spu.c:1099 +#: eelf32_spu.c:1105 msgid "%F%P: invalid --line-size/--region-size `%u'\n" msgstr "" -#: eelf32_spu.c:1120 +#: eelf32_spu.c:1126 msgid "%F%P: invalid --num-lines/--num-regions `%s'\n" msgstr "" -#: eelf32_spu.c:1133 +#: eelf32_spu.c:1139 msgid "%F%P: invalid --line-size/--region-size `%s'\n" msgstr "" -#: eelf32_spu.c:1142 +#: eelf32_spu.c:1148 msgid "%F%P: invalid --fixed-space value `%s'\n" msgstr "" -#: eelf32_spu.c:1151 +#: eelf32_spu.c:1157 msgid "%F%P: invalid --reserved-space value `%s'\n" msgstr "" -#: eelf32_spu.c:1160 +#: eelf32_spu.c:1166 msgid "%F%P: invalid --extra-stack-space value `%s'\n" msgstr "" -#: eelf32_spu.c:1197 +#: eelf32_spu.c:1203 #, c-format msgid " --plugin Make SPU plugin\n" msgstr "" -#: eelf32_spu.c:1199 +#: eelf32_spu.c:1205 #, c-format msgid " --no-overlays No overlay handling\n" msgstr "" -#: eelf32_spu.c:1201 +#: eelf32_spu.c:1207 #, c-format msgid "" " --compact-stubs Use smaller and possibly slower call stubs\n" msgstr "" -#: eelf32_spu.c:1203 +#: eelf32_spu.c:1209 #, c-format msgid " --emit-stub-syms Add symbols on overlay call stubs\n" msgstr "" -#: eelf32_spu.c:1205 +#: eelf32_spu.c:1211 #, c-format msgid "" " --extra-overlay-stubs Add stubs on all calls out of overlay regions\n" msgstr "" -#: eelf32_spu.c:1207 +#: eelf32_spu.c:1213 #, c-format msgid " --local-store=lo:hi Valid address range\n" msgstr "" -#: eelf32_spu.c:1209 +#: eelf32_spu.c:1215 #, c-format msgid " --stack-analysis Estimate maximum stack requirement\n" msgstr "" -#: eelf32_spu.c:1211 +#: eelf32_spu.c:1217 #, c-format msgid "" " --emit-stack-syms Add sym giving stack needed for each func\n" msgstr "" -#: eelf32_spu.c:1213 +#: eelf32_spu.c:1219 #, c-format msgid "" " --auto-overlay [=filename] Create an overlay script in filename if\n" " executable does not fit in local store\n" msgstr "" -#: eelf32_spu.c:1216 +#: eelf32_spu.c:1222 #, c-format msgid " --auto-relink Rerun linker using auto-overlay script\n" msgstr "" -#: eelf32_spu.c:1218 +#: eelf32_spu.c:1224 #, c-format msgid "" " --overlay-rodata Place read-only data with associated function\n" " code in overlays\n" msgstr "" -#: eelf32_spu.c:1221 +#: eelf32_spu.c:1227 #, c-format msgid " --num-regions Number of overlay buffers (default 1)\n" msgstr "" -#: eelf32_spu.c:1223 +#: eelf32_spu.c:1229 #, c-format msgid "" " --region-size Size of overlay buffers (default 0, auto)\n" msgstr "" -#: eelf32_spu.c:1225 +#: eelf32_spu.c:1231 #, c-format msgid "" " --fixed-space=bytes Local store for non-overlay code and data\n" msgstr "" -#: eelf32_spu.c:1227 +#: eelf32_spu.c:1233 #, c-format msgid "" " --reserved-space=bytes Local store for stack and heap. If not " @@ -5640,7 +5796,7 @@ msgid "" "heap\n" msgstr "" -#: eelf32_spu.c:1230 +#: eelf32_spu.c:1236 #, c-format msgid "" " --extra-stack-space=bytes Space for negative sp access (default 2000) " @@ -5648,28 +5804,28 @@ msgid "" " --reserved-space not given\n" msgstr "" -#: eelf32_spu.c:1233 +#: eelf32_spu.c:1239 #, c-format msgid " --soft-icache Generate software icache overlays\n" msgstr "" -#: eelf32_spu.c:1235 +#: eelf32_spu.c:1241 #, c-format msgid "" " --num-lines Number of soft-icache lines (default 32)\n" msgstr "" -#: eelf32_spu.c:1237 +#: eelf32_spu.c:1243 #, c-format msgid " --line-size Size of soft-icache lines (default 1k)\n" msgstr "" -#: eelf32_spu.c:1239 +#: eelf32_spu.c:1245 #, c-format msgid " --non-ia-text Allow non-icache code in icache lines\n" msgstr "" -#: eelf32_spu.c:1241 +#: eelf32_spu.c:1247 #, c-format msgid " --lrlive-analysis Scan function prologue for lr liveness\n" msgstr "" @@ -5679,237 +5835,218 @@ msgstr "" msgid "%F%P: invalid --dsbt-index %d, outside DSBT size\n" msgstr "" -#: eelf32_tic6x_be.c:591 eelf32_tic6x_elf_be.c:591 eelf32_tic6x_elf_le.c:591 -#: eelf32_tic6x_le.c:591 eelf32_tic6x_linux_be.c:591 -#: eelf32_tic6x_linux_le.c:591 +#: eelf32_tic6x_be.c:597 eelf32_tic6x_elf_be.c:597 eelf32_tic6x_elf_le.c:597 +#: eelf32_tic6x_le.c:597 eelf32_tic6x_linux_be.c:597 +#: eelf32_tic6x_linux_le.c:597 msgid "%F%P: invalid --dsbt-index %s\n" msgstr "" -#: eelf32_tic6x_be.c:601 eelf32_tic6x_elf_be.c:601 eelf32_tic6x_elf_le.c:601 -#: eelf32_tic6x_le.c:601 eelf32_tic6x_linux_be.c:601 -#: eelf32_tic6x_linux_le.c:601 +#: eelf32_tic6x_be.c:607 eelf32_tic6x_elf_be.c:607 eelf32_tic6x_elf_le.c:607 +#: eelf32_tic6x_le.c:607 eelf32_tic6x_linux_be.c:607 +#: eelf32_tic6x_linux_le.c:607 msgid "%F%P: invalid --dsbt-size %s\n" msgstr "" -#: eelf32_tic6x_be.c:617 eelf32_tic6x_elf_be.c:617 eelf32_tic6x_elf_le.c:617 -#: eelf32_tic6x_le.c:617 eelf32_tic6x_linux_be.c:617 -#: eelf32_tic6x_linux_le.c:617 +#: eelf32_tic6x_be.c:623 eelf32_tic6x_elf_be.c:623 eelf32_tic6x_elf_le.c:623 +#: eelf32_tic6x_le.c:623 eelf32_tic6x_linux_be.c:623 +#: eelf32_tic6x_linux_le.c:623 #, c-format msgid "" " --dsbt-index <index> Use this as the DSBT index for the output object\n" msgstr "" -#: eelf32_tic6x_be.c:618 eelf32_tic6x_elf_be.c:618 eelf32_tic6x_elf_le.c:618 -#: eelf32_tic6x_le.c:618 eelf32_tic6x_linux_be.c:618 -#: eelf32_tic6x_linux_le.c:618 +#: eelf32_tic6x_be.c:624 eelf32_tic6x_elf_be.c:624 eelf32_tic6x_elf_le.c:624 +#: eelf32_tic6x_le.c:624 eelf32_tic6x_linux_be.c:624 +#: eelf32_tic6x_linux_le.c:624 #, c-format msgid "" " --dsbt-size <index> Use this as the number of entries in the DSBT " "table\n" msgstr "" -#: eelf32_tic6x_be.c:619 eelf32_tic6x_elf_be.c:619 eelf32_tic6x_elf_le.c:619 -#: eelf32_tic6x_le.c:619 eelf32_tic6x_linux_be.c:619 -#: eelf32_tic6x_linux_le.c:619 +#: eelf32_tic6x_be.c:625 eelf32_tic6x_elf_be.c:625 eelf32_tic6x_elf_le.c:625 +#: eelf32_tic6x_le.c:625 eelf32_tic6x_linux_be.c:625 +#: eelf32_tic6x_linux_le.c:625 #, c-format msgid " --no-merge-exidx-entries\n" msgstr "" -#: eelf32_tic6x_be.c:620 eelf32_tic6x_elf_be.c:620 eelf32_tic6x_elf_le.c:620 -#: eelf32_tic6x_le.c:620 eelf32_tic6x_linux_be.c:620 -#: eelf32_tic6x_linux_le.c:620 +#: eelf32_tic6x_be.c:626 eelf32_tic6x_elf_be.c:626 eelf32_tic6x_elf_le.c:626 +#: eelf32_tic6x_le.c:626 eelf32_tic6x_linux_be.c:626 +#: eelf32_tic6x_linux_le.c:626 #, c-format msgid " Disable merging exidx entries\n" msgstr "" -#: eelf32_x86_64.c:5641 eelf_i386.c:5260 eelf_i386_be.c:497 -#: eelf_i386_fbsd.c:537 eelf_i386_haiku.c:537 eelf_i386_ldso.c:512 -#: eelf_i386_sol2.c:669 eelf_i386_vxworks.c:564 eelf_iamcu.c:537 -#: eelf_x86_64.c:5641 eelf_x86_64_cloudabi.c:540 eelf_x86_64_fbsd.c:540 -#: eelf_x86_64_haiku.c:540 eelf_x86_64_sol2.c:672 +#: eelf32_x86_64.c:5647 eelf_i386.c:5266 eelf_i386_be.c:503 +#: eelf_i386_fbsd.c:543 eelf_i386_haiku.c:543 eelf_i386_ldso.c:518 +#: eelf_i386_sol2.c:675 eelf_i386_vxworks.c:570 eelf_iamcu.c:543 +#: eelf_x86_64.c:5647 eelf_x86_64_cloudabi.c:546 eelf_x86_64_fbsd.c:546 +#: eelf_x86_64_haiku.c:546 eelf_x86_64_sol2.c:678 msgid "%F%P: invalid number for -z call-nop=prefix-: %s\n" msgstr "" -#: eelf32_x86_64.c:5650 eelf_i386.c:5269 eelf_i386_be.c:506 -#: eelf_i386_fbsd.c:546 eelf_i386_haiku.c:546 eelf_i386_ldso.c:521 -#: eelf_i386_sol2.c:678 eelf_i386_vxworks.c:573 eelf_iamcu.c:546 -#: eelf_x86_64.c:5650 eelf_x86_64_cloudabi.c:549 eelf_x86_64_fbsd.c:549 -#: eelf_x86_64_haiku.c:549 eelf_x86_64_sol2.c:681 +#: eelf32_x86_64.c:5656 eelf_i386.c:5275 eelf_i386_be.c:512 +#: eelf_i386_fbsd.c:552 eelf_i386_haiku.c:552 eelf_i386_ldso.c:527 +#: eelf_i386_sol2.c:684 eelf_i386_vxworks.c:579 eelf_iamcu.c:552 +#: eelf_x86_64.c:5656 eelf_x86_64_cloudabi.c:555 eelf_x86_64_fbsd.c:555 +#: eelf_x86_64_haiku.c:555 eelf_x86_64_sol2.c:687 msgid "%F%P: invalid number for -z call-nop=suffix-: %s\n" msgstr "" -#: eelf32_x86_64.c:5655 eelf_i386.c:5274 eelf_i386_be.c:511 -#: eelf_i386_fbsd.c:551 eelf_i386_haiku.c:551 eelf_i386_ldso.c:526 -#: eelf_i386_sol2.c:683 eelf_i386_vxworks.c:578 eelf_iamcu.c:551 -#: eelf_x86_64.c:5655 eelf_x86_64_cloudabi.c:554 eelf_x86_64_fbsd.c:554 -#: eelf_x86_64_haiku.c:554 eelf_x86_64_sol2.c:686 +#: eelf32_x86_64.c:5661 eelf_i386.c:5280 eelf_i386_be.c:517 +#: eelf_i386_fbsd.c:557 eelf_i386_haiku.c:557 eelf_i386_ldso.c:532 +#: eelf_i386_sol2.c:689 eelf_i386_vxworks.c:584 eelf_iamcu.c:557 +#: eelf_x86_64.c:5661 eelf_x86_64_cloudabi.c:560 eelf_x86_64_fbsd.c:560 +#: eelf_x86_64_haiku.c:560 eelf_x86_64_sol2.c:692 msgid "%F%P: unsupported option: -z %s\n" msgstr "" -#: eelf32_x86_64.c:5677 eelf_i386.c:5296 eelf_i386_fbsd.c:573 -#: eelf_i386_haiku.c:573 eelf_x86_64.c:5677 eelf_x86_64_cloudabi.c:576 -#: eelf_x86_64_fbsd.c:576 eelf_x86_64_haiku.c:576 eelf_x86_64_sol2.c:708 +#: eelf32_x86_64.c:5683 eelf_i386.c:5302 eelf_i386_fbsd.c:579 +#: eelf_i386_haiku.c:579 eelf_x86_64.c:5683 eelf_x86_64_cloudabi.c:582 +#: eelf_x86_64_fbsd.c:582 eelf_x86_64_haiku.c:582 eelf_x86_64_sol2.c:714 msgid "%F%P: invalid option for -z cet-report=: %s\n" msgstr "" -#: eelf32_x86_64.c:5691 eelf_i386.c:5310 eelf_i386_fbsd.c:587 -#: eelf_i386_haiku.c:587 eelf_x86_64.c:5691 eelf_x86_64_cloudabi.c:590 -#: eelf_x86_64_fbsd.c:590 eelf_x86_64_haiku.c:590 eelf_x86_64_sol2.c:722 +#: eelf32_x86_64.c:5697 eelf_i386.c:5316 eelf_i386_fbsd.c:593 +#: eelf_i386_haiku.c:593 eelf_x86_64.c:5697 eelf_x86_64_cloudabi.c:596 +#: eelf_x86_64_fbsd.c:596 eelf_x86_64_haiku.c:596 eelf_x86_64_sol2.c:728 msgid "%F%P: invalid x86-64 ISA level: %s\n" msgstr "" -#: eelf32_x86_64.c:5733 eelf_i386.c:5352 eelf_i386_be.c:527 -#: eelf_i386_fbsd.c:629 eelf_i386_haiku.c:629 eelf_i386_ldso.c:551 -#: eelf_i386_sol2.c:708 eelf_i386_vxworks.c:599 eelf_iamcu.c:576 -#: eelf_x86_64.c:5783 eelf_x86_64_cloudabi.c:682 eelf_x86_64_fbsd.c:682 -#: eelf_x86_64_haiku.c:682 eelf_x86_64_sol2.c:814 +#: eelf32_x86_64.c:5744 eelf_i386.c:5358 eelf_i386_be.c:533 +#: eelf_i386_fbsd.c:635 eelf_i386_haiku.c:635 eelf_i386_ldso.c:557 +#: eelf_i386_sol2.c:714 eelf_i386_vxworks.c:605 eelf_iamcu.c:582 +#: eelf_x86_64.c:5794 eelf_x86_64_cloudabi.c:693 eelf_x86_64_fbsd.c:693 +#: eelf_x86_64_haiku.c:693 eelf_x86_64_sol2.c:825 #, c-format msgid "" " -z noextern-protected-data Do not treat protected data symbol as " "external\n" msgstr "" -#: eelf32_x86_64.c:5735 eelf_i386.c:5354 eelf_i386_be.c:529 -#: eelf_i386_fbsd.c:631 eelf_i386_haiku.c:631 eelf_i386_ldso.c:553 -#: eelf_i386_sol2.c:710 eelf_i386_vxworks.c:601 eelf_iamcu.c:578 -#: eelf_x86_64.c:5785 eelf_x86_64_cloudabi.c:684 eelf_x86_64_fbsd.c:684 -#: eelf_x86_64_haiku.c:684 eelf_x86_64_sol2.c:816 +#: eelf32_x86_64.c:5746 eelf_i386.c:5360 eelf_i386_be.c:535 +#: eelf_i386_fbsd.c:637 eelf_i386_haiku.c:637 eelf_i386_ldso.c:559 +#: eelf_i386_sol2.c:716 eelf_i386_vxworks.c:607 eelf_iamcu.c:584 +#: eelf_x86_64.c:5796 eelf_x86_64_cloudabi.c:695 eelf_x86_64_fbsd.c:695 +#: eelf_x86_64_haiku.c:695 eelf_x86_64_sol2.c:827 #, c-format msgid " -z indirect-extern-access Enable indirect external access\n" msgstr "" -#: eelf32_x86_64.c:5737 eelf_i386.c:5356 eelf_i386_be.c:531 -#: eelf_i386_fbsd.c:633 eelf_i386_haiku.c:633 eelf_i386_ldso.c:555 -#: eelf_i386_sol2.c:712 eelf_i386_vxworks.c:603 eelf_iamcu.c:580 -#: eelf_x86_64.c:5787 eelf_x86_64_cloudabi.c:686 eelf_x86_64_fbsd.c:686 -#: eelf_x86_64_haiku.c:686 eelf_x86_64_sol2.c:818 +#: eelf32_x86_64.c:5748 eelf_i386.c:5362 eelf_i386_be.c:537 +#: eelf_i386_fbsd.c:639 eelf_i386_haiku.c:639 eelf_i386_ldso.c:561 +#: eelf_i386_sol2.c:718 eelf_i386_vxworks.c:609 eelf_iamcu.c:586 +#: eelf_x86_64.c:5798 eelf_x86_64_cloudabi.c:697 eelf_x86_64_fbsd.c:697 +#: eelf_x86_64_haiku.c:697 eelf_x86_64_sol2.c:829 #, c-format msgid "" " -z noindirect-extern-access Disable indirect external access (default)\n" msgstr "" -#: eelf32_x86_64.c:5740 eelf32lppc.c:843 eelf32lppclinux.c:843 -#: eelf32lppcnto.c:843 eelf32lppcsim.c:843 eelf32ppc.c:843 -#: eelf32ppc_fbsd.c:843 eelf32ppchaiku.c:843 eelf32ppclinux.c:843 -#: eelf32ppcnto.c:843 eelf32ppcsim.c:843 eelf32ppcvxworks.c:821 -#: eelf32ppcwindiss.c:843 eelf64lppc.c:1372 eelf64lppc_fbsd.c:1372 -#: eelf64ppc.c:1372 eelf64ppc_fbsd.c:1372 eelf_i386.c:5359 eelf_i386_be.c:534 -#: eelf_i386_fbsd.c:636 eelf_i386_haiku.c:636 eelf_i386_ldso.c:558 -#: eelf_i386_sol2.c:715 eelf_i386_vxworks.c:606 eelf_iamcu.c:583 -#: eelf_x86_64.c:5790 eelf_x86_64_cloudabi.c:689 eelf_x86_64_fbsd.c:689 -#: eelf_x86_64_haiku.c:689 eelf_x86_64_sol2.c:821 +#: eelf32_x86_64.c:5751 eelf32lppc.c:849 eelf32lppclinux.c:849 +#: eelf32lppcnto.c:849 eelf32lppcsim.c:849 eelf32ppc.c:849 +#: eelf32ppc_fbsd.c:849 eelf32ppchaiku.c:849 eelf32ppclinux.c:849 +#: eelf32ppcnto.c:849 eelf32ppcsim.c:849 eelf32ppcvxworks.c:827 +#: eelf32ppcwindiss.c:849 eelf64lppc.c:1378 eelf64lppc_fbsd.c:1378 +#: eelf64ppc.c:1378 eelf64ppc_fbsd.c:1378 eelf_i386.c:5365 eelf_i386_be.c:540 +#: eelf_i386_fbsd.c:642 eelf_i386_haiku.c:642 eelf_i386_ldso.c:564 +#: eelf_i386_sol2.c:721 eelf_i386_vxworks.c:612 eelf_iamcu.c:589 +#: eelf_x86_64.c:5801 eelf_x86_64_cloudabi.c:700 eelf_x86_64_fbsd.c:700 +#: eelf_x86_64_haiku.c:700 eelf_x86_64_sol2.c:832 #, c-format msgid "" " -z dynamic-undefined-weak Make undefined weak symbols dynamic\n" " -z nodynamic-undefined-weak Do not make undefined weak symbols dynamic\n" msgstr "" -#: eelf32_x86_64.c:5744 eelf_x86_64.c:5794 eelf_x86_64_cloudabi.c:693 -#: eelf_x86_64_fbsd.c:693 eelf_x86_64_haiku.c:693 eelf_x86_64_sol2.c:825 +#: eelf32_x86_64.c:5755 eelf_x86_64.c:5805 eelf_x86_64_cloudabi.c:704 +#: eelf_x86_64_fbsd.c:704 eelf_x86_64_haiku.c:704 eelf_x86_64_sol2.c:836 #, c-format msgid " -z noreloc-overflow Disable relocation overflow check\n" msgstr "" -#: eelf32_x86_64.c:5747 eelf_i386.c:5363 eelf_i386_be.c:538 -#: eelf_i386_fbsd.c:640 eelf_i386_haiku.c:640 eelf_i386_ldso.c:562 -#: eelf_i386_sol2.c:719 eelf_i386_vxworks.c:610 eelf_iamcu.c:587 -#: eelf_x86_64.c:5797 eelf_x86_64_cloudabi.c:696 eelf_x86_64_fbsd.c:696 -#: eelf_x86_64_haiku.c:696 eelf_x86_64_sol2.c:828 +#: eelf32_x86_64.c:5758 eelf_i386.c:5369 eelf_i386_be.c:544 +#: eelf_i386_fbsd.c:646 eelf_i386_haiku.c:646 eelf_i386_ldso.c:568 +#: eelf_i386_sol2.c:725 eelf_i386_vxworks.c:616 eelf_iamcu.c:593 +#: eelf_x86_64.c:5808 eelf_x86_64_cloudabi.c:707 eelf_x86_64_fbsd.c:707 +#: eelf_x86_64_haiku.c:707 eelf_x86_64_sol2.c:839 #, c-format msgid " -z call-nop=PADDING Use PADDING as 1-byte NOP for branch\n" msgstr "" -#: eelf32_x86_64.c:5750 eelf_i386.c:5366 eelf_i386_fbsd.c:643 -#: eelf_i386_haiku.c:643 eelf_x86_64.c:5800 eelf_x86_64_cloudabi.c:699 -#: eelf_x86_64_fbsd.c:699 eelf_x86_64_haiku.c:699 eelf_x86_64_sol2.c:831 +#: eelf32_x86_64.c:5761 eelf_i386.c:5372 eelf_i386_fbsd.c:649 +#: eelf_i386_haiku.c:649 eelf_x86_64.c:5811 eelf_x86_64_cloudabi.c:710 +#: eelf_x86_64_fbsd.c:710 eelf_x86_64_haiku.c:710 eelf_x86_64_sol2.c:842 #, c-format msgid " -z ibtplt Generate IBT-enabled PLT entries\n" msgstr "" -#: eelf32_x86_64.c:5752 eelf_i386.c:5368 eelf_i386_fbsd.c:645 -#: eelf_i386_haiku.c:645 eelf_x86_64.c:5802 eelf_x86_64_cloudabi.c:701 -#: eelf_x86_64_fbsd.c:701 eelf_x86_64_haiku.c:701 eelf_x86_64_sol2.c:833 +#: eelf32_x86_64.c:5763 eelf_i386.c:5374 eelf_i386_fbsd.c:651 +#: eelf_i386_haiku.c:651 eelf_x86_64.c:5813 eelf_x86_64_cloudabi.c:712 +#: eelf_x86_64_fbsd.c:712 eelf_x86_64_haiku.c:712 eelf_x86_64_sol2.c:844 #, c-format msgid " -z ibt Generate GNU_PROPERTY_X86_FEATURE_1_IBT\n" msgstr "" -#: eelf32_x86_64.c:5754 eelf_i386.c:5370 eelf_i386_fbsd.c:647 -#: eelf_i386_haiku.c:647 eelf_x86_64.c:5804 eelf_x86_64_cloudabi.c:703 -#: eelf_x86_64_fbsd.c:703 eelf_x86_64_haiku.c:703 eelf_x86_64_sol2.c:835 +#: eelf32_x86_64.c:5765 eelf_i386.c:5376 eelf_i386_fbsd.c:653 +#: eelf_i386_haiku.c:653 eelf_x86_64.c:5815 eelf_x86_64_cloudabi.c:714 +#: eelf_x86_64_fbsd.c:714 eelf_x86_64_haiku.c:714 eelf_x86_64_sol2.c:846 #, c-format msgid "" " -z shstk Generate GNU_PROPERTY_X86_FEATURE_1_SHSTK\n" msgstr "" -#: eelf32_x86_64.c:5756 eelf_i386.c:5372 eelf_i386_fbsd.c:649 -#: eelf_i386_haiku.c:649 eelf_x86_64.c:5806 eelf_x86_64_cloudabi.c:705 -#: eelf_x86_64_fbsd.c:705 eelf_x86_64_haiku.c:705 eelf_x86_64_sol2.c:837 +#: eelf32_x86_64.c:5767 eelf_i386.c:5378 eelf_i386_fbsd.c:655 +#: eelf_i386_haiku.c:655 eelf_x86_64.c:5817 eelf_x86_64_cloudabi.c:716 +#: eelf_x86_64_fbsd.c:716 eelf_x86_64_haiku.c:716 eelf_x86_64_sol2.c:848 #, c-format msgid "" " -z cet-report=[none|warning|error] (default: none)\n" " Report missing IBT and SHSTK properties\n" msgstr "" -#: eelf32_x86_64.c:5760 eelf_i386.c:5376 eelf_i386_fbsd.c:653 -#: eelf_i386_haiku.c:653 eelf_x86_64.c:5810 eelf_x86_64_cloudabi.c:709 -#: eelf_x86_64_fbsd.c:709 eelf_x86_64_haiku.c:709 eelf_x86_64_sol2.c:841 +#: eelf32_x86_64.c:5771 eelf_i386.c:5382 eelf_i386_fbsd.c:659 +#: eelf_i386_haiku.c:659 eelf_x86_64.c:5821 eelf_x86_64_cloudabi.c:720 +#: eelf_x86_64_fbsd.c:720 eelf_x86_64_haiku.c:720 eelf_x86_64_sol2.c:852 #, c-format msgid " -z report-relative-reloc Report relative relocations\n" msgstr "" -#: eelf32_x86_64.c:5763 eelf_i386.c:5379 eelf_i386_fbsd.c:656 -#: eelf_i386_haiku.c:656 eelf_x86_64.c:5813 eelf_x86_64_cloudabi.c:712 -#: eelf_x86_64_fbsd.c:712 eelf_x86_64_haiku.c:712 eelf_x86_64_sol2.c:844 +#: eelf32_x86_64.c:5774 eelf_i386.c:5385 eelf_i386_fbsd.c:662 +#: eelf_i386_haiku.c:662 eelf_x86_64.c:5824 eelf_x86_64_cloudabi.c:723 +#: eelf_x86_64_fbsd.c:723 eelf_x86_64_haiku.c:723 eelf_x86_64_sol2.c:855 #, c-format msgid "" " -z x86-64-{baseline|v[234]} Mark x86-64-{baseline|v[234]} ISA level as " "needed\n" msgstr "" -#: eelf32_x86_64.c:5766 eelf64lppc.c:1376 eelf64lppc_fbsd.c:1376 -#: eelf64ppc.c:1376 eelf64ppc_fbsd.c:1376 eelf_i386.c:5382 -#: eelf_i386_fbsd.c:659 eelf_i386_haiku.c:659 eelf_x86_64.c:5830 -#: eelf_x86_64_cloudabi.c:729 eelf_x86_64_fbsd.c:729 eelf_x86_64_haiku.c:729 -#: eelf_x86_64_sol2.c:861 -#, c-format -msgid " -z pack-relative-relocs Pack relative relocations\n" -msgstr "" - -#: eelf32_x86_64.c:5768 eelf64lppc.c:1378 eelf64lppc_fbsd.c:1378 -#: eelf64ppc.c:1378 eelf64ppc_fbsd.c:1378 eelf_i386.c:5384 -#: eelf_i386_fbsd.c:661 eelf_i386_haiku.c:661 eelf_x86_64.c:5832 -#: eelf_x86_64_cloudabi.c:731 eelf_x86_64_fbsd.c:731 eelf_x86_64_haiku.c:731 -#: eelf_x86_64_sol2.c:863 +#: eelf32_x86_64.c:5777 eelf_x86_64.c:5841 eelf_x86_64_cloudabi.c:740 +#: eelf_x86_64_fbsd.c:740 eelf_x86_64_haiku.c:740 eelf_x86_64_sol2.c:872 #, c-format msgid "" -" -z nopack-relative-relocs Do not pack relative relocations (default)\n" +" -z mark-plt Mark PLT with dynamic tags\n" +" -z nomark-plt Do not mark PLT with dynamic tags (default)\n" msgstr "" -#: eelf32b4300.c:726 eelf32bmip.c:726 eelf32bmipn32.c:740 eelf32bsmip.c:740 -#: eelf32btsmip.c:726 eelf32btsmip_fbsd.c:726 eelf32btsmipn32.c:726 -#: eelf32btsmipn32_fbsd.c:726 eelf32ebmip.c:726 eelf32ebmipvxworks.c:765 -#: eelf32elmip.c:726 eelf32elmipvxworks.c:765 eelf32l4300.c:726 -#: eelf32lmip.c:726 eelf32lr5900.c:585 eelf32lr5900n32.c:584 eelf32lsmip.c:726 -#: eelf32ltsmip.c:726 eelf32ltsmip_fbsd.c:726 eelf32ltsmipn32.c:726 -#: eelf32ltsmipn32_fbsd.c:726 eelf32mipswindiss.c:559 eelf64bmip.c:740 -#: eelf64btsmip.c:726 eelf64btsmip_fbsd.c:726 eelf64ltsmip.c:726 -#: eelf64ltsmip_fbsd.c:726 eelf_mipsel_haiku.c:726 +#: eelf32_x86_64.c:5781 eelf64lppc.c:1382 eelf64lppc_fbsd.c:1382 +#: eelf64ppc.c:1382 eelf64ppc_fbsd.c:1382 eelf_i386.c:5388 +#: eelf_i386_fbsd.c:665 eelf_i386_haiku.c:665 eelf_x86_64.c:5845 +#: eelf_x86_64_cloudabi.c:744 eelf_x86_64_fbsd.c:744 eelf_x86_64_haiku.c:744 +#: eelf_x86_64_sol2.c:876 #, c-format -msgid "" -" --insn32 Only generate 32-bit microMIPS instructions\n" +msgid " -z pack-relative-relocs Pack relative relocations\n" msgstr "" -#: eelf32b4300.c:729 eelf32bmip.c:729 eelf32bmipn32.c:743 eelf32bsmip.c:743 -#: eelf32btsmip.c:729 eelf32btsmip_fbsd.c:729 eelf32btsmipn32.c:729 -#: eelf32btsmipn32_fbsd.c:729 eelf32ebmip.c:729 eelf32ebmipvxworks.c:768 -#: eelf32elmip.c:729 eelf32elmipvxworks.c:768 eelf32l4300.c:729 -#: eelf32lmip.c:729 eelf32lr5900.c:588 eelf32lr5900n32.c:587 eelf32lsmip.c:729 -#: eelf32ltsmip.c:729 eelf32ltsmip_fbsd.c:729 eelf32ltsmipn32.c:729 -#: eelf32ltsmipn32_fbsd.c:729 eelf32mipswindiss.c:562 eelf64bmip.c:743 -#: eelf64btsmip.c:729 eelf64btsmip_fbsd.c:729 eelf64ltsmip.c:729 -#: eelf64ltsmip_fbsd.c:729 eelf_mipsel_haiku.c:729 +#: eelf32_x86_64.c:5783 eelf64lppc.c:1384 eelf64lppc_fbsd.c:1384 +#: eelf64ppc.c:1384 eelf64ppc_fbsd.c:1384 eelf_i386.c:5390 +#: eelf_i386_fbsd.c:667 eelf_i386_haiku.c:667 eelf_x86_64.c:5847 +#: eelf_x86_64_cloudabi.c:746 eelf_x86_64_fbsd.c:746 eelf_x86_64_haiku.c:746 +#: eelf_x86_64_sol2.c:878 #, c-format -msgid " --no-insn32 Generate all microMIPS instructions\n" +msgid "" +" -z nopack-relative-relocs Do not pack relative relocations (default)\n" msgstr "" #: eelf32b4300.c:732 eelf32bmip.c:732 eelf32bmipn32.c:746 eelf32bsmip.c:746 @@ -5923,64 +6060,107 @@ msgstr "" #: eelf64ltsmip_fbsd.c:732 eelf_mipsel_haiku.c:732 #, c-format msgid "" +" --insn32 Only generate 32-bit microMIPS instructions\n" +msgstr "" + +#: eelf32b4300.c:735 eelf32bmip.c:735 eelf32bmipn32.c:749 eelf32bsmip.c:749 +#: eelf32btsmip.c:735 eelf32btsmip_fbsd.c:735 eelf32btsmipn32.c:735 +#: eelf32btsmipn32_fbsd.c:735 eelf32ebmip.c:735 eelf32ebmipvxworks.c:774 +#: eelf32elmip.c:735 eelf32elmipvxworks.c:774 eelf32l4300.c:735 +#: eelf32lmip.c:735 eelf32lr5900.c:594 eelf32lr5900n32.c:593 eelf32lsmip.c:735 +#: eelf32ltsmip.c:735 eelf32ltsmip_fbsd.c:735 eelf32ltsmipn32.c:735 +#: eelf32ltsmipn32_fbsd.c:735 eelf32mipswindiss.c:568 eelf64bmip.c:749 +#: eelf64btsmip.c:735 eelf64btsmip_fbsd.c:735 eelf64ltsmip.c:735 +#: eelf64ltsmip_fbsd.c:735 eelf_mipsel_haiku.c:735 +#, c-format +msgid " --no-insn32 Generate all microMIPS instructions\n" +msgstr "" + +#: eelf32b4300.c:738 eelf32bmip.c:738 eelf32bmipn32.c:752 eelf32bsmip.c:752 +#: eelf32btsmip.c:738 eelf32btsmip_fbsd.c:738 eelf32btsmipn32.c:738 +#: eelf32btsmipn32_fbsd.c:738 eelf32ebmip.c:738 eelf32ebmipvxworks.c:777 +#: eelf32elmip.c:738 eelf32elmipvxworks.c:777 eelf32l4300.c:738 +#: eelf32lmip.c:738 eelf32lr5900.c:597 eelf32lr5900n32.c:596 eelf32lsmip.c:738 +#: eelf32ltsmip.c:738 eelf32ltsmip_fbsd.c:738 eelf32ltsmipn32.c:738 +#: eelf32ltsmipn32_fbsd.c:738 eelf32mipswindiss.c:571 eelf64bmip.c:752 +#: eelf64btsmip.c:738 eelf64btsmip_fbsd.c:738 eelf64ltsmip.c:738 +#: eelf64ltsmip_fbsd.c:738 eelf_mipsel_haiku.c:738 +#, c-format +msgid "" " --ignore-branch-isa Accept invalid branch relocations requiring\n" " an ISA mode switch\n" msgstr "" -#: eelf32b4300.c:736 eelf32bmip.c:736 eelf32bmipn32.c:750 eelf32bsmip.c:750 -#: eelf32btsmip.c:736 eelf32btsmip_fbsd.c:736 eelf32btsmipn32.c:736 -#: eelf32btsmipn32_fbsd.c:736 eelf32ebmip.c:736 eelf32ebmipvxworks.c:775 -#: eelf32elmip.c:736 eelf32elmipvxworks.c:775 eelf32l4300.c:736 -#: eelf32lmip.c:736 eelf32lr5900.c:595 eelf32lr5900n32.c:594 eelf32lsmip.c:736 -#: eelf32ltsmip.c:736 eelf32ltsmip_fbsd.c:736 eelf32ltsmipn32.c:736 -#: eelf32ltsmipn32_fbsd.c:736 eelf32mipswindiss.c:569 eelf64bmip.c:750 -#: eelf64btsmip.c:736 eelf64btsmip_fbsd.c:736 eelf64ltsmip.c:736 -#: eelf64ltsmip_fbsd.c:736 eelf_mipsel_haiku.c:736 +#: eelf32b4300.c:742 eelf32bmip.c:742 eelf32bmipn32.c:756 eelf32bsmip.c:756 +#: eelf32btsmip.c:742 eelf32btsmip_fbsd.c:742 eelf32btsmipn32.c:742 +#: eelf32btsmipn32_fbsd.c:742 eelf32ebmip.c:742 eelf32ebmipvxworks.c:781 +#: eelf32elmip.c:742 eelf32elmipvxworks.c:781 eelf32l4300.c:742 +#: eelf32lmip.c:742 eelf32lr5900.c:601 eelf32lr5900n32.c:600 eelf32lsmip.c:742 +#: eelf32ltsmip.c:742 eelf32ltsmip_fbsd.c:742 eelf32ltsmipn32.c:742 +#: eelf32ltsmipn32_fbsd.c:742 eelf32mipswindiss.c:575 eelf64bmip.c:756 +#: eelf64btsmip.c:742 eelf64btsmip_fbsd.c:742 eelf64ltsmip.c:742 +#: eelf64ltsmip_fbsd.c:742 eelf_mipsel_haiku.c:742 #, c-format msgid "" " --no-ignore-branch-isa Reject invalid branch relocations requiring\n" " an ISA mode switch\n" msgstr "" -#: eelf32b4300.c:740 eelf32bmip.c:740 eelf32bmipn32.c:754 eelf32bsmip.c:754 -#: eelf32btsmip.c:740 eelf32btsmip_fbsd.c:740 eelf32btsmipn32.c:740 -#: eelf32btsmipn32_fbsd.c:740 eelf32ebmip.c:740 eelf32ebmipvxworks.c:779 -#: eelf32elmip.c:740 eelf32elmipvxworks.c:779 eelf32l4300.c:740 -#: eelf32lmip.c:740 eelf32lr5900.c:599 eelf32lr5900n32.c:598 eelf32lsmip.c:740 -#: eelf32ltsmip.c:740 eelf32ltsmip_fbsd.c:740 eelf32ltsmipn32.c:740 -#: eelf32ltsmipn32_fbsd.c:740 eelf32mipswindiss.c:573 eelf64bmip.c:754 -#: eelf64btsmip.c:740 eelf64btsmip_fbsd.c:740 eelf64ltsmip.c:740 -#: eelf64ltsmip_fbsd.c:740 eelf_mipsel_haiku.c:740 +#: eelf32b4300.c:746 eelf32bmip.c:746 eelf32bmipn32.c:760 eelf32bsmip.c:760 +#: eelf32btsmip.c:746 eelf32btsmip_fbsd.c:746 eelf32btsmipn32.c:746 +#: eelf32btsmipn32_fbsd.c:746 eelf32ebmip.c:746 eelf32ebmipvxworks.c:785 +#: eelf32elmip.c:746 eelf32elmipvxworks.c:785 eelf32l4300.c:746 +#: eelf32lmip.c:746 eelf32lr5900.c:605 eelf32lr5900n32.c:604 eelf32lsmip.c:746 +#: eelf32ltsmip.c:746 eelf32ltsmip_fbsd.c:746 eelf32ltsmipn32.c:746 +#: eelf32ltsmipn32_fbsd.c:746 eelf32mipswindiss.c:579 eelf64bmip.c:760 +#: eelf64btsmip.c:746 eelf64btsmip_fbsd.c:746 eelf64ltsmip.c:746 +#: eelf64ltsmip_fbsd.c:746 eelf_mipsel_haiku.c:746 #, c-format msgid "" " --compact-branches Generate compact branches/jumps for MIPS R6\n" msgstr "" -#: eelf32b4300.c:743 eelf32bmip.c:743 eelf32bmipn32.c:757 eelf32bsmip.c:757 -#: eelf32btsmip.c:743 eelf32btsmip_fbsd.c:743 eelf32btsmipn32.c:743 -#: eelf32btsmipn32_fbsd.c:743 eelf32ebmip.c:743 eelf32ebmipvxworks.c:782 -#: eelf32elmip.c:743 eelf32elmipvxworks.c:782 eelf32l4300.c:743 -#: eelf32lmip.c:743 eelf32lr5900.c:602 eelf32lr5900n32.c:601 eelf32lsmip.c:743 -#: eelf32ltsmip.c:743 eelf32ltsmip_fbsd.c:743 eelf32ltsmipn32.c:743 -#: eelf32ltsmipn32_fbsd.c:743 eelf32mipswindiss.c:576 eelf64bmip.c:757 -#: eelf64btsmip.c:743 eelf64btsmip_fbsd.c:743 eelf64ltsmip.c:743 -#: eelf64ltsmip_fbsd.c:743 eelf_mipsel_haiku.c:743 +#: eelf32b4300.c:749 eelf32bmip.c:749 eelf32bmipn32.c:763 eelf32bsmip.c:763 +#: eelf32btsmip.c:749 eelf32btsmip_fbsd.c:749 eelf32btsmipn32.c:749 +#: eelf32btsmipn32_fbsd.c:749 eelf32ebmip.c:749 eelf32ebmipvxworks.c:788 +#: eelf32elmip.c:749 eelf32elmipvxworks.c:788 eelf32l4300.c:749 +#: eelf32lmip.c:749 eelf32lr5900.c:608 eelf32lr5900n32.c:607 eelf32lsmip.c:749 +#: eelf32ltsmip.c:749 eelf32ltsmip_fbsd.c:749 eelf32ltsmipn32.c:749 +#: eelf32ltsmipn32_fbsd.c:749 eelf32mipswindiss.c:582 eelf64bmip.c:763 +#: eelf64btsmip.c:749 eelf64btsmip_fbsd.c:749 eelf64ltsmip.c:749 +#: eelf64ltsmip_fbsd.c:749 eelf_mipsel_haiku.c:749 #, c-format msgid "" " --no-compact-branches Generate delay slot branches/jumps for MIPS " "R6\n" msgstr "" -#: eelf32bfin.c:482 eelf32bfinfd.c:507 +#: eelf32bfin.c:488 eelf32bfinfd.c:513 #, c-format msgid " --code-in-l1 Put code in L1\n" msgstr "" -#: eelf32bfin.c:484 eelf32bfinfd.c:509 +#: eelf32bfin.c:490 eelf32bfinfd.c:515 #, c-format msgid " --data-in-l1 Put data in L1\n" msgstr "" +#: eelf32briscv.c:583 eelf32briscv_ilp32.c:583 eelf32briscv_ilp32f.c:583 +#: eelf32lriscv.c:583 eelf32lriscv_ilp32.c:583 eelf32lriscv_ilp32f.c:583 +#: eelf64briscv.c:583 eelf64briscv_lp64.c:583 eelf64briscv_lp64f.c:583 +#: eelf64lriscv.c:583 eelf64lriscv_lp64.c:583 eelf64lriscv_lp64f.c:583 +#, c-format +msgid " --relax-gp Perform GP relaxation\n" +msgstr "" + +#: eelf32briscv.c:584 eelf32briscv_ilp32.c:584 eelf32briscv_ilp32f.c:584 +#: eelf32lriscv.c:584 eelf32lriscv_ilp32.c:584 eelf32lriscv_ilp32f.c:584 +#: eelf64briscv.c:584 eelf64briscv_lp64.c:584 eelf64briscv_lp64f.c:584 +#: eelf64lriscv.c:584 eelf64lriscv_lp64.c:584 eelf64lriscv_lp64f.c:584 +#, c-format +msgid " --no-relax-gp Don't perform GP relaxation\n" +msgstr "" + #: eelf32cr16.c:87 msgid "" "%F%P: %pB: all input objects must be COFF or ELF for --embedded-relocs\n" @@ -6002,6 +6182,10 @@ msgstr "" msgid "%X%P: %pB: can not create runtime reloc information: %s\n" msgstr "" +#: eelf32kvx.c:63 eelf64kvx.c:63 +msgid "%F:%P: -pie not supported\n" +msgstr "" + #: eelf32lppc.c:98 eelf32lppclinux.c:98 eelf32lppcnto.c:98 eelf32lppcsim.c:98 #: eelf32ppc.c:98 eelf32ppc_fbsd.c:98 eelf32ppchaiku.c:98 eelf32ppclinux.c:98 #: eelf32ppcnto.c:98 eelf32ppcsim.c:98 eelf32ppcwindiss.c:98 @@ -6033,76 +6217,60 @@ msgstr "" msgid "%X%P: ppc_finish_symbols problem %E\n" msgstr "" -#: eelf32lppc.c:784 eelf32lppclinux.c:784 eelf32lppcnto.c:784 -#: eelf32lppcsim.c:784 eelf32ppc.c:784 eelf32ppc_fbsd.c:784 -#: eelf32ppchaiku.c:784 eelf32ppclinux.c:784 eelf32ppcnto.c:784 -#: eelf32ppcsim.c:784 eelf32ppcvxworks.c:758 eelf32ppcwindiss.c:784 -#: eelf64lppc.c:1239 eelf64lppc_fbsd.c:1239 eelf64ppc.c:1239 -#: eelf64ppc_fbsd.c:1239 +#: eelf32lppc.c:790 eelf32lppclinux.c:790 eelf32lppcnto.c:790 +#: eelf32lppcsim.c:790 eelf32ppc.c:790 eelf32ppc_fbsd.c:790 +#: eelf32ppchaiku.c:790 eelf32ppclinux.c:790 eelf32ppcnto.c:790 +#: eelf32ppcsim.c:790 eelf32ppcvxworks.c:764 eelf32ppcwindiss.c:790 +#: eelf64lppc.c:1245 eelf64lppc_fbsd.c:1245 eelf64ppc.c:1245 +#: eelf64ppc_fbsd.c:1245 msgid "%F%P: invalid --plt-align `%s'\n" msgstr "" -#: eelf32lppc.c:817 eelf32lppclinux.c:817 eelf32lppcnto.c:817 -#: eelf32lppcsim.c:817 eelf32ppc.c:817 eelf32ppc_fbsd.c:817 -#: eelf32ppchaiku.c:817 eelf32ppclinux.c:817 eelf32ppcnto.c:817 -#: eelf32ppcsim.c:817 eelf32ppcvxworks.c:791 eelf32ppcwindiss.c:817 +#: eelf32lppc.c:823 eelf32lppclinux.c:823 eelf32lppcnto.c:823 +#: eelf32lppcsim.c:823 eelf32ppc.c:823 eelf32ppc_fbsd.c:823 +#: eelf32ppchaiku.c:823 eelf32ppclinux.c:823 eelf32ppcnto.c:823 +#: eelf32ppcsim.c:823 eelf32ppcvxworks.c:797 eelf32ppcwindiss.c:823 msgid "%F%P: invalid pagesize `%s'\n" msgstr "" -#: eelf32lppc.c:847 eelf32lppclinux.c:847 eelf32lppcnto.c:847 -#: eelf32lppcsim.c:847 eelf32ppc.c:847 eelf32ppc_fbsd.c:847 -#: eelf32ppchaiku.c:847 eelf32ppclinux.c:847 eelf32ppcnto.c:847 -#: eelf32ppcsim.c:847 eelf32ppcvxworks.c:825 eelf32ppcwindiss.c:847 -#: eelf64lppc.c:1424 eelf64lppc_fbsd.c:1424 eelf64ppc.c:1424 -#: eelf64ppc_fbsd.c:1424 -#, c-format -msgid " --emit-stub-syms Label linker stubs with a symbol\n" -msgstr "" - -#: eelf32lppc.c:850 eelf32lppclinux.c:850 eelf32lppcnto.c:850 -#: eelf32lppcsim.c:850 eelf32ppc.c:850 eelf32ppc_fbsd.c:850 -#: eelf32ppchaiku.c:850 eelf32ppclinux.c:850 eelf32ppcnto.c:850 -#: eelf32ppcsim.c:850 eelf32ppcvxworks.c:828 eelf32ppcwindiss.c:850 -#: eelf64lppc.c:1427 eelf64lppc_fbsd.c:1427 eelf64ppc.c:1427 -#: eelf64ppc_fbsd.c:1427 -#, c-format -msgid " --no-emit-stub-syms Don't label linker stubs with a symbol\n" -msgstr "" - #: eelf32lppc.c:853 eelf32lppclinux.c:853 eelf32lppcnto.c:853 #: eelf32lppcsim.c:853 eelf32ppc.c:853 eelf32ppc_fbsd.c:853 #: eelf32ppchaiku.c:853 eelf32ppclinux.c:853 eelf32ppcnto.c:853 #: eelf32ppcsim.c:853 eelf32ppcvxworks.c:831 eelf32ppcwindiss.c:853 -#: eelf64lppc.c:1447 eelf64lppc_fbsd.c:1447 eelf64ppc.c:1447 -#: eelf64ppc_fbsd.c:1447 +#: eelf64lppc.c:1430 eelf64lppc_fbsd.c:1430 eelf64ppc.c:1430 +#: eelf64ppc_fbsd.c:1430 #, c-format -msgid " --no-tls-optimize Don't try to optimize TLS accesses\n" +msgid " --emit-stub-syms Label linker stubs with a symbol\n" msgstr "" #: eelf32lppc.c:856 eelf32lppclinux.c:856 eelf32lppcnto.c:856 #: eelf32lppcsim.c:856 eelf32ppc.c:856 eelf32ppc_fbsd.c:856 #: eelf32ppchaiku.c:856 eelf32ppclinux.c:856 eelf32ppcnto.c:856 #: eelf32ppcsim.c:856 eelf32ppcvxworks.c:834 eelf32ppcwindiss.c:856 -#: eelf64lppc.c:1453 eelf64lppc_fbsd.c:1453 eelf64ppc.c:1453 -#: eelf64ppc_fbsd.c:1453 +#: eelf64lppc.c:1433 eelf64lppc_fbsd.c:1433 eelf64ppc.c:1433 +#: eelf64ppc_fbsd.c:1433 #, c-format -msgid " --no-tls-get-addr-optimize Don't use a special __tls_get_addr call\n" +msgid " --no-emit-stub-syms Don't label linker stubs with a symbol\n" msgstr "" #: eelf32lppc.c:859 eelf32lppclinux.c:859 eelf32lppcnto.c:859 #: eelf32lppcsim.c:859 eelf32ppc.c:859 eelf32ppc_fbsd.c:859 #: eelf32ppchaiku.c:859 eelf32ppclinux.c:859 eelf32ppcnto.c:859 -#: eelf32ppcsim.c:859 eelf32ppcwindiss.c:859 +#: eelf32ppcsim.c:859 eelf32ppcvxworks.c:837 eelf32ppcwindiss.c:859 +#: eelf64lppc.c:1453 eelf64lppc_fbsd.c:1453 eelf64ppc.c:1453 +#: eelf64ppc_fbsd.c:1453 #, c-format -msgid " --secure-plt Use new-style PLT if possible\n" +msgid " --no-tls-optimize Don't try to optimize TLS accesses\n" msgstr "" #: eelf32lppc.c:862 eelf32lppclinux.c:862 eelf32lppcnto.c:862 #: eelf32lppcsim.c:862 eelf32ppc.c:862 eelf32ppc_fbsd.c:862 #: eelf32ppchaiku.c:862 eelf32ppclinux.c:862 eelf32ppcnto.c:862 -#: eelf32ppcsim.c:862 eelf32ppcwindiss.c:862 +#: eelf32ppcsim.c:862 eelf32ppcvxworks.c:840 eelf32ppcwindiss.c:862 +#: eelf64lppc.c:1459 eelf64lppc_fbsd.c:1459 eelf64ppc.c:1459 +#: eelf64ppc_fbsd.c:1459 #, c-format -msgid " --bss-plt Force old-style BSS PLT\n" +msgid " --no-tls-get-addr-optimize Don't use a special __tls_get_addr call\n" msgstr "" #: eelf32lppc.c:865 eelf32lppclinux.c:865 eelf32lppcnto.c:865 @@ -6110,60 +6278,60 @@ msgstr "" #: eelf32ppchaiku.c:865 eelf32ppclinux.c:865 eelf32ppcnto.c:865 #: eelf32ppcsim.c:865 eelf32ppcwindiss.c:865 #, c-format -msgid " --plt-align Align PLT call stubs to fit cache lines\n" +msgid " --secure-plt Use new-style PLT if possible\n" msgstr "" #: eelf32lppc.c:868 eelf32lppclinux.c:868 eelf32lppcnto.c:868 #: eelf32lppcsim.c:868 eelf32ppc.c:868 eelf32ppc_fbsd.c:868 #: eelf32ppchaiku.c:868 eelf32ppclinux.c:868 eelf32ppcnto.c:868 -#: eelf32ppcsim.c:868 eelf32ppcwindiss.c:868 eelf64lppc.c:1406 -#: eelf64lppc_fbsd.c:1406 eelf64ppc.c:1406 eelf64ppc_fbsd.c:1406 +#: eelf32ppcsim.c:868 eelf32ppcwindiss.c:868 #, c-format -msgid " --no-plt-align Dont't align individual PLT call stubs\n" +msgid " --bss-plt Force old-style BSS PLT\n" msgstr "" #: eelf32lppc.c:871 eelf32lppclinux.c:871 eelf32lppcnto.c:871 #: eelf32lppcsim.c:871 eelf32ppc.c:871 eelf32ppc_fbsd.c:871 #: eelf32ppchaiku.c:871 eelf32ppclinux.c:871 eelf32ppcnto.c:871 -#: eelf32ppcsim.c:871 eelf32ppcwindiss.c:871 eelf64lppc.c:1465 -#: eelf64lppc_fbsd.c:1465 eelf64ppc.c:1465 eelf64ppc_fbsd.c:1465 +#: eelf32ppcsim.c:871 eelf32ppcwindiss.c:871 #, c-format -msgid "" -" --no-inline-optimize Don't convert inline PLT to direct calls\n" +msgid " --plt-align Align PLT call stubs to fit cache lines\n" msgstr "" #: eelf32lppc.c:874 eelf32lppclinux.c:874 eelf32lppcnto.c:874 #: eelf32lppcsim.c:874 eelf32ppc.c:874 eelf32ppc_fbsd.c:874 #: eelf32ppchaiku.c:874 eelf32ppclinux.c:874 eelf32ppcnto.c:874 -#: eelf32ppcsim.c:874 eelf32ppcwindiss.c:874 +#: eelf32ppcsim.c:874 eelf32ppcwindiss.c:874 eelf64lppc.c:1412 +#: eelf64lppc_fbsd.c:1412 eelf64ppc.c:1412 eelf64ppc_fbsd.c:1412 #, c-format -msgid " --sdata-got Force GOT location just before .sdata\n" +msgid " --no-plt-align Dont't align individual PLT call stubs\n" msgstr "" #: eelf32lppc.c:877 eelf32lppclinux.c:877 eelf32lppcnto.c:877 #: eelf32lppcsim.c:877 eelf32ppc.c:877 eelf32ppc_fbsd.c:877 #: eelf32ppchaiku.c:877 eelf32ppclinux.c:877 eelf32ppcnto.c:877 -#: eelf32ppcsim.c:877 eelf32ppcvxworks.c:837 eelf32ppcwindiss.c:877 +#: eelf32ppcsim.c:877 eelf32ppcwindiss.c:877 eelf64lppc.c:1471 +#: eelf64lppc_fbsd.c:1471 eelf64ppc.c:1471 eelf64ppc_fbsd.c:1471 #, c-format msgid "" -" --ppc476-workaround [=pagesize]\n" -" Avoid a cache bug on ppc476\n" +" --no-inline-optimize Don't convert inline PLT to direct calls\n" msgstr "" -#: eelf32lppc.c:881 eelf32lppclinux.c:881 eelf32lppcnto.c:881 -#: eelf32lppcsim.c:881 eelf32ppc.c:881 eelf32ppc_fbsd.c:881 -#: eelf32ppchaiku.c:881 eelf32ppclinux.c:881 eelf32ppcnto.c:881 -#: eelf32ppcsim.c:881 eelf32ppcvxworks.c:841 eelf32ppcwindiss.c:881 +#: eelf32lppc.c:880 eelf32lppclinux.c:880 eelf32lppcnto.c:880 +#: eelf32lppcsim.c:880 eelf32ppc.c:880 eelf32ppc_fbsd.c:880 +#: eelf32ppchaiku.c:880 eelf32ppclinux.c:880 eelf32ppcnto.c:880 +#: eelf32ppcsim.c:880 eelf32ppcwindiss.c:880 #, c-format -msgid " --no-ppc476-workaround Disable workaround\n" +msgid " --sdata-got Force GOT location just before .sdata\n" msgstr "" -#: eelf32lppc.c:884 eelf32lppclinux.c:884 eelf32lppcnto.c:884 -#: eelf32lppcsim.c:884 eelf32ppc.c:884 eelf32ppc_fbsd.c:884 -#: eelf32ppchaiku.c:884 eelf32ppclinux.c:884 eelf32ppcnto.c:884 -#: eelf32ppcsim.c:884 eelf32ppcvxworks.c:844 eelf32ppcwindiss.c:884 +#: eelf32lppc.c:883 eelf32lppclinux.c:883 eelf32lppcnto.c:883 +#: eelf32lppcsim.c:883 eelf32ppc.c:883 eelf32ppc_fbsd.c:883 +#: eelf32ppchaiku.c:883 eelf32ppclinux.c:883 eelf32ppcnto.c:883 +#: eelf32ppcsim.c:883 eelf32ppcvxworks.c:843 eelf32ppcwindiss.c:883 #, c-format -msgid " --no-pic-fixup Don't edit non-pic to pic\n" +msgid "" +" --ppc476-workaround [=pagesize]\n" +" Avoid a cache bug on ppc476\n" msgstr "" #: eelf32lppc.c:887 eelf32lppclinux.c:887 eelf32lppcnto.c:887 @@ -6171,19 +6339,35 @@ msgstr "" #: eelf32ppchaiku.c:887 eelf32ppclinux.c:887 eelf32ppcnto.c:887 #: eelf32ppcsim.c:887 eelf32ppcvxworks.c:847 eelf32ppcwindiss.c:887 #, c-format +msgid " --no-ppc476-workaround Disable workaround\n" +msgstr "" + +#: eelf32lppc.c:890 eelf32lppclinux.c:890 eelf32lppcnto.c:890 +#: eelf32lppcsim.c:890 eelf32ppc.c:890 eelf32ppc_fbsd.c:890 +#: eelf32ppchaiku.c:890 eelf32ppclinux.c:890 eelf32ppcnto.c:890 +#: eelf32ppcsim.c:890 eelf32ppcvxworks.c:850 eelf32ppcwindiss.c:890 +#, c-format +msgid " --no-pic-fixup Don't edit non-pic to pic\n" +msgstr "" + +#: eelf32lppc.c:893 eelf32lppclinux.c:893 eelf32lppcnto.c:893 +#: eelf32lppcsim.c:893 eelf32ppc.c:893 eelf32ppc_fbsd.c:893 +#: eelf32ppchaiku.c:893 eelf32ppclinux.c:893 eelf32ppcnto.c:893 +#: eelf32ppcsim.c:893 eelf32ppcvxworks.c:853 eelf32ppcwindiss.c:893 +#, c-format msgid "" " --vle-reloc-fixup Correct old object file 16A/16D relocation\n" msgstr "" -#: eelf32mcore.c:332 +#: eelf32mcore.c:338 #, c-format msgid "" " --base_file <basefile> Generate a base file for relocatable DLLs\n" msgstr "" -#: eelf32metag.c:745 eelf64lppc.c:1381 eelf64lppc_fbsd.c:1381 eelf64ppc.c:1381 -#: eelf64ppc_fbsd.c:1381 ehppaelf.c:605 ehppalinux.c:787 ehppanbsd.c:787 -#: ehppaobsd.c:787 +#: eelf32metag.c:751 eelf64lppc.c:1387 eelf64lppc_fbsd.c:1387 eelf64ppc.c:1387 +#: eelf64ppc_fbsd.c:1387 ehppaelf.c:611 ehppalinux.c:793 ehppanbsd.c:793 +#: ehppaobsd.c:793 #, c-format msgid "" " --stub-group-size=N Maximum size of a group of input sections " @@ -6200,28 +6384,28 @@ msgid "" " choose suitable defaults.\n" msgstr "" -#: eelf32rx.c:364 +#: eelf32rx.c:370 #, c-format msgid "" " --no-flag-mismatch-warnings Don't warn about objects with incompatible\n" " endian or dsp settings\n" msgstr "" -#: eelf32rx.c:366 +#: eelf32rx.c:372 #, c-format msgid "" " --flag-mismatch-warnings Warn about objects with incompatible\n" " endian, dsp or ABI settings\n" msgstr "" -#: eelf32rx.c:368 +#: eelf32rx.c:374 #, c-format msgid "" " --ignore-lma Ignore segment LMAs [default]\n" " (for Renesas Tools compatibility)\n" msgstr "" -#: eelf32rx.c:370 +#: eelf32rx.c:376 #, c-format msgid " --no-ignore-lma Don't ignore segment LMAs\n" msgstr "" @@ -6280,24 +6464,24 @@ msgstr "" msgid "%F%P: failed to create .xtensa.info section\n" msgstr "" -#: eelf32xtensa.c:1256 +#: eelf32xtensa.c:1254 msgid "%F%P: Relaxation not supported with --enable-non-contiguous-regions.\n" msgstr "" -#: eelf32xtensa.c:2416 +#: eelf32xtensa.c:2420 #, c-format msgid "" " --size-opt When relaxing longcalls, prefer size\n" " optimization over branch target alignment\n" msgstr "" -#: eelf32xtensa.c:2419 +#: eelf32xtensa.c:2423 #, c-format msgid "" " --abi-windowed Choose windowed ABI for the output object\n" msgstr "" -#: eelf32xtensa.c:2421 +#: eelf32xtensa.c:2425 #, c-format msgid " --abi-call0 Choose call0 ABI for the output object\n" msgstr "" @@ -6306,19 +6490,19 @@ msgstr "" msgid "%F%P: %pB: Instruction sets of object files incompatible\n" msgstr "" -#: eelf64_ia64.c:518 eelf64_ia64_fbsd.c:518 +#: eelf64_ia64.c:524 eelf64_ia64_fbsd.c:524 #, c-format msgid "" " --itanium Generate code for Intel Itanium processor\n" msgstr "" -#: eelf64_s390.c:561 +#: eelf64_s390.c:567 #, c-format msgid "" " --s390-pgste Tell the kernel to allocate 4k page tables\n" msgstr "" -#: eelf64alpha.c:590 eelf64alpha_fbsd.c:590 eelf64alpha_nbsd.c:590 +#: eelf64alpha.c:596 eelf64alpha_fbsd.c:596 eelf64alpha_nbsd.c:596 #, c-format msgid "" " --taso Load executable in the lower 31-bit " @@ -6326,12 +6510,12 @@ msgid "" " virtual address range\n" msgstr "" -#: eelf64alpha.c:593 eelf64alpha_fbsd.c:593 eelf64alpha_nbsd.c:593 +#: eelf64alpha.c:599 eelf64alpha_fbsd.c:599 eelf64alpha_nbsd.c:599 #, c-format msgid " --secureplt Force PLT in text segment\n" msgstr "" -#: eelf64alpha.c:595 eelf64alpha_fbsd.c:595 eelf64alpha_nbsd.c:595 +#: eelf64alpha.c:601 eelf64alpha_fbsd.c:601 eelf64alpha_nbsd.c:601 #, c-format msgid " --no-secureplt Force PLT in data segment\n" msgstr "" @@ -6350,76 +6534,76 @@ msgstr "" msgid "%P: .init/.fini fragments use differing TOC pointers\n" msgstr "" -#: eelf64lppc.c:1268 eelf64lppc_fbsd.c:1268 eelf64ppc.c:1268 -#: eelf64ppc_fbsd.c:1268 +#: eelf64lppc.c:1274 eelf64lppc_fbsd.c:1274 eelf64ppc.c:1274 +#: eelf64ppc_fbsd.c:1274 msgid "%F%P: invalid --power10-stubs argument `%s'\n" msgstr "" -#: eelf64lppc.c:1391 eelf64ppc.c:1391 +#: eelf64lppc.c:1397 eelf64ppc.c:1397 #, c-format msgid "" " --plt-static-chain PLT call stubs should load r11 (default)\n" msgstr "" -#: eelf64lppc.c:1394 eelf64ppc.c:1394 +#: eelf64lppc.c:1400 eelf64ppc.c:1400 #, c-format msgid " --no-plt-static-chain PLT call stubs should not load r11\n" msgstr "" -#: eelf64lppc.c:1397 eelf64lppc_fbsd.c:1397 eelf64ppc.c:1397 -#: eelf64ppc_fbsd.c:1397 +#: eelf64lppc.c:1403 eelf64lppc_fbsd.c:1403 eelf64ppc.c:1403 +#: eelf64ppc_fbsd.c:1403 #, c-format msgid " --plt-thread-safe PLT call stubs with load-load barrier\n" msgstr "" -#: eelf64lppc.c:1400 eelf64lppc_fbsd.c:1400 eelf64ppc.c:1400 -#: eelf64ppc_fbsd.c:1400 +#: eelf64lppc.c:1406 eelf64lppc_fbsd.c:1406 eelf64ppc.c:1406 +#: eelf64ppc_fbsd.c:1406 #, c-format msgid " --no-plt-thread-safe PLT call stubs without barrier\n" msgstr "" -#: eelf64lppc.c:1403 eelf64lppc_fbsd.c:1403 eelf64ppc.c:1403 -#: eelf64ppc_fbsd.c:1403 +#: eelf64lppc.c:1409 eelf64lppc_fbsd.c:1409 eelf64ppc.c:1409 +#: eelf64ppc_fbsd.c:1409 #, c-format msgid " --plt-align [=<align>] Align PLT call stubs to fit cache lines\n" msgstr "" -#: eelf64lppc.c:1409 eelf64lppc_fbsd.c:1409 eelf64ppc.c:1409 -#: eelf64ppc_fbsd.c:1409 +#: eelf64lppc.c:1415 eelf64lppc_fbsd.c:1415 eelf64ppc.c:1415 +#: eelf64ppc_fbsd.c:1415 #, c-format msgid "" " --plt-localentry Optimize calls to ELFv2 localentry:0 " "functions\n" msgstr "" -#: eelf64lppc.c:1412 eelf64lppc_fbsd.c:1412 eelf64ppc.c:1412 -#: eelf64ppc_fbsd.c:1412 +#: eelf64lppc.c:1418 eelf64lppc_fbsd.c:1418 eelf64ppc.c:1418 +#: eelf64ppc_fbsd.c:1418 #, c-format msgid " --no-plt-localentry Don't optimize ELFv2 calls\n" msgstr "" -#: eelf64lppc.c:1415 eelf64lppc_fbsd.c:1415 eelf64ppc.c:1415 -#: eelf64ppc_fbsd.c:1415 +#: eelf64lppc.c:1421 eelf64lppc_fbsd.c:1421 eelf64ppc.c:1421 +#: eelf64ppc_fbsd.c:1421 #, c-format msgid "" " --power10-stubs [=auto] Use Power10 PLT call stubs (default auto)\n" msgstr "" -#: eelf64lppc.c:1418 eelf64lppc_fbsd.c:1418 eelf64ppc.c:1418 -#: eelf64ppc_fbsd.c:1418 +#: eelf64lppc.c:1424 eelf64lppc_fbsd.c:1424 eelf64ppc.c:1424 +#: eelf64ppc_fbsd.c:1424 #, c-format msgid "" " --no-pcrel-optimize Don't perform R_PPC64_PCREL_OPT optimization\n" msgstr "" -#: eelf64lppc.c:1421 eelf64lppc_fbsd.c:1421 eelf64ppc.c:1421 -#: eelf64ppc_fbsd.c:1421 +#: eelf64lppc.c:1427 eelf64lppc_fbsd.c:1427 eelf64ppc.c:1427 +#: eelf64ppc_fbsd.c:1427 #, c-format msgid " --no-power10-stubs Don't use Power10 PLT call stubs\n" msgstr "" -#: eelf64lppc.c:1430 eelf64lppc_fbsd.c:1430 eelf64ppc.c:1430 -#: eelf64ppc_fbsd.c:1430 +#: eelf64lppc.c:1436 eelf64lppc_fbsd.c:1436 eelf64ppc.c:1436 +#: eelf64ppc_fbsd.c:1436 #, c-format msgid "" " --dotsyms For every version pattern \"foo\" in a " @@ -6429,15 +6613,15 @@ msgid "" " descriptor symbols. Defaults to on.\n" msgstr "" -#: eelf64lppc.c:1436 eelf64lppc_fbsd.c:1436 eelf64ppc.c:1436 -#: eelf64ppc_fbsd.c:1436 +#: eelf64lppc.c:1442 eelf64lppc_fbsd.c:1442 eelf64ppc.c:1442 +#: eelf64ppc_fbsd.c:1442 #, c-format msgid "" " --no-dotsyms Don't do anything special in version scripts\n" msgstr "" -#: eelf64lppc.c:1439 eelf64lppc_fbsd.c:1439 eelf64ppc.c:1439 -#: eelf64ppc_fbsd.c:1439 +#: eelf64lppc.c:1445 eelf64lppc_fbsd.c:1445 eelf64ppc.c:1445 +#: eelf64ppc_fbsd.c:1445 #, c-format msgid "" " --save-restore-funcs Provide register save and restore routines " @@ -6446,71 +6630,71 @@ msgid "" " final link, off for ld -r.\n" msgstr "" -#: eelf64lppc.c:1444 eelf64lppc_fbsd.c:1444 eelf64ppc.c:1444 -#: eelf64ppc_fbsd.c:1444 +#: eelf64lppc.c:1450 eelf64lppc_fbsd.c:1450 eelf64ppc.c:1450 +#: eelf64ppc_fbsd.c:1450 #, c-format msgid " --no-save-restore-funcs Don't provide these routines\n" msgstr "" -#: eelf64lppc.c:1450 eelf64lppc_fbsd.c:1450 eelf64ppc.c:1450 -#: eelf64ppc_fbsd.c:1450 +#: eelf64lppc.c:1456 eelf64lppc_fbsd.c:1456 eelf64ppc.c:1456 +#: eelf64ppc_fbsd.c:1456 #, c-format msgid "" " --tls-get-addr-optimize Force use of special __tls_get_addr call\n" msgstr "" -#: eelf64lppc.c:1456 eelf64lppc_fbsd.c:1456 eelf64ppc.c:1456 -#: eelf64ppc_fbsd.c:1456 +#: eelf64lppc.c:1462 eelf64lppc_fbsd.c:1462 eelf64ppc.c:1462 +#: eelf64ppc_fbsd.c:1462 #, c-format msgid " --tls-get-addr-regsave Force register save __tls_get_addr stub\n" msgstr "" -#: eelf64lppc.c:1459 eelf64lppc_fbsd.c:1459 eelf64ppc.c:1459 -#: eelf64ppc_fbsd.c:1459 +#: eelf64lppc.c:1465 eelf64lppc_fbsd.c:1465 eelf64ppc.c:1465 +#: eelf64ppc_fbsd.c:1465 #, c-format msgid "" " --no-tls-get-addr-regsave Don't use register save __tls_get_addr stub\n" msgstr "" -#: eelf64lppc.c:1462 eelf64lppc_fbsd.c:1462 eelf64ppc.c:1462 -#: eelf64ppc_fbsd.c:1462 +#: eelf64lppc.c:1468 eelf64lppc_fbsd.c:1468 eelf64ppc.c:1468 +#: eelf64ppc_fbsd.c:1468 #, c-format msgid " --no-opd-optimize Don't optimize the OPD section\n" msgstr "" -#: eelf64lppc.c:1468 eelf64lppc_fbsd.c:1468 eelf64ppc.c:1468 -#: eelf64ppc_fbsd.c:1468 +#: eelf64lppc.c:1474 eelf64lppc_fbsd.c:1474 eelf64ppc.c:1474 +#: eelf64ppc_fbsd.c:1474 #, c-format msgid " --no-toc-optimize Don't optimize the TOC section\n" msgstr "" -#: eelf64lppc.c:1471 eelf64lppc_fbsd.c:1471 eelf64ppc.c:1471 -#: eelf64ppc_fbsd.c:1471 +#: eelf64lppc.c:1477 eelf64lppc_fbsd.c:1477 eelf64ppc.c:1477 +#: eelf64ppc_fbsd.c:1477 #, c-format msgid "" " --no-multi-toc Disallow automatic multiple toc sections\n" msgstr "" -#: eelf64lppc.c:1474 eelf64lppc_fbsd.c:1474 eelf64ppc.c:1474 -#: eelf64ppc_fbsd.c:1474 +#: eelf64lppc.c:1480 eelf64lppc_fbsd.c:1480 eelf64ppc.c:1480 +#: eelf64ppc_fbsd.c:1480 #, c-format msgid " --no-toc-sort Don't sort TOC and GOT sections\n" msgstr "" -#: eelf64lppc.c:1477 eelf64lppc_fbsd.c:1477 eelf64ppc.c:1477 -#: eelf64ppc_fbsd.c:1477 +#: eelf64lppc.c:1483 eelf64lppc_fbsd.c:1483 eelf64ppc.c:1483 +#: eelf64ppc_fbsd.c:1483 #, c-format msgid "" " --non-overlapping-opd Canonicalize .opd, so that there are no\n" " overlapping .opd entries\n" msgstr "" -#: eelf64lppc_fbsd.c:1391 eelf64ppc_fbsd.c:1391 +#: eelf64lppc_fbsd.c:1397 eelf64ppc_fbsd.c:1397 #, c-format msgid " --plt-static-chain PLT call stubs should load r111\n" msgstr "" -#: eelf64lppc_fbsd.c:1394 eelf64ppc_fbsd.c:1394 +#: eelf64lppc_fbsd.c:1400 eelf64ppc_fbsd.c:1400 #, c-format msgid "" " --no-plt-static-chain PLT call stubs should not load r11 (default)\n" @@ -6529,53 +6713,53 @@ msgstr "" msgid "%F%P: can't finalize linker-allocated global registers\n" msgstr "" -#: eelf_x86_64.c:5706 eelf_x86_64_cloudabi.c:605 eelf_x86_64_fbsd.c:605 -#: eelf_x86_64_haiku.c:605 eelf_x86_64_sol2.c:737 +#: eelf_x86_64.c:5712 eelf_x86_64_cloudabi.c:611 eelf_x86_64_fbsd.c:611 +#: eelf_x86_64_haiku.c:611 eelf_x86_64_sol2.c:743 msgid "%F%P: invalid option for -z lam-u48-report=: %s\n" msgstr "" -#: eelf_x86_64.c:5720 eelf_x86_64_cloudabi.c:619 eelf_x86_64_fbsd.c:619 -#: eelf_x86_64_haiku.c:619 eelf_x86_64_sol2.c:751 +#: eelf_x86_64.c:5726 eelf_x86_64_cloudabi.c:625 eelf_x86_64_fbsd.c:625 +#: eelf_x86_64_haiku.c:625 eelf_x86_64_sol2.c:757 msgid "%F%P: invalid option for -z lam-u57-report=: %s\n" msgstr "" -#: eelf_x86_64.c:5741 eelf_x86_64_cloudabi.c:640 eelf_x86_64_fbsd.c:640 -#: eelf_x86_64_haiku.c:640 eelf_x86_64_sol2.c:772 +#: eelf_x86_64.c:5747 eelf_x86_64_cloudabi.c:646 eelf_x86_64_fbsd.c:646 +#: eelf_x86_64_haiku.c:646 eelf_x86_64_sol2.c:778 msgid "%F%P: invalid option for -z lam-report=: %s\n" msgstr "" -#: eelf_x86_64.c:5816 eelf_x86_64_cloudabi.c:715 eelf_x86_64_fbsd.c:715 -#: eelf_x86_64_haiku.c:715 eelf_x86_64_sol2.c:847 +#: eelf_x86_64.c:5827 eelf_x86_64_cloudabi.c:726 eelf_x86_64_fbsd.c:726 +#: eelf_x86_64_haiku.c:726 eelf_x86_64_sol2.c:858 #, c-format msgid "" " -z lam-u48 Generate GNU_PROPERTY_X86_FEATURE_1_LAM_U48\n" msgstr "" -#: eelf_x86_64.c:5818 eelf_x86_64_cloudabi.c:717 eelf_x86_64_fbsd.c:717 -#: eelf_x86_64_haiku.c:717 eelf_x86_64_sol2.c:849 +#: eelf_x86_64.c:5829 eelf_x86_64_cloudabi.c:728 eelf_x86_64_fbsd.c:728 +#: eelf_x86_64_haiku.c:728 eelf_x86_64_sol2.c:860 #, c-format msgid "" " -z lam-u48-report=[none|warning|error] (default: none)\n" " Report missing LAM_U48 property\n" msgstr "" -#: eelf_x86_64.c:5821 eelf_x86_64_cloudabi.c:720 eelf_x86_64_fbsd.c:720 -#: eelf_x86_64_haiku.c:720 eelf_x86_64_sol2.c:852 +#: eelf_x86_64.c:5832 eelf_x86_64_cloudabi.c:731 eelf_x86_64_fbsd.c:731 +#: eelf_x86_64_haiku.c:731 eelf_x86_64_sol2.c:863 #, c-format msgid "" " -z lam-u57 Generate GNU_PROPERTY_X86_FEATURE_1_LAM_U57\n" msgstr "" -#: eelf_x86_64.c:5823 eelf_x86_64_cloudabi.c:722 eelf_x86_64_fbsd.c:722 -#: eelf_x86_64_haiku.c:722 eelf_x86_64_sol2.c:854 +#: eelf_x86_64.c:5834 eelf_x86_64_cloudabi.c:733 eelf_x86_64_fbsd.c:733 +#: eelf_x86_64_haiku.c:733 eelf_x86_64_sol2.c:865 #, c-format msgid "" " -z lam-u57-report=[none|warning|error] (default: none)\n" " Report missing LAM_U57 property\n" msgstr "" -#: eelf_x86_64.c:5826 eelf_x86_64_cloudabi.c:725 eelf_x86_64_fbsd.c:725 -#: eelf_x86_64_haiku.c:725 eelf_x86_64_sol2.c:857 +#: eelf_x86_64.c:5837 eelf_x86_64_cloudabi.c:736 eelf_x86_64_fbsd.c:736 +#: eelf_x86_64_haiku.c:736 eelf_x86_64_sol2.c:868 #, c-format msgid "" " -z lam-report=[none|warning|error] (default: none)\n" @@ -6586,7 +6770,7 @@ msgstr "" msgid "%X%P: can not set gp\n" msgstr "" -#: ehppaelf.c:601 ehppalinux.c:783 ehppanbsd.c:783 ehppaobsd.c:783 +#: ehppaelf.c:607 ehppalinux.c:789 ehppanbsd.c:789 ehppaobsd.c:789 #, c-format msgid "" " --multi-subspace Generate import and export stubs to support\n" @@ -6619,7 +6803,7 @@ msgstr "" msgid "%X%P: changing output format whilst linking is not supported\n" msgstr "" -#: em68hc11elf.c:598 em68hc11elfb.c:598 em68hc12elf.c:598 em68hc12elfb.c:598 +#: em68hc11elf.c:604 em68hc11elfb.c:604 em68hc12elf.c:604 em68hc12elfb.c:604 #, c-format msgid "" " --no-trampoline Do not generate the far trampolines used to " @@ -6627,7 +6811,7 @@ msgid "" " a far function using jsr or bsr\n" msgstr "" -#: em68hc11elf.c:601 em68hc11elfb.c:601 em68hc12elf.c:601 em68hc12elfb.c:601 +#: em68hc11elf.c:607 em68hc11elfb.c:607 em68hc12elf.c:607 em68hc12elfb.c:607 #, c-format msgid "" " --bank-window NAME Specify the name of the memory region " @@ -6639,11 +6823,11 @@ msgstr "" msgid "%F%P: %pB: all input objects must be ELF for --embedded-relocs\n" msgstr "" -#: em68kelf.c:644 em68kelfnbsd.c:644 +#: em68kelf.c:650 em68kelfnbsd.c:650 msgid "%P: unrecognized --got argument '%s'\n" msgstr "" -#: em68kelf.c:657 em68kelfnbsd.c:657 +#: em68kelf.c:663 em68kelfnbsd.c:663 #, c-format msgid " --got=<type> Specify GOT handling scheme\n" msgstr "" @@ -6710,82 +6894,82 @@ msgstr "" msgid "%F%P: %pB: ABI version of object files mismatched\n" msgstr "" -#: ends32belf.c:432 ends32belf16m.c:432 ends32belf_linux.c:565 ends32elf.c:432 -#: ends32elf16m.c:432 ends32elf_linux.c:565 +#: ends32belf.c:438 ends32belf16m.c:438 ends32belf_linux.c:571 ends32elf.c:438 +#: ends32elf16m.c:438 ends32elf_linux.c:571 msgid "%P: --mbaseline is not used anymore\n" msgstr "" -#: ends32belf.c:443 ends32belf16m.c:443 ends32belf_linux.c:576 ends32elf.c:443 -#: ends32elf16m.c:443 ends32elf_linux.c:576 +#: ends32belf.c:449 ends32belf16m.c:449 ends32belf_linux.c:582 ends32elf.c:449 +#: ends32elf16m.c:449 ends32elf_linux.c:582 msgid "%P: --relax-[no-]reduce-fp-updat is not used anymore\n" msgstr "" -#: ends32belf.c:447 ends32belf16m.c:447 ends32belf_linux.c:580 ends32elf.c:447 -#: ends32elf16m.c:447 ends32elf_linux.c:580 +#: ends32belf.c:453 ends32belf16m.c:453 ends32belf_linux.c:586 ends32elf.c:453 +#: ends32elf16m.c:453 ends32elf_linux.c:586 msgid "%P: missing file for --mexport-symbols\n" msgstr "" -#: ends32belf.c:460 ends32belf.c:469 ends32belf16m.c:460 ends32belf16m.c:469 -#: ends32belf_linux.c:593 ends32belf_linux.c:602 ends32elf.c:460 -#: ends32elf.c:469 ends32elf16m.c:460 ends32elf16m.c:469 ends32elf_linux.c:593 -#: ends32elf_linux.c:602 +#: ends32belf.c:466 ends32belf.c:475 ends32belf16m.c:466 ends32belf16m.c:475 +#: ends32belf_linux.c:599 ends32belf_linux.c:608 ends32elf.c:466 +#: ends32elf.c:475 ends32elf16m.c:466 ends32elf16m.c:475 ends32elf_linux.c:599 +#: ends32elf_linux.c:608 msgid "%P: valid arguments to --mhyper-relax=(low|medium|high)\n" msgstr "" -#: ends32belf.c:489 ends32belf16m.c:489 ends32belf_linux.c:622 ends32elf.c:489 -#: ends32elf16m.c:489 ends32elf_linux.c:622 +#: ends32belf.c:495 ends32belf16m.c:495 ends32belf_linux.c:628 ends32elf.c:495 +#: ends32elf16m.c:495 ends32elf_linux.c:628 #, c-format msgid " --m[no-]fp-as-gp Disable/enable fp-as-gp relaxation\n" msgstr "" -#: ends32belf.c:491 ends32belf16m.c:491 ends32belf_linux.c:624 ends32elf.c:491 -#: ends32elf16m.c:491 ends32elf_linux.c:624 +#: ends32belf.c:497 ends32belf16m.c:497 ends32belf_linux.c:630 ends32elf.c:497 +#: ends32elf16m.c:497 ends32elf_linux.c:630 #, c-format msgid " --mexport-symbols=FILE Exporting symbols in linker script\n" msgstr "" -#: ends32belf.c:493 ends32belf16m.c:493 ends32belf_linux.c:626 ends32elf.c:493 -#: ends32elf16m.c:493 ends32elf_linux.c:626 +#: ends32belf.c:499 ends32belf16m.c:499 ends32belf_linux.c:632 ends32elf.c:499 +#: ends32elf16m.c:499 ends32elf_linux.c:632 #, c-format msgid "" " --mhyper-relax=level Adjust relax level (low|medium|high). default: " "medium\n" msgstr "" -#: ends32belf.c:495 ends32belf16m.c:495 ends32belf_linux.c:628 ends32elf.c:495 -#: ends32elf16m.c:495 ends32elf_linux.c:628 +#: ends32belf.c:501 ends32belf16m.c:501 ends32belf_linux.c:634 ends32elf.c:501 +#: ends32elf16m.c:501 ends32elf_linux.c:634 #, c-format msgid " --m[no-]tlsdesc-trampoline Disable/enable TLS DESC trampoline\n" msgstr "" -#: epdp11.c:82 +#: epdp11.c:83 #, c-format msgid "" " -N, --omagic Do not make text readonly, do not page align data " "(default)\n" msgstr "" -#: epdp11.c:83 +#: epdp11.c:84 #, c-format msgid " -n, --nmagic Make text readonly, align data to next page\n" msgstr "" -#: epdp11.c:84 +#: epdp11.c:85 #, c-format msgid "" " -z, --imagic Make text readonly, separate instruction and data spaces\n" msgstr "" -#: epdp11.c:85 +#: epdp11.c:86 #, c-format msgid " --no-omagic Equivalent to --nmagic\n" msgstr "" -#: etic3xcoff.c:69 etic3xcoff_onchip.c:69 etic4xcoff.c:69 etic54xcoff.c:69 +#: etic3xcoff.c:70 etic3xcoff_onchip.c:70 etic4xcoff.c:70 etic54xcoff.c:70 #, c-format msgid " --format 0|1|2 Specify which COFF version to use\n" msgstr "" -#: etic3xcoff.c:91 etic3xcoff_onchip.c:91 etic4xcoff.c:91 etic54xcoff.c:91 +#: etic3xcoff.c:92 etic3xcoff_onchip.c:92 etic4xcoff.c:92 etic54xcoff.c:92 msgid "%F%P: invalid COFF format version %s\n" msgstr "" diff --git a/libctf/ChangeLog b/libctf/ChangeLog index ee60653..8675849 100644 --- a/libctf/ChangeLog +++ b/libctf/ChangeLog @@ -1,3 +1,12 @@ +2023-11-15 Arsen Arsenović <arsen@aarsen.me> + + * Makefile.am (SUBDIRS): Define to empty to suppress a check in + Automake. + * Makefile.in: Regenerate. + * configure.ac (CTF_LIBADD): Use LTLIBINTL rather than LIBINTL. + * aclocal.m4: Regenerate. + * configure: Regenerate. + 2023-07-03 Nick Clifton <nickc@redhat.com> 2.41 Branch Point. diff --git a/libctf/Makefile.am b/libctf/Makefile.am index b1dbc2f..0835b20 100644 --- a/libctf/Makefile.am +++ b/libctf/Makefile.am @@ -21,6 +21,11 @@ ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd AUTOMAKE_OPTIONS = dejagnu foreign info-in-builddir no-texinfo.tex +# Suppress 'configure.ac: error: AM_GNU_GETTEXT used but SUBDIRS not defined' +# from Automake, as libctf uses AM_GNU_GETTEXT (through +# ZW_GNU_GETTEXT_SISTER_DIR) but has no po/ subdir (currently). +SUBDIRS = + # Variables that we might accumulate conditionally or in subdirs. info_TEXINFOS = DISTCLEANFILES = diff --git a/libctf/Makefile.in b/libctf/Makefile.in index 3d2696b..3789d11 100644 --- a/libctf/Makefile.in +++ b/libctf/Makefile.in @@ -137,9 +137,18 @@ am__aclocal_m4_deps = $(top_srcdir)/../bfd/acinclude.m4 \ $(top_srcdir)/../config/depstand.m4 \ $(top_srcdir)/../config/enable.m4 \ $(top_srcdir)/../config/gettext-sister.m4 \ + $(top_srcdir)/../config/gettext.m4 \ + $(top_srcdir)/../config/iconv.m4 \ + $(top_srcdir)/../config/intlmacosx.m4 \ $(top_srcdir)/../config/jobserver.m4 \ $(top_srcdir)/../config/lead-dot.m4 \ + $(top_srcdir)/../config/lib-ld.m4 \ + $(top_srcdir)/../config/lib-link.m4 \ + $(top_srcdir)/../config/lib-prefix.m4 \ + $(top_srcdir)/../config/nls.m4 \ $(top_srcdir)/../config/override.m4 \ + $(top_srcdir)/../config/po.m4 \ + $(top_srcdir)/../config/progtest.m4 \ $(top_srcdir)/../config/warnings.m4 \ $(top_srcdir)/../config/zlib.m4 $(top_srcdir)/../libtool.m4 \ $(top_srcdir)/../ltoptions.m4 $(top_srcdir)/../ltsugar.m4 \ @@ -317,6 +326,14 @@ TEXI2PDF = $(TEXI2DVI) --pdf --batch MAKEINFOHTML = $(MAKEINFO) --html AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) DVIPS = dvips +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ @@ -324,6 +341,14 @@ am__can_run_installinfo = \ esac am__include_HEADERS_DIST = $(INCDIR)/ctf.h $(INCDIR)/ctf-api.h HEADERS = $(include_HEADERS) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + cscope distdir dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ $(LISP)config.h.in # Read a list of newline-separated strings from the standard input, @@ -345,9 +370,9 @@ am__define_uniq_tagged_files = \ ETAGS = etags CTAGS = ctags CSCOPE = cscope -AM_RECURSIVE_TARGETS = cscope DEJATOOL = $(PACKAGE) RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir +DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/doc/local.mk $(top_srcdir)/../ar-lib \ $(top_srcdir)/../compile $(top_srcdir)/../config.guess \ @@ -365,6 +390,31 @@ am__remove_distdir = \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip @@ -414,8 +464,11 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBINTL_DEP = @LIBINTL_DEP@ LIBOBJS = @LIBOBJS@ @@ -423,10 +476,15 @@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ @@ -521,6 +579,11 @@ zlibinc = @zlibinc@ ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd AUTOMAKE_OPTIONS = dejagnu foreign info-in-builddir no-texinfo.tex +# Suppress 'configure.ac: error: AM_GNU_GETTEXT used but SUBDIRS not defined' +# from Automake, as libctf uses AM_GNU_GETTEXT (through +# ZW_GNU_GETTEXT_SISTER_DIR) but has no po/ subdir (currently). +SUBDIRS = + # Variables that we might accumulate conditionally or in subdirs. info_TEXINFOS = $(am__append_2) DISTCLEANFILES = site.exp development.exp $(am__append_3) @@ -580,7 +643,7 @@ CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/development.sh EXTRA_DEJAGNU_SITE_CONFIG = development.exp @BUILD_INFO_TRUE@AM_MAKEINFOFLAGS = --no-split all: config.h - $(MAKE) $(AM_MAKEFLAGS) all-am + $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: .SUFFIXES: .c .dvi .lo .o .obj .ps @@ -1177,14 +1240,61 @@ uninstall-includeHEADERS: files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir) +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique -tags: tags-am +tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ @@ -1197,7 +1307,7 @@ tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $$unique; \ fi; \ fi -ctags: ctags-am +ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) @@ -1216,7 +1326,7 @@ cscope: cscope.files clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist -cscopelist: cscopelist-am +cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ @@ -1300,6 +1410,31 @@ distdir: $(DISTFILES) || exit 1; \ fi; \ done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-info @@ -1436,21 +1571,22 @@ distcleancheck: distclean exit 1; } >&2 check-am: all-am $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU -check: check-am +check: check-recursive all-am: Makefile $(INFO_DEPS) $(LTLIBRARIES) $(HEADERS) config.h -installdirs: +installdirs: installdirs-recursive +installdirs-am: for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(infodir)" "$(DESTDIR)$(includedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -installcheck: installcheck-am +installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ @@ -1476,12 +1612,12 @@ maintainer-clean-generic: @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) @BUILD_INFO_FALSE@html-local: -clean: clean-am +clean: clean-recursive clean-am: clean-aminfo clean-generic clean-libLTLIBRARIES \ clean-libtool clean-noinstLTLIBRARIES mostlyclean-am -distclean: distclean-am +distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf ./$(DEPDIR) -rm -f Makefile @@ -1489,21 +1625,21 @@ distclean-am: clean-am distclean-DEJAGNU distclean-compile \ distclean-generic distclean-hdr distclean-libtool \ distclean-tags -dvi: dvi-am +dvi: dvi-recursive dvi-am: $(DVIS) -html: html-am +html: html-recursive html-am: $(HTMLS) html-local -info: info-am +info: info-recursive info-am: $(INFO_DEPS) install-data-am: install-includeHEADERS install-info-am -install-dvi: install-dvi-am +install-dvi: install-dvi-recursive install-dvi-am: $(DVIS) @$(NORMAL_INSTALL) @@ -1522,7 +1658,7 @@ install-dvi-am: $(DVIS) done install-exec-am: install-libLTLIBRARIES -install-html: install-html-am +install-html: install-html-recursive install-html-am: $(HTMLS) @$(NORMAL_INSTALL) @@ -1549,7 +1685,7 @@ install-html-am: $(HTMLS) echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(htmldir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(htmldir)" || exit $$?; \ done; } -install-info: install-info-am +install-info: install-info-recursive install-info-am: $(INFO_DEPS) @$(NORMAL_INSTALL) @@ -1586,7 +1722,7 @@ install-info-am: $(INFO_DEPS) else : ; fi install-man: -install-pdf: install-pdf-am +install-pdf: install-pdf-recursive install-pdf-am: $(PDFS) @$(NORMAL_INSTALL) @@ -1602,7 +1738,7 @@ install-pdf-am: $(PDFS) while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pdfdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pdfdir)" || exit $$?; done -install-ps: install-ps-am +install-ps: install-ps-recursive install-ps-am: $(PSS) @$(NORMAL_INSTALL) @@ -1620,7 +1756,7 @@ install-ps-am: $(PSS) $(INSTALL_DATA) $$files "$(DESTDIR)$(psdir)" || exit $$?; done installcheck-am: -maintainer-clean: maintainer-clean-am +maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -rf ./$(DEPDIR) @@ -1628,16 +1764,16 @@ maintainer-clean: maintainer-clean-am maintainer-clean-am: distclean-am maintainer-clean-aminfo \ maintainer-clean-generic -mostlyclean: mostlyclean-am +mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool -pdf: pdf-am +pdf: pdf-recursive pdf-am: $(PDFS) -ps: ps-am +ps: ps-recursive ps-am: $(PSS) @@ -1645,30 +1781,30 @@ uninstall-am: uninstall-dvi-am uninstall-html-am \ uninstall-includeHEADERS uninstall-info-am \ uninstall-libLTLIBRARIES uninstall-pdf-am uninstall-ps-am -.MAKE: all check-am install-am install-strip - -.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-DEJAGNU \ - check-am clean clean-aminfo clean-cscope clean-generic \ - clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \ - cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ - dist-gzip dist-info dist-lzip dist-shar dist-tarZ dist-xz \ - dist-zip distcheck distclean distclean-DEJAGNU \ - distclean-compile distclean-generic distclean-hdr \ - distclean-libtool distclean-tags distcleancheck distdir \ - distuninstallcheck dvi dvi-am html html-am html-local info \ - info-am install install-am install-data install-data-am \ +.MAKE: $(am__recursive_targets) all check-am install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--refresh check check-DEJAGNU check-am clean clean-aminfo \ + clean-cscope clean-generic clean-libLTLIBRARIES clean-libtool \ + clean-noinstLTLIBRARIES cscope cscopelist-am ctags ctags-am \ + dist dist-all dist-bzip2 dist-gzip dist-info dist-lzip \ + dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \ + distclean-DEJAGNU distclean-compile distclean-generic \ + distclean-hdr distclean-libtool distclean-tags distcleancheck \ + distdir distuninstallcheck dvi dvi-am html html-am html-local \ + info info-am install install-am install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-includeHEADERS \ install-info install-info-am install-libLTLIBRARIES \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ - installdirs maintainer-clean maintainer-clean-aminfo \ - maintainer-clean-generic mostlyclean mostlyclean-aminfo \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \ - uninstall-dvi-am uninstall-html-am uninstall-includeHEADERS \ - uninstall-info-am uninstall-libLTLIBRARIES uninstall-pdf-am \ - uninstall-ps-am + installdirs installdirs-am maintainer-clean \ + maintainer-clean-aminfo maintainer-clean-generic mostlyclean \ + mostlyclean-aminfo mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am uninstall-dvi-am uninstall-html-am \ + uninstall-includeHEADERS uninstall-info-am \ + uninstall-libLTLIBRARIES uninstall-pdf-am uninstall-ps-am .PRECIOUS: Makefile diff --git a/libctf/aclocal.m4 b/libctf/aclocal.m4 index 4607d72..e64180d 100644 --- a/libctf/aclocal.m4 +++ b/libctf/aclocal.m4 @@ -1232,9 +1232,18 @@ m4_include([../config/acx.m4]) m4_include([../config/depstand.m4]) m4_include([../config/enable.m4]) m4_include([../config/gettext-sister.m4]) +m4_include([../config/gettext.m4]) +m4_include([../config/iconv.m4]) +m4_include([../config/intlmacosx.m4]) m4_include([../config/jobserver.m4]) m4_include([../config/lead-dot.m4]) +m4_include([../config/lib-ld.m4]) +m4_include([../config/lib-link.m4]) +m4_include([../config/lib-prefix.m4]) +m4_include([../config/nls.m4]) m4_include([../config/override.m4]) +m4_include([../config/po.m4]) +m4_include([../config/progtest.m4]) m4_include([../config/warnings.m4]) m4_include([../config/zlib.m4]) m4_include([../libtool.m4]) diff --git a/libctf/config.h.in b/libctf/config.h.in index 5db637c..794779e 100644 --- a/libctf/config.h.in +++ b/libctf/config.h.in @@ -16,6 +16,18 @@ /* Define to 1 if you have the <byteswap.h> header file. */ #undef HAVE_BYTESWAP_H +/* Define to 1 if you have the Mac OS X function + CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES + +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + /* Define to 1 if you have the declaration of `asprintf', and to 0 if you don't. */ #undef HAVE_DECL_ASPRINTF @@ -49,6 +61,12 @@ /* Define to 1 if you have the `getpagesize' function. */ #undef HAVE_GETPAGESIZE +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define if you have the iconv() function and it works. */ +#undef HAVE_ICONV + /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H diff --git a/libctf/configure b/libctf/configure index 4c01c02..3701bd8 100755 --- a/libctf/configure +++ b/libctf/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include <unistd.h> #endif" +gt_needs= ac_header_list= ac_func_list= ac_subst_vars='am__EXEEXT_FALSE @@ -682,13 +683,21 @@ GENCAT INSTOBJEXT DATADIRNAME CATALOGS -POSUB -GMSGFMT -XGETTEXT INCINTL LIBINTL_DEP +POSUB +LTLIBINTL LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +INTL_MACOSX_LIBS +MSGMERGE +XGETTEXT +GMSGFMT +MSGFMT USE_NLS +MKINSTALLDIRS ac_ct_AR AR RANLIB @@ -794,11 +803,17 @@ ac_user_opts=' enable_option_checking enable_dependency_tracking enable_silent_rules +enable_nls +with_gnu_ld +enable_rpath +with_libiconv_prefix +with_libiconv_type +with_libintl_prefix +with_libintl_type enable_shared enable_static with_pic enable_fast_install -with_gnu_ld enable_libtool_lock enable_largefile enable_werror_always @@ -1441,6 +1456,8 @@ Optional Features: speeds up one-time build --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") + --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths --enable-shared[=PKGS] build shared libraries [default=no] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] @@ -1459,6 +1476,13 @@ Optional Features: Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libiconv-type=TYPE type of library to search for (auto/static/shared) + --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 + --with-libintl-type=TYPE type of library to search for (auto/static/shared) --with-pic try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no] @@ -2231,6 +2255,7 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +gt_needs="$gt_needs " as_fn_append ac_header_list " stdlib.h" as_fn_append ac_header_list " unistd.h" as_fn_append ac_header_list " sys/param.h" @@ -5456,19 +5481,1928 @@ unknown) ;; esac -# If we haven't got the data from the intl directory, -# assume NLS is disabled. -USE_NLS=no -LIBINTL= -LIBINTL_DEP= -INCINTL= -XGETTEXT= -GMSGFMT= -POSUB= -if test -f ../intl/config.intl; then - . ../intl/config.intl + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + rm -f messages.po + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test "$GMSGFMT" != ":"; then + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 +$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } + GMSGFMT=":" + fi + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + rm -f messages.po + fi + + ac_config_commands="$ac_config_commands default-1" + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [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 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$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 + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + + + + + + 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-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_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 + + +# Check whether --with-libiconv-type was given. +if test "${with_libiconv_type+set}" = set; then : + withval=$with_libiconv_type; with_libiconv_type=$withval +else + with_libiconv_type=auto +fi + + lib_type=`eval echo \$with_libiconv_type` + + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + 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" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBICONV; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-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 $INCICONV; 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 + INCICONV="${INCICONV}${INCICONV:+ }-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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext" + fi + 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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + +if test -f ../gettext/uninstalled-config.sh; then + relative_builddir='$(top_builddir)/../gettext' + . ../gettext/uninstalled-config.sh +else + # The sister gettext directory doesn't exist and won't collect information on + # using gettext for us. Call a bundled AM_GNU_GETTEXT. + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFPreferences.h> +int +main () +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 +$as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; } +if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFLocale.h> +int +main () +{ +CFLocaleCopyPreferredLanguages(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyPreferredLanguages=yes +else + gt_cv_func_CFLocaleCopyPreferredLanguages=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } + if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + +$as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ + || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" + fi + + + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if eval \${$gt_func_gnugettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libc=yes" +else + eval "$gt_func_gnugettext_libc=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; 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 + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + am_cv_func_iconv_works=no + for ac_iconv_const in '' 'const'; do + if test "$cross_compiling" = yes; then : + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <iconv.h> +#include <string.h> + +#ifndef ICONV_CONST +# define ICONV_CONST $ac_iconv_const +#endif + +int +main () +{ +int result = 0; + /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from + successful returns. This is even documented in + <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 1; + iconv_close (cd_utf8_to_88591); + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\263"; + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 2; + iconv_close (cd_ascii_to_88591); + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + ICONV_CONST char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + result |= 4; + iconv_close (cd_88591_to_utf8); + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + result |= 8; + iconv_close (cd_88591_to_utf8); + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + { + /* Try standardized names. */ + iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); + /* Try IRIX, OSF/1 names. */ + iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); + /* Try AIX names. */ + iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); + /* Try HP-UX names. */ + iconv_t cd4 = iconv_open ("utf8", "eucJP"); + if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) + && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) + result |= 16; + if (cd1 != (iconv_t)(-1)) + iconv_close (cd1); + if (cd2 != (iconv_t)(-1)) + iconv_close (cd2); + if (cd3 != (iconv_t)(-1)) + iconv_close (cd3); + if (cd4 != (iconv_t)(-1)) + iconv_close (cd4); + } + return result; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + test "$am_cv_func_iconv_works" = no || break + done + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + 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-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_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 + + +# Check whether --with-libintl-type was given. +if test "${with_libintl_type+set}" = set; then : + withval=$with_libintl_type; with_libintl_type=$withval +else + with_libintl_type=auto +fi + + lib_type=`eval echo \$with_libintl_type` + + LIBINTL= + LTLIBINTL= + INCINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + 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" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBINTL; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-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 $INCINTL; 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 + INCINTL="${INCINTL}${INCINTL:+ }-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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext" + fi + 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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if eval \${$gt_func_gnugettext_libintl+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" +else + eval "$gt_func_gnugettext_libintl=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" +fi +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; 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 + + fi + + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + + +fi + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } if test x"$USE_NLS" != xyes; then @@ -11662,7 +13596,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11665 "configure" +#line 13599 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11768,7 +13702,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11771 "configure" +#line 13705 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -14938,7 +16872,7 @@ if test "$enable_shared" = "yes"; then fi fi -CTF_LIBADD="$CTF_LIBADD $LIBINTL" +CTF_LIBADD="$CTF_LIBADD $LTLIBINTL" if test "$enable_shared" = "yes"; then case "${host}" in @@ -15819,6 +17753,13 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it + # from automake. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + # The HP-UX ksh and POSIX shell print the target directory to stdout @@ -16090,6 +18031,7 @@ for ac_config_target in $ac_config_targets do case $ac_config_target in "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; @@ -16781,6 +18723,107 @@ $as_echo X"$file" | done } ;; + "default-1":C) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.ac. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + GMOFILES= + UPDATEPOFILES= + DUMMYPOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; "libtool":C) # See if we are running on zsh, and set the options which allow our diff --git a/libctf/configure.ac b/libctf/configure.ac index 6a5eade..5264cca 100644 --- a/libctf/configure.ac +++ b/libctf/configure.ac @@ -220,7 +220,7 @@ changequote([,])dnl fi fi -CTF_LIBADD="$CTF_LIBADD $LIBINTL" +CTF_LIBADD="$CTF_LIBADD $LTLIBINTL" if test "$enable_shared" = "yes"; then case "${host}" in diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 967ada9..e7314ef 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,14 @@ +2023-11-15 Arsen Arsenović <arsen@aarsen.me> + + * aclocal.m4: Regenerate. + * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot + temporary file to suppress xgettext checking charset names. + * configure.ac (SHARED_LIBADD): Use LTLIBINTL rather than + LIBINTL. + * configure: Regenerate. + * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot + temporary file, to suppress xgettext checking charset names. + 2023-10-05 Neal frager <neal.frager@amd.com> * microblaze-opcm.h (struct op_code_struct): Tidy and remove diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in index 29c2626..e2c6e5a 100644 --- a/opcodes/Makefile.in +++ b/opcodes/Makefile.in @@ -117,8 +117,14 @@ am__aclocal_m4_deps = $(top_srcdir)/../bfd/acinclude.m4 \ $(top_srcdir)/../config/bfd64.m4 \ $(top_srcdir)/../config/depstand.m4 \ $(top_srcdir)/../config/gettext-sister.m4 \ + $(top_srcdir)/../config/gettext.m4 \ + $(top_srcdir)/../config/iconv.m4 \ + $(top_srcdir)/../config/intlmacosx.m4 \ $(top_srcdir)/../config/jobserver.m4 \ $(top_srcdir)/../config/lead-dot.m4 \ + $(top_srcdir)/../config/lib-ld.m4 \ + $(top_srcdir)/../config/lib-link.m4 \ + $(top_srcdir)/../config/lib-prefix.m4 \ $(top_srcdir)/../config/nls.m4 \ $(top_srcdir)/../config/override.m4 \ $(top_srcdir)/../config/po.m4 \ @@ -312,8 +318,11 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBINTL_DEP = @LIBINTL_DEP@ LIBM = @LIBM@ @@ -322,6 +331,8 @@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ diff --git a/opcodes/aclocal.m4 b/opcodes/aclocal.m4 index ac0d929..dc5967a 100644 --- a/opcodes/aclocal.m4 +++ b/opcodes/aclocal.m4 @@ -1173,8 +1173,14 @@ m4_include([../config/acx.m4]) m4_include([../config/bfd64.m4]) m4_include([../config/depstand.m4]) m4_include([../config/gettext-sister.m4]) +m4_include([../config/gettext.m4]) +m4_include([../config/iconv.m4]) +m4_include([../config/intlmacosx.m4]) m4_include([../config/jobserver.m4]) m4_include([../config/lead-dot.m4]) +m4_include([../config/lib-ld.m4]) +m4_include([../config/lib-link.m4]) +m4_include([../config/lib-prefix.m4]) m4_include([../config/nls.m4]) m4_include([../config/override.m4]) m4_include([../config/po.m4]) diff --git a/opcodes/config.in b/opcodes/config.in index 4cd636e..409998f 100644 --- a/opcodes/config.in +++ b/opcodes/config.in @@ -14,6 +14,18 @@ language is requested. */ #undef ENABLE_NLS +/* Define to 1 if you have the Mac OS X function + CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES + +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + /* Define to 1 if you have the declaration of `basename', and to 0 if you don't. */ #undef HAVE_DECL_BASENAME @@ -25,6 +37,12 @@ /* Define to 1 if you have the <dlfcn.h> header file. */ #undef HAVE_DLFCN_H +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define if you have the iconv() function and it works. */ +#undef HAVE_ICONV + /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H diff --git a/opcodes/configure b/opcodes/configure index a65b0a2..1db1407 100755 --- a/opcodes/configure +++ b/opcodes/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include <unistd.h> #endif" +gt_needs= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS @@ -649,21 +650,26 @@ ENABLE_BFD_64_BIT_FALSE ENABLE_BFD_64_BIT_TRUE EXEEXT_FOR_BUILD CC_FOR_BUILD -MSGMERGE -MSGFMT -MKINSTALLDIRS CATOBJEXT GENCAT INSTOBJEXT DATADIRNAME CATALOGS -POSUB -GMSGFMT -XGETTEXT INCINTL LIBINTL_DEP +POSUB +LTLIBINTL LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +INTL_MACOSX_LIBS +MSGMERGE +XGETTEXT +GMSGFMT +MSGFMT USE_NLS +MKINSTALLDIRS bfdincludedir bfdlibdir target_noncanonical @@ -808,6 +814,11 @@ enable_build_warnings enable_maintainer_mode enable_install_libbfd enable_nls +enable_rpath +with_libiconv_prefix +with_libiconv_type +with_libintl_prefix +with_libintl_type enable_64_bit_bfd enable_cgen_maint ' @@ -1459,6 +1470,7 @@ Optional Features: sometimes confusing) to the casual installer --enable-install-libbfd controls installation of libbfd and related headers --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) --enable-cgen-maint=dir build cgen generated files @@ -1468,6 +1480,13 @@ Optional Packages: --with-pic try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libiconv-type=TYPE type of library to search for (auto/static/shared) + --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 + --with-libintl-type=TYPE type of library to search for (auto/static/shared) Some influential environment variables: CC C compiler command @@ -2419,6 +2438,7 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +gt_needs="$gt_needs " # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -11072,7 +11092,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11075 "configure" +#line 11095 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11178,7 +11198,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11181 "configure" +#line 11201 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11707,19 +11727,1928 @@ fi # host-specific stuff: ALL_LINGUAS="da de es fi fr ga id it nl pt_BR ro sr sv tr uk vi zh_CN" -# If we haven't got the data from the intl directory, -# assume NLS is disabled. -USE_NLS=no -LIBINTL= -LIBINTL_DEP= -INCINTL= -XGETTEXT= -GMSGFMT= -POSUB= - -if test -f ../intl/config.intl; then - . ../intl/config.intl + + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + rm -f messages.po + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test "$GMSGFMT" != ":"; then + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 +$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } + GMSGFMT=":" + fi + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + rm -f messages.po + fi + + ac_config_commands="$ac_config_commands default-1" + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [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 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$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 + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + + + + + + 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-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_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 + + +# Check whether --with-libiconv-type was given. +if test "${with_libiconv_type+set}" = set; then : + withval=$with_libiconv_type; with_libiconv_type=$withval +else + with_libiconv_type=auto +fi + + lib_type=`eval echo \$with_libiconv_type` + + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + 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" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBICONV; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-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 $INCICONV; 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 + INCICONV="${INCICONV}${INCICONV:+ }-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 $LIBICONV; 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 + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; 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 + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext" + fi + 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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$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" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + +if test -f ../gettext/uninstalled-config.sh; then + relative_builddir='$(top_builddir)/../gettext' + . ../gettext/uninstalled-config.sh +else + # The sister gettext directory doesn't exist and won't collect information on + # using gettext for us. Call a bundled AM_GNU_GETTEXT. + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFPreferences.h> +int +main () +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 +$as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; } +if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <CoreFoundation/CFLocale.h> +int +main () +{ +CFLocaleCopyPreferredLanguages(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyPreferredLanguages=yes +else + gt_cv_func_CFLocaleCopyPreferredLanguages=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } + if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + +$as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ + || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" + fi + + + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if eval \${$gt_func_gnugettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libc=yes" +else + eval "$gt_func_gnugettext_libc=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; 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 + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <stdlib.h> +#include <iconv.h> + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + am_cv_func_iconv_works=no + for ac_iconv_const in '' 'const'; do + if test "$cross_compiling" = yes; then : + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <iconv.h> +#include <string.h> + +#ifndef ICONV_CONST +# define ICONV_CONST $ac_iconv_const +#endif + +int +main () +{ +int result = 0; + /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from + successful returns. This is even documented in + <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 1; + iconv_close (cd_utf8_to_88591); + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\263"; + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 2; + iconv_close (cd_ascii_to_88591); + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + ICONV_CONST char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + result |= 4; + iconv_close (cd_88591_to_utf8); + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + result |= 8; + iconv_close (cd_88591_to_utf8); + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + { + /* Try standardized names. */ + iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); + /* Try IRIX, OSF/1 names. */ + iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); + /* Try AIX names. */ + iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); + /* Try HP-UX names. */ + iconv_t cd4 = iconv_open ("utf8", "eucJP"); + if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) + && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) + result |= 16; + if (cd1 != (iconv_t)(-1)) + iconv_close (cd1); + if (cd2 != (iconv_t)(-1)) + iconv_close (cd2); + if (cd3 != (iconv_t)(-1)) + iconv_close (cd3); + if (cd4 != (iconv_t)(-1)) + iconv_close (cd4); + } + return result; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + test "$am_cv_func_iconv_works" = no || break + done + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + 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-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_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 + + +# Check whether --with-libintl-type was given. +if test "${with_libintl_type+set}" = set; then : + withval=$with_libintl_type; with_libintl_type=$withval +else + with_libintl_type=auto +fi + + lib_type=`eval echo \$with_libintl_type` + + LIBINTL= + LTLIBINTL= + INCINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + 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" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 $LTLIBINTL; 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" && test x$lib_type != xstatic; 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 + elif test x$lib_type != xshared; then + 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-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 $INCINTL; 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 + INCINTL="${INCINTL}${INCINTL:+ }-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 $LIBINTL; 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 + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; 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 + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + 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$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext" + fi + 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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$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" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if eval \${$gt_func_gnugettext_libintl+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" +else + eval "$gt_func_gnugettext_libintl=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) +#else +#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 +#endif +$gt_revision_test_code + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" +fi +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; 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 + + fi + + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + + +fi + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } if test x"$USE_NLS" != xyes; then @@ -11778,33 +13707,6 @@ $as_echo "$LINGUAS" >&6; } fi - MKINSTALLDIRS= - if test -n "$ac_aux_dir"; then - case "$ac_aux_dir" in - /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; - *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; - esac - fi - if test -z "$MKINSTALLDIRS"; then - MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 -$as_echo_n "checking whether NLS is requested... " >&6; } - # Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then : - enableval=$enable_nls; USE_NLS=$enableval -else - USE_NLS=yes -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -$as_echo "$USE_NLS" >&6; } - - - @@ -12082,7 +13984,7 @@ $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } rm -f messages.po fi - ac_config_commands="$ac_config_commands default-1" + ac_config_commands="$ac_config_commands default-2" @@ -12473,7 +14375,7 @@ if test "$enable_shared" = "yes"; then fi fi -SHARED_LIBADD="$SHARED_LIBADD $LIBINTL" +SHARED_LIBADD="$SHARED_LIBADD $LTLIBINTL" if test "$enable_shared" = "yes"; then case "${host}" in @@ -13679,6 +15581,13 @@ fi # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it + # from automake. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + _ACEOF @@ -13692,6 +15601,7 @@ do "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;; @@ -15122,6 +17032,107 @@ _LT_EOF ;; esac done ;; + "default-2":C) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.ac. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + GMOFILES= + UPDATEPOFILES= + DUMMYPOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; esac done # for ac_tag diff --git a/opcodes/configure.ac b/opcodes/configure.ac index cae2a67..1734b82 100644 --- a/opcodes/configure.ac +++ b/opcodes/configure.ac @@ -190,7 +190,7 @@ changequote([,])dnl fi fi -SHARED_LIBADD="$SHARED_LIBADD $LIBINTL" +SHARED_LIBADD="$SHARED_LIBADD $LTLIBINTL" if test "$enable_shared" = "yes"; then case "${host}" in diff --git a/opcodes/po/opcodes.pot b/opcodes/po/opcodes.pot index 6c24831..df2b3e2 100644 --- a/opcodes/po/opcodes.pot +++ b/opcodes/po/opcodes.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: https://sourceware.org/bugzilla/\n" -"POT-Creation-Date: 2023-07-03 11:41+0100\n" +"POT-Creation-Date: 2023-11-15 11:13+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -25,7 +25,7 @@ msgid "specified register cannot be written to" msgstr "" #. Invalid option. -#: aarch64-dis.c:103 arc-dis.c:807 arm-dis.c:12303 +#: aarch64-dis.c:103 arc-dis.c:807 arm-dis.c:12303 kvx-dis.c:154 #, c-format msgid "unrecognised disassembler option: %s" msgstr "" @@ -40,7 +40,7 @@ msgstr "" msgid "expected `%s' after previous `%s'" msgstr "" -#: aarch64-dis.c:4156 +#: aarch64-dis.c:4163 #, c-format msgid "" "\n" @@ -48,341 +48,341 @@ msgid "" "with the -M switch (multiple options should be separated by commas):\n" msgstr "" -#: aarch64-dis.c:4160 +#: aarch64-dis.c:4167 #, c-format msgid "" "\n" " no-aliases Don't print instruction aliases.\n" msgstr "" -#: aarch64-dis.c:4163 +#: aarch64-dis.c:4170 #, c-format msgid "" "\n" " aliases Do print instruction aliases.\n" msgstr "" -#: aarch64-dis.c:4166 +#: aarch64-dis.c:4173 #, c-format msgid "" "\n" " no-notes Don't print instruction notes.\n" msgstr "" -#: aarch64-dis.c:4169 +#: aarch64-dis.c:4176 #, c-format msgid "" "\n" " notes Do print instruction notes.\n" msgstr "" -#: aarch64-dis.c:4173 +#: aarch64-dis.c:4180 #, c-format msgid "" "\n" " debug_dump Temp switch for debug trace.\n" msgstr "" -#: aarch64-dis.c:4177 arc-dis.c:1607 arc-dis.c:1630 arc-dis.c:1633 -#: loongarch-dis.c:332 mips-dis.c:2903 mips-dis.c:2915 mips-dis.c:2918 -#: nfp-dis.c:2995 riscv-dis.c:1362 riscv-dis.c:1365 +#: aarch64-dis.c:4184 arc-dis.c:1607 arc-dis.c:1630 arc-dis.c:1633 +#: kvx-dis.c:1586 loongarch-dis.c:332 mips-dis.c:2903 mips-dis.c:2915 +#: mips-dis.c:2918 nfp-dis.c:2995 riscv-dis.c:1410 riscv-dis.c:1413 #, c-format msgid "\n" msgstr "" -#: aarch64-opc.c:1431 +#: aarch64-opc.c:1434 msgid "immediate value" msgstr "" -#: aarch64-opc.c:1441 +#: aarch64-opc.c:1444 msgid "immediate offset" msgstr "" -#: aarch64-opc.c:1451 +#: aarch64-opc.c:1454 msgid "register number" msgstr "" -#: aarch64-opc.c:1461 +#: aarch64-opc.c:1464 msgid "register element index" msgstr "" -#: aarch64-opc.c:1471 +#: aarch64-opc.c:1474 msgid "shift amount" msgstr "" -#: aarch64-opc.c:1483 +#: aarch64-opc.c:1486 msgid "multiplier" msgstr "" -#: aarch64-opc.c:1602 +#: aarch64-opc.c:1605 msgid "expected a selection register in the range w12-w15" msgstr "" -#: aarch64-opc.c:1606 +#: aarch64-opc.c:1609 msgid "expected a selection register in the range w8-w11" msgstr "" -#: aarch64-opc.c:1625 +#: aarch64-opc.c:1628 msgid "starting offset is not a multiple of 2" msgstr "" -#: aarch64-opc.c:1626 +#: aarch64-opc.c:1629 msgid "starting offset is not a multiple of 4" msgstr "" -#: aarch64-opc.c:1634 +#: aarch64-opc.c:1637 msgid "expected a single offset rather than a range" msgstr "" -#: aarch64-opc.c:1638 +#: aarch64-opc.c:1641 msgid "expected a range of two offsets" msgstr "" -#: aarch64-opc.c:1641 +#: aarch64-opc.c:1644 msgid "expected a range of four offsets" msgstr "" -#: aarch64-opc.c:1700 +#: aarch64-opc.c:1703 msgid "reg pair must start from even reg" msgstr "" -#: aarch64-opc.c:1706 +#: aarch64-opc.c:1709 msgid "reg pair must be contiguous" msgstr "" -#: aarch64-opc.c:1720 +#: aarch64-opc.c:1723 msgid "extraneous register" msgstr "" -#: aarch64-opc.c:1726 +#: aarch64-opc.c:1729 msgid "missing register" msgstr "" -#: aarch64-opc.c:1737 +#: aarch64-opc.c:1740 msgid "stack pointer register expected" msgstr "" -#: aarch64-opc.c:1840 aarch64-opc.c:1856 +#: aarch64-opc.c:1843 aarch64-opc.c:1859 msgid "start register out of range" msgstr "" -#: aarch64-opc.c:1985 aarch64-opc.c:1993 +#: aarch64-opc.c:1988 aarch64-opc.c:1996 msgid "unexpected address writeback" msgstr "" -#: aarch64-opc.c:2004 +#: aarch64-opc.c:2007 msgid "address writeback expected" msgstr "" -#: aarch64-opc.c:2051 +#: aarch64-opc.c:2054 msgid "negative or unaligned offset expected" msgstr "" -#: aarch64-opc.c:2108 +#: aarch64-opc.c:2111 msgid "invalid register offset" msgstr "" -#: aarch64-opc.c:2130 +#: aarch64-opc.c:2133 msgid "invalid post-increment amount" msgstr "" -#: aarch64-opc.c:2146 aarch64-opc.c:2665 +#: aarch64-opc.c:2149 aarch64-opc.c:2668 msgid "invalid shift amount" msgstr "" -#: aarch64-opc.c:2159 +#: aarch64-opc.c:2162 msgid "invalid extend/shift operator" msgstr "" -#: aarch64-opc.c:2205 aarch64-opc.c:2465 aarch64-opc.c:2500 aarch64-opc.c:2519 -#: aarch64-opc.c:2527 aarch64-opc.c:2618 aarch64-opc.c:2795 aarch64-opc.c:2895 -#: aarch64-opc.c:2908 +#: aarch64-opc.c:2208 aarch64-opc.c:2468 aarch64-opc.c:2503 aarch64-opc.c:2522 +#: aarch64-opc.c:2530 aarch64-opc.c:2621 aarch64-opc.c:2798 aarch64-opc.c:2898 +#: aarch64-opc.c:2911 msgid "immediate out of range" msgstr "" -#: aarch64-opc.c:2235 aarch64-opc.c:2277 aarch64-opc.c:2340 aarch64-opc.c:2374 +#: aarch64-opc.c:2238 aarch64-opc.c:2280 aarch64-opc.c:2343 aarch64-opc.c:2377 msgid "invalid addressing mode" msgstr "" -#: aarch64-opc.c:2332 +#: aarch64-opc.c:2335 msgid "index register xzr is not allowed" msgstr "" -#: aarch64-opc.c:2453 aarch64-opc.c:2475 aarch64-opc.c:2698 aarch64-opc.c:2706 -#: aarch64-opc.c:2772 aarch64-opc.c:2801 +#: aarch64-opc.c:2456 aarch64-opc.c:2478 aarch64-opc.c:2701 aarch64-opc.c:2709 +#: aarch64-opc.c:2775 aarch64-opc.c:2804 msgid "invalid shift operator" msgstr "" -#: aarch64-opc.c:2459 +#: aarch64-opc.c:2462 msgid "shift amount must be 0 or 12" msgstr "" -#: aarch64-opc.c:2482 +#: aarch64-opc.c:2485 msgid "shift amount must be a multiple of 16" msgstr "" -#: aarch64-opc.c:2494 +#: aarch64-opc.c:2497 msgid "negative immediate value not allowed" msgstr "" -#: aarch64-opc.c:2629 +#: aarch64-opc.c:2632 msgid "immediate zero expected" msgstr "" -#: aarch64-opc.c:2643 +#: aarch64-opc.c:2646 msgid "rotate expected to be 0, 90, 180 or 270" msgstr "" -#: aarch64-opc.c:2654 +#: aarch64-opc.c:2657 msgid "rotate expected to be 90 or 270" msgstr "" -#: aarch64-opc.c:2714 +#: aarch64-opc.c:2717 msgid "shift is not permitted" msgstr "" -#: aarch64-opc.c:2739 +#: aarch64-opc.c:2742 msgid "invalid value for immediate" msgstr "" -#: aarch64-opc.c:2764 +#: aarch64-opc.c:2767 msgid "shift amount must be 0 or 16" msgstr "" -#: aarch64-opc.c:2785 +#: aarch64-opc.c:2788 msgid "floating-point immediate expected" msgstr "" -#: aarch64-opc.c:2819 +#: aarch64-opc.c:2822 msgid "no shift amount allowed for 8-bit constants" msgstr "" -#: aarch64-opc.c:2829 +#: aarch64-opc.c:2832 msgid "shift amount must be 0 or 8" msgstr "" -#: aarch64-opc.c:2842 +#: aarch64-opc.c:2845 msgid "immediate too big for element size" msgstr "" -#: aarch64-opc.c:2849 +#: aarch64-opc.c:2852 msgid "invalid arithmetic immediate" msgstr "" -#: aarch64-opc.c:2863 +#: aarch64-opc.c:2866 msgid "floating-point value must be 0.5 or 1.0" msgstr "" -#: aarch64-opc.c:2873 +#: aarch64-opc.c:2876 msgid "floating-point value must be 0.5 or 2.0" msgstr "" -#: aarch64-opc.c:2883 +#: aarch64-opc.c:2886 msgid "floating-point value must be 0.0 or 1.0" msgstr "" -#: aarch64-opc.c:2914 +#: aarch64-opc.c:2917 msgid "invalid replicated MOV immediate" msgstr "" -#: aarch64-opc.c:2972 +#: aarch64-opc.c:2975 msgid "byte index must be a multiple of 8" msgstr "" -#: aarch64-opc.c:3002 +#: aarch64-opc.c:3005 msgid "" "the register-index form of PRFM does not accept opcodes in the range 24-31" msgstr "" -#: aarch64-opc.c:3055 +#: aarch64-opc.c:3058 msgid "extend operator expected" msgstr "" -#: aarch64-opc.c:3068 +#: aarch64-opc.c:3071 msgid "missing extend operator" msgstr "" -#: aarch64-opc.c:3074 +#: aarch64-opc.c:3077 msgid "'LSL' operator not allowed" msgstr "" -#: aarch64-opc.c:3095 +#: aarch64-opc.c:3098 msgid "W register expected" msgstr "" -#: aarch64-opc.c:3106 +#: aarch64-opc.c:3109 msgid "shift operator expected" msgstr "" -#: aarch64-opc.c:3113 +#: aarch64-opc.c:3116 msgid "'ROR' operator not allowed" msgstr "" -#: aarch64-opc.c:4525 +#: aarch64-opc.c:4531 msgid "reading from a write-only register" msgstr "" -#: aarch64-opc.c:4527 +#: aarch64-opc.c:4533 msgid "writing to a read-only register" msgstr "" -#: aarch64-opc.c:6166 +#: aarch64-opc.c:5140 msgid "the three register operands must be distinct from one another" msgstr "" -#: aarch64-opc.c:6277 +#: aarch64-opc.c:5251 msgid "destination register differs from preceding instruction" msgstr "" -#: aarch64-opc.c:6280 +#: aarch64-opc.c:5254 msgid "source register differs from preceding instruction" msgstr "" -#: aarch64-opc.c:6283 +#: aarch64-opc.c:5257 msgid "size register differs from preceding instruction" msgstr "" -#: aarch64-opc.c:6331 +#: aarch64-opc.c:5305 msgid "instruction opens new dependency sequence without ending previous one" msgstr "" -#: aarch64-opc.c:6360 +#: aarch64-opc.c:5334 msgid "previous `movprfx' sequence not closed" msgstr "" -#: aarch64-opc.c:6379 +#: aarch64-opc.c:5353 msgid "SVE instruction expected after `movprfx'" msgstr "" -#: aarch64-opc.c:6392 +#: aarch64-opc.c:5366 msgid "SVE `movprfx' compatible instruction expected" msgstr "" -#: aarch64-opc.c:6480 +#: aarch64-opc.c:5454 msgid "predicated instruction expected after `movprfx'" msgstr "" -#: aarch64-opc.c:6492 +#: aarch64-opc.c:5466 msgid "merging predicate expected due to preceding `movprfx'" msgstr "" -#: aarch64-opc.c:6504 +#: aarch64-opc.c:5478 msgid "predicate register differs from that in preceding `movprfx'" msgstr "" -#: aarch64-opc.c:6523 +#: aarch64-opc.c:5497 msgid "output register of preceding `movprfx' not used in current instruction" msgstr "" -#: aarch64-opc.c:6536 +#: aarch64-opc.c:5510 msgid "output register of preceding `movprfx' expected as output" msgstr "" -#: aarch64-opc.c:6548 +#: aarch64-opc.c:5522 msgid "output register of preceding `movprfx' used as input" msgstr "" -#: aarch64-opc.c:6564 +#: aarch64-opc.c:5538 msgid "register size not compatible with previous `movprfx'" msgstr "" @@ -465,7 +465,7 @@ msgid "" "with the -M switch (multiple options should be separated by commas):\n" msgstr "" -#: arc-dis.c:1616 mips-dis.c:2910 riscv-dis.c:1357 +#: arc-dis.c:1616 mips-dis.c:2910 riscv-dis.c:1405 #, c-format msgid "" "\n" @@ -724,191 +724,46 @@ msgstr "" msgid "unknown constraint `%c'" msgstr "" -#: bpf-asm.c:97 -msgid "expected 16, 32 or 64 in" -msgstr "" - -#: bpf-asm.c:181 epiphany-asm.c:456 fr30-asm.c:311 frv-asm.c:1264 -#: ip2k-asm.c:512 iq2000-asm.c:460 lm32-asm.c:350 m32c-asm.c:1585 -#: m32r-asm.c:329 mep-asm.c:1286 mt-asm.c:596 or1k-asm.c:576 -#: xstormy16-asm.c:277 -#, c-format -msgid "internal error: unrecognized field %d while parsing" -msgstr "" - -#: bpf-asm.c:233 epiphany-asm.c:508 fr30-asm.c:363 frv-asm.c:1316 -#: ip2k-asm.c:564 iq2000-asm.c:512 lm32-asm.c:402 m32c-asm.c:1637 -#: m32r-asm.c:381 mep-asm.c:1338 mt-asm.c:648 or1k-asm.c:628 -#: xstormy16-asm.c:329 -msgid "missing mnemonic in syntax string" -msgstr "" - -#. We couldn't parse it. -#: bpf-asm.c:368 bpf-asm.c:372 bpf-asm.c:461 bpf-asm.c:568 epiphany-asm.c:643 -#: epiphany-asm.c:647 epiphany-asm.c:736 epiphany-asm.c:843 fr30-asm.c:498 -#: fr30-asm.c:502 fr30-asm.c:591 fr30-asm.c:698 frv-asm.c:1451 frv-asm.c:1455 -#: frv-asm.c:1544 frv-asm.c:1651 ip2k-asm.c:699 ip2k-asm.c:703 ip2k-asm.c:792 -#: ip2k-asm.c:899 iq2000-asm.c:647 iq2000-asm.c:651 iq2000-asm.c:740 -#: iq2000-asm.c:847 lm32-asm.c:537 lm32-asm.c:541 lm32-asm.c:630 -#: lm32-asm.c:737 m32c-asm.c:1772 m32c-asm.c:1776 m32c-asm.c:1865 -#: m32c-asm.c:1972 m32r-asm.c:516 m32r-asm.c:520 m32r-asm.c:609 m32r-asm.c:716 -#: mep-asm.c:1473 mep-asm.c:1477 mep-asm.c:1566 mep-asm.c:1673 mt-asm.c:783 -#: mt-asm.c:787 mt-asm.c:876 mt-asm.c:983 or1k-asm.c:763 or1k-asm.c:767 -#: or1k-asm.c:856 or1k-asm.c:963 xstormy16-asm.c:464 xstormy16-asm.c:468 -#: xstormy16-asm.c:557 xstormy16-asm.c:664 -msgid "unrecognized instruction" -msgstr "" - -#: bpf-asm.c:415 epiphany-asm.c:690 fr30-asm.c:545 frv-asm.c:1498 -#: ip2k-asm.c:746 iq2000-asm.c:694 lm32-asm.c:584 m32c-asm.c:1819 -#: m32r-asm.c:563 mep-asm.c:1520 mt-asm.c:830 or1k-asm.c:810 -#: xstormy16-asm.c:511 -#, c-format -msgid "syntax error (expected char `%c', found `%c')" -msgstr "" - -#: bpf-asm.c:425 epiphany-asm.c:700 fr30-asm.c:555 frv-asm.c:1508 -#: ip2k-asm.c:756 iq2000-asm.c:704 lm32-asm.c:594 m32c-asm.c:1829 -#: m32r-asm.c:573 mep-asm.c:1530 mt-asm.c:840 or1k-asm.c:820 -#: xstormy16-asm.c:521 -#, c-format -msgid "syntax error (expected char `%c', found end of instruction)" -msgstr "" - -#: bpf-asm.c:455 epiphany-asm.c:730 fr30-asm.c:585 frv-asm.c:1538 -#: ip2k-asm.c:786 iq2000-asm.c:734 lm32-asm.c:624 m32c-asm.c:1859 -#: m32r-asm.c:603 mep-asm.c:1560 mt-asm.c:870 or1k-asm.c:850 -#: xstormy16-asm.c:551 -msgid "junk at end of line" -msgstr "" - -#: bpf-asm.c:567 epiphany-asm.c:842 fr30-asm.c:697 frv-asm.c:1650 -#: ip2k-asm.c:898 iq2000-asm.c:846 lm32-asm.c:736 m32c-asm.c:1971 -#: m32r-asm.c:715 mep-asm.c:1672 mt-asm.c:982 or1k-asm.c:962 -#: xstormy16-asm.c:663 -msgid "unrecognized form of instruction" -msgstr "" - -#: bpf-asm.c:581 epiphany-asm.c:856 fr30-asm.c:711 frv-asm.c:1664 -#: ip2k-asm.c:912 iq2000-asm.c:860 lm32-asm.c:750 m32c-asm.c:1985 -#: m32r-asm.c:729 mep-asm.c:1686 mt-asm.c:996 or1k-asm.c:976 -#: xstormy16-asm.c:677 -#, c-format -msgid "bad instruction `%.50s...'" -msgstr "" - -#: bpf-asm.c:584 epiphany-asm.c:859 fr30-asm.c:714 frv-asm.c:1667 -#: ip2k-asm.c:915 iq2000-asm.c:863 lm32-asm.c:753 m32c-asm.c:1988 -#: m32r-asm.c:732 mep-asm.c:1689 mt-asm.c:999 or1k-asm.c:979 -#: xstormy16-asm.c:680 -#, c-format -msgid "bad instruction `%.50s'" -msgstr "" - -#: bpf-desc.c:1768 +#: bpf-dis.c:55 #, c-format msgid "" -"internal error: bpf_cgen_rebuild_tables: conflicting insn-chunk-bitsize " -"values: `%d' vs. `%d'" -msgstr "" - -#: bpf-desc.c:1856 -#, c-format -msgid "internal error: bpf_cgen_cpu_open: unsupported argument `%d'" +"\n" +"The following BPF specific disassembler options are supported for use\n" +"with the -M switch (multiple options should be separated by commas):\n" msgstr "" -#: bpf-desc.c:1875 +#: bpf-dis.c:59 #, c-format -msgid "internal error: bpf_cgen_cpu_open: no endianness specified" -msgstr "" - -#. Default text to print if an instruction isn't recognized. -#: bpf-dis.c:41 epiphany-dis.c:41 fr30-dis.c:41 frv-dis.c:41 ip2k-dis.c:41 -#: iq2000-dis.c:41 lm32-dis.c:41 m32c-dis.c:41 m32r-dis.c:41 mep-dis.c:41 -#: mmix-dis.c:293 mt-dis.c:41 nds32-dis.c:64 or1k-dis.c:41 xstormy16-dis.c:41 -msgid "*unknown*" +msgid "" +" pseudoc Use pseudo-c syntax.\n" +" v1,v2,v3,v4,xbpf Version of the BPF ISA to use.\n" +" hex,oct,dec Output numerical base for immediates.\n" msgstr "" -#: bpf-dis.c:203 epiphany-dis.c:279 fr30-dis.c:300 frv-dis.c:397 -#: ip2k-dis.c:289 iq2000-dis.c:190 lm32-dis.c:148 m32c-dis.c:892 -#: m32r-dis.c:280 mep-dis.c:1202 mt-dis.c:288 or1k-dis.c:175 -#: xstormy16-dis.c:169 +#. The option without '=' should be defined above. +#: bpf-dis.c:90 riscv-dis.c:120 riscv-dis.c:157 #, c-format -msgid "internal error: unrecognized field %d while printing insn" +msgid "unrecognized disassembler option: %s" msgstr "" -#: bpf-ibld.c:166 epiphany-ibld.c:166 fr30-ibld.c:166 frv-ibld.c:166 -#: ip2k-ibld.c:166 iq2000-ibld.c:166 lm32-ibld.c:166 m32c-ibld.c:166 -#: m32r-ibld.c:166 mep-ibld.c:166 mt-ibld.c:166 or1k-ibld.c:166 -#: xstormy16-ibld.c:166 +#: bpf-dis.c:166 #, c-format -msgid "operand out of range (%ld not between %ld and %lu)" +msgid "unknown BPF CPU version %u\n" msgstr "" -#: bpf-ibld.c:187 epiphany-ibld.c:187 fr30-ibld.c:187 frv-ibld.c:187 -#: ip2k-ibld.c:187 iq2000-ibld.c:187 lm32-ibld.c:187 m32c-ibld.c:187 -#: m32r-ibld.c:187 mep-ibld.c:187 mt-ibld.c:187 or1k-ibld.c:187 -#: xstormy16-ibld.c:187 +#: bpf-dis.c:296 #, c-format -msgid "operand out of range (0x%lx not between 0 and 0x%lx)" +msgid "# internal error, unknown tag in opcode template (%s)" msgstr "" -#: bpf-ibld.c:203 cgen-asm.c:351 epiphany-ibld.c:203 fr30-ibld.c:203 -#: frv-ibld.c:203 ip2k-ibld.c:203 iq2000-ibld.c:203 lm32-ibld.c:203 -#: m32c-ibld.c:203 m32r-ibld.c:203 mep-ibld.c:203 mt-ibld.c:203 -#: or1k-ibld.c:203 xstormy16-ibld.c:203 +#: cgen-asm.c:351 epiphany-ibld.c:203 fr30-ibld.c:203 frv-ibld.c:203 +#: ip2k-ibld.c:203 iq2000-ibld.c:203 lm32-ibld.c:203 m32c-ibld.c:203 +#: m32r-ibld.c:203 mep-ibld.c:203 mt-ibld.c:203 or1k-ibld.c:203 +#: xstormy16-ibld.c:203 #, c-format msgid "operand out of range (%ld not between %ld and %ld)" msgstr "" -#: bpf-ibld.c:630 epiphany-ibld.c:885 fr30-ibld.c:740 frv-ibld.c:866 -#: ip2k-ibld.c:617 iq2000-ibld.c:723 lm32-ibld.c:644 m32c-ibld.c:1741 -#: m32r-ibld.c:675 mep-ibld.c:1218 mt-ibld.c:759 or1k-ibld.c:738 -#: xstormy16-ibld.c:688 -#, c-format -msgid "internal error: unrecognized field %d while building insn" -msgstr "" - -#: bpf-ibld.c:714 epiphany-ibld.c:1180 fr30-ibld.c:946 frv-ibld.c:1184 -#: ip2k-ibld.c:693 iq2000-ibld.c:899 lm32-ibld.c:749 m32c-ibld.c:2903 -#: m32r-ibld.c:813 mep-ibld.c:1818 mt-ibld.c:980 or1k-ibld.c:897 -#: xstormy16-ibld.c:835 -#, c-format -msgid "internal error: unrecognized field %d while decoding insn" -msgstr "" - -#: bpf-ibld.c:783 epiphany-ibld.c:1324 fr30-ibld.c:1093 frv-ibld.c:1463 -#: ip2k-ibld.c:768 iq2000-ibld.c:1031 lm32-ibld.c:839 m32c-ibld.c:3521 -#: m32r-ibld.c:927 mep-ibld.c:2289 mt-ibld.c:1181 or1k-ibld.c:993 -#: xstormy16-ibld.c:946 -#, c-format -msgid "internal error: unrecognized field %d while getting int operand" -msgstr "" - -#: bpf-ibld.c:834 epiphany-ibld.c:1450 fr30-ibld.c:1222 frv-ibld.c:1724 -#: ip2k-ibld.c:825 iq2000-ibld.c:1145 lm32-ibld.c:911 m32c-ibld.c:4121 -#: m32r-ibld.c:1023 mep-ibld.c:2742 mt-ibld.c:1364 or1k-ibld.c:1071 -#: xstormy16-ibld.c:1039 -#, c-format -msgid "internal error: unrecognized field %d while getting vma operand" -msgstr "" - -#: bpf-ibld.c:892 epiphany-ibld.c:1583 fr30-ibld.c:1354 frv-ibld.c:1992 -#: ip2k-ibld.c:885 iq2000-ibld.c:1266 lm32-ibld.c:990 m32c-ibld.c:4709 -#: m32r-ibld.c:1125 mep-ibld.c:3156 mt-ibld.c:1554 or1k-ibld.c:1156 -#: xstormy16-ibld.c:1139 -#, c-format -msgid "internal error: unrecognized field %d while setting int operand" -msgstr "" - -#: bpf-ibld.c:940 epiphany-ibld.c:1706 fr30-ibld.c:1476 frv-ibld.c:2250 -#: ip2k-ibld.c:935 iq2000-ibld.c:1377 lm32-ibld.c:1059 m32c-ibld.c:5287 -#: m32r-ibld.c:1217 mep-ibld.c:3560 mt-ibld.c:1734 or1k-ibld.c:1231 -#: xstormy16-ibld.c:1229 -#, c-format -msgid "internal error: unrecognized field %d while setting vma operand" -msgstr "" - #: cgen-asm.c:373 #, c-format msgid "operand out of range (%lu not between %lu and %lu)" @@ -952,12 +807,12 @@ msgstr "" msgid "Address 0x%<PRIx64> is out of bounds.\n" msgstr "" -#: disassemble.c:887 +#: disassemble.c:862 #, c-format msgid "assertion fail %s:%d" msgstr "" -#: disassemble.c:888 +#: disassemble.c:863 msgid "Please report this bug" msgstr "" @@ -996,6 +851,75 @@ msgstr "" msgid "Not a pc-relative address." msgstr "" +#: epiphany-asm.c:456 fr30-asm.c:311 frv-asm.c:1264 ip2k-asm.c:512 +#: iq2000-asm.c:460 lm32-asm.c:350 m32c-asm.c:1585 m32r-asm.c:329 +#: mep-asm.c:1286 mt-asm.c:596 or1k-asm.c:576 xstormy16-asm.c:277 +#, c-format +msgid "internal error: unrecognized field %d while parsing" +msgstr "" + +#: epiphany-asm.c:508 fr30-asm.c:363 frv-asm.c:1316 ip2k-asm.c:564 +#: iq2000-asm.c:512 lm32-asm.c:402 m32c-asm.c:1637 m32r-asm.c:381 +#: mep-asm.c:1338 mt-asm.c:648 or1k-asm.c:628 xstormy16-asm.c:329 +msgid "missing mnemonic in syntax string" +msgstr "" + +#. We couldn't parse it. +#: epiphany-asm.c:643 epiphany-asm.c:647 epiphany-asm.c:736 epiphany-asm.c:843 +#: fr30-asm.c:498 fr30-asm.c:502 fr30-asm.c:591 fr30-asm.c:698 frv-asm.c:1451 +#: frv-asm.c:1455 frv-asm.c:1544 frv-asm.c:1651 ip2k-asm.c:699 ip2k-asm.c:703 +#: ip2k-asm.c:792 ip2k-asm.c:899 iq2000-asm.c:647 iq2000-asm.c:651 +#: iq2000-asm.c:740 iq2000-asm.c:847 lm32-asm.c:537 lm32-asm.c:541 +#: lm32-asm.c:630 lm32-asm.c:737 m32c-asm.c:1772 m32c-asm.c:1776 +#: m32c-asm.c:1865 m32c-asm.c:1972 m32r-asm.c:516 m32r-asm.c:520 +#: m32r-asm.c:609 m32r-asm.c:716 mep-asm.c:1473 mep-asm.c:1477 mep-asm.c:1566 +#: mep-asm.c:1673 mt-asm.c:783 mt-asm.c:787 mt-asm.c:876 mt-asm.c:983 +#: or1k-asm.c:763 or1k-asm.c:767 or1k-asm.c:856 or1k-asm.c:963 +#: xstormy16-asm.c:464 xstormy16-asm.c:468 xstormy16-asm.c:557 +#: xstormy16-asm.c:664 +msgid "unrecognized instruction" +msgstr "" + +#: epiphany-asm.c:690 fr30-asm.c:545 frv-asm.c:1498 ip2k-asm.c:746 +#: iq2000-asm.c:694 lm32-asm.c:584 m32c-asm.c:1819 m32r-asm.c:563 +#: mep-asm.c:1520 mt-asm.c:830 or1k-asm.c:810 xstormy16-asm.c:511 +#, c-format +msgid "syntax error (expected char `%c', found `%c')" +msgstr "" + +#: epiphany-asm.c:700 fr30-asm.c:555 frv-asm.c:1508 ip2k-asm.c:756 +#: iq2000-asm.c:704 lm32-asm.c:594 m32c-asm.c:1829 m32r-asm.c:573 +#: mep-asm.c:1530 mt-asm.c:840 or1k-asm.c:820 xstormy16-asm.c:521 +#, c-format +msgid "syntax error (expected char `%c', found end of instruction)" +msgstr "" + +#: epiphany-asm.c:730 fr30-asm.c:585 frv-asm.c:1538 ip2k-asm.c:786 +#: iq2000-asm.c:734 lm32-asm.c:624 m32c-asm.c:1859 m32r-asm.c:603 +#: mep-asm.c:1560 mt-asm.c:870 or1k-asm.c:850 xstormy16-asm.c:551 +msgid "junk at end of line" +msgstr "" + +#: epiphany-asm.c:842 fr30-asm.c:697 frv-asm.c:1650 ip2k-asm.c:898 +#: iq2000-asm.c:846 lm32-asm.c:736 m32c-asm.c:1971 m32r-asm.c:715 +#: mep-asm.c:1672 mt-asm.c:982 or1k-asm.c:962 xstormy16-asm.c:663 +msgid "unrecognized form of instruction" +msgstr "" + +#: epiphany-asm.c:856 fr30-asm.c:711 frv-asm.c:1664 ip2k-asm.c:912 +#: iq2000-asm.c:860 lm32-asm.c:750 m32c-asm.c:1985 m32r-asm.c:729 +#: mep-asm.c:1686 mt-asm.c:996 or1k-asm.c:976 xstormy16-asm.c:677 +#, c-format +msgid "bad instruction `%.50s...'" +msgstr "" + +#: epiphany-asm.c:859 fr30-asm.c:714 frv-asm.c:1667 ip2k-asm.c:915 +#: iq2000-asm.c:863 lm32-asm.c:753 m32c-asm.c:1988 m32r-asm.c:732 +#: mep-asm.c:1689 mt-asm.c:999 or1k-asm.c:979 xstormy16-asm.c:680 +#, c-format +msgid "bad instruction `%.50s'" +msgstr "" + #: epiphany-desc.c:2110 #, c-format msgid "" @@ -1013,6 +937,76 @@ msgstr "" msgid "internal error: epiphany_cgen_cpu_open: no endianness specified" msgstr "" +#. Default text to print if an instruction isn't recognized. +#: epiphany-dis.c:41 fr30-dis.c:41 frv-dis.c:41 ip2k-dis.c:41 iq2000-dis.c:41 +#: lm32-dis.c:41 m32c-dis.c:41 m32r-dis.c:41 mep-dis.c:41 mmix-dis.c:293 +#: mt-dis.c:41 nds32-dis.c:64 or1k-dis.c:41 xstormy16-dis.c:41 +msgid "*unknown*" +msgstr "" + +#: epiphany-dis.c:279 fr30-dis.c:300 frv-dis.c:397 ip2k-dis.c:289 +#: iq2000-dis.c:190 lm32-dis.c:148 m32c-dis.c:892 m32r-dis.c:280 +#: mep-dis.c:1202 mt-dis.c:288 or1k-dis.c:175 xstormy16-dis.c:169 +#, c-format +msgid "internal error: unrecognized field %d while printing insn" +msgstr "" + +#: epiphany-ibld.c:166 fr30-ibld.c:166 frv-ibld.c:166 ip2k-ibld.c:166 +#: iq2000-ibld.c:166 lm32-ibld.c:166 m32c-ibld.c:166 m32r-ibld.c:166 +#: mep-ibld.c:166 mt-ibld.c:166 or1k-ibld.c:166 xstormy16-ibld.c:166 +#, c-format +msgid "operand out of range (%ld not between %ld and %lu)" +msgstr "" + +#: epiphany-ibld.c:187 fr30-ibld.c:187 frv-ibld.c:187 ip2k-ibld.c:187 +#: iq2000-ibld.c:187 lm32-ibld.c:187 m32c-ibld.c:187 m32r-ibld.c:187 +#: mep-ibld.c:187 mt-ibld.c:187 or1k-ibld.c:187 xstormy16-ibld.c:187 +#, c-format +msgid "operand out of range (0x%lx not between 0 and 0x%lx)" +msgstr "" + +#: epiphany-ibld.c:885 fr30-ibld.c:740 frv-ibld.c:866 ip2k-ibld.c:617 +#: iq2000-ibld.c:723 lm32-ibld.c:644 m32c-ibld.c:1741 m32r-ibld.c:675 +#: mep-ibld.c:1218 mt-ibld.c:759 or1k-ibld.c:738 xstormy16-ibld.c:688 +#, c-format +msgid "internal error: unrecognized field %d while building insn" +msgstr "" + +#: epiphany-ibld.c:1180 fr30-ibld.c:946 frv-ibld.c:1184 ip2k-ibld.c:693 +#: iq2000-ibld.c:899 lm32-ibld.c:749 m32c-ibld.c:2903 m32r-ibld.c:813 +#: mep-ibld.c:1818 mt-ibld.c:980 or1k-ibld.c:897 xstormy16-ibld.c:835 +#, c-format +msgid "internal error: unrecognized field %d while decoding insn" +msgstr "" + +#: epiphany-ibld.c:1324 fr30-ibld.c:1093 frv-ibld.c:1463 ip2k-ibld.c:768 +#: iq2000-ibld.c:1031 lm32-ibld.c:839 m32c-ibld.c:3521 m32r-ibld.c:927 +#: mep-ibld.c:2289 mt-ibld.c:1181 or1k-ibld.c:993 xstormy16-ibld.c:946 +#, c-format +msgid "internal error: unrecognized field %d while getting int operand" +msgstr "" + +#: epiphany-ibld.c:1450 fr30-ibld.c:1222 frv-ibld.c:1724 ip2k-ibld.c:825 +#: iq2000-ibld.c:1145 lm32-ibld.c:911 m32c-ibld.c:4121 m32r-ibld.c:1023 +#: mep-ibld.c:2742 mt-ibld.c:1364 or1k-ibld.c:1071 xstormy16-ibld.c:1039 +#, c-format +msgid "internal error: unrecognized field %d while getting vma operand" +msgstr "" + +#: epiphany-ibld.c:1583 fr30-ibld.c:1354 frv-ibld.c:1992 ip2k-ibld.c:885 +#: iq2000-ibld.c:1266 lm32-ibld.c:990 m32c-ibld.c:4709 m32r-ibld.c:1125 +#: mep-ibld.c:3156 mt-ibld.c:1554 or1k-ibld.c:1156 xstormy16-ibld.c:1139 +#, c-format +msgid "internal error: unrecognized field %d while setting int operand" +msgstr "" + +#: epiphany-ibld.c:1706 fr30-ibld.c:1476 frv-ibld.c:2250 ip2k-ibld.c:935 +#: iq2000-ibld.c:1377 lm32-ibld.c:1059 m32c-ibld.c:5287 m32r-ibld.c:1217 +#: mep-ibld.c:3560 mt-ibld.c:1734 or1k-ibld.c:1231 xstormy16-ibld.c:1229 +#, c-format +msgid "internal error: unrecognized field %d while setting vma operand" +msgstr "" + #: fr30-asm.c:93 m32c-asm.c:872 m32c-asm.c:879 msgid "Register number is not valid" msgstr "" @@ -1104,11 +1098,11 @@ msgstr "" msgid "Don't understand 0x%x \n" msgstr "" -#: i386-dis.c:8819 +#: i386-dis.c:8337 msgid "<internal disassembler error>" msgstr "" -#: i386-dis.c:9047 +#: i386-dis.c:8565 #, c-format msgid "" "\n" @@ -1117,86 +1111,86 @@ msgid "" "with the -M switch (multiple options should be separated by commas):\n" msgstr "" -#: i386-dis.c:9051 +#: i386-dis.c:8569 #, c-format msgid " x86-64 Disassemble in 64bit mode\n" msgstr "" -#: i386-dis.c:9052 +#: i386-dis.c:8570 #, c-format msgid " i386 Disassemble in 32bit mode\n" msgstr "" -#: i386-dis.c:9053 +#: i386-dis.c:8571 #, c-format msgid " i8086 Disassemble in 16bit mode\n" msgstr "" -#: i386-dis.c:9054 +#: i386-dis.c:8572 #, c-format msgid " att Display instruction in AT&T syntax\n" msgstr "" -#: i386-dis.c:9055 +#: i386-dis.c:8573 #, c-format msgid " intel Display instruction in Intel syntax\n" msgstr "" -#: i386-dis.c:9056 +#: i386-dis.c:8574 #, c-format msgid "" " att-mnemonic\n" " Display instruction in AT&T mnemonic\n" msgstr "" -#: i386-dis.c:9058 +#: i386-dis.c:8576 #, c-format msgid "" " intel-mnemonic\n" " Display instruction in Intel mnemonic\n" msgstr "" -#: i386-dis.c:9060 +#: i386-dis.c:8578 #, c-format msgid " addr64 Assume 64bit address size\n" msgstr "" -#: i386-dis.c:9061 +#: i386-dis.c:8579 #, c-format msgid " addr32 Assume 32bit address size\n" msgstr "" -#: i386-dis.c:9062 +#: i386-dis.c:8580 #, c-format msgid " addr16 Assume 16bit address size\n" msgstr "" -#: i386-dis.c:9063 +#: i386-dis.c:8581 #, c-format msgid " data32 Assume 32bit data size\n" msgstr "" -#: i386-dis.c:9064 +#: i386-dis.c:8582 #, c-format msgid " data16 Assume 16bit data size\n" msgstr "" -#: i386-dis.c:9065 +#: i386-dis.c:8583 #, c-format msgid " suffix Always display instruction suffix in AT&T syntax\n" msgstr "" -#: i386-dis.c:9066 +#: i386-dis.c:8584 #, c-format msgid " amd64 Display instruction in AMD64 ISA\n" msgstr "" -#: i386-dis.c:9067 +#: i386-dis.c:8585 #, c-format msgid " intel64 Display instruction in Intel64 ISA\n" msgstr "" -#: i386-dis.c:9760 +#: i386-dis.c:9288 msgid "64-bit address is disabled" msgstr "" @@ -1298,6 +1292,37 @@ msgstr "" msgid "internal error: iq2000_cgen_cpu_open: no endianness specified" msgstr "" +#: kvx-dis.c:1571 +#, c-format +msgid "" +"\n" +"The following KVX specific disassembler options are supported for use\n" +"with the -M switch (multiple options should be separated by commas):\n" +msgstr "" + +#: kvx-dis.c:1575 +#, c-format +msgid "" +"\n" +" pretty Print 32-bit words in natural order corresponding to " +"re-ordered instruction.\n" +msgstr "" + +#: kvx-dis.c:1579 +#, c-format +msgid "" +"\n" +" compact-assembly Do not emit a new line between bundles of " +"instructions.\n" +msgstr "" + +#: kvx-dis.c:1583 +#, c-format +msgid "" +"\n" +" no-compact-assembly Emit a new line between bundles of instructions.\n" +msgstr "" + #: lm32-asm.c:166 msgid "expecting gp relative address: gp(symbol)" msgstr "" @@ -1975,12 +2000,6 @@ msgstr "" msgid "invalid TH value" msgstr "" -#. The option without '=' should be defined above. -#: riscv-dis.c:120 riscv-dis.c:157 -#, c-format -msgid "unrecognized disassembler option: %s" -msgstr "" - #. Invalid options with '=', no option name before '=', #. and no value after '='. #: riscv-dis.c:128 @@ -1999,24 +2018,24 @@ msgid "" "mis-matched privilege spec set by %s=%s, the elf privilege attribute is %s" msgstr "" -#: riscv-dis.c:670 +#: riscv-dis.c:704 #, c-format msgid "# internal error, undefined modifier (%c)" msgstr "" -#: riscv-dis.c:1238 +#: riscv-dis.c:1286 msgid "Print numeric register names, rather than ABI names." msgstr "" -#: riscv-dis.c:1241 +#: riscv-dis.c:1289 msgid "Disassemble only into canonical instructions." msgstr "" -#: riscv-dis.c:1244 +#: riscv-dis.c:1292 msgid "Print the CSR according to the chosen privilege spec." msgstr "" -#: riscv-dis.c:1320 +#: riscv-dis.c:1368 #, c-format msgid "" "\n" diff --git a/src-release.sh b/src-release.sh index 465aee4..bc947eb 100755 --- a/src-release.sh +++ b/src-release.sh @@ -304,7 +304,7 @@ gdb_tar_compress() } # The FSF "binutils" release includes gprof and ld. -BINUTILS_SUPPORT_DIRS="libsframe bfd gas include libiberty libctf opcodes ld elfcpp gold gprof gprofng intl setup.com makefile.vms cpu zlib" +BINUTILS_SUPPORT_DIRS="libsframe bfd gas include libiberty libctf opcodes ld elfcpp gold gprof gprofng setup.com makefile.vms cpu zlib" binutils_release() { compressors=$1 @@ -313,7 +313,7 @@ binutils_release() tar_compress $package $tool "$BINUTILS_SUPPORT_DIRS" "$compressors" } -GAS_SUPPORT_DIRS="bfd include libiberty opcodes intl setup.com makefile.vms zlib" +GAS_SUPPORT_DIRS="bfd include libiberty opcodes setup.com makefile.vms zlib" gas_release() { compressors=$1 @@ -322,7 +322,7 @@ gas_release() tar_compress $package $tool "$GAS_SUPPORT_DIRS" "$compressors" } -GDB_SUPPORT_DIRS="libsframe bfd include libiberty libctf opcodes readline sim intl libdecnumber cpu zlib contrib gnulib gdbsupport gdbserver libbacktrace" +GDB_SUPPORT_DIRS="libsframe bfd include libiberty libctf opcodes readline sim libdecnumber cpu zlib contrib gnulib gdbsupport gdbserver libbacktrace" gdb_release() { compressors=$1 @@ -332,7 +332,7 @@ gdb_release() } # Corresponding to the CVS "sim" module. -SIM_SUPPORT_DIRS="libsframe bfd opcodes libiberty libctf/swap.h include intl gdb/version.in gdb/common/create-version.sh makefile.vms zlib gnulib" +SIM_SUPPORT_DIRS="libsframe bfd opcodes libiberty libctf/swap.h include gdb/version.in gdb/common/create-version.sh makefile.vms zlib gnulib" sim_release() { compressors=$1 |