]> git.lyx.org Git - lyx.git/blob - acconfig.h
A few modifications for next version.
[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 (C) 1995 Matthias Ettrich
12    *
13    *======================================================*/
14
15 #ifndef _CONFIG_H
16 #define _CONFIG_H
17
18 @TOP@
19
20 /* Define to work around a bug with const handling in gcc 2.7.[012] */
21 #undef BROKEN_CONST
22
23 /* Define on SunOS 4 and SCO, were some functions are missing from the headers */
24 #undef BROKEN_HEADERS
25
26 /* Define if you want debugging turned on as default. */
27 #undef DEBUG_AS_DEFAULT
28
29 /* Define if you are building a development version of LyX */
30 #undef DEVEL_VERSION
31
32 /* Define to 1 if NLS is requested.  */
33 #undef ENABLE_NLS
34
35 /* Define to nothing if your compiler does not understand the
36    `explicit' directive */
37 #undef explicit
38
39 /* define this to the location of forms.h to be used with #include,
40   e.g. <forms.h> */
41 #undef FORMS_H_LOCATION
42
43 /* Define if your locale.h file contains LC_MESSAGES.  */
44 #undef HAVE_LC_MESSAGES
45
46 /* Define as 1 if you have catgets and don't want to use GNU gettext.  */
47 #undef HAVE_CATGETS
48
49 /* Define as 1 if you have gettext and don't want to use GNU gettext.  */
50 #undef HAVE_GETTEXT
51
52 /* Define as 1 if you have the stpcopy function */
53 #undef HAVE_STPCPY
54
55 /*
56 /* Define if the bool type is known to your compiler */
57 #undef HAVE_bool
58 */
59
60 /* Define to the name of the distribution.  */
61 #undef PACKAGE
62
63 /* You might want to define TWO_COLOR_ICONS if you want to spare
64  your colormap.  This will use monochrome icons instead of colored
65  ones. */
66 #undef TWO_COLOR_ICONS
67
68 /* Define to the version of the distribution.  */
69 #undef VERSION
70
71 /* Define this if you want to see the #warning directives put here and
72    there by the developpers to get attention */
73 #undef WITH_WARNINGS
74
75 /* define this to the location of xpm.h to be used with #include,
76   e.g. <xpm.h> */
77 #undef XPM_H_LOCATION
78
79 @BOTTOM@ 
80
81 /************************************************************ 
82  ** You should not need to change anything beyond this point */
83
84 /* even though -ansi might have been specified for gcc, we want all
85   usual prototypes.  */
86 #ifdef __STRICT_ANSI__
87 /**/#undef __STRICT_ANSI__
88 #endif
89
90 #ifdef HAVE_MEMSET
91 #define BZERO(a,b)      memset(a,0,b)
92 #else
93 #define BZERO(a,b)      bzero(a,b)
94 #endif
95
96 #ifndef HAVE_STRCHR
97 #define strchr(a,b)     index(a,b)
98 #endif
99
100 #ifndef HAVE_MEMMOVE
101 #define memmove(a, b, c)  bcopy(b, a, c)
102 #endif
103
104 #ifndef HAVE_STRERROR
105 #if defined (__cplusplus)
106 extern "C"
107 #endif
108 char * strerror(int n);
109 #endif
110
111 /*
112 #ifndef HAVE_bool
113 #define bool int
114 #define true 1
115 #define false 0
116 #endif
117 */
118
119 /*
120 #if SIZEOF_VOID_P == SIZEOF_INT
121 # define PTR_AS_INT(p) int(p)
122 #else
123 # define PTR_AS_INT(p) long(p)
124 #endif
125 */
126
127 /* do we need this anymore?*/
128 #ifdef BROKEN_CONST
129 #include <string.h>
130 #include "broken_const.h"
131 #endif  
132
133 #ifdef BROKEN_HEADERS
134 #include "broken_headers.h"
135 #endif
136
137 /* C++ always support the keyword `inline' */
138 #if defined inline && defined __cplusplus
139 /**/#undef inline
140 #endif
141
142 /* C++ always has a good enough `const' */
143 #if defined const && defined __cplusplus
144 /**/#undef const
145 #endif
146
147
148 #ifdef __EMX__
149 #include "os2_defines.h"
150 #endif
151
152 #ifdef VMS
153 #include "vms_defines.h"
154 #endif
155
156 #if defined(__CYGWIN__) || defined( __CYGWIN32__)
157 #include "nt_defines.h"
158 #endif
159
160 #endif /* _CONFIG_H */
161