X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=acconfig.h;h=dd219f8bee733fde6b80ab5e92809f14d0f5ef61;hb=3eea90dbbc24f9dafc6c0a42d5b14fe213dbcd6a;hp=2ef1ccd84cee76d900fe62bab74afa3e8c253822;hpb=6bba977f42b0cde753ac2ffd26f3f9c6b32ba0b6;p=lyx.git diff --git a/acconfig.h b/acconfig.h index 2ef1ccd84c..dd219f8bee 100644 --- a/acconfig.h +++ b/acconfig.h @@ -40,20 +40,24 @@ e.g. */ #undef XPM_H_LOCATION -/* here are the defines for what Toolkit to use (default is XForms) */ -#undef KDEGUI +#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 @BOTTOM@ /************************************************************ ** You should not need to change anything beyond this point */ -/* even though -ansi might have been specified for gcc, we want all - usual prototypes. */ -#ifdef __STRICT_ANSI__ -/**/#undef __STRICT_ANSI__ -#endif - #ifndef HAVE_STRCHR #define strchr(a,b) index(a,b) #endif @@ -73,6 +77,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