diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2020-07-30 17:43:12 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2020-08-27 13:14:10 +0100 |
commit | 987cf30ad80c7c13f713aa8e4ca3e1dbf08e9d63 (patch) | |
tree | ccae55789b8106b42c0dd97d9635e1caa8f5709c /libctf/configure | |
parent | 514b4e191d5f46de8e142fe216e677a35fa9c4bb (diff) | |
download | gdb-987cf30ad80c7c13f713aa8e4ca3e1dbf08e9d63.zip gdb-987cf30ad80c7c13f713aa8e4ca3e1dbf08e9d63.tar.gz gdb-987cf30ad80c7c13f713aa8e4ca3e1dbf08e9d63.tar.bz2 |
libctf, binutils: initial work towards libctf gettextization
We gettextize under our package name, which we change to a more
reasonable 'libctf'. Our internationalization support is mostly
provided by ctf-intl.h, which is a copy of opcodes/opintl.h with
the non-gettext_noop N_() expansion debracketed to avoid pedantic
compiler warnings.
The libctf error strings returned by ctf_errmsg are marked up for
internationalization.
(We also adjust binutils's Makefile a tiny bit to allow for the
fact that libctf now uses functions from libintl.)
binutils/ChangeLog
2020-08-27 Nick Alcock <nick.alcock@oracle.com>
* Makefile.am (readelf_LDADD): Move $(LIBINTL) after $(LIBCTF_NOBFD).
* Makefile.in: Regenerated.
libctf/ChangeLog
2020-08-27 Nick Alcock <nick.alcock@oracle.com>
* configure.ac: Adjust package name to simply 'libctf': arbitrarily
declare this to be version 1.2.0.
* Makefile.am (AM_CPPFLAGS): Add @INCINTL@.
* Makefile.in: Regenerated.
* configure: Regenerated.
* ctf-intl.h: New file, lightly modified from opcodes/opintl.h.
* ctf-impl.h: Include it.
* ctf-error.r (_ctf_errlist_t): Mark strings as noop-translatable.
(ctf_errmsg): Actually translate them.
Diffstat (limited to 'libctf/configure')
-rwxr-xr-x | libctf/configure | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/libctf/configure b/libctf/configure index a1f5b7f..b7ca7cd 100755 --- a/libctf/configure +++ b/libctf/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libctf library 1.2.0-pre. +# Generated by GNU Autoconf 2.69 for libctf 1.2.0. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -585,10 +585,10 @@ MFLAGS= MAKEFLAGS= # Identity of this package. -PACKAGE_NAME='libctf library' -PACKAGE_TARNAME='libctf-library' -PACKAGE_VERSION='1.2.0-pre' -PACKAGE_STRING='libctf library 1.2.0-pre' +PACKAGE_NAME='libctf' +PACKAGE_TARNAME='libctf' +PACKAGE_VERSION='1.2.0' +PACKAGE_STRING='libctf 1.2.0' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1349,7 +1349,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libctf library 1.2.0-pre to adapt to many kinds of systems. +\`configure' configures libctf 1.2.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1397,7 +1397,7 @@ Fine tuning of the installation directories: --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/libctf-library] + --docdir=DIR documentation root [DATAROOTDIR/doc/libctf] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] @@ -1419,7 +1419,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libctf library 1.2.0-pre:";; + short | recursive ) echo "Configuration of libctf 1.2.0:";; esac cat <<\_ACEOF @@ -1532,7 +1532,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libctf library configure 1.2.0-pre +libctf configure 1.2.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1943,7 +1943,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libctf library $as_me 1.2.0-pre, which was +It was created by libctf $as_me 1.2.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -4185,8 +4185,8 @@ fi # Define the identity of the package. - PACKAGE='libctf-library' - VERSION='1.2.0-pre' + PACKAGE='libctf' + VERSION='1.2.0' cat >>confdefs.h <<_ACEOF @@ -13944,7 +13944,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libctf library $as_me 1.2.0-pre, which was +This file was extended by libctf $as_me 1.2.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14010,7 +14010,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libctf library config.status 1.2.0-pre +libctf config.status 1.2.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" |