X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=acconfig.h;h=ab7c54953bcfeff03ac5a9472facb763eefe606f;hb=0c60793515ba9de6955f52278644d410ac86c02c;hp=c4f91734cfe9cb6576815dfe84e62f137bded1c5;hpb=e3dfa5b1448eba729b8976e035d141f78f766207;p=lyx.git diff --git a/acconfig.h b/acconfig.h index c4f91734cf..ab7c54953b 100644 --- a/acconfig.h +++ b/acconfig.h @@ -8,7 +8,8 @@ * * LyX, the High Level Word Processor * - * Copyright (C) 1995 Matthias Ettrich + * Copyright 1995 Matthias Ettrich + * Copyright 1995-2001 The LyX Team. * *======================================================*/ @@ -17,32 +18,28 @@ @TOP@ -/* Define to 1 if NLS is requested. */ -#undef ENABLE_NLS - /* define this to the location of forms.h to be used with #include, e.g. */ #undef FORMS_H_LOCATION -/* Define if your locale.h file contains LC_MESSAGES. */ -#undef HAVE_LC_MESSAGES - -/* 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 stpcopy function */ -#undef HAVE_STPCPY - /* define this to the location of xpm.h to be used with #include, e.g. */ #undef XPM_H_LOCATION #undef HAVE_LIBSM -#undef USE_PSPELL +/* Define as 1 if the MKSTEMP function is declared */ +#undef HAVE_DECL_MKSTEMP + +/* Define if you have the function prototype for snprintf(). */ +#undef HAVE_DECL_SNPRINTF + +/* Define if you have the function prototype for vsnprintf(). */ +#undef HAVE_DECL_VSNPRINTF + +/* Define if you have the function prototype istreambuf_iterator in + */ +#undef HAVE_DECL_ISTREAMBUF_ITERATOR @BOTTOM@ @@ -68,6 +65,15 @@ char * strerror(int n); #include "broken_headers.h" #endif +#ifdef HAVE_MKSTEMP +#ifndef HAVE_DECL_MKSTEMP +#if defined (__cplusplus) +extern "C" +#endif +int mkstemp(char*); +#endif +#endif + /* C++ always support the keyword `inline' */ #if defined inline && defined __cplusplus /**/#undef inline @@ -101,5 +107,14 @@ char * strerror(int n); #include "nt_defines.h" #endif +/* Some support for the boost library. */ +#ifndef HAVE_LIMITS +#define BOOST_NO_LIMITS +#endif + +#ifndef HAVE_SSTREAM +#define BOOST_NO_STRINGSTREAM +#endif + #endif /* _CONFIG_H */