summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-01-22 12:53:10 +0000
committerBruno Haible <bruno@clisp.org>2001-01-22 12:53:10 +0000
commitcc5960a0ef886784891b4c1a7316c1659b73a7b6 (patch)
tree01eb863630f5faa4d1af3dcafd97a353d23021ee /src
parent2769926e6e7cac7d7020bd38be90ff2fd4cbb602 (diff)
downloadexternal_gettext-cc5960a0ef886784891b4c1a7316c1659b73a7b6.zip
external_gettext-cc5960a0ef886784891b4c1a7316c1659b73a7b6.tar.gz
external_gettext-cc5960a0ef886784891b4c1a7316c1659b73a7b6.tar.bz2
Rename intlh.inst.in to libgnuintl.h.
libgettext.h is now merely a convenience header, not used inside libintl.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog12
-rw-r--r--src/msgcmp.c2
-rw-r--r--src/msgfmt.c2
-rw-r--r--src/msgmerge.c2
-rw-r--r--src/msgunfmt.c2
-rw-r--r--src/open-po.c2
-rw-r--r--src/po-gram-gen.y2
-rw-r--r--src/po-lex.c2
-rw-r--r--src/xgettext.c3
9 files changed, 20 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e761eca..1562734 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,17 @@
2001-01-07 Bruno Haible <haible@clisp.cons.org>
+ * msgcmp.c: Include libgettext.h instead of libintl.h, so that the
+ configure argument --disable-nls gets respected.
+ * msgfmt.c: Likewise.
+ * msgmerge.c: Likewise.
+ * msgunfmt.c: Likewise.
+ * open-po.c: Likewise.
+ * po-gram-gen.y: Likewise.
+ * po-lex.c: Likewise.
+ * xgettext.c: Likewise. Don't include gettext.h.
+
+2001-01-07 Bruno Haible <haible@clisp.cons.org>
+
Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist.
* dir-list.c: Likewise.
* gettextp.c: Likewise.
diff --git a/src/msgcmp.c b/src/msgcmp.c
index 9be13bb..8dcbb44 100644
--- a/src/msgcmp.c
+++ b/src/msgcmp.c
@@ -29,7 +29,7 @@
#include "error.h"
#include "message.h"
#include <system.h>
-#include <libintl.h>
+#include "libgettext.h"
#include "po.h"
#include "str-list.h"
diff --git a/src/msgfmt.c b/src/msgfmt.c
index 46ace8e..0f653ab 100644
--- a/src/msgfmt.c
+++ b/src/msgfmt.c
@@ -39,7 +39,7 @@
#include "gettext.h"
#include "hash-string.h"
-#include <libintl.h>
+#include "libgettext.h"
#include "message.h"
#include "po.h"
diff --git a/src/msgmerge.c b/src/msgmerge.c
index 1732c18..c70e6b4 100644
--- a/src/msgmerge.c
+++ b/src/msgmerge.c
@@ -31,7 +31,7 @@
#include "error.h"
#include "message.h"
#include <system.h>
-#include <libintl.h>
+#include "libgettext.h"
#include "po.h"
#define _(str) gettext (str)
diff --git a/src/msgunfmt.c b/src/msgunfmt.c
index 6842a08..3dd2cec 100644
--- a/src/msgunfmt.c
+++ b/src/msgunfmt.c
@@ -38,7 +38,7 @@
#include "gettext.h"
#include "hash-string.h"
-#include <libintl.h>
+#include "libgettext.h"
#include "message.h"
#define _(str) gettext (str)
diff --git a/src/open-po.c b/src/open-po.c
index 0bf4379..7ae3606 100644
--- a/src/open-po.c
+++ b/src/open-po.c
@@ -31,7 +31,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "error.h"
#include "system.h"
-#include <libintl.h>
+#include "libgettext.h"
#define _(str) gettext (str)
diff --git a/src/po-gram-gen.y b/src/po-gram-gen.y
index edbfb5a..ddd776d 100644
--- a/src/po-gram-gen.y
+++ b/src/po-gram-gen.y
@@ -28,7 +28,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "po-gram.h"
#include "error.h"
#include "system.h"
-#include <libintl.h>
+#include "libgettext.h"
#include "po.h"
#define _(str) gettext (str)
diff --git a/src/po-lex.c b/src/po-lex.c
index 83f0cdd..1ba8264 100644
--- a/src/po-lex.c
+++ b/src/po-lex.c
@@ -27,7 +27,7 @@
#include <stdio.h>
#include <sys/types.h>
-#include <libintl.h>
+#include "libgettext.h"
#define _(str) gettext(str)
#if HAVE_VPRINTF || HAVE_DOPRNT
diff --git a/src/xgettext.c b/src/xgettext.c
index e4da03f..611100d 100644
--- a/src/xgettext.c
+++ b/src/xgettext.c
@@ -49,8 +49,7 @@ extern int errno;
#include "xget-lex.h"
#include "printf-parse.h"
-#include "gettext.h"
-#include <libintl.h>
+#include "libgettext.h"
#ifndef _POSIX_VERSION
struct passwd *getpwuid ();