diff options
Diffstat (limited to 'gnu/usr.bin')
| -rw-r--r-- | gnu/usr.bin/texinfo/Makefile.inc | 4 | ||||
| -rw-r--r-- | gnu/usr.bin/texinfo/common/config.h | 11 |
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 */ |
