asintl.h revision 60484
160484Sobrien/* asintl.h - gas-specific header for gettext code.
260484Sobrien   Copyright (C) 1998, 1999 Free Software Foundation, Inc.
360484Sobrien
460484Sobrien   Written by Tom Tromey <tromey@cygnus.com>
560484Sobrien
660484Sobrien   This file is part of GAS, the GNU Assembler.
760484Sobrien
860484Sobrien   GAS is free software; you can redistribute it and/or modify
960484Sobrien   it under the terms of the GNU General Public License as published by
1060484Sobrien   the Free Software Foundation; either version 2, or (at your option)
1160484Sobrien   any later version.
1260484Sobrien
1360484Sobrien   GAS is distributed in the hope that it will be useful,
1460484Sobrien   but WITHOUT ANY WARRANTY; without even the implied warranty of
1560484Sobrien   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1660484Sobrien   GNU General Public License for more details.
1760484Sobrien
1860484Sobrien   You should have received a copy of the GNU General Public License
1960484Sobrien   along with GAS; see the file COPYING.  If not, write to the Free
2060484Sobrien   Software Foundation, 59 Temple Place - Suite 330, Boston, MA
2160484Sobrien   02111-1307, USA. */
2260484Sobrien
2360484Sobrien#ifdef HAVE_LOCALE_H
2460484Sobrien# include <locale.h>
2560484Sobrien#endif
2660484Sobrien
2760484Sobrien#ifdef ENABLE_NLS
2860484Sobrien# include <libintl.h>
2960484Sobrien# define _(String) gettext (String)
3060484Sobrien# ifdef gettext_noop
3160484Sobrien#  define N_(String) gettext_noop (String)
3260484Sobrien# else
3360484Sobrien#  define N_(String) (String)
3460484Sobrien# endif
3560484Sobrien#else
3660484Sobrien/* Stubs that do something close enough.  */
3760484Sobrien# define textdomain(String) (String)
3860484Sobrien# define gettext(String) (String)
3960484Sobrien# define dgettext(Domain,Message) (Message)
4060484Sobrien# define dcgettext(Domain,Message,Type) (Message)
4160484Sobrien# define bindtextdomain(Domain,Directory) (Domain)
4260484Sobrien# define _(String) (String)
4360484Sobrien# define N_(String) (String)
4460484Sobrien#endif
45