]> git.lyx.org Git - lyx.git/blobdiff - acconfig.h
back to cvs
[lyx.git] / acconfig.h
index ad67e70f6e4cbe158971c40da6a832af6680ac09..8d0cbf7b644c1c182076dfb1c1fc7fe1c33f8577 100644 (file)
@@ -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.
    *
    *======================================================*/
 
 
 @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. <forms.h> */
 #undef FORMS_H_LOCATION
 
-/* Define if your locale.h file contains LC_MESSAGES.  */
-#undef HAVE_LC_MESSAGES
+/* define this to the location of xpm.h to be used with #include,
+  e.g. <xpm.h> */
+#undef XPM_H_LOCATION
 
-/* Define as 1 if you have catgets and don't want to use GNU gettext.  */
-#undef HAVE_CATGETS
+#undef HAVE_LIBSM
 
-/* Define as 1 if you have gettext and don't want to use GNU gettext.  */
-#undef HAVE_GETTEXT
+/* Define as 1 if the MKSTEMP function is declared */
+#undef HAVE_DECL_MKSTEMP
 
-/* Define as 1 if you have the stpcopy function */
-#undef HAVE_STPCPY
+/* Define if you have the function prototype for snprintf().  */
+#undef HAVE_DECL_SNPRINTF
 
-/* define this to the location of stl_string_fwd.h to be used with #include,
-  NOTE: Do not set it to <stl_string_fwd.h> as that will find the LyX
-       supplied version of the header.
-  e.g. <../include/stl_string_fwd.h> or better yet use an absolute path */
-#undef STL_STRING_FWD_H_LOCATION
+/* Define if you have the function prototype for vsnprintf().  */
+#undef HAVE_DECL_VSNPRINTF
 
-/* define this to the location of xpm.h to be used with #include,
-  e.g. <xpm.h> */
-#undef XPM_H_LOCATION
+/* Define if you have the function prototype istreambuf_iterator in
+   <iterator> */
+#undef HAVE_DECL_ISTREAMBUF_ITERATOR
 
 @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
-
-#ifdef HAVE_MEMSET
-#define BZERO(a,b)      memset(a,0,b)
-#else
-#define BZERO(a,b)      bzero(a,b)
-#endif
-
 #ifndef HAVE_STRCHR
 #define strchr(a,b)     index(a,b)
 #endif
@@ -82,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
@@ -104,15 +96,20 @@ char * strerror(int n);
 #endif
 
 #ifdef __EMX__
-#include "os2_defines.h"
+#include "support/os2_defines.h"
 #endif
 
-#ifdef VMS
-#include "vms_defines.h"
+#if defined(__CYGWIN__) || defined( __CYGWIN32__)
+#include "support/nt_defines.h"
 #endif
 
-#if defined(__CYGWIN__) || defined( __CYGWIN32__)
-#include "nt_defines.h"
+/* 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 */