gcc/libstdc++-v3
Jonathan Wakely 559993b857 libstdc++: Embed a static copy of tzdata.zi
This adds a copy of the tzdata.zi file to the library, and allows
configuring to use it instead of a copy read from disk at runtime.
The content of the file is in the public domain, but will need to be
updated to the latest upstream file before making GCC releases.

libstdc++-v3/ChangeLog:

	* acinclude.m4 (GLIBCXX_ZONEINFO_DIR): Replace the
	--with-libstdcxx-zoneinfo-dir configure option with
	--with-libstdcxx-zoneinfo with yes/no/static choices as well as
	a directory.
	* config.h.in: Regenerate.
	* configure: Regenerate.
	* doc/xml/manual/configure.xml: Document configure option.
	* doc/html/manual/configure.html: Regenerate.
	* src/c++20/Makefile.am: Generate tzdata.zi.h header.
	* src/c++20/Makefile.in: Regenerate.
	* src/c++20/tzdb.cc (__gnu_cxx::zoneinfo_dir_override): Return a
	null pointer if no directory is configured.
	(zoneinfo_dir): Replace with ...
	(zoneinfo_file): New function.
	(tzdata_stream): New istream class.
	(remote_version, reload_tzdb): Use tzdata_stream.
	* testsuite/lib/libstdc++.exp (check_effective_target_tzdb):
	Check new _GLIBCXX_STATIC_TZDATA macro and ignore presence of
	tzdata.zi file in default location.
	* src/c++20/tzdata.zi: New file.
2023-01-14 18:06:07 +00:00
..
config libstdc++: [_GLIBCXX_INLINE_VERSION] Add to_chars/from_chars symbols export 2023-01-14 14:24:35 +01:00
doc libstdc++: Embed a static copy of tzdata.zi 2023-01-14 18:06:07 +00:00
include libstdc++: Fix ostream insertion operators for calendar types 2023-01-14 16:59:58 +00:00
libsupc++ libstdc++: Fix _Hash_bytes for I16LP32 targets [PR107885] 2022-11-28 16:57:35 +00:00
po
python libstdc++: Fix <chrono> printers for Python 2 [PR108212] 2023-01-05 16:28:43 +00:00
scripts
src libstdc++: Embed a static copy of tzdata.zi 2023-01-14 18:06:07 +00:00
testsuite libstdc++: Embed a static copy of tzdata.zi 2023-01-14 18:06:07 +00:00
acinclude.m4 libstdc++: Embed a static copy of tzdata.zi 2023-01-14 18:06:07 +00:00
aclocal.m4
ChangeLog Daily bump. 2023-01-13 00:17:18 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020
ChangeLog-2021
ChangeLog-2022 Rotate ChangeLog files. 2023-01-01 16:20:13 +01:00
config.h.in libstdc++: Embed a static copy of tzdata.zi 2023-01-14 18:06:07 +00:00
configure libstdc++: Embed a static copy of tzdata.zi 2023-01-14 18:06:07 +00:00
configure.ac libstdc++: Implement C++20 time zone support in <chrono> 2022-12-22 23:34:20 +00:00
configure.host
crossconfig.m4
fragment.am
linkage.m4
Makefile.am
Makefile.in
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.