1 /* src/config.h. Generated by configure. */
2 /* src/config.h.in. Generated from configure.ac by autoheader. */
8 * This file is part of LyX, the document processor.
9 * Licence details can be found in the file COPYING.
11 * This is the compilation configuration file for LyX.
12 * It was generated by autoconfs configure.
13 * You might want to change some of the defaults if something goes wrong
14 * during the compilation.
20 #pragma warning(disable:4127 4244 4258 4355 4267 4503 4786 4800)
22 // Enable a bunch of useful warnings
23 #pragma warning(3:4019 4032 4057 4125 4130 4152 4189 4201 4706)
25 #pragma warning(2:4032) // function arg has different type from declaration
26 #pragma warning(2:4092) // 'sizeof' value too big
27 #pragma warning(2:4132 4268)// const object not initialized
28 #pragma warning(2:4152) // pointer conversion between function and data
29 #pragma warning(2:4239) // standard doesn't allow this conversion
30 #pragma warning(2:4701) // local variable used without being initialized
31 #pragma warning(2:4706) // if (a=b) instead of (if a==b)
32 #pragma warning(2:4709) // comma in array subscript
33 //#pragma warning(3:4061) // not all enum values tested in switch statement ( works in vc7, and gives alot of warnings )
34 //#pragma warning(3:4505) // unreferenced local function removed
35 #pragma warning(3:4121) // space added for structure alignment
36 #pragma warning(3:4019) // empty statement at global scope
37 #pragma warning(3:4057) // pointers refer to different base types
38 #pragma warning(3:4125) // decimal digit terminates octal escape
39 #pragma warning(2:4131) // old-style function declarator
40 #pragma warning(3:4211) // extern redefined as static
41 #pragma warning(3:4213) // cast on left side of = is non-standard
42 #pragma warning(3:4222) // member function at file scope shouldn't be static
43 #pragma warning(3:4234 4235)// keyword not supported or reserved for future
44 #pragma warning(3:4504) // type ambiguous; simplify code
45 #pragma warning(3:4507) // explicit linkage specified after default linkage
46 #pragma warning(3:4515) // namespace uses itself
47 #pragma warning(3:4516 4517)// access declarations are deprecated
48 #pragma warning(3:4670) // base class of thrown object is inaccessible
49 #pragma warning(3:4671) // copy ctor of thrown object is inaccessible
50 #pragma warning(3:4673) // thrown object cannot be handled in catch block
51 #pragma warning(3:4674) // dtor of thrown object is inaccessible
52 #pragma warning(3:4705) // statement has no effect (example: a+1;)
55 /* Location of Aiksaurus.h */
56 #define AIKSAURUS_H_LOCATION <Aiksaurus/Aiksaurus.h>
58 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
59 systems. This function is required for `alloca.c' support on those systems.
61 /* #undef CRAY_STACKSEG_END */
63 /* Define if your C++ compiler puts C library functions in the global
65 /* #undef CXX_GLOBAL_CSTD */
67 /* Define to 1 if using `alloca.c'. */
70 /* Define if you are building a development version of LyX */
71 #define DEVEL_VERSION 1
73 /* Define if you want assertions to be enabled in the code */
74 #define ENABLE_ASSERTIONS 1
76 /* Define to 1 if translation of program messages to the user's native
77 language is requested. */
78 /* #undef ENABLE_NLS */
80 /* Define to 1 if you have `alloca', as a function or macro. */
83 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
85 #define HAVE_ALLOCA_H 1
87 /* Define to 1 if you have the <argz.h> header file. */
88 /* #undef HAVE_ARGZ_H */
90 /* Define to 1 if you have the <aspell/aspell.h> header file. */
91 /* #undef HAVE_ASPELL_ASPELL_H */
93 /* Define to 1 if you have the <aspell.h> header file. */
94 /* #undef HAVE_ASPELL_H */
96 /* Define to 1 if you have the `asprintf' function. */
97 /* #undef HAVE_ASPRINTF */
99 /* Define if the GNU dcgettext() function is already present or preinstalled.
101 /* #undef HAVE_DCGETTEXT */
103 /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
105 #define HAVE_DECL_FEOF_UNLOCKED 0
107 /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
109 #define HAVE_DECL_FGETS_UNLOCKED 0
111 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
113 #define HAVE_DECL_GETC_UNLOCKED 0
115 /* Define if you have the prototype for function `istreambuf_iterator' */
116 #define HAVE_DECL_ISTREAMBUF_ITERATOR 1
118 /* Define if you have the prototype for function `mkstemp' */
119 /* #undef HAVE_DECL_MKSTEMP */
121 /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
123 #define HAVE_DECL__SNPRINTF 1
125 /* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
127 #define HAVE_DECL__SNWPRINTF 1
129 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
131 /* #undef HAVE_DIRENT_H 1 */
133 /* Define to 1 if you have the <dlfcn.h> header file. */
134 /* #undef HAVE_DLFCN_H */
136 /* Define to 1 if you have the <flimage.h> header file. */
137 /* #undef HAVE_FLIMAGE_H */
139 /* Define to 1 if you have the `fwprintf' function. */
140 #define HAVE_FWPRINTF 1
142 /* Define to 1 if you have the `getcwd' function. */
143 #define HAVE_GETCWD 1
145 /* Define to 1 if you have the `getegid' function. */
146 #define HAVE_GETEGID 1
148 /* Define to 1 if you have the `geteuid' function. */
149 #define HAVE_GETEUID 1
151 /* Define to 1 if you have the `getgid' function. */
152 #define HAVE_GETGID 1
154 /* Define to 1 if you have the `getpagesize' function. */
155 #define HAVE_GETPAGESIZE 1
157 /* Define if the GNU gettext() function is already present or preinstalled. */
158 /* #undef HAVE_GETTEXT */
160 /* Define to 1 if you have the `getuid' function. */
161 #define HAVE_GETUID 1
163 /* Define if you have the iconv() function. */
166 /* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
167 #define HAVE_INTMAX_T 1
169 /* Define if <inttypes.h> exists and doesn't clash with <sys/types.h>. */
170 #define HAVE_INTTYPES_H 1
172 /* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
173 declares uintmax_t. */
174 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
176 /* Define to 1 if you have the <ios> header file. */
179 /* Define to 1 if you have the <istream> header file. */
180 #define HAVE_ISTREAM 1
182 /* Define this if you have the kpsewhich program working on your system. */
183 #define HAVE_KPSEWHICH 1
185 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
186 #define HAVE_LANGINFO_CODESET 1
188 /* Define if your <locale.h> file defines LC_MESSAGES. */
189 /* #undef HAVE_LC_MESSAGES */
191 /* Define this if you have the AikSaurus library */
192 /* #undef HAVE_LIBAIKSAURUS */
194 /* Define to 1 if you have the `c' library (-lc). */
197 /* Define to 1 if you have the `m' library (-lm). */
200 /* Define to 1 if you have the <limits> header file. */
201 #define HAVE_LIMITS 1
203 /* Define to 1 if you have the <limits.h> header file. */
204 #define HAVE_LIMITS_H 1
206 /* Define to 1 if you have the <locale> header file. */
207 #define HAVE_LOCALE 1
209 /* Define to 1 if you have the <locale.h> header file. */
210 #define HAVE_LOCALE_H 1
212 /* Define if you have the 'long double' type. */
213 #define HAVE_LONG_DOUBLE 1
215 /* Define if you have the 'long long' type. */
216 #define HAVE_LONG_LONG 1
218 /* Define to 1 if you have the `lstat' function. */
219 /* #undef HAVE_LSTAT */
221 /* Define to 1 if you have the <malloc.h> header file. */
222 #define HAVE_MALLOC_H 1
224 /* Define to 1 if you have the <memory.h> header file. */
225 #define HAVE_MEMORY_H 1
227 /* Define to 1 if you have the `mempcpy' function. */
228 #define HAVE_MEMPCPY 1
230 /* Define to 1 if you have the `mkdir' function. */
231 /* #define HAVE_MKDIR */
233 /* Define to 1 if you have the `mkfifo' function. */
234 #define HAVE_MKFIFO 1
236 /* Define to 1 if you have the `mkstemp' function. */
237 /* #undef HAVE_MKSTEMP */
239 /* Define to 1 if you have the `mktemp' function. */
240 #define HAVE_MKTEMP 1
242 /* Define to 1 if you have a working `mmap' system call. */
243 /* #undef HAVE_MMAP */
245 /* Define to 1 if you have the `munmap' function. */
246 #define HAVE_MUNMAP 1
248 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
249 /* #undef HAVE_NDIR_H */
251 /* Define to 1 if you have the <nl_types.h> header file. */
252 #define HAVE_NL_TYPES_H 1
254 /* Define to 1 if you have the <ostream> header file. */
255 #define HAVE_OSTREAM 1
257 /* Define if your printf() function supports format strings with positions. */
258 #define HAVE_POSIX_PRINTF 1
260 /* Define to 1 if you have the <pspell/pspell.h> header file. */
261 /* #undef HAVE_PSPELL_PSPELL_H */
263 /* Define to 1 if you have the `putenv' function. */
264 #define HAVE_PUTENV 1
266 /* Define to 1 if you have the `readlink' function. */
267 /* #undef HAVE_READLINK */
269 /* Define to 1 if you have the `setenv' function. */
270 /* #undef HAVE_SETENV 1 */
272 /* Define to 1 if you have the `setlocale' function. */
273 #define HAVE_SETLOCALE 1
275 /* Define to 1 if you have the `snprintf' function. */
276 #define HAVE_SNPRINTF 1
278 /* Define to 1 if you have the <sstream> header file. */
279 #define HAVE_SSTREAM 1
281 /* Define to 1 if you have the <stddef.h> header file. */
282 #define HAVE_STDDEF_H 1
284 /* Define to 1 if you have the <stdint.h> header file. */
285 #define HAVE_STDINT_H 1
287 /* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
289 #define HAVE_STDINT_H_WITH_UINTMAX 1
291 /* Define to 1 if you have the <stdlib.h> header file. */
292 #define HAVE_STDLIB_H 1
294 /* Define if you have a conforming std::count template, otherwise HP version
295 of count template is assumed. */
296 #define HAVE_STD_COUNT 1
298 /* Define to 1 if you have the `stpcpy' function. */
299 #define HAVE_STPCPY 1
301 /* Define to 1 if you have the `strcasecmp' function. */
302 #define HAVE_STRCASECMP 1
304 /* Define to 1 if you have the `strdup' function. */
305 #define HAVE_STRDUP 1
307 /* Define to 1 if you have the `strerror' function. */
308 #define HAVE_STRERROR 1
310 /* Define to 1 if you have the <strings.h> header file. */
311 #define HAVE_STRINGS_H 1
313 /* Define to 1 if you have the <string.h> header file. */
314 #define HAVE_STRING_H 1
316 /* Define to 1 if you have the `strtoul' function. */
317 #define HAVE_STRTOUL 1
319 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
321 /* #undef HAVE_SYS_DIR_H */
323 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
325 /* #undef HAVE_SYS_NDIR_H */
327 /* Define to 1 if you have the <sys/param.h> header file. */
328 #define HAVE_SYS_PARAM_H 1
330 /* Define to 1 if you have the <sys/select.h> header file. */
331 /* #undef HAVE_SYS_SELECT_H */
333 /* Define to 1 if you have the <sys/socket.h> header file. */
334 #define HAVE_SYS_SOCKET_H 1
336 /* Define to 1 if you have the <sys/stat.h> header file. */
337 #define HAVE_SYS_STAT_H 1
339 /* Define to 1 if you have the <sys/time.h> header file. */
340 #define HAVE_SYS_TIME_H 1
342 /* Define to 1 if you have the <sys/types.h> header file. */
343 #define HAVE_SYS_TYPES_H 1
345 /* Define to 1 if you have the `tsearch' function. */
346 #define HAVE_TSEARCH 1
348 /* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
349 #define HAVE_UINTMAX_T 1
351 /* Define to 1 if you have the <unistd.h> header file. */
352 /*#undef HAVE_UNISTD_H 1*/
354 /* Define if you have the 'unsigned long long' type. */
355 #define HAVE_UNSIGNED_LONG_LONG 1
357 /* Define if you have the 'wchar_t' type. */
358 #define HAVE_WCHAR_T 1
360 /* Define to 1 if you have the `wcslen' function. */
361 #define HAVE_WCSLEN 1
363 /* Define if you have the 'wint_t' type. */
364 #define HAVE_WINT_T 1
366 /* Define to 1 if you have the <X11/flimage.h> header file. */
367 /* #undef HAVE_X11_FLIMAGE_H */
369 /* Define to 1 if you have the <zlib.h> header file. */
370 #define HAVE_ZLIB_H 1
372 /* Define to 1 if you have the `_mkdir' function. */
373 #define HAVE__MKDIR 1
375 /* Define to 1 if you have the `__argz_count' function. */
376 /* #undef HAVE___ARGZ_COUNT */
378 /* Define to 1 if you have the `__argz_next' function. */
379 /* #undef HAVE___ARGZ_NEXT */
381 /* Define to 1 if you have the `__argz_stringify' function. */
382 /* #undef HAVE___ARGZ_STRINGIFY */
384 /* Define to 1 if you have the `__fsetlocking' function. */
385 /* #undef HAVE___FSETLOCKING */
387 /* Define as const if the declaration of iconv() needs const. */
390 /* Define if integer division by zero raises signal SIGFPE. */
391 #define INTDIV0_RAISES_SIGFPE 1
393 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
395 /* #undef MAJOR_IN_MKDEV */
397 /* Define to 1 if `major', `minor', and `makedev' are declared in
399 /* #undef MAJOR_IN_SYSMACROS */
401 /* Define if mkdir takes only one argument. */
402 /* #undef MKDIR_TAKES_ONE_ARG */
404 /* Define if you have modern standard-compliant STL streams */
405 #define MODERN_STL_STREAMS 1
407 /* Name of package */
408 #define PACKAGE "lyx-1.4.0cvs"
410 /* Define to the address where bug reports for this package should be sent. */
411 #define PACKAGE_BUGREPORT "lyx-devel@lists.lyx.org"
413 /* Define to the full name of this package. */
414 #define PACKAGE_NAME "lyx"
416 /* Define to the full name and version of this package. */
417 #define PACKAGE_STRING "lyx 1.4.0cvs"
419 /* Define to the one symbol short name of this package. */
420 #define PACKAGE_TARNAME "lyx"
422 /* Define to the version of this package. */
423 #define PACKAGE_VERSION "1.4.0cvs"
425 /* Define if <inttypes.h> exists and defines unusable PRI* macros. */
426 /* #undef PRI_MACROS_BROKEN */
428 /* Define as the return type of signal handlers (`int' or `void'). */
429 #define RETSIGTYPE void
431 /* Define to the type of arg 1 for `select'. */
432 #define SELECT_TYPE_ARG1 int
434 /* Define to the type of args 2, 3 and 4 for `select'. */
435 #define SELECT_TYPE_ARG234 (fd_set *)
437 /* Define to the type of arg 5 for `select'. */
438 #define SELECT_TYPE_ARG5 (struct timeval *)
440 /* Define as the maximum value of type 'size_t', if the system doesn't define
442 /* #undef SIZE_MAX */
444 /* If using the C implementation of alloca, define if you know the
445 direction of stack growth for your system; otherwise it will be
446 automatically deduced at run-time.
447 STACK_DIRECTION > 0 => grows toward higher addresses
448 STACK_DIRECTION < 0 => grows toward lower addresses
449 STACK_DIRECTION = 0 => direction of growth unknown */
450 /* #undef STACK_DIRECTION */
452 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
453 /* #undef STAT_MACROS_BROKEN */
455 /* Define to 1 if you have the ANSI C header files. */
456 #define STDC_HEADERS 1
458 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
459 #define TIME_WITH_SYS_TIME 1
461 /* Define as 1 to use the aspell library */
462 /* #undef USE_ASPELL */
464 /* Define as 1 if you want to support compressed files. */
465 /* #undef USE_COMRESSION */
467 /* Define if you want to be able to load jpeg images natively */
468 #define USE_JPEG_IMAGE_LOADER 1
470 /* Define to 1 if LyX should use a MacOS X application bundle file layout */
471 /* #undef USE_MACOSX_PACKAGING */
473 /* Define to 1 if LyX should use a POSIX-style file layout */
474 /* #undef USE_POSIX_PACKAGING */
476 /* Define as 1 to use the pspell library */
477 /* #undef USE_PSPELL */
479 /* Define to 1 if LyX should use a Windows-style file layout */
480 #define USE_WINDOWS_PACKAGING 1
482 /* Version number of package */
483 #define VERSION "1.4.0cvs"
485 /* Define this if you want to see the warning directives put here and there by
486 the developpers to get attention */
487 /* #undef WITH_WARNINGS */
489 /* Define to 1 if the X Window System is missing or not being used. */
490 /* #undef X_DISPLAY_MISSING */
492 /* Define to 1 if on AIX 3.
493 System headers sometimes define this.
494 We just want to avoid a redefinition error message. */
496 /* # undef _ALL_SOURCE */
499 /* libstdc++ concept checking */
500 /* #undef _GLIBCPP_CONCEPT_CHECKS */
502 /* libstdc++ concept checking */
503 /* #undef _GLIBCXX_CONCEPT_CHECKS */
505 /* libstdc++ debug mode */
506 /* #undef _GLIBCXX_DEBUG */
508 /* libstdc++ pedantic debug mode */
509 /* #undef _GLIBCXX_DEBUG_PEDANTIC */
511 /* Define to empty if `const' does not conform to ANSI C. */
514 /* Define to nothing if your compiler does not understand the 'explicit'
516 /* #undef explicit */
518 /* Define to `int' if <sys/types.h> doesn't define. */
521 /* Define to `__inline__' or `__inline' if that's what the C compiler
522 calls it, or to nothing if 'inline' is not supported under any name. */
527 /* Define to `int' if <sys/types.h> does not define. */
530 /* Define to `long' if <sys/types.h> does not define. */
533 /* Define to `int' if <sys/types.h> does not define. */
536 /* Define as the type of the result of subtracting two pointers, if the system
537 doesn't define it. */
538 /* #undef ptrdiff_t */
540 /* Define to empty if the C compiler doesn't support this keyword. */
543 /* Define to `unsigned' if <sys/types.h> does not define. */
546 /* Define to `int' if <sys/types.h> doesn't define. */
549 /* Define to unsigned long or unsigned long long if <stdint.h> and
550 <inttypes.h> don't define. */
551 /* #undef uintmax_t */
554 /************************************************************
555 ** You should not need to change anything beyond this point */
557 #ifndef HAVE_STRERROR
558 #if defined(__cplusplus)
561 char * strerror(int n);
565 #ifndef HAVE_DECL_MKSTEMP
566 #if defined(__cplusplus)
574 #include "support/os2_defines.h"
577 #if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)
578 #define USE_BOOST_FORMAT 1
580 #define USE_BOOST_FORMAT 0
583 #define BOOST_USER_CONFIG <config.h>
585 #if defined(ENABLE_ASSERTIONS)
586 #define BOOST_ENABLE_ASSERT_HANDLER 1
588 #define BOOST_DISABLE_ASSERTS 1
591 #define BOOST_DISABLE_THREADS 1
592 #define BOOST_NO_WREGEX 1
593 #define BOOST_NO_WSTRING 1