From 603832a03e9a6e270400e413fca78bb4205cb456 Mon Sep 17 00:00:00 2001 From: Philipp Thomas Date: Tue, 6 Jun 2000 07:23:42 +0000 Subject: configure.in (AC_C_INLINE): Added. gcc/: * configure.in (AC_C_INLINE): Added. * configure: Regenerate. gcc/java: * Makefile.in (INTLLIBS): New. (LIBS): Add above. (DEPLIBS): Ditto. gcc/f: * Makefile.in(INTLLIBS): New macro. (LIBS): Add INTLLIBS. (DEPLIBS): Likewise. gcc/ch: * Makefile.in: Changed to be processed by configure. (INTLLIBS): New macro. (LIBS): Add INTLLIBS. (DEPLIBS): Likewise. * config-lang(outputs): Specify ch/Makefile. gcc/po: * Makefile.in.in: Add --define switch for xgettext. gcc/intl: * Makefile.in: Add -DIN_GCC to DEFS, add appropriate -I switches. * dcgettext.c: Define _GNU_SOURCE before any system header is included. Guard getcwd declaration with HAVE_DECL_GETCWD. * loadmsgcat.c (_nl_load_domain): Cast st.st_size in compaison to size_t. * localealias.c: Define _GNU_SOURCE before any system header is included. Don't use return value of memcpy because it could be a macro defined in terms of bcopy. (read_alias_file): Remove HAVE_MEMCPY guard and just don't use the return value of memcpy. Cast argument to fgets and strlen to char *. * explodename.c (_nl_explode_name): Cast codeset to unsigned char ** in call to _nl_normalize_codeset. * l10nflist.c: Define _GNU_SOURCE before any system header is included. From-SVN: r34423 --- gcc/java/ChangeLog | 6 ++++++ gcc/java/Make-lang.in | 2 ++ gcc/java/Makefile.in | 10 ++++++++-- 3 files changed, 16 insertions(+), 2 deletions(-) (limited to 'gcc/java') diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index ff312a12..3bb303d 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,9 @@ +2000-06-04 Philipp Thomas + + * Makefile.in (INTLLIBS): New. + (LIBS): Add above. + (DEPLIBS): Ditto. + Fri Jun 2 16:48:55 2000 Alexandre Petit-Bianco * class.c (get_dispatch_table): Build the vtable dummy entry list diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in index 7e72c9e..350398a 100644 --- a/gcc/java/Make-lang.in +++ b/gcc/java/Make-lang.in @@ -110,6 +110,8 @@ GCJH_SOURCES = $(srcdir)/java/gjavah.c $(srcdir)/java/jcf-io.c \ gcjh$(exeext): $(GCJH_SOURCES) $(LIBDEPS) $(TREE_H) cd java && $(MAKE) $(LANG_FLAGS_TO_PASS) $(JAVA_FLAGS_TO_PASS) ../gcjh$(exeext) +$(INTL_TARGETS): $(srcdir)/java/parse.c $(srcdir)/java/parse-scan.c + # This must be kept in sync with dependencies in Makefile.in. JV_SCAN_SOURCES = $(srcdir)/java/parse-scan.y $(srcdir)/java/lex.c \ $(srcdir)/java/parse.h $(srcdir)/java/lex.h $(srcdir)/java/jv-scan.c diff --git a/gcc/java/Makefile.in b/gcc/java/Makefile.in index e5c573c..bbb42d2 100644 --- a/gcc/java/Makefile.in +++ b/gcc/java/Makefile.in @@ -102,6 +102,12 @@ libgcj_zip = $(datadir)/libgcj.zip # Additional system libraries to link with. CLIB= +# Top build directory, relative to here. +top_builddir = .. + +# Internationalization library. +INTLLIBS = @INTLLIBS@ + # Choose the real default target. ALL=all @@ -144,8 +150,8 @@ LIBIBERTY = ../../libiberty/libiberty.a # How to link with both our special library facilities # and the system's installed libraries. -LIBS = $(LIBIBERTY) $(CLIB) -LIBDEPS = $(LIBIBERTY) ../errors.o +LIBS = $(INTLLIBS) $(LIBIBERTY) $(CLIB) +LIBDEPS = $(INTLLIBS) $(LIBIBERTY) ../errors.o # Specify the directories to be searched for header files. # Both . and srcdir are used, in that order, -- cgit v1.1