diff options
| author | Jari Aalto <jari.aalto@cante.net> | 2004-07-27 13:29:18 +0000 |
|---|---|---|
| committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:56 +0000 |
| commit | b80f6443b6b7b620c7272664c66ecb0b120a0998 (patch) | |
| tree | 9f71c98d8fe8fa0f41d95e1eb4227f32a09d43ca /bashintl.h | |
| parent | 7117c2d221b2aed4ede8600f6a36b7c1454b4f55 (diff) | |
| download | android_external_bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.tar.gz android_external_bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.tar.bz2 android_external_bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.zip | |
Imported from ../bash-3.0.tar.gz.
Diffstat (limited to 'bashintl.h')
| -rw-r--r-- | bashintl.h | 23 |
1 files changed, 11 insertions, 12 deletions
@@ -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 <libintl.h> +#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 <locale.h> #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_ */ |
