From b80f6443b6b7b620c7272664c66ecb0b120a0998 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Tue, 27 Jul 2004 13:29:18 +0000 Subject: Imported from ../bash-3.0.tar.gz. --- bashintl.h | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'bashintl.h') diff --git a/bashintl.h b/bashintl.h index f9e6cdb..12068e4 100644 --- a/bashintl.h +++ b/bashintl.h @@ -1,6 +1,6 @@ /* bashintl.h -- Internationalization stuff - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996-2003 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -21,15 +21,22 @@ #if !defined (_BASHINTL_H_) #define _BASHINTL_H_ -/* Include this *after* config.h */ -#if defined (HAVE_LIBINTL_H) -# include +#if defined (BUILDTOOL) +# undef ENABLE_NLS +# define ENABLE_NLS 0 #endif +/* Include this *after* config.h */ +#include "gettext.h" + #if defined (HAVE_LOCALE_H) # include #endif +#define _(msgid) gettext(msgid) +#define N_(msgid) msgid +#define D_(d, msgid) dgettext(d, msgid) + #if defined (HAVE_SETLOCALE) && !defined (LC_ALL) # undef HAVE_SETLOCALE #endif @@ -38,12 +45,4 @@ # define setlocale(cat, loc) #endif -#if !defined (HAVE_TEXTDOMAIN) -# define textdomain(dom) -#endif - -#if !defined (HAVE_BINDTEXTDOMAIN) -# define bindtextdomain(dom, dir) -#endif - #endif /* !_BASHINTL_H_ */ -- cgit v1.2.3