]> git.lyx.org Git - lyx.git/blob - acconfig.h
0dce1c82e404080dbd118277f238ea998da5a641
[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
80 @BOTTOM@ 
81
82 /************************************************************ 
83  ** You should not need to change anything beyond this point */
84
85 /* even though -ansi might have been specified for gcc, we want all
86   usual prototypes.  */
87 #ifdef __STRICT_ANSI__
88 /**/#undef __STRICT_ANSI__
89 #endif
90
91 #ifdef HAVE_MEMSET
92 #define BZERO(a,b)      memset(a,0,b)
93 #else
94 #define BZERO(a,b)      bzero(a,b)
95 #endif
96
97 #ifndef HAVE_STRCHR
98 #define strchr(a,b)     index(a,b)
99 #endif
100
101 #ifndef HAVE_MEMMOVE
102 #define memmove(a, b, c)  bcopy(b, a, c)
103 #endif
104
105 #ifndef HAVE_STRERROR
106 #if defined (__cplusplus)
107 extern "C"
108 #endif
109 char * strerror(int n);
110 #endif
111
112 /*
113 #ifndef HAVE_bool
114 #define bool int
115 #define true 1
116 #define false 0
117 #endif
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 #ifdef BROKEN_CONST
127 #include <string.h>
128 #include "broken_const.h"
129 #endif  
130
131 #ifdef BROKEN_HEADERS
132 #include "broken_headers.h"
133 #endif
134
135 /* C++ always support the keyword `inline' */
136 #if defined inline && defined __cplusplus
137 /**/#undef inline
138 #endif
139
140 #ifdef __EMX__
141 #include "os2_defines.h"
142 #endif
143
144 #ifdef VMS
145 #include "vms_defines.h"
146 #endif
147
148 #if defined(__CYGWIN__) || defined( __CYGWIN32__)
149 #include "nt_defines.h"
150 #endif
151
152 #endif /* _CONFIG_H */
153