]> git.lyx.org Git - lyx.git/blob - acconfig.h
229650fe3bbdffc77467423759ba4e7c1b3d7d0c
[lyx.git] / acconfig.h
1 /* -*- C++ -*- */
2 /* This is the compilation configuration file for LyX. It was generated by
3    autoconf's configure. You might want to change some of the defaults if
4    something goes wrong during the compilation
5
6    * This file is part of
7    * ======================================================
8    *
9    *           LyX, the High Level Word Processor
10    *
11    *           Copyright 1995 Matthias Ettrich
12    *           Copyright 1995-2001 The LyX Team.
13    *
14    *======================================================*/
15
16 #ifndef _CONFIG_H
17 #define _CONFIG_H
18
19 @TOP@
20
21 /* Define as 1 if the MKSTEMP function is declared */
22 #undef HAVE_DECL_MKSTEMP
23
24 /* Define if you have the function prototype for snprintf().  */
25 #undef HAVE_DECL_SNPRINTF
26
27 /* Define if you have the function prototype for vsnprintf().  */
28 #undef HAVE_DECL_VSNPRINTF
29
30 /* Define if you have the function prototype istreambuf_iterator in
31    <iterator> */
32 #undef HAVE_DECL_ISTREAMBUF_ITERATOR
33
34 @BOTTOM@
35
36 /************************************************************
37  ** You should not need to change anything beyond this point */
38
39 #ifndef HAVE_STRCHR
40 #define strchr(a,b)     index(a,b)
41 #endif
42
43 #ifndef HAVE_MEMMOVE
44 #define memmove(a, b, c)  bcopy(b, a, c)
45 #endif
46
47 #ifdef HAVE_MKSTEMP
48 #ifndef HAVE_DECL_MKSTEMP
49 #if defined (__cplusplus)
50 extern "C"
51 #endif
52 int mkstemp(char*);
53 #endif
54 #endif
55
56 /* C++ always support the keyword `inline' */
57 #if defined inline && defined __cplusplus
58 /**/#undef inline
59 #endif
60
61 /* C++ always has a good enough `const' */
62 #if defined const && defined __cplusplus
63 /**/#undef const
64 #endif
65
66 /* Check on the run if we are using exceptions during this compilation.*/
67 #if defined(__sgi) || defined(__GNUC__)
68 #  ifdef __EXCEPTIONS
69 #    define USING_EXCEPTIONS
70 #  endif
71 #endif
72
73 #if defined(__USLC__) || defined(__SUNPRO_CC) || defined(__COMO__) || defined(__ICL)
74 #  define USING_EXCEPTIONS
75 #endif
76
77 #ifdef __EMX__
78 #include "support/os2_defines.h"
79 #endif
80
81 #if defined(__CYGWIN__) || defined( __CYGWIN32__)
82 #include "support/nt_defines.h"
83 #endif
84
85 /* Some support for the boost library. */
86 /*
87  * #ifndef HAVE_LIMITS
88  * #define BOOST_NO_LIMITS
89  * #endif
90  *
91  * #ifndef HAVE_SSTREAM
92  * #define BOOST_NO_STRINGSTREAM
93  * #endif
94  */
95
96 #endif /* _CONFIG_H */