| 1 | /* asintl.h - gas-specific header for gettext code. | 
|---|
| 2 | Copyright 1998, 1999, 2000 Free Software Foundation, Inc. | 
|---|
| 3 |  | 
|---|
| 4 | Written by Tom Tromey <tromey@cygnus.com> | 
|---|
| 5 |  | 
|---|
| 6 | This file is part of GAS, the GNU Assembler. | 
|---|
| 7 |  | 
|---|
| 8 | GAS is free software; you can redistribute it and/or modify | 
|---|
| 9 | it under the terms of the GNU General Public License as published by | 
|---|
| 10 | the Free Software Foundation; either version 2, or (at your option) | 
|---|
| 11 | any later version. | 
|---|
| 12 |  | 
|---|
| 13 | GAS is distributed in the hope that it will be useful, | 
|---|
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|---|
| 16 | GNU General Public License for more details. | 
|---|
| 17 |  | 
|---|
| 18 | You should have received a copy of the GNU General Public License | 
|---|
| 19 | along with GAS; see the file COPYING.  If not, write to the Free | 
|---|
| 20 | Software Foundation, 59 Temple Place - Suite 330, Boston, MA | 
|---|
| 21 | 02111-1307, USA.  */ | 
|---|
| 22 |  | 
|---|
| 23 | #ifdef HAVE_LOCALE_H | 
|---|
| 24 | # include <locale.h> | 
|---|
| 25 | #endif | 
|---|
| 26 |  | 
|---|
| 27 | #ifdef ENABLE_NLS | 
|---|
| 28 | # include <libintl.h> | 
|---|
| 29 | # define _(String) gettext (String) | 
|---|
| 30 | # ifdef gettext_noop | 
|---|
| 31 | #  define N_(String) gettext_noop (String) | 
|---|
| 32 | # else | 
|---|
| 33 | #  define N_(String) (String) | 
|---|
| 34 | # endif | 
|---|
| 35 | #else | 
|---|
| 36 | # define gettext(Msgid) (Msgid) | 
|---|
| 37 | # define dgettext(Domainname, Msgid) (Msgid) | 
|---|
| 38 | # define dcgettext(Domainname, Msgid, Category) (Msgid) | 
|---|
| 39 | # define textdomain(Domainname) while (0) /* nothing */ | 
|---|
| 40 | # define bindtextdomain(Domainname, Dirname) while (0) /* nothing */ | 
|---|
| 41 | # define _(String) (String) | 
|---|
| 42 | # define N_(String) (String) | 
|---|
| 43 | #endif | 
|---|