/* %Z%%M%	%I% %E% Copyright 2004 J. Schilling */
/*
 *	Copyright (c) 2004 J. Schilling
 */
/*
 * The contents of this file are subject to the terms of the
 * Common Development and Distribution License, Version 1.0 only
 * (the "License").  You may not use this file except in compliance
 * with the License.
 *
 * See the file CDDL.Schily.txt in this distribution for details.
 *
 * When distributing Covered Code, include this CDDL HEADER in each
 * file and include the License file CDDL.Schily.txt from this distribution.
 */

#ifndef	_NLSDEFS_H
#define	_NLSDEFS_H

#ifdef	HAVE_LIBINTL_H
#ifndef	_INCL_LIBINTL_H
#include <libintl.h>		/* gettext() */
#define	_INCL_LIBINTL_H
#endif
#else
#undef	USE_NLS
#endif

#ifdef	HAVE_LOCALE_H
#ifndef	_INCL_LOCALE_H
#include <locale.h>		/* LC_* definitions */
#define	_INCL_LOCALE_H
#endif
#else
#undef	USE_NLS
#endif

#ifdef	HAVE_LANGINFO_H
#ifndef	_INCL_LAGINFO_H
#include <langinfo.h>		/* YESSTR amnd similar */
#define	_INCL_LANGINFO_H
#endif
#else
#undef	USE_NLS
#endif


#ifndef	USE_NLS
#undef	gettext
#define	gettext(a)	a
#endif

#endif	/* _NLSDEFS_H */
