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