+2001-12-21 Bruno Haible <bruno@clisp.org>
+
+ * libgettext.h: Moved to ../lib/gettext.h.
+ * Makefile.in (HEADERS): Remove libgettext.h.
+ (DISTFILES.obsolete): Add libgettext.h.
+
2001-12-21 Bruno Haible <bruno@clisp.org>
* gmo.h: Renamed from gettext.h.
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
-HEADERS = $(COMHDRS) libgnuintl.h libgettext.h loadinfo.h
+HEADERS = $(COMHDRS) libgnuintl.h loadinfo.h
COMHDRS = gmo.h gettextP.h hash-string.h plural-exp.h plural-eval.c
SOURCES = $(COMSRCS) intl-compat.c
COMSRCS = bindtextdom.c dcgettext.c dgettext.c gettext.c \
DISTFILES.normal = VERSION
DISTFILES.gettext = COPYING.LIB-2.0 COPYING.LIB-2.1 libintl.glibc
DISTFILES.obsolete = xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c \
-COPYING.LIB-2 gettext.h
+COPYING.LIB-2 gettext.h libgettext.h
# Libtool's library version information for libintl.
# Before making a gettext release, the gettext maintainer must change this
+2001-12-21 Bruno Haible <bruno@clisp.org>
+
+ * gettext.h: Moved here from ../intl/libgettext.h.
+ * Makefile.am (noinst_HEADERS): Add it.
+ (gettextsrcdir, gettextsrc_DATA): New variables.
+ * copy-file.c: Include gettext.h instead of libgettext.h.
+ * execute.c: Likewise.
+ * javacomp.c: Likewise.
+ * javaexec.c: Likewise.
+ * pipe-bidi.c: Likewise.
+ * pipe-in.c: Likewise.
+ * pipe-out.c: Likewise.
+ * wait-process.c: Likewise.
+ * xerror.c: Likewise.
+ * xmalloc.c: Likewise.
+
2001-12-20 Bruno Haible <bruno@clisp.org>
* execute.c (nonintr_open): Omit prototype. On some platforms mode_t
-release @VERSION@ \
@INTLLIBS@ @LIBICONV@ -no-undefined
+# Extra files to be installed.
+
+gettextsrcdir = $(datadir)/gettext
+gettextsrc_DATA = gettext.h
+
# List of files to be distributed.
-noinst_HEADERS = $(libgettextlib_la_HEADER) $(LIBADD_HEADER) $(UNUSED_HEADER)
+noinst_HEADERS = $(libgettextlib_la_HEADER) $(LIBADD_HEADER) $(UNUSED_HEADER) \
+gettext.h
EXTRA_DIST = classpath.c config.charset ref-add.sin ref-del.sin \
$(LIBADD_SOURCE) $(UNUSED_SOURCE) \
#include "error.h"
#include "full-write.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "error.h"
#include "wait-process.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
#include "safe-read.h"
#include "xmalloc.h"
#include "error.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifdef __GNUC__
# ifndef alloca
#include "sh-quote.h"
#include "xmalloc.h"
#include "error.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifdef __GNUC__
# ifndef alloca
#endif
#include "error.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
#endif
#include "error.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
#endif
#include "error.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
#endif
#include "error.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
#include "error.h"
#include "progname.h"
#include "mbswidth.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
#include <stdlib.h>
#include "error.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
$(OUT)message.o: ../lib/fstrcmp.h ../src/message.h ../src/str-list.h \
../src/pos.h ../lib/system.h
$(OUT)open-po.o: ../src/open-po.h ../src/dir-list.h ../lib/error.h \
- ../lib/system.h ../intl/libgettext.h
+ ../lib/system.h ../lib/gettext.h
$(OUT)po-gram-gen.o: ../src/po-lex.h ../lib/error.h ../src/pos.h \
- ../src/po-gram.h ../lib/system.h ../intl/libgettext.h \
+ ../src/po-gram.h ../lib/system.h ../lib/gettext.h \
../src/po.h
$(OUT)po-hash-gen.o: ../src/po-hash.h ../src/po.h ../src/po-lex.h \
../lib/error.h ../src/pos.h
-$(OUT)po-lex.o: ../intl/libgettext.h ../src/po-lex.h ../lib/error.h \
+$(OUT)po-lex.o: ../lib/gettext.h ../src/po-lex.h ../lib/error.h \
../src/pos.h ../src/open-po.h ../src/po-gram-gen2.h
$(OUT)po.o: ../src/po.h ../src/po-lex.h ../lib/error.h \
../src/pos.h ../src/po-hash.h ../lib/mbswidth.h \
- ../intl/libgettext.h
+ ../lib/gettext.h
$(OUT)str-list.o: ../src/str-list.h
$(OUT)write-po.o: ../src/write-po.h ../src/message.h \
../src/str-list.h ../src/pos.h ../lib/c-ctype.h \
- ../lib/linebreak.h ../lib/error.h ../intl/libgettext.h
+ ../lib/linebreak.h ../lib/error.h ../lib/gettext.h
$(OUT)xget-lex.o: ../src/dir-list.h ../lib/error.h \
- ../intl/libgettext.h ../lib/hash.h ../src/str-list.h \
+ ../lib/gettext.h ../lib/hash.h ../src/str-list.h \
../src/xget-lex.h
+2001-12-21 Bruno Haible <bruno@clisp.org>
+
+ * file-list.c: Include gettext.h instead of libgettext.h.
+ * format-c.c: Likewise.
+ * format-java.c: Likewise.
+ * format-librep.c: Likewise.
+ * format-lisp.c: Likewise.
+ * format-pascal.c: Likewise.
+ * format-python.c: Likewise.
+ * format-ycp.c: Likewise.
+ * gettext.c: Likewise.
+ * hostname.c: Likewise.
+ * msgattrib.c: Likewise.
+ * msgcat.c: Likewise.
+ * msgcmp.c: Likewise.
+ * msgcomm.c: Likewise.
+ * msgconv.c: Likewise.
+ * msgen.c: Likewise.
+ * msgexec.c: Likewise.
+ * msgfilter.c: Likewise.
+ * msgfmt.c: Likewise.
+ * msggrep.c: Likewise.
+ * msginit.c: Likewise.
+ * msgl-cat.c: Likewise.
+ * msgl-charset.c: Likewise.
+ * msgl-iconv.c: Likewise.
+ * msgmerge.c: Likewise.
+ * msgunfmt.c: Likewise.
+ * msguniq.c: Likewise.
+ * ngettext.c: Likewise.
+ * open-po.c: Likewise.
+ * po-charset.c: Likewise.
+ * po-gram-gen.y: Likewise.
+ * po-lex.c: Likewise.
+ * read-java.c: Likewise.
+ * read-mo.c: Likewise.
+ * read-po.c: Likewise.
+ * urlget.c: Likewise.
+ * write-java.c: Likewise.
+ * write-mo.c: Likewise.
+ * write-po.c: Likewise.
+ * x-c.c: Likewise.
+ * x-librep.c: Likewise.
+ * x-lisp.c: Likewise.
+ * x-po.c: Likewise.
+ * x-rst.c: Likewise.
+ * x-ycp.c: Likewise.
+ * xgettext.c: Likewise.
+
2001-12-21 Bruno Haible <bruno@clisp.org>
* message.h (message_merge): Remove declaration.
#include "error.h"
#include "system.h"
#include "getline.h"
-#include "libgettext.h"
+#include "gettext.h"
/* A convenience macro. I don't like writing gettext() every time. */
#define _(str) gettext (str)
#include "xmalloc.h"
#include "error.h"
#include "progname.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "system.h"
#include "error.h"
#include "progname.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "xmalloc.h"
#include "error.h"
#include "progname.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "system.h"
#include "error.h"
#include "progname.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "xmalloc.h"
#include "error.h"
#include "progname.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "xmalloc.h"
#include "error.h"
#include "progname.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "xmalloc.h"
#include "error.h"
#include "progname.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
# undef _LIBINTL_H
# include "libgnuintl.h"
#else
-# include "libgettext.h"
+# include "gettext.h"
#endif
#define _(str) gettext (str)
#include "basename.h"
#include "xmalloc.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "read-po.h"
#include "write-po.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "write-po.h"
#include "msgl-cat.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "basename.h"
#include "message.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#include "po.h"
#include "str-list.h"
#include "write-po.h"
#include "msgl-cat.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
/* A convenience macro. I don't like writing gettext() every time. */
#include "write-po.h"
#include "msgl-iconv.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "write-po.h"
#include "xmalloc.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "pipe.h"
#include "wait-process.h"
#include "setenv.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "findprog.h"
#include "pipe.h"
#include "wait-process.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "write-mo.h"
#include "write-java.h"
-#include "libgettext.h"
+#include "gettext.h"
#include "message.h"
#include "po.h"
#include "findprog.h"
#include "pipe.h"
#include "wait-process.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "getline.h"
#include "setenv.h"
#include "str-list.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#define N_(str) (str)
#include "strstr.h"
#include "basename.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "message.h"
#include "strstr.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "xmalloc.h"
#include "strstr.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "plural-exp.h"
#include "backupfile.h"
#include "copy-file.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "read-mo.h"
#include "read-java.h"
#include "write-po.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "write-po.h"
#include "msgl-cat.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "xmalloc.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "error.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "basename.h"
#include "strstr.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
extern const char *program_name;
#include "po-lex.h"
#include "error.h"
#include "xmalloc.h"
-#include "libgettext.h"
+#include "gettext.h"
#include "po.h"
#define _(str) gettext (str)
#include "c-ctype.h"
#include "linebreak.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext(str)
#if HAVE_VPRINTF || HAVE_DOPRNT
#include "read-po.h"
#include "error.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "xmalloc.h"
#include "system.h"
#include "message.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "po.h"
#include "xmalloc.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "execute.h"
#include "javaexec.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "system.h"
#include "tmpdir.h"
#include "utf8-ucs4.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "hash.h"
#include "message.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
#include "system.h"
#include "error.h"
#include "xerror.h"
-#include "libgettext.h"
+#include "gettext.h"
/* Our regular abbreviation. */
#define _(str) gettext (str)
#include "xmalloc.h"
#include "system.h"
#include "hash.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(s) gettext(s)
#include "error.h"
#include "xmalloc.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(s) gettext(s)
#include "error.h"
#include "xmalloc.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(s) gettext(s)
#include "xmalloc.h"
#include "po.h"
#include "po-lex.h"
-#include "libgettext.h"
+#include "gettext.h"
/* A convenience macro. I don't like writing gettext() every time. */
#define _(str) gettext (str)
#include "progname.h"
#include "xmalloc.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(s) gettext(s)
#include "error.h"
#include "xmalloc.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(s) gettext(s)
#include "po-time.h"
#include "write-po.h"
#include "format.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifndef _POSIX_VERSION
struct passwd *getpwuid ();