asintl.h revision 78829
1198825Sedwin/* asintl.h - gas-specific header for gettext code. 2192886Sedwin Copyright 1998, 1999, 2000 Free Software Foundation, Inc. 3192886Sedwin 464499Swollman Written by Tom Tromey <tromey@cygnus.com> 52742Swollman 62742Swollman This file is part of GAS, the GNU Assembler. 72742Swollman 82742Swollman GAS is free software; you can redistribute it and/or modify 9158421Swollman it under the terms of the GNU General Public License as published by 102742Swollman the Free Software Foundation; either version 2, or (at your option) 112742Swollman any later version. 12158421Swollman 13158421Swollman GAS is distributed in the hope that it will be useful, 142742Swollman but WITHOUT ANY WARRANTY; without even the implied warranty of 1586222Swollman MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1620094Swollman GNU General Public License for more details. 1720094Swollman 1820094Swollman You should have received a copy of the GNU General Public License 1920094Swollman along with GAS; see the file COPYING. If not, write to the Free 2020094Swollman Software Foundation, 59 Temple Place - Suite 330, Boston, MA 21158421Swollman 02111-1307, USA. */ 22158421Swollman 2320094Swollman#ifdef HAVE_LOCALE_H 242742Swollman# include <locale.h> 252742Swollman#endif 262742Swollman 272742Swollman#ifdef ENABLE_NLS 282742Swollman# include <libintl.h> 2958787Sru# define _(String) gettext (String) 302742Swollman# ifdef gettext_noop 312742Swollman# define N_(String) gettext_noop (String) 322742Swollman# else 332742Swollman# define N_(String) (String) 34114173Swollman# endif 35114173Swollman#else 36114173Swollman# define gettext(Msgid) (Msgid) 37114173Swollman# define dgettext(Domainname, Msgid) (Msgid) 38114173Swollman# define dcgettext(Domainname, Msgid, Category) (Msgid) 39114173Swollman# define textdomain(Domainname) while (0) /* nothing */ 40114173Swollman# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */ 41114173Swollman# define _(String) (String) 42114173Swollman# define N_(String) (String) 43114173Swollman#endif 44114173Swollman