+2000-06-04 Philipp Thomas <pthomas@suse.de>
+
+ * Makefile.in(INTLLIBS): New macro.
+ (LIBS): Add INTLLIBS.
+ (DEPLIBS): Likewise.
+ * config-lang(outputs): Specify ch/Makefile.
+
Sat Jun 3 15:31:07 2000 Jeffrey A Law (law@cygnus.com)
* chill.texi (INFO-DIR-ENTRY): Fix chill entry.
X_CPPFLAGS =
T_CPPFLAGS =
-CC = cc
+CC = @CC@
AR = ar
AR_FLAGS = rc
SHELL = /bin/sh
program_transform_name =
objdir = .
-target= ... `configure' substitutes actual target name here.
-xmake_file= ... `configure' substitutes actual x- file name here.
-tmake_file= ... `configure' substitutes actual t- file name here.
+target=@target@
+xmake_file=@dep_host_xmake_file@
+tmake_file=@dep_tmake_file@
#version=`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < $(srcdir)/version.c`
#mainversion=`sed -e 's/.*\"\([0-9]*\.[0-9]*\).*/\1/' < $(srcdir)/version.c`
# Directory where sources are, from where we are.
-srcdir = .
+srcdir = @srcdir@
+VPATH = @srcdir@
# CYGNUS LOCAL
# Directory where texinfo.tex lives
-texidir = $(srcdir)/../../texinfo
+# texidir = $(srcdir)/../../texinfo
+
+# Top build directory, relative to here.
+top_builddir = ..
+
+# Internationalization library.
+INTLLIBS = @INTLLIBS@
# Additional system libraries to link with.
CLIB=
# sed inserts variable overrides after the following line.
####target overrides
+@target_overrides@
####host overrides
+@host_overrides@
####cross overrides
+@cross_defines@
+@cross_overrides@
####build overrides
+@build_overrides@
####site overrides
+# @site_overrides@
#\f
# Now figure out from those variables how to compile and link.
all.indirect: Makefile ../chill ../cc1chill$(exeext)
# IN_GCC tells obstack.h that we are using gcc's <stddef.h> file.
-INTERNAL_CFLAGS = $(CROSS) -DIN_GCC
+INTERNAL_CFLAGS = $(CROSS) -DIN_GCC @extra_c_flags@
# This is the variable actually used when we compile.
ALL_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS)
# How to link with both our special library facilities
# and the system's installed libraries.
-LIBS = $(LIBIBERTY) $(CLIB)
-LIBDEPS = $(LIBIBERTY)
+LIBS = $(LIBIBERTY) $(CLIB) $(INTLLIBS)
+LIBDEPS = $(INTLLIBS) $(LIBIBERTY)
# Specify the directories to be searched for header files.
# Both . and srcdir are used, in that order,
stagestuff="chill chill-cross\$(exeext) cc1chill\$(exeext)"
diff_excludes="-x -x ch/chill.info*"
+
+outputs=ch/Makefile
+
AC_MSG_RESULT(no)
fi
+AC_C_INLINE
+
# Find some useful tools
AC_PROG_AWK
AC_PROG_LEX
+2000-06-04 Philipp Thomas <pthomas@suse.de>
+
+ * Makefile.in(INTLLIBS): New macro.
+ (LIBS): Add INTLLIBS.
+ (DEPLIBS): Likewise.
+
2000-06-02 Richard Henderson <rth@cygnus.com>
* com.c (lang_get_alias_set): New.
# 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
# How to link with both our special library facilities
# and the system's installed libraries.
-LIBS = $(LIBIBERTY) $(CLIB)
-LIBDEPS = $(LIBIBERTY)
+LIBS = $(LIBIBERTY) $(CLIB) $(INTLLIBS)
+LIBDEPS = $(INTLLIBS) $(LIBIBERTY)
# Specify the directories to be searched for header files.
# Both . and srcdir are used, in that order,
+2000-06-06 Philipp Thomas <pthomas@suse.de>
+ * 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.
+
1998-04-29 Ulrich Drepper <drepper@cygnus.com>
* intl/localealias.c (read_alias_file): Use unsigned char for
LIBTOOL = @LIBTOOL@
RANLIB = @RANLIB@
-DEFS = -DLOCALEDIR=\"$(localedir)\" -DGNULOCALEDIR=\"$(gnulocaledir)\" \
+DEFS = -DIN_GCC -DLOCALEDIR=\"$(localedir)\" -DGNULOCALEDIR=\"$(gnulocaledir)\" \
-DLOCALE_ALIAS_PATH=\"$(aliaspath)\" @DEFS@
CPPFLAGS = @CPPFLAGS@
CFLAGS = @CFLAGS@
.c.lo:
$(LIBTOOL) --mode=compile $(COMPILE) $<
-INCLUDES = -I.. -I. -I$(top_srcdir)/intl -I$(top_srcdir)/lib
+INCLUDES = -I.. -I. -I$(top_srcdir)/intl -I$(top_srcdir)/lib -I$(srcdir)/.. \
+-I$(srcdir)/../config -I$(srcdir)/../../include
all: all-@USE_INCLUDED_LIBINTL@
# include <config.h>
#endif
+# ifndef _GNU_SOURCE
+# define _GNU_SOURCE 1
+# endif
+
#include <sys/types.h>
#ifdef __GNUC__
#endif
#if defined HAVE_STRING_H || defined _LIBC
-# ifndef _GNU_SOURCE
-# define _GNU_SOURCE 1
-# endif
# include <string.h>
#else
# include <strings.h>
# if !defined HAVE_GETCWD
char *getwd ();
# define getcwd(buf, max) getwd (buf)
-# else
+# elif !defined (HAVE_DECL_GETCWD)
char *getcwd ();
# endif
# ifndef HAVE_STPCPY
if (*codeset != cp && (*codeset)[0] != '\0')
{
- *normalized_codeset = _nl_normalize_codeset (*codeset,
- cp - *codeset);
+ *normalized_codeset = _nl_normalize_codeset (
+ *((unsigned char **) codeset),
+ cp - *codeset);
if (strcmp (*codeset, *normalized_codeset) == 0)
free ((char *) *normalized_codeset);
else
# include <config.h>
#endif
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE 1
+#endif
#if defined HAVE_STRING_H || defined _LIBC
-# ifndef _GNU_SOURCE
-# define _GNU_SOURCE 1
-# endif
# include <string.h>
#else
# include <strings.h>
/* We must know about the size of the file. */
if (fstat (fd, &st) != 0
- || (size = (size_t) st.st_size) != st.st_size
+ || (size = (size_t) st.st_size) != (size_t) st.st_size
|| size < sizeof (struct mo_file_header))
{
/* Something went wrong. */
# include <config.h>
#endif
+# ifndef _GNU_SOURCE
+# define _GNU_SOURCE 1
+# endif
+
#include <ctype.h>
#include <stdio.h>
#include <sys/types.h>
#endif
#if defined HAVE_STRING_H || defined _LIBC
-# ifndef _GNU_SOURCE
-# define _GNU_SOURCE 1
-# endif
# include <string.h>
#else
# include <strings.h>
full_fname = (char *) alloca (fname_len + sizeof aliasfile);
ADD_BLOCK (block_list, full_fname);
-#ifdef HAVE_MEMPCPY
- mempcpy (mempcpy (full_fname, fname, fname_len),
- aliasfile, sizeof aliasfile);
-#else
memcpy (full_fname, fname, fname_len);
memcpy (&full_fname[fname_len], aliasfile, sizeof aliasfile);
-#endif
fp = fopen (full_fname, "r");
if (fp == NULL)
unsigned char *value;
unsigned char *cp;
- if (fgets (buf, sizeof buf, fp) == NULL)
+ if (fgets ((char *)buf, sizeof buf, fp) == NULL)
/* EOF reached. */
break;
if (nmap >= maxmap)
extend_alias_table ();
- alias_len = strlen (alias) + 1;
- value_len = strlen (value) + 1;
+ alias_len = strlen ((char *)alias) + 1;
+ value_len = strlen ((char *)value) + 1;
if (string_space_act + alias_len + value_len > string_space_max)
{
string_space_max = new_size;
}
- map[nmap].alias = memcpy (&string_space[string_space_act],
- alias, alias_len);
+ memcpy (&string_space[string_space_act], alias, alias_len);
+ map[nmap].alias = &string_space[string_space_act];
string_space_act += alias_len;
- map[nmap].value = memcpy (&string_space[string_space_act],
- value, value_len);
+ memcpy (&string_space[string_space_act], value, value_len);
+ map[nmap].value = &string_space[string_space_act];
string_space_act += value_len;
++nmap;
+2000-06-04 Philipp Thomas <pthomas@suse.de>
+
+ * Makefile.in (INTLLIBS): New.
+ (LIBS): Add above.
+ (DEPLIBS): Ditto.
+
Fri Jun 2 16:48:55 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (get_dispatch_table): Build the vtable dummy entry list
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
# 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
# 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,
+2000-06-06 Philipp Thomas <pthomas@suse.de>
+
+ * Makefile.in.in: Add --define switch for xgettext.
+
2000-05-30 Philipp Thomas <pthomas@suse.de>
* Makefile.in.in: Create compiled catalogs in objdir, not
$(srcdir)/$(PACKAGE).pot: $(POTFILES)
$(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
--add-comments --keyword=_ --keyword=N_ \
- --files-from=$(srcdir)/POTFILES.in \
+ --files-from=$(srcdir)/POTFILES.in --defines \
&& test ! -f $(PACKAGE).po \
|| ( rm -f $(srcdir)/$(PACKAGE).pot \
&& mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )