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 /bfd | |
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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 9 | ||||
-rw-r--r-- | bfd/Makefile.in | 11 | ||||
-rw-r--r-- | bfd/aclocal.m4 | 6 | ||||
-rw-r--r-- | bfd/config.in | 18 | ||||
-rwxr-xr-x | bfd/configure | 2109 | ||||
-rw-r--r-- | bfd/configure.ac | 2 | ||||
-rw-r--r-- | bfd/po/bfd.pot | 470 |
7 files changed, 2375 insertions, 250 deletions
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 "" |