aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in2
-rw-r--r--lib/Makefile.am2
-rw-r--r--plugins/common.h6
3 files changed, 8 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 977fe53c..405eb503 100644
--- a/configure.in
+++ b/configure.in
@@ -1661,7 +1661,7 @@ AC_SUBST(EXTRA_NETOBJS)
AC_SUBST(DEPLIBS)
AM_GNU_GETTEXT([external], [need-ngettext])
-AM_GNU_GETTEXT_VERSION(0.11.5)
+AM_GNU_GETTEXT_VERSION(0.13.1)
dnl Check for Redhat spopen problem
dnl Wierd problem where ECHILD is returned from a wait call in error
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 0d69089e..a4f9c7d8 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -10,7 +10,7 @@ libcoreutils_a_SOURCES = \
full-write.c full-write.h \
gettext.h \
safe-read.c safe-read.h \
- safe-write.c safe-write.h xalloc-die.c
+ safe-write.c safe-write.h strcase.h xalloc-die.c
other_coreutils_files = \
error.c error.h \
diff --git a/plugins/common.h b/plugins/common.h
index baed12eb..31cc33f1 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -218,6 +218,12 @@ enum {
*/
#include "gettext.h"
#define _(String) gettext (String)
+#if ! ENABLE_NLS
+# undef textdomain
+# define textdomain(Domainname) /* empty */
+# undef bindtextdomain
+# define bindtextdomain(Domainname, Dirname) /* empty */
+#endif
/* For non-GNU compilers to ignore __attribute__ */
#ifndef __GNUC__