summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-09-18 14:00:05 -0400
committerMike Frysinger <vapier@gentoo.org>2015-09-18 19:39:46 -0400
commit1cba4036b6f5e798114c7cc77c788839c89e3b3c (patch)
tree7c399ad0e7a357d82cc5aeec35e03c4419c2ada9 /manual/install.texi
parentRevert timezone/Makefile change. (diff)
downloadglibc-1cba4036b6f5e798114c7cc77c788839c89e3b3c.tar.gz
glibc-1cba4036b6f5e798114c7cc77c788839c89e3b3c.tar.bz2
glibc-1cba4036b6f5e798114c7cc77c788839c89e3b3c.zip
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.
Diffstat (limited to 'manual/install.texi')
-rw-r--r--manual/install.texi10
1 files changed, 10 insertions, 0 deletions
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.