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