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