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