]> git.lyx.org Git - lyx.git/blob - acconfig.h
some more changes
[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 this to the location of xpm.h to be used with #include,
22   e.g. <xpm.h> */
23 #undef XPM_H_LOCATION
24
25 #undef HAVE_LIBSM
26
27 /* Define as 1 if the MKSTEMP function is declared */
28 #undef HAVE_DECL_MKSTEMP
29
30 /* Define if you have the function prototype for snprintf().  */
31 #undef HAVE_DECL_SNPRINTF
32
33 /* Define if you have the function prototype for vsnprintf().  */
34 #undef HAVE_DECL_VSNPRINTF
35
36 /* Define if you have the function prototype istreambuf_iterator in
37    <iterator> */
38 #undef HAVE_DECL_ISTREAMBUF_ITERATOR
39
40 @BOTTOM@
41
42 /************************************************************
43  ** You should not need to change anything beyond this point */
44
45 #ifndef HAVE_STRCHR
46 #define strchr(a,b)     index(a,b)
47 #endif
48
49 #ifndef HAVE_MEMMOVE
50 #define memmove(a, b, c)  bcopy(b, a, c)
51 #endif
52
53 #ifndef HAVE_STRERROR
54 #if defined (__cplusplus)
55 extern "C"
56 #endif
57 char * strerror(int n);
58 #endif
59
60 #ifdef BROKEN_HEADERS
61 #include "broken_headers.h"
62 #endif
63
64 #ifdef HAVE_MKSTEMP
65 #ifndef HAVE_DECL_MKSTEMP
66 #if defined (__cplusplus)
67 extern "C"
68 #endif
69 int mkstemp(char*);
70 #endif
71 #endif
72
73 /* C++ always support the keyword `inline' */
74 #if defined inline && defined __cplusplus
75 /**/#undef inline
76 #endif
77
78 /* C++ always has a good enough `const' */
79 #if defined const && defined __cplusplus
80 /**/#undef const
81 #endif
82
83 /* Check on the run if we are using exceptions during this compilation.*/
84 #if defined(__sgi) || defined(__GNUC__)
85 #  ifdef __EXCEPTIONS
86 #    define USING_EXCEPTIONS
87 #  endif
88 #endif
89
90 #if defined(__USLC__) || defined(__SUNPRO_CC) || defined(__COMO__) || defined(__ICL)
91 #  define USING_EXCEPTIONS
92 #endif
93
94 #ifdef __EMX__
95 #include "support/os2_defines.h"
96 #endif
97
98 #if defined(__CYGWIN__) || defined( __CYGWIN32__)
99 #include "support/nt_defines.h"
100 #endif
101
102 /* Some support for the boost library. */
103 /*
104  * #ifndef HAVE_LIMITS
105  * #define BOOST_NO_LIMITS
106  * #endif
107  *
108  * #ifndef HAVE_SSTREAM
109  * #define BOOST_NO_STRINGSTREAM
110  * #endif
111  */
112
113 #endif /* _CONFIG_H */