From 1cba4036b6f5e798114c7cc77c788839c89e3b3c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 18 Sep 2015 14:00:05 -0400 Subject: timezone: add a configure flag to disable program install Some distros build+install the timezone tools (zic/zdump/tzselect) outside of glibc and use the upstream package directly. Add a configure flag to glibc so they can disable install of those tools. This allows tests to run & pass regardless of the configure flag. Only the install of them is impacted. --- manual/install.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'manual') diff --git a/manual/install.texi b/manual/install.texi index 63c41b0b8d..c502446a7c 100644 --- a/manual/install.texi +++ b/manual/install.texi @@ -157,6 +157,16 @@ By default, dynamic tests are linked to run with the installed C library. This option hardcodes the newly built C library path in dynamic tests so that they can be invoked directly. +@item --disable-timezone-tools +By default, timezone related utilities (@command{zic}, @command{zdump}, +and @command{tzselect}) are installed with glibc. If you are building +these independently (e.g. by using the @samp{tzcode} package), then this +option will allow disabling the install of these too. + +Note that you need to make sure the external tools are kept in sync with +the versions that @theglibc{} expects as the data formats may change over +time. Consult the @file{timezone} subdirectory for more details. + @item --enable-lock-elision=yes Enable lock elision for pthread mutexes by default. -- cgit v1.2.3