Commit Graph

1471 Commits

Author SHA1 Message Date
Bruno Haible 28fb06a64d intl: Don't export the glwthread* symbols from libintl on native Windows.
* gettext-runtime/intl/Makefile.am (OTHER_LDFLAGS): Add an -export-symbols-regex
option.
2019-07-07 10:19:25 +02:00
Bruno Haible 7cb3e79471 build: Fix build error with MSVC.
* gettext-runtime/intl/Makefile.am (INTL_WINDOWS_LIBS): New variable.
(OTHER_LDFLAGS): Add it.
2019-07-04 16:27:41 +02:00
Bruno Haible 76d4702f1e build: Fix build error with MSVC.
* gettext-runtime/intl/export.h (LIBINTL_DLL_EXPORTED): Define differently for
MSVC.
2019-07-04 16:27:37 +02:00
Bruno Haible fcb56438aa Update after gnulib changed.
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC_COMMON_DEPENDENCIES): Add
windows-mutex, windows-once, windows-recmutex.
* gettext-runtime/m4/flexmember.m4: Update from gnulib.
* gettext-runtime/intl/flexmember.h: Likewise.
* gettext-runtime/intl/localcharset.c: Likewise.
* gettext-runtime/intl/windows-mutex.h: New file, from gnulib.
* gettext-runtime/intl/windows-mutex.c: New file, from gnulib.
* gettext-runtime/intl/windows-once.h: New file, from gnulib.
* gettext-runtime/intl/windows-once.c: New file, from gnulib.
* gettext-runtime/intl/windows-recmutex.h: New file, from gnulib.
* gettext-runtime/intl/windows-recmutex.c: New file, from gnulib.
* gettext-runtime/intl/windows-spinlock.h: New file, from gnulib.
* gettext-runtime/intl/lock.h: Update from gnulib.
* gettext-runtime/intl/lock.c: Likewise.
* gettext-runtime/intl/Makefile.am (EXTRA_DIST): Add windows-*.h.
(LIBINTLSOURCES): Conditionally add windows-*.c.
(windows-mutex.lo, windows-recmutex.lo, windows-once.lo): New rules.
(*.lo): Update dependencies.
* gettext-runtime/configure.ac: New condition WINDOWS_NATIVE.
* gettext-tools/configure.ac: Likewise.
* Makefile.am (distcheck-hook): Check that gettext-runtime/intl/windows-*.[hc]
are up-to-date.
2019-07-04 01:53:11 +02:00
Bruno Haible ec0e6b3074 Update after gnulib changed.
* gettext-runtime/intl/setlocale.c (search): Optimize away a redundant strcmp()
invocation.
(locales_with_principal_territory): New array.
(langcmp, get_main_locale_with_same_language): New functions.
(locales_with_principal_language): New array.
(terrcmp, get_main_locale_with_same_territory): New functions.
(rpl_setlocale): When setlocale_single failed, try again with a locale that is
more likely to exist. Don't warn if the environment variable SETLOCALE_VERBOSE
is not set.
2019-05-20 23:28:10 +02:00
Bruno Haible d92828fdcb Update after gnulib changed.
* gettext-runtime/m4/intlmacosx.m4 (gt_INTL_MACOSX): Don't test for
CFLocaleCopyCurrent.
* gettext-runtime/intl/localename.c: Remove includes for
HAVE_CFLOCALECOPYCURRENT.
(gl_locale_name_environ, gl_locale_name_default): Remove code for
HAVE_CFLOCALECOPYCURRENT.
2019-05-20 23:26:58 +02:00
Bruno Haible a336d84c68 intl: Work around setlocale bug on Android 4.3.
* gettext-runtime/intl/setlocale.c (setlocale_unixlike): New wrapper for
Android.
2019-05-20 00:25:51 +02:00
Bruno Haible bf9fd4eb0a build: Avoid the use of mingw winpthreads for multithreading.
* gettext-runtime/configure.ac: Invoke gl_AVOID_WINPTHREAD.
* gettext-tools/configure.ac: Likewise.
2019-05-19 01:09:27 +02:00
Bruno Haible 45500ab176 build: Avoid trouble on mingw caused by mingw's *printf functions.
Reported by Michele Locati <michele@locati.it>
in <https://lists.gnu.org/archive/html/bug-gettext/2019-05/msg00103.html>.

* gettext-runtime/intl/Makefile.am (AM_CPPFLAGS): Define __USE_MINGW_ANSI_STDIO
to 0.
* gettext-runtime/libasprintf/Makefile.am (DEFS): Likewise.
* libtextstyle/lib/Makefile.am (AM_CPPFLAGS): Likewise.
2019-05-18 21:23:38 +02:00
Bruno Haible ca6f6cfbb4 libasprintf: Avoid compilation error on mingw with -D__USE_MINGW_ANSI_STDIO=1.
* gettext-runtime/libasprintf/lib-asprintf.c (asprintf, vasprintf): Don't define
on mingw when __USE_MINGW_ANSI_STDIO is non-zero.
2019-05-18 17:25:10 +02:00
Bruno Haible b4a9670c84 Update translations (from the TP). 2019-05-12 16:59:32 +02:00
Bruno Haible c428bfed5e intl: Fix wrong libtool versioning information.
Reported by Ken Takata <ktakata65536@gmail.com>
in <https://savannah.gnu.org/bugs/?56305>.

* gettext-runtime/intl/Makefile.am (LTV_*): Bump to 9:6:1, not 9:6:2.
* NEWS: Mention the change.
2019-05-12 16:17:48 +02:00
Bruno Haible dc96c48d1a Update bug reporting instructions.
* README: Tell users to report bugs in the bug tracker or by email. Use the
mailing list address, not the alias.
* gettext-runtime/libasprintf/README: Likewise.
* gettext-tools/doc/gettext.texi (Introduction): Likewise.
(Plural forms): Use the mailing list address, not the alias.
* configure.ac (AC_INIT): Use the mailing list address, not the alias.
* gettext-runtime/configure.ac (AC_INIT): Likewise.
* gettext-tools/configure.ac (AC_INIT): Likewise.
* gettext-tools/examples/configure.ac (AC_INIT): Likewise.
* gettext-runtime/po/Makevars (MSGID_BUGS_ADDRESS): Use the mailing list
address, not the alias.
* gettext-tools/po/Makevars (MSGID_BUGS_ADDRESS): Likewise.
* gettext-tools/examples/po/Makefile.am (MSGID_BUGS_ADDRESS): Likewise.
* gettext-tools/examples/hello-*/po/Makevars (MSGID_BUGS_ADDRESS): Likewise.
* gettext-tools/examples/hello-*/po/Makefile.am (MSGID_BUGS_ADDRESS): Likewise.
* gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile (MSGID_BUGS_ADDRESS):
Likewise.
* gettext-tools/examples/hello-c++-kde/hello.cc (main): Likewise.
* gettext-runtime/src/envsubst.c (main): Move URL out of translatable string.
(usage): Tell users to report bugs in the bug tracker or by email. Use the
mailing list address, not the alias.
* gettext-runtime/src/gettext.c: Likewise.
* gettext-runtime/src/ngettext.c: Likewise.
* gettext-tools/src/cldr-plurals.c: Likewise.
* gettext-tools/src/hostname.c: Likewise.
* gettext-tools/src/msgattrib.c: Likewise.
* gettext-tools/src/msgcat.c: Likewise.
* gettext-tools/src/msgcmp.c: Likewise.
* gettext-tools/src/msgcomm.c: Likewise.
* gettext-tools/src/msgconv.c: Likewise.
* gettext-tools/src/msgen.c: Likewise.
* gettext-tools/src/msgexec.c: Likewise.
* gettext-tools/src/msgfilter.c: Likewise.
* gettext-tools/src/msgfmt.c: Likewise.
* gettext-tools/src/msggrep.c: Likewise.
* gettext-tools/src/msginit.c: Likewise.
* gettext-tools/src/msgmerge.c: Likewise.
* gettext-tools/src/msgunfmt.c: Likewise.
* gettext-tools/src/msguniq.c: Likewise.
* gettext-tools/src/recode-sr-latin.c: Likewise.
* gettext-tools/src/urlget.c: Likewise.
* gettext-tools/src/xgettext.c: Likewise.
* gettext-tools/tests/tstgettext.c: Likewise.
* gettext-tools/tests/tstngettext.c: Likewise.
* gettext-tools/misc/autopoint.in (func_usage): Tell users to report bugs in the
bug tracker or by email. Use the mailing list address, not the alias.
* gettext-tools/misc/convert-archive.in (func_usage): Likewise.
* gettext-tools/misc/gettextize.in (func_usage): Likewise.
2019-05-12 00:21:16 +02:00
Bruno Haible a741d28ddc intl: Remove obsolete code.
* gettext-runtime/intl/plural.y: Assume bison >= 2.0.
2019-05-11 00:46:45 +02:00
Bruno Haible b551f77018 Update after gnulib changed.
* autogen.sh: Don't copy intl.m4.
* Makefile.am (distcheck-hook): Don't check glibc2.m4, glibc21.m4, intdiv0.m4,
intl.m4, intmax.m4, printf-posix.m4, uintmax_t.m4, visibility.m4.
* gettext-runtime/intl/verify.h: Update from gnulib.
2019-05-11 00:46:45 +02:00
Bruno Haible 76e9eee804 Update translations (from the TP). 2019-05-08 23:44:15 +02:00
Bruno Haible a33637d832 Prepare for 0.20 release.
* gettext-runtime/doc/matrix.texi: Update from TP.
* gettext-runtime/doc/nls.texi (STATUS): Update.
* libtextstyle/version.sh: Update RELEASE_DATE.
2019-05-08 21:22:22 +02:00
Bruno Haible 859429669a In the POT files, talk about the "GNU gettext package".
Reported by Benno Schulenberg <coordinator@translationproject.org>.

* gettext-runtime/po/Makevars (XGETTEXT_OPTIONS): Add --package-name option.
* gettext-tools/po/Makevars (XGETTEXT_OPTIONS): Likewise.
* gettext-tools/examples/po/Makefile.am (XGETTEXT_OPTIONS): New variable.
2019-04-28 19:44:47 +02:00
Bruno Haible 73958f7575 po: Make it possible to override xgettext options from Makefile.in.in.
* gettext-runtime/po/Makefile.in.in ($(DOMAIN).pot-update): List the
XGETTEXT_OPTIONS and the XGETTEXT_EXTRA_OPTIONS after all other options.
* gettext-tools/examples/po/Makefile.am ($(DOMAIN).pot-update): Likewise.
* gettext-tools/examples/hello-*/po/Makefile.am ($(DOMAIN).pot-update):
Likewise.
* gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile
($(DOMAIN).pot-update): Likewise.
* NEWS: Mention the change.
* gettext-tools/doc/gettext.texi (po/Makevars): Fix typo.
2019-04-28 19:44:42 +02:00
Bruno Haible a6ee4c5024 build: Remove duplicate copy of test-lock.
The master copy lives in gnulib now.

* gettext-runtime/tests/test-lock.c: Remove file.
* gettext-runtime/tests/Makefile.am (TESTS, check_PROGRAMS): Remove test-lock.
(test_lock_SOURCES, test_lock_LDADD): Remove variables.
2019-04-28 10:24:40 +02:00
Bruno Haible fd257ae6f8 Update after gnulib changed. 2019-04-28 10:24:39 +02:00
Bruno Haible 9daba8f33b intl: Use the lookup optimization also on platforms without per-thread locales.
This bug was introduced on 2007-01-27.

* gettext-runtime/intl/dcigettext.c (DCIGETTEXT): Fix #ifdef/#endif chain.
2019-04-27 12:07:09 +02:00
Bruno Haible 21e8930659 intl: Fix a gcc warning.
* gettext-runtime/intl/langprefs.c (_nl_language_preferences_win32_95): Declare
data as BYTE array, not char array.
2019-04-27 00:44:10 +02:00
Bruno Haible 5a652b9e4d build: Fix build failure on mingw with --disable-shared --enable-relocatable.
Reported by Michele Locati <michele@locati.it>
in <https://lists.gnu.org/archive/html/bug-gettext/2019-04/msg00052.html>.

* gettext-runtime/intl/Makefile.am (AM_CPPFLAGS): Map 'relocate2' to a different
symbol.
2019-04-26 20:07:26 +02:00
Bruno Haible d8c64739a2 Update translations (from the TP).
* gettext-runtime/po/*.po: Update.
* gettext-runtime/po/LINGUAS: Add 'ast'.
* gettext-tools/po/*.po: Update.
* gettext-tools/examples/po/*.po: Update.
* gettext-tools/examples/po/LINGUAS: Add 'ta'.
* gettext-tools/examples/hello-*/po/LINGUAS: Likewise.
* gettext-tools/examples/Makefile.am (EXAMPLESPOFILES): Add ta.po.
2019-04-14 04:01:12 +02:00
Bruno Haible 6c8480e384 Prepare for 0.20 release.
* gettext-runtime/intl/libgnuintl.in.h (LIBINTL_VERSION): Update.
* gettext-tools/libgettextpo/gettext-po.in.h (LIBGETTEXTPO_VERSION): Update.
* gettext-runtime/m4/gettext.m4: Bump version number in comment.
* gettext-runtime/m4/intl.m4: Likewise.
* gettext-runtime/m4/intlmacosx.m4: Likewise.
* gettext-runtime/m4/po.m4: Likewise.
(GETTEXT_MACRO_VERSION): Bump to 0.20.
* gettext-runtime/po/Makefile.in.in (GETTEXT_MACRO_VERSION): Likewise.
* gettext-runtime/intl/Makefile.am (LTV_*): Bump to 9:6:2.
* gettext-tools/libgettextpo/Makefile.am (LTV_*): Bump to 5:5:5.
* gettext-tools/configure.ac (ARCHIVE_VERSION): Set to 0.20.
* gettext-tools/misc/autopoint.in: Accept version 0.20.
* gettext-runtime/doc/matrix.texi: Update from TP.
* gettext-runtime/doc/nls.texi (STATUS): Update.
* gettext-runtime/src/envsubst.c (main): Update copyright year in --version
output.
* gettext-runtime/src/gettext.c (main): Likewise.
* gettext-runtime/src/ngettext.c (main): Likewise.
* gettext-tools/src/cldr-plurals.c (main): Likewise.
* gettext-tools/src/hostname.c (main): Likewise.
* gettext-tools/src/msgattrib.c (main): Likewise.
* gettext-tools/src/msgcat.c (main): Likewise.
* gettext-tools/src/msgcmp.c (main): Likewise.
* gettext-tools/src/msgcomm.c (main): Likewise.
* gettext-tools/src/msgconv.c (main): Likewise.
* gettext-tools/src/msgen.c (main): Likewise.
* gettext-tools/src/msgexec.c (main): Likewise.
* gettext-tools/src/msgfilter.c (main): Likewise.
* gettext-tools/src/msgfmt.c (main): Likewise.
* gettext-tools/src/msggrep.c (main): Likewise.
* gettext-tools/src/msginit.c (main): Likewise.
* gettext-tools/src/msgmerge.c (main): Likewise.
* gettext-tools/src/msgunfmt.c (main): Likewise.
* gettext-tools/src/msguniq.c (main): Likewise.
* gettext-tools/src/recode-sr-latin.c (main): Likewise.
* gettext-tools/src/urlget.c (main): Likewise.
* gettext-tools/src/xgettext.c (main): Likewise.
* gettext-runtime/src/gettext.sh.in (func_version): Update copyright year.
* gettext-tools/misc/convert-archive.in (func_version): Likewise.
* gettext-tools/misc/gettextize.in (func_version): Likewise.
* libtextstyle/version.sh: Use version number 0.20 here as well.
* gettext-runtime/NEWS: Mention changes (from main NEWS).
* libtextstyle/NEWS: Mention changes.
2019-04-14 04:01:00 +02:00
Bruno Haible 3dfdf96387 build: Fix Makefile.am formatting.
* gettext-runtime/man/Makefile.am: Start every indented line with a tab.
2019-04-14 04:01:00 +02:00
Bruno Haible a71cad9164 build: Fix build failure when perl exists but not perl's Locale::gettext module.
* gettext-runtime/man/x-to-1.in: Remove file.
* gettext-tools/man/x-to-1.in: Remove file.
* autogen.sh: Copy x-to-1.in from gnulib.
2019-04-13 15:17:14 +02:00
Bruno Haible d84f20745c Make sure that libintl.h declares the *wprintf overrides on Windows.
* gettext-runtime/m4/intl.m4 (AM_INTL_SUBDIR): Test for wprintf, not fwprintf.
2019-04-08 19:45:52 +02:00
Bruno Haible 8cb0846b73 doc: Add copyright notices in several files.
Reported by <ineiev@gnu.org> in <https://savannah.gnu.org/bugs/?54809>.

* gettext-runtime/doc/nls.texi: Add delegating copyright notice.
* gettext-runtime/doc/rt-*.texi: Likewise.
* gettext-tools/doc/autopoint.texi: Likewise.
* gettext-tools/doc/gettextize.texi: Likewise.
* gettext-tools/doc/msg*.texi: Likewise.
* gettext-tools/doc/xgettext.texi: Likewise.
2019-04-07 17:22:42 +02:00
Bruno Haible fecad3a65d build: Unify the three copies of texi2html.
* build-aux/texi2html: Moved to here from libtextstyle/build-aux/texi2html.
* libtextstyle/autogen.sh: Copy texi2html.
* gettext-runtime/libasprintf/texi2html: Remove file.
* gettext-runtime/libasprintf/Makefile.am (TEXI2HTML): Use build-aux/texi2html.
(EXTRA_DIST): Remove texi2html.
* gettext-tools/doc/texi2html: Remove file.
* gettext-tools/doc/Makefile.am (TEXI2HTML): Use build-aux/texi2html.
(EXTRA_DIST): Remove texi2html.
* Makefile.am (EXTRA_DIST): Add build-aux/texi2html.
(distcheck-hook): Update.
2019-04-07 17:22:07 +02:00
Bruno Haible b797700284 libasprintf: Use a version of texi2html which is under a good license.
Reported by <ineiev@gnu.org> in <https://savannah.gnu.org/bugs/?54809>.

* gettext-runtime/libasprintf/texi2html: Copied from texi2html-1.78, with
changes made in libunistring/build-aux/texi2html and then in
libtextstyle/build-aux/texi2html.
* gettext-runtime/libasprintf/fdl.texi: New file, copied from
gettext-tools/doc/fdl.texi.
* gettext-runtime/libasprintf/gpl.texi: New file, copied from
gnulib/doc/gpl-2.0.texi.
* gettext-runtime/libasprintf/lgpl.texi: New file, copied from
gnulib/doc/lgpl-2.1.texi.
* gettext-runtime/libasprintf/autosprintf.texi: Invoke @contents. Enable the
Top node during texi2html processing.
(Licenses): New appendix.
* gettext-runtime/libasprintf/Makefile.am (TEXINCLUDES): New variable.
(MAKEINFOFLAGS): Use it.
(autosprintf_TEXINFOS): New variable.
(autosprintf_all.html): Depend on it. Use texi2html options -no-sec-nav -no-menu
-toc-links.
2019-04-07 15:33:24 +02:00
Bruno Haible 6b40c1fa79 Reduce ABOUT-NLS to just a hyperlink.
The common way to distribute information, nowadays, is through the web,
not by including files in tarballs of packages.  Also, the current
contents of ABOUT-NLS is outdated.

Reported by Samuel Thibault in <https://savannah.gnu.org/bugs/?54809>.

* gettext-runtime/ABOUT-NLS: Replace text with a reference to the online
documentation.
* gettext-runtime/Makefile.am (MAKEINFO): Remove variable.
(all-local, ABOUT-NLS): Remove rules.
* gettext-tools/src/msginit.c (main): Point the user to the online documentation
instead of the ABOUT-NLS file.
* gettext-tools/doc/gettext.texi (Installing Localizations, Prerequisites,
Makefile): Don't mention ABOUT-NLS any more.
* gettext-tools/doc/gettextize.texi: Update description of ABOUT-NLS.
* gettext-tools/doc/FAQ.html: Refer to the online documentation instead of the
ABOUT-NLS file.
* README: Don't mention ABOUT-NLS any more.
2019-04-04 04:20:32 +02:00
Bruno Haible 7cb774f0cc doc: Include the contents of ABOUT-NLS in the documentation.
* gettext-runtime/doc/nls.texi (The original ABOUT-NLS): Renamed from
'Translation Intro'. Turn into a section. Mark section as historical.
* gettext-tools/doc/gettext.texi: Include nls.texi.
* gettext-tools/doc/Makefile.am (gettext_TEXINFOS): Add nls.texi and
matrix.texi.
2019-04-04 01:52:58 +02:00
Bruno Haible fb13026e98 Add copyright notices in several files.
Reported by <ineiev@gnu.org> in <https://savannah.gnu.org/bugs/?54809>.

* gettext-runtime/m4/Makefile.am: Add GPL copyright notice.
* gettext-tools/m4/Makefile.am: Likewise.
* gettext-tools/doc/iso-639.sed: Likewise.
* gettext-tools/doc/iso-639-2.sed: Likewise.
* gettext-tools/doc/iso-3166.sed: Likewise.
* gettext-tools/its/glade1.its: Likewise.
* gettext-tools/its/glade2.its: Likewise.
* gettext-tools/its/gsettings.its: Likewise.
* gettext-tools/its/gtkbuilder.its: Likewise.
* gettext-tools/misc/cvsuser.c: Likewise.
* gettext-tools/projects/team-address: Likewise.
* gettext-tools/projects/GNOME/team-address: Likewise.
* gettext-tools/projects/GNOME/trigger: Likewise.
* gettext-tools/projects/KDE/team-address: Likewise.
* gettext-tools/projects/KDE/trigger: Likewise.
* gettext-tools/projects/TP/team-address: Likewise.
* windows/windres-options: Likewise.
* gettext-runtime/po/insert-header.sin: Add copyright notice, based on the one
in Rules-quot.
* gettext-tools/doc/FAQ.html: Add copyright notice, suitable for documentation.
2019-04-04 01:17:33 +02:00
Bruno Haible 70153e2f29 maint: Make code more "git diff"-friendly.
* gettext-runtime/src/envsubst.c: Prefer long lines to lines that start with a
non-whitespace character.
* gettext-tools/src/cldr-plurals.c: Likewise.
* gettext-tools/src/format.c: Likewise.
* gettext-tools/src/msgcmp.c: Likewise.
* gettext-tools/src/msgfmt.c: Likewise.
* gettext-tools/src/msggrep.c: Likewise.
* gettext-tools/src/msgl-cat.c: Likewise.
* gettext-tools/src/msgl-charset.c: Likewise.
* gettext-tools/src/msgl-check.c: Likewise.
* gettext-tools/src/msgl-iconv.c: Likewise.
* gettext-tools/src/msgmerge.c: Likewise.
* gettext-tools/src/po-lex.c: Likewise.
* gettext-tools/src/read-stringtable.c: Likewise.
* gettext-tools/src/recode-sr-latin.c: Likewise.
* gettext-tools/src/write-catalog.c: Likewise.
* gettext-tools/src/write-java.c: Likewise.
* gettext-tools/src/write-po.c: Likewise.
* gettext-tools/src/x-csharp.c: Likewise.
* gettext-tools/src/x-elisp.c: Likewise.
* gettext-tools/src/x-java.c: Likewise.
* gettext-tools/src/x-javascript.c: Likewise.
* gettext-tools/src/x-librep.c: Likewise.
* gettext-tools/src/x-lisp.c: Likewise.
* gettext-tools/src/x-perl.c: Likewise.
* gettext-tools/src/x-python.c: Likewise.
* gettext-tools/src/x-scheme.c: Likewise.
* gettext-tools/src/x-sh.c: Likewise.
* gettext-tools/src/x-tcl.c: Likewise.
* gettext-tools/src/x-vala.c: Likewise.
* gettext-tools/src/xg-encoding.c: Likewise.
* gettext-tools/src/xgettext.c: Likewise.
2019-03-31 18:57:58 +02:00
Bruno Haible 81528ae5ec Update after gnulib changed. 2019-03-30 12:35:12 +01:00
Bruno Haible d7d5954ac8 libasprintf: Add metainformation for Windows.
* gettext-runtime/libasprintf/configure.ac: Set RC and WOE32 variables.
* gettext-runtime/libasprintf/libasprintf.rc: New file.
* gettext-runtime/libasprintf/Makefile.am (EXTRA_DIST): Add it.
(WOE32_LIBADD): New variable.
(libasprintf.res.lo): New rule.
(libasprintf_la_LIBADD, libasprintf_la_DEPENDENCIES): New variables.
2019-03-13 23:24:09 +01:00
Bruno Haible 470ed3cecb build: Update Windows support.
* gettext-runtime/intl/libintl.rc: Update.
* gettext-tools/libgettextpo/libgettextpo.rc: Likewise.
* windows/gettext.rc: Likewise.
2019-03-13 22:52:18 +01:00
Bruno Haible fcfa249eb2 libintl: Fix installation with BSD 'make'.
* gettext-runtime/intl/Makefile.am (install-exec-libintl): Create destination
directory first.
2019-02-24 22:14:06 +01:00
Bruno Haible 21a3e1db7f libasprintf: Tweak documentation formatting.
* gettext-runtime/libasprintf/autosprintf.texi: Indent all paragraphs the same
way.
2019-02-10 20:40:59 +01:00
Bruno Haible 0f18977cb6 Remove automatically generated files from version control. 2019-02-09 19:13:51 +01:00
Bruno Haible 3db20fe1a8 Fix copyright years. 2019-02-04 20:56:11 +01:00
Bruno Haible 8999851671 Assume setlocale function.
* gettext-runtime/src/envsubst.c (main): Assume setlocale exists.
* gettext-runtime/src/gettext.c (main): Likewise.
* gettext-runtime/src/ngettext.c (main): Likewise.
* gettext-tools/src/cldr-plurals.c (main): Likewise.
* gettext-tools/src/hostname.c (main): Likewise.
* gettext-tools/src/msgattrib.c (main): Likewise.
* gettext-tools/src/msgcat.c (main): Likewise.
* gettext-tools/src/msgcmp.c (main): Likewise.
* gettext-tools/src/msgcomm.c (main): Likewise.
* gettext-tools/src/msgconv.c (main): Likewise.
* gettext-tools/src/msgen.c (main): Likewise.
* gettext-tools/src/msgexec.c (main): Likewise.
* gettext-tools/src/msgfilter.c (main): Likewise.
* gettext-tools/src/msgfmt.c (main): Likewise.
* gettext-tools/src/msggrep.c (main): Likewise.
* gettext-tools/src/msginit.c (main, canonical_locale_charset, get_title):
Likewise.
* gettext-tools/src/msgmerge.c (main): Likewise.
* gettext-tools/src/msgunfmt.c (main): Likewise.
* gettext-tools/src/msguniq.c (main): Likewise.
* gettext-tools/src/recode-sr-latin.c (main): Likewise.
* gettext-tools/src/urlget.c (main): Likewise.
* gettext-tools/src/xgettext.c (main): Likewise.
* gettext-tools/tests/testlocale.c (main): Likewise.
* gettext-tools/tests/tstgettext.c (main): Likewise.
* gettext-tools/tests/tstngettext.c (main): Likewise.
* gettext-runtime/m4/intl.m4 (AM_INTL_SUBDIR): Don't test whether setlocale
exists.
2019-01-06 22:55:46 +01:00
Bruno Haible 51f1ffc2e1 Update after gnulib changed. 2019-01-06 22:40:38 +01:00
Bruno Haible fc152f1b4c intl: Really uninstall the intl/ subdir sources.
* gettext-runtime/intl/Makefile.am (uninstall-sources): New target.
2018-11-25 19:00:01 +01:00
Bruno Haible 5a9ad8800a Fix compilation error (regression from today).
* autogen.sh (GNULIB_MODULES_RUNTIME_FOR_SRC): Add 'unistd'.
* gettext-runtime/src/envsubst.c: Include <unistd.h>.
2018-11-25 03:40:39 +01:00
Bruno Haible 44d2c1d6ed build: Use Automake in intl subdirectory.
* gettext-runtime/intl/Makefile.am: New file, based on
gettext-runtime/intl/Makefile.in.
* gettext-runtime/intl/Makefile.in: Remove file.
* autogen.sh: Copy gettext-runtime/intl/Makefile.am to
gettext-tools/intl/Makefile.am.
* gettext-runtime/configure.ac (USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL,
PACKAGE_IS_GETTEXT_TOOLS, PRELOADABLE_LIBINTL): New conditionals.
* gettext-tools/configure.ac: Likewise.
2018-11-25 02:12:13 +01:00
Bruno Haible 7294fe574f build: Stop generating a VERSION file.
* gettext-tools/configure.ac: Don't create intl/VERSION.
* gettext-runtime/intl/Makefile.in (DISTFILES.normal): Remove variable.
(distclean): Simplify accordingly.
2018-11-25 02:12:09 +01:00
Bruno Haible 8c2bfdbddb build: Remove some duplicate .m4 files.
* autogen.sh: Copy wchar_t.m4 and wint_t.m4 for libasprintf.
* gettext-runtime/m4/codeset.m4: Remove file.
* gettext-runtime/m4/extern-inline.m4: Remove file.
* gettext-runtime/m4/intl-thread-locale.m4: Remove file.
* gettext-runtime/m4/lcmessage.m4: Remove file.
* gettext-runtime/m4/lock.m4: Remove file.
* gettext-runtime/m4/longlong.m4: Remove file.
* gettext-runtime/m4/threadlib.m4: Remove file.
* gettext-runtime/m4/wchar_t.m4: Remove file.
* gettext-runtime/m4/wint_t.m4: Remove file.
* gettext-runtime/m4/Makefile.am (EXTRA_DIST): Don't distribute them.
* Makefile.am (distcheck-hook): Don't verify that they are identical copies.
2018-11-25 02:12:04 +01:00