X-Git-Url: https://git.jankratochvil.net/?p=mdsms.git;a=blobdiff_plain;f=acconfig.h;h=ac1bcefcde512ee07c5569664d803f1326c2ad41;hp=4859a4b6042c336098482f141f683a1709ca9d86;hb=f3c081df429e32cf77534cd4650daf3bed23e122;hpb=3b127365dbbc640bc1a0813b24baa925b99f5079 diff --git a/acconfig.h b/acconfig.h index 4859a4b..ac1bcef 100644 --- a/acconfig.h +++ b/acconfig.h @@ -3,6 +3,21 @@ * $Id$ */ +/* Define if your locale.h file contains LC_MESSAGES. */ +#undef HAVE_LC_MESSAGES + +/* Define to 1 if NLS is requested. */ +#undef ENABLE_NLS + +/* Define as 1 if you have catgets and don't want to use GNU gettext. */ +#undef HAVE_CATGETS + +/* Define as 1 if you have gettext and don't want to use GNU gettext. */ +#undef HAVE_GETTEXT + +/* Define as 1 if you have the stpcpy function. */ +#undef HAVE_STPCPY + /* __NORETURN define - usually a GCC extension. */ #undef __NORETURN @@ -39,6 +54,10 @@ #undef HAVE_CBAUDEX #undef CBAUDEX +/* CRTSCTS define, may be missing. */ +#undef HAVE_CRTSCTS +#undef CRTSCTS + /* FD_SETSIZE define, may be missing. */ #undef HAVE_FD_SETSIZE @@ -185,3 +204,33 @@ extern char *sys_errlist[]; #ifndef HAVE_OFFSETOF #define offsetof(a,b) ((size_t)&((a *)0)->b) #endif + +#ifndef DONT_NEED_DECLARATIONS +/* + * Handles all of the internationalization configuration options. + * Author: Tom Tromey + * Stolen from + * Modified by Jan Kratochvil + */ +#ifdef ENABLE_NLS +#ifdef HAVE_LIBINTL_H +# include +#endif /* HAVE_LIBINTL_H */ +/* 'gettext()' may not be declared here and it will default to return 'int'! */ +# define _(String) ((const char *)gettext (String)) +# ifdef gettext_noop +# define N_(String) ((const char *)gettext_noop (String)) +# else +# define N_(String) (String) +# endif +#else /* ENABLE_NLS */ +/* Stubs that do something close enough. */ +# define textdomain(String) (String) +# define gettext(String) (String) +# define dgettext(Domain,Message) (Message) +# define dcgettext(Domain,Message,Type) (Message) +# define bindtextdomain(Domain,Directory) (Domain) +# define _(String) (String) +# define N_(String) (String) +#endif /* ENABLE_NLS */ +#endif /* !DONT_NEED_DECLARATIONS */