| 1 | /* asintl.h - gas-specific header for gettext code. |
| 2 | Copyright (C) 1998 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 ENABLE_NLS |
| 24 | #include <libintl.h> |
| 25 | #define _(String) gettext (String) |
| 26 | #ifdef gettext_noop |
| 27 | #define N_(String) gettext_noop (String) |
| 28 | #else |
| 29 | #define N_(String) (String) |
| 30 | #endif |
| 31 | #else |
| 32 | /* Stubs that do something close enough. */ |
| 33 | #define textdomain(String) (String) |
| 34 | #define gettext(String) (String) |
| 35 | #define dgettext(Domain,Message) (Message) |
| 36 | #define dcgettext(Domain,Message,Type) (Message) |
| 37 | #define bindtextdomain(Domain,Directory) (Domain) |
| 38 | #define _(String) (String) |
| 39 | #define N_(String) (String) |
| 40 | /* In this case we don't care about the value. */ |
| 41 | #ifndef LC_MESSAGES |
| 42 | #define LC_MESSAGES 0 |
| 43 | #endif |
| 44 | #endif |