summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2003-09-08 13:33:00 +0000
committerwiz <wiz@NetBSD.org>2003-09-08 13:33:00 +0000
commit38f443bb93ab194eee40dcc93048c0fff910e1fa (patch)
treef3d5b2c2f7cf274c74b6e70502f1d5e7d8bca8ca /gnu/usr.bin
parent29119d0e3b75dc090c8d4ed54aa6725a5d45a2d5 (diff)
Remove local ENABLE_NLS patches which were added for smaller executable
size -- however, these binaries won't end up on bot floppies, so it's not necessary, and less diffs to the original are better. Ok'd by itojun.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/texinfo/Makefile.inc4
-rw-r--r--gnu/usr.bin/texinfo/common/config.h11
2 files changed, 2 insertions, 13 deletions
diff --git a/gnu/usr.bin/texinfo/Makefile.inc b/gnu/usr.bin/texinfo/Makefile.inc
index 0116405cd7a..e57657497a2 100644
--- a/gnu/usr.bin/texinfo/Makefile.inc
+++ b/gnu/usr.bin/texinfo/Makefile.inc
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.7 2003/01/17 15:32:23 wiz Exp $
+# $NetBSD: Makefile.inc,v 1.8 2003/09/08 13:33:03 wiz Exp $
.if !defined(__MAKEFILE_INC_INCLUDED__)
__MAKEFILE_INC_INCLUDED__=1
@@ -14,10 +14,8 @@ CPPFLAGS+= -I${.CURDIR}/../common -I${IDIST}/lib \
DPADD+= ${LIBCOMMONDIR}/libcommon.a
LDADD+= -L${LIBCOMMONDIR} -lcommon
-# libintl-less build should comment the following 3 lines out
DPADD+= ${LIBINTL}
LDADD+= -lintl
-CPPFLAGS+= -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_LIBINTL_H=1
LIBCOMMONDIR!= cd ${.CURDIR}/../common && ${PRINTOBJDIR}
diff --git a/gnu/usr.bin/texinfo/common/config.h b/gnu/usr.bin/texinfo/common/config.h
index 29f0a5648b4..b1aa91f59fa 100644
--- a/gnu/usr.bin/texinfo/common/config.h
+++ b/gnu/usr.bin/texinfo/common/config.h
@@ -11,16 +11,7 @@
/* Define to 1 if translation of program messages to the user's native
language is requested. */
-/* For gettext (NLS) */
-/* #undef ENABLE_NLS */
-#ifdef ENABLE_NLS
-#include <libintl.h>
-#define _(String) gettext (String)
-#define N_(String) (String)
-#else
-#define _(String) (String)
-#define N_(String) (String)
-#endif
+#define ENABLE_NLS 1
/* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */
/* #undef GWINSZ_IN_SYS_IOCTL */