This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Remove unused localtime makefile variables


The makefile variables localtime and inst_localtime-file are unused, being 
left over from the removed support for glibc installing timezone files.  I 
propose this patch to remove them.  Tested x86_64.

2012-05-01  Joseph Myers  <joseph@codesourcery.com>

	* Makeconfig (localtime): Remove variable.
	(inst_localtime-file): Likewise.

diff --git a/Makeconfig b/Makeconfig
index 148db6e..5c78ee4 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -291,13 +291,6 @@ vardbdir = /var/db
 endif
 inst_vardbdir = $(install_root)$(vardbdir)
 
-# What timezone should be the installed default (e.g., US/Eastern).
-# Run `make -C time echo-zonenames' to see a list of available zone names.
-# The local timezone can be changed with `zic -l TIMEZONE' at any time.
-ifndef localtime
-localtime = Factory
-endif
-
 # Where to install the "localtime" timezone file; this is the file whose
 # contents $(localtime) specifies.  If this is a relative pathname, it is
 # relative to $(zonedir).  It is a good idea to put this somewhere
@@ -305,7 +298,6 @@ endif
 # localizing the configuration data elsewhere.
 ifndef localtime-file
 localtime-file = $(sysconfdir)/localtime
-inst_localtime-file = $(install_root)$(localtime-file)
 endif
 
 # What to use for leap second specifications in compiling the default

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]