asintl.h revision 77298
155682Smarkm/* asintl.h - gas-specific header for gettext code.
2233294Sstas   Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
3233294Sstas
4233294Sstas   Written by Tom Tromey <tromey@cygnus.com>
555682Smarkm
6233294Sstas   This file is part of GAS, the GNU Assembler.
7233294Sstas
8233294Sstas   GAS is free software; you can redistribute it and/or modify
955682Smarkm   it under the terms of the GNU General Public License as published by
10233294Sstas   the Free Software Foundation; either version 2, or (at your option)
11233294Sstas   any later version.
1255682Smarkm
13233294Sstas   GAS is distributed in the hope that it will be useful,
14233294Sstas   but WITHOUT ANY WARRANTY; without even the implied warranty of
15233294Sstas   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1655682Smarkm   GNU General Public License for more details.
1755682Smarkm
1855682Smarkm   You should have received a copy of the GNU General Public License
1955682Smarkm   along with GAS; see the file COPYING.  If not, write to the Free
2055682Smarkm   Software Foundation, 59 Temple Place - Suite 330, Boston, MA
2155682Smarkm   02111-1307, USA.  */
2255682Smarkm
2355682Smarkm#ifdef HAVE_LOCALE_H
2455682Smarkm# include <locale.h>
2555682Smarkm#endif
2655682Smarkm
2755682Smarkm#ifdef ENABLE_NLS
2855682Smarkm# include <libintl.h>
2955682Smarkm# define _(String) gettext (String)
3055682Smarkm# ifdef gettext_noop
3155682Smarkm#  define N_(String) gettext_noop (String)
3255682Smarkm# else
3355682Smarkm#  define N_(String) (String)
3455682Smarkm# endif
35233294Sstas#else
3655682Smarkm# define gettext(Msgid) (Msgid)
37233294Sstas# define dgettext(Domainname, Msgid) (Msgid)
3855682Smarkm# define dcgettext(Domainname, Msgid, Category) (Msgid)
3955682Smarkm# define textdomain(Domainname) while (0) /* nothing */
4055682Smarkm# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */
4155682Smarkm# define _(String) (String)
42# define N_(String) (String)
43#endif
44