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