1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

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.
This commit is contained in:
Mike Frysinger
2015-09-18 14:00:05 -04:00
parent 36546ffbef
commit 1cba4036b6
7 changed files with 57 additions and 3 deletions

View File

@@ -27,15 +27,17 @@ extra-objs := scheck.o ialloc.o
others := zdump zic
tests := test-tz tst-timezone tst-tzset
install-sbin := zic zdump
generated-dirs += testdata
install-bin-script = tzselect
generated += tzselect
testdata = $(objpfx)testdata
ifeq ($(enable-timezone-tools),yes)
install-sbin := zic zdump
install-bin-script = tzselect
endif
ifeq ($(run-built-tests),yes)
# List zones generated by separate commands running zic on the host.
# Each such zic run counts as a separate test.