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 #define 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 to 1 if you have the `close' function. */
100 /* #undef HAVE_CLOSE */
102 /* Define if the GNU dcgettext() function is already present or preinstalled.
104 /* #undef HAVE_DCGETTEXT */
106 /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
108 #define HAVE_DECL_FEOF_UNLOCKED 0
110 /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
112 #define HAVE_DECL_FGETS_UNLOCKED 0
114 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
116 #define HAVE_DECL_GETC_UNLOCKED 0
118 /* Define if you have the prototype for function `istreambuf_iterator' */
119 #define HAVE_DECL_ISTREAMBUF_ITERATOR 1
121 /* Define if you have the prototype for function `mkstemp' */
122 /* #undef HAVE_DECL_MKSTEMP */
124 /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
126 #define HAVE_DECL__SNPRINTF 1
128 /* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
130 #define HAVE_DECL__SNWPRINTF 1
132 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
134 /* #undef HAVE_DIRENT_H 1 */
136 /* Define to 1 if you have the <dlfcn.h> header file. */
137 /* #undef HAVE_DLFCN_H */
139 /* Define to 1 if you have the `fcntl' function. */
140 /* #undef HAVE_FCNTL */
142 /* Define to 1 if you have the <flimage.h> header file. */
143 /* #undef HAVE_FLIMAGE_H */
145 /* Define to 1 if you have the `fork' function. */
146 /* #undef HAVE_FORK */
148 /* Define to 1 if you have the `fwprintf' function. */
149 #define HAVE_FWPRINTF 1
151 /* Define to 1 if you have the `getcwd' function. */
152 #define HAVE_GETCWD 1
154 /* Define to 1 if you have the `getegid' function. */
155 #define HAVE_GETEGID 1
157 /* Define to 1 if you have the `geteuid' function. */
158 #define HAVE_GETEUID 1
160 /* Define to 1 if you have the `getgid' function. */
161 #define HAVE_GETGID 1
163 /* Define to 1 if you have the `getpagesize' function. */
164 #define HAVE_GETPAGESIZE 1
166 /* Define to 1 if you have the `getpid' function. */
167 /* #undef HAVE_GETPID */
169 /* Define if the GNU gettext() function is already present or preinstalled. */
170 /* #undef HAVE_GETTEXT */
172 /* Define to 1 if you have the `getuid' function. */
173 #define HAVE_GETUID 1
175 /* Define if you have the iconv() function. */
178 /* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
179 #define HAVE_INTMAX_T 1
181 /* Define if <inttypes.h> exists and doesn't clash with <sys/types.h>. */
182 #define HAVE_INTTYPES_H 1
184 /* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
185 declares uintmax_t. */
186 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
188 /* Define to 1 if you have the <ios> header file. */
191 /* Define to 1 if you have the <io.h> header file. */
194 /* Define to 1 if you have the <istream> header file. */
195 #define HAVE_ISTREAM 1
197 /* Define this if you have the kpsewhich program working on your system. */
198 #define HAVE_KPSEWHICH 1
200 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
201 #define HAVE_LANGINFO_CODESET 1
203 /* Define if your <locale.h> file defines LC_MESSAGES. */
204 /* #undef HAVE_LC_MESSAGES */
206 /* Define this if you have the AikSaurus library */
207 /* #undef HAVE_LIBAIKSAURUS */
209 /* Define to 1 if you have the `c' library (-lc). */
212 /* Define to 1 if you have the `m' library (-lm). */
215 /* Define to 1 if you have the <limits> header file. */
216 #define HAVE_LIMITS 1
218 /* Define to 1 if you have the <limits.h> header file. */
219 #define HAVE_LIMITS_H 1
221 /* Define to 1 if you have the <locale> header file. */
222 #define HAVE_LOCALE 1
224 /* Define to 1 if you have the <locale.h> header file. */
225 #define HAVE_LOCALE_H 1
227 /* Define if you have the 'long double' type. */
228 #define HAVE_LONG_DOUBLE 1
230 /* Define if you have the 'long long' type. */
231 #define HAVE_LONG_LONG 1
233 /* Define to 1 if you have the `lstat' function. */
234 /* #undef HAVE_LSTAT */
236 /* Define to 1 if you have the <malloc.h> header file. */
237 #define HAVE_MALLOC_H 1
239 /* Define to 1 if you have the <memory.h> header file. */
240 #define HAVE_MEMORY_H 1
242 /* Define to 1 if you have the `mempcpy' function. */
243 #define HAVE_MEMPCPY 1
245 /* Define to 1 if you have the `mkdir' function. */
246 /* #define HAVE_MKDIR */
248 /* Define to 1 if you have the `mkfifo' function. */
249 /* #undef HAVE_MKFIFO */
251 /* Define to 1 if you have the `mkstemp' function. */
252 /* #undef HAVE_MKSTEMP */
254 /* Define to 1 if you have the `mktemp' function. */
255 #define HAVE_MKTEMP 1
257 /* Define to 1 if you have a working `mmap' system call. */
258 /* #undef HAVE_MMAP */
260 /* Define to 1 if you have the `munmap' function. */
261 #define HAVE_MUNMAP 1
263 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
264 /* #undef HAVE_NDIR_H */
266 /* Define to 1 if you have the <nl_types.h> header file. */
267 #define HAVE_NL_TYPES_H 1
269 /* Define to 1 if you have the `open' function. */
270 /* #undef HAVE_OPEN */
272 /* Define to 1 if you have the <ostream> header file. */
273 #define HAVE_OSTREAM 1
275 /* Define to 1 if you have the `pclose' function. */
276 /* #undef HAVE_PCLOSE */
278 /* Define to 1 if you have the `popen' function. */
279 /* #undef HAVE_POPEN */
281 /* Define if your printf() function supports format strings with positions. */
282 #define HAVE_POSIX_PRINTF 1
284 /* Define to 1 if you have the <process.h> header file. */
285 #define HAVE_PROCESS_H 1
287 /* Define to 1 if you have the <pspell/pspell.h> header file. */
288 /* #undef HAVE_PSPELL_PSPELL_H */
290 /* Define to 1 if you have the `putenv' function. */
291 #define HAVE_PUTENV 1
293 /* Define to 1 if you have the `readlink' function. */
294 /* #undef HAVE_READLINK */
296 /* Define to 1 if you have the `setenv' function. */
297 /* #undef HAVE_SETENV 1 */
299 /* Define to 1 if you have the `setlocale' function. */
300 #define HAVE_SETLOCALE 1
302 /* Define to 1 if you have the `snprintf' function. */
303 #define HAVE_SNPRINTF 1
305 /* Define to 1 if you have the <sstream> header file. */
306 #define HAVE_SSTREAM 1
308 /* Define to 1 if you have the <stddef.h> header file. */
309 #define HAVE_STDDEF_H 1
311 /* Define to 1 if you have the <stdint.h> header file. */
312 #define HAVE_STDINT_H 1
314 /* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
316 #define HAVE_STDINT_H_WITH_UINTMAX 1
318 /* Define to 1 if you have the <stdlib.h> header file. */
319 #define HAVE_STDLIB_H 1
321 /* Define if you have a conforming std::count template, otherwise HP version
322 of count template is assumed. */
323 #define HAVE_STD_COUNT 1
325 /* Define to 1 if you have the `stpcpy' function. */
326 #define HAVE_STPCPY 1
328 /* Define to 1 if you have the `strcasecmp' function. */
329 #define HAVE_STRCASECMP 1
331 /* Define to 1 if you have the `strdup' function. */
332 #define HAVE_STRDUP 1
334 /* Define to 1 if you have the `strerror' function. */
335 #define HAVE_STRERROR 1
337 /* Define to 1 if you have the <strings.h> header file. */
338 #define HAVE_STRINGS_H 1
340 /* Define to 1 if you have the <string.h> header file. */
341 #define HAVE_STRING_H 1
343 /* Define to 1 if you have the `strtoul' function. */
344 #define HAVE_STRTOUL 1
346 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
348 /* #undef HAVE_SYS_DIR_H */
350 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
352 /* #undef HAVE_SYS_NDIR_H */
354 /* Define to 1 if you have the <sys/param.h> header file. */
355 #define HAVE_SYS_PARAM_H 1
357 /* Define to 1 if you have the <sys/select.h> header file. */
358 /* #undef HAVE_SYS_SELECT_H */
360 /* Define to 1 if you have the <sys/socket.h> header file. */
361 #define HAVE_SYS_SOCKET_H 1
363 /* Define to 1 if you have the <sys/stat.h> header file. */
364 #define HAVE_SYS_STAT_H 1
366 /* Define to 1 if you have the <sys/time.h> header file. */
367 /* #undef HAVE_SYS_TIME_H */
369 /* Define to 1 if you have the <sys/utime.h> header file. */
370 #define HAVE_SYS_UTIME_H 1
372 /* Define to 1 if you have the <utime.h> header file. */
373 /* #undef HAVE_UTIME_H */
375 /* Define to 1 if you have the <sys/types.h> header file. */
376 #define HAVE_SYS_TYPES_H 1
378 /* Define to 1 if you have the `tsearch' function. */
379 #define HAVE_TSEARCH 1
381 /* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
382 #define HAVE_UINTMAX_T 1
384 /* Define to 1 if you have the <unistd.h> header file. */
385 /*#undef HAVE_UNISTD_H 1*/
387 /* Define if you have the 'unsigned long long' type. */
388 #define HAVE_UNSIGNED_LONG_LONG 1
390 /* Define if you have the 'wchar_t' type. */
391 #define HAVE_WCHAR_T 1
393 /* Define to 1 if you have the `wcslen' function. */
394 #define HAVE_WCSLEN 1
396 /* Define if you have the 'wint_t' type. */
397 #define HAVE_WINT_T 1
399 /* Define to 1 if you have the <X11/flimage.h> header file. */
400 /* #undef HAVE_X11_FLIMAGE_H */
402 /* Define to 1 if you have the <zlib.h> header file. */
403 #define HAVE_ZLIB_H 1
405 /* Define to 1 if you have the `_close' function. */
406 #define HAVE__CLOSE 1
408 /* Define to 1 if you have the `_getpid' function. */
409 #define HAVE__GETPID 1
411 /* Define to 1 if you have the `_mkdir' function. */
412 #define HAVE__MKDIR 1
414 /* Define to 1 if you have the `_open' function. */
417 /* Define to 1 if you have the `_pclose' function. */
418 #define HAVE__PCLOSE 1
420 /* Define to 1 if you have the `_popen' function. */
421 #define HAVE__POPEN 1
423 /* Define to 1 if you have the `__argz_count' function. */
424 /* #undef HAVE___ARGZ_COUNT */
426 /* Define to 1 if you have the `__argz_next' function. */
427 /* #undef HAVE___ARGZ_NEXT */
429 /* Define to 1 if you have the `__argz_stringify' function. */
430 /* #undef HAVE___ARGZ_STRINGIFY */
432 /* Define to 1 if you have the `__fsetlocking' function. */
433 /* #undef HAVE___FSETLOCKING */
435 /* Define as const if the declaration of iconv() needs const. */
438 /* Define if integer division by zero raises signal SIGFPE. */
439 #define INTDIV0_RAISES_SIGFPE 1
441 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
443 /* #undef MAJOR_IN_MKDEV */
445 /* Define to 1 if `major', `minor', and `makedev' are declared in
447 /* #undef MAJOR_IN_SYSMACROS */
449 /* Define if mkdir takes only one argument. */
450 /* #undef MKDIR_TAKES_ONE_ARG */
452 /* Define if you have modern standard-compliant STL streams */
453 #define MODERN_STL_STREAMS 1
455 /* Name of package */
456 #define PACKAGE "lyx"
458 /* Define to the address where bug reports for this package should be sent. */
459 #define PACKAGE_BUGREPORT "lyx-devel@lists.lyx.org"
461 /* Define to the full name of this package. */
462 #define PACKAGE_NAME "lyx"
464 /* Define to the full name and version of this package. */
465 #define PACKAGE_STRING "lyx 1.4.0cvs"
467 /* Define to the one symbol short name of this package. */
468 #define PACKAGE_TARNAME "lyx"
470 /* Define to the version of this package. */
471 #define PACKAGE_VERSION "1.4.0cvs"
473 /* Define if <inttypes.h> exists and defines unusable PRI* macros. */
474 /* #undef PRI_MACROS_BROKEN */
476 /* Define as the return type of signal handlers (`int' or `void'). */
477 #define RETSIGTYPE void
479 /* Define to the type of arg 1 for `select'. */
480 #define SELECT_TYPE_ARG1 int
482 /* Define to the type of args 2, 3 and 4 for `select'. */
483 #define SELECT_TYPE_ARG234 (fd_set *)
485 /* Define to the type of arg 5 for `select'. */
486 #define SELECT_TYPE_ARG5 (struct timeval *)
488 /* Define as the maximum value of type 'size_t', if the system doesn't define
490 /* #undef SIZE_MAX */
492 /* If using the C implementation of alloca, define if you know the
493 direction of stack growth for your system; otherwise it will be
494 automatically deduced at run-time.
495 STACK_DIRECTION > 0 => grows toward higher addresses
496 STACK_DIRECTION < 0 => grows toward lower addresses
497 STACK_DIRECTION = 0 => direction of growth unknown */
498 /* #undef STACK_DIRECTION */
500 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
501 /* #undef STAT_MACROS_BROKEN */
503 /* Define to 1 if you have the ANSI C header files. */
504 #define STDC_HEADERS 1
506 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
507 #define TIME_WITH_SYS_TIME 1
509 /* Define as 1 to use the aspell library */
510 /* #undef USE_ASPELL */
512 /* Define as 1 if you want to support compressed files. */
513 /* #undef USE_COMRESSION */
515 /* Define as 1 to use an external ispell process for spell-checking */
516 /* #undef USE_ISPELL */
518 /* Define if you want to be able to load jpeg images natively */
519 #define USE_JPEG_IMAGE_LOADER 1
521 /* Define to 1 if LyX should use a MacOS X application bundle file layout */
522 /* #undef USE_MACOSX_PACKAGING */
524 /* Define to 1 if LyX should use a POSIX-style file layout */
525 /* #undef USE_POSIX_PACKAGING */
527 /* Define as 1 to use the pspell library */
528 /* #undef USE_PSPELL */
530 /* Define to 1 if LyX should use a Windows-style file layout */
531 #define USE_WINDOWS_PACKAGING 1
533 /* Version number of package */
534 #define VERSION "1.4.0cvs"
536 /* Define this if you want to see the warning directives put here and there by
537 the developpers to get attention */
538 /* #undef WITH_WARNINGS */
540 /* Define to 1 if the X Window System is missing or not being used. */
541 /* #undef X_DISPLAY_MISSING */
543 /* Define to 1 if on AIX 3.
544 System headers sometimes define this.
545 We just want to avoid a redefinition error message. */
547 /* # undef _ALL_SOURCE */
550 /* libstdc++ concept checking */
551 /* #undef _GLIBCPP_CONCEPT_CHECKS */
553 /* libstdc++ concept checking */
554 /* #undef _GLIBCXX_CONCEPT_CHECKS */
556 /* libstdc++ debug mode */
557 /* #undef _GLIBCXX_DEBUG */
559 /* libstdc++ pedantic debug mode */
560 /* #undef _GLIBCXX_DEBUG_PEDANTIC */
562 /* Define to empty if `const' does not conform to ANSI C. */
565 /* Define to nothing if your compiler does not understand the 'explicit'
567 /* #undef explicit */
569 /* Define to `int' if <sys/types.h> doesn't define. */
572 /* Define to `__inline__' or `__inline' if that's what the C compiler
573 calls it, or to nothing if 'inline' is not supported under any name. */
578 /* Define to `int' if <sys/types.h> does not define. */
581 /* Define to `long' if <sys/types.h> does not define. */
584 /* Define to `int' if <sys/types.h> does not define. */
587 /* Define as the type of the result of subtracting two pointers, if the system
588 doesn't define it. */
589 /* #undef ptrdiff_t */
591 /* Define to empty if the C compiler doesn't support this keyword. */
594 /* Define to `unsigned' if <sys/types.h> does not define. */
597 /* Define to `int' if <sys/types.h> doesn't define. */
600 /* Define to unsigned long or unsigned long long if <stdint.h> and
601 <inttypes.h> don't define. */
602 /* #undef uintmax_t */
605 /************************************************************
606 ** You should not need to change anything beyond this point */
608 #ifndef HAVE_STRERROR
609 #if defined(__cplusplus)
612 char * strerror(int n);
616 #ifndef HAVE_DECL_MKSTEMP
617 #if defined(__cplusplus)
625 #include "support/os2_defines.h"
628 #if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)
629 #define USE_BOOST_FORMAT 1
631 #define USE_BOOST_FORMAT 0
634 #define BOOST_USER_CONFIG <config.h>
636 #if defined(ENABLE_ASSERTIONS)
637 #define BOOST_ENABLE_ASSERT_HANDLER 1
639 #define BOOST_DISABLE_ASSERTS 1
642 #define BOOST_DISABLE_THREADS 1
643 #define BOOST_NO_WREGEX 1
644 #define BOOST_NO_WSTRING 1