aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-16 16:20:36 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-16 16:20:36 +0000
commitdb49e90c38ffe60edad1d8632b725f67beb24f35 (patch)
tree26e93fd150b9052e183d114211b89a9cd08265e0 /timezone
parentAlways include <libintl.h> for glibc. (diff)
downloadglibc-db49e90c38ffe60edad1d8632b725f67beb24f35.tar.gz
glibc-db49e90c38ffe60edad1d8632b725f67beb24f35.tar.bz2
glibc-db49e90c38ffe60edad1d8632b725f67beb24f35.zip
Update.
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>.
Diffstat (limited to 'timezone')
-rw-r--r--timezone/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/timezone/Makefile b/timezone/Makefile
index d62d05a208..3e8a1a849b 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