summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-12-21 16:50:19 +0000
committerBruno Haible <bruno@clisp.org>2009-06-22 00:28:17 +0200
commit2d50fe3edc095e1bd1a79c03123ea5d826e6a52e (patch)
treea94f36febfc204fbe4870bc84e239d6506aee627 /lib
parent3ad8187dc84124af562f8cdb9b6787ca81501e0c (diff)
downloadexternal_gettext-2d50fe3edc095e1bd1a79c03123ea5d826e6a52e.zip
external_gettext-2d50fe3edc095e1bd1a79c03123ea5d826e6a52e.tar.gz
external_gettext-2d50fe3edc095e1bd1a79c03123ea5d826e6a52e.tar.bz2
Renamed intl/libgettext.h to lib/gettext.h.
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog16
-rw-r--r--lib/Makefile.am8
-rw-r--r--lib/copy-file.c2
-rw-r--r--lib/execute.c2
-rw-r--r--lib/javacomp.c2
-rw-r--r--lib/javaexec.c2
-rw-r--r--lib/pipe-bidi.c2
-rw-r--r--lib/pipe-in.c2
-rw-r--r--lib/pipe-out.c2
-rw-r--r--lib/wait-process.c2
-rw-r--r--lib/xerror.c2
-rw-r--r--lib/xmalloc.c2
12 files changed, 33 insertions, 11 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 84e5795..2b428db 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,19 @@
+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
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 40141d3..dd11b2e 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -61,9 +61,15 @@ libgettextlib_la_LDFLAGS = \
-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) \
diff --git a/lib/copy-file.c b/lib/copy-file.c
index 1067077..3ac67ac 100644
--- a/lib/copy-file.c
+++ b/lib/copy-file.c
@@ -35,7 +35,7 @@
#include "error.h"
#include "full-write.h"
#include "system.h"
-#include "libgettext.h"
+#include "gettext.h"
#define _(str) gettext (str)
diff --git a/lib/execute.c b/lib/execute.c
index 793727f..0b5e7bf 100644
--- a/lib/execute.c
+++ b/lib/execute.c
@@ -43,7 +43,7 @@
#include "error.h"
#include "wait-process.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
diff --git a/lib/javacomp.c b/lib/javacomp.c
index d2f9e17..53c7769 100644
--- a/lib/javacomp.c
+++ b/lib/javacomp.c
@@ -35,7 +35,7 @@
#include "safe-read.h"
#include "xmalloc.h"
#include "error.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifdef __GNUC__
# ifndef alloca
diff --git a/lib/javaexec.c b/lib/javaexec.c
index b72042a..b21516e 100644
--- a/lib/javaexec.c
+++ b/lib/javaexec.c
@@ -32,7 +32,7 @@
#include "sh-quote.h"
#include "xmalloc.h"
#include "error.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifdef __GNUC__
# ifndef alloca
diff --git a/lib/pipe-bidi.c b/lib/pipe-bidi.c
index d0523f1..a6fa72c 100644
--- a/lib/pipe-bidi.c
+++ b/lib/pipe-bidi.c
@@ -41,7 +41,7 @@
#endif
#include "error.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
diff --git a/lib/pipe-in.c b/lib/pipe-in.c
index d36cb84..1d24b9d 100644
--- a/lib/pipe-in.c
+++ b/lib/pipe-in.c
@@ -41,7 +41,7 @@
#endif
#include "error.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
diff --git a/lib/pipe-out.c b/lib/pipe-out.c
index 461017d..a54fc2c 100644
--- a/lib/pipe-out.c
+++ b/lib/pipe-out.c
@@ -41,7 +41,7 @@
#endif
#include "error.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
diff --git a/lib/wait-process.c b/lib/wait-process.c
index b48dc26..2b2dd98 100644
--- a/lib/wait-process.c
+++ b/lib/wait-process.c
@@ -75,7 +75,7 @@
#endif
#include "error.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
diff --git a/lib/xerror.c b/lib/xerror.c
index e74a57f..1ea6d1a 100644
--- a/lib/xerror.c
+++ b/lib/xerror.c
@@ -31,7 +31,7 @@
#include "error.h"
#include "progname.h"
#include "mbswidth.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
diff --git a/lib/xmalloc.c b/lib/xmalloc.c
index f0e1eea..367e9ef 100644
--- a/lib/xmalloc.c
+++ b/lib/xmalloc.c
@@ -25,7 +25,7 @@
#include <stdlib.h>
#include "error.h"
-#include "libgettext.h"
+#include "gettext.h"
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1