aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--timezone/Makefile8
2 files changed, 12 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 5d654a6..4fe716a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-10-16 Ulrich Drepper <drepper@redhat.com>
+
+ * timezone/Makefile: Define HAVE_GETTEXT fir zdump.c, zic.c,
+ ialloc.c, and scheck.c.
+ * malloc/obstack.c: Always include <libintl.h> for glibc.
+ * posix/getopt.c: Likewise.
+ Reported by Petr Vandrovec <VANDROVE@vc.cvut.cz>.
+
2000-10-15 Pete Wyckoff <pw@osc.edu>
* Rules: Define _LIBC during generation of bits/stdio_lim.d.
diff --git a/timezone/Makefile b/timezone/Makefile
index d62d05a..3e8a1a8 100644
--- a/timezone/Makefile
+++ b/timezone/Makefile
@@ -164,10 +164,10 @@ tz-cflags = -DTZDIR='"$(zonedir)"' \
-DTZDEFRULES='"$(posixrules-file)"' \
-DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone
-CFLAGS-zdump.c = -Wno-strict-prototypes -DNOID $(tz-cflags)
-CFLAGS-zic.c = -Wno-strict-prototypes -DNOID $(tz-cflags)
-CFLAGS-ialloc.c = -Wno-strict-prototypes -DNOID
-CFLAGS-scheck.c = -Wno-strict-prototypes -DNOID
+CFLAGS-zdump.c = -Wno-strict-prototypes -DNOID $(tz-cflags) -DHAVE_GETTEXT
+CFLAGS-zic.c = -Wno-strict-prototypes -DNOID $(tz-cflags) -DHAVE_GETTEXT
+CFLAGS-ialloc.c = -Wno-strict-prototypes -DNOID -DHAVE_GETTEXT
+CFLAGS-scheck.c = -Wno-strict-prototypes -DNOID -DHAVE_GETTEXT
# We have to make sure the data for testing the tz functions is available.
# Don't add leapseconds here since test-tz made checks that work only without