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