1 /* src/config.h. Generated from config.h.in 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.
21 /* Location of Aiksaurus.h */
22 #define AIKSAURUS_H_LOCATION
24 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
25 systems. This function is required for `alloca.c' support on those systems.
27 /* #undef CRAY_STACKSEG_END */
29 /* Define if your C++ compiler puts C library functions in the global
31 /* #undef CXX_GLOBAL_CSTD */
33 /* Define to 1 if using `alloca.c'. */
36 /* Define if you are building a development version of LyX */
37 #define DEVEL_VERSION 1
39 /* Define if you want assertions to be enabled in the code */
40 #define ENABLE_ASSERTIONS 1
42 /* Define to 1 if translation of program messages to the user's native
43 language is requested. */
46 /* Define to 1 if you have `alloca', as a function or macro. */
49 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
51 #define HAVE_ALLOCA_H 1
53 /* Define to 1 if you have the <argz.h> header file. */
56 /* Define to 1 if you have the <aspell/aspell.h> header file. */
57 /* #undef HAVE_ASPELL_ASPELL_H */
59 /* Define to 1 if you have the <aspell.h> header file. */
60 /* #undef HAVE_ASPELL_H */
62 /* Define to 1 if you have the `asprintf' function. */
63 #define HAVE_ASPRINTF 1
65 /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
66 CoreFoundation framework. */
67 /* #undef HAVE_CFLOCALECOPYCURRENT */
69 /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
70 the CoreFoundation framework. */
71 /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
73 /* Define to 1 if you have the `chmod' function. */
76 /* Define to 1 if you have the `close' function. */
79 /* Define if the GNU dcgettext() function is already present or preinstalled.
81 #define HAVE_DCGETTEXT 1
83 /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
85 #define HAVE_DECL_FEOF_UNLOCKED 1
87 /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
89 #define HAVE_DECL_FGETS_UNLOCKED 0
91 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
93 #define HAVE_DECL_GETC_UNLOCKED 1
95 /* Define if you have the prototype for function `istreambuf_iterator' */
96 #define HAVE_DECL_ISTREAMBUF_ITERATOR 1
98 /* Define if you have the prototype for function `mkstemp' */
99 #define HAVE_DECL_MKSTEMP 1
101 /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
103 #define HAVE_DECL__SNPRINTF 0
105 /* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
107 #define HAVE_DECL__SNWPRINTF 0
109 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
111 #define HAVE_DIRENT_H 1
113 /* Define to 1 if you have the <dlfcn.h> header file. */
114 #define HAVE_DLFCN_H 1
116 /* Define to 1 if you have the `fcntl' function. */
119 /* Define to 1 if you have the `fork' function. */
122 /* Define to 1 if you have the `fwprintf' function. */
123 #define HAVE_FWPRINTF 1
125 /* Define to 1 if you have the `getcwd' function. */
126 #define HAVE_GETCWD 1
128 /* Define to 1 if you have the `getegid' function. */
129 #define HAVE_GETEGID 1
131 /* Define to 1 if you have the `geteuid' function. */
132 #define HAVE_GETEUID 1
134 /* Define to 1 if you have the `getgid' function. */
135 #define HAVE_GETGID 1
137 /* Define to 1 if you have the `getpagesize' function. */
138 #define HAVE_GETPAGESIZE 1
140 /* Define to 1 if you have the `getpid' function. */
141 #define HAVE_GETPID 1
143 /* Define if the GNU gettext() function is already present or preinstalled. */
144 #define HAVE_GETTEXT 1
146 /* Define to 1 if you have the `getuid' function. */
147 #define HAVE_GETUID 1
149 /* Define if you have the iconv() function. */
152 /* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
153 #define HAVE_INTMAX_T 1
155 /* Define if <inttypes.h> exists and doesn't clash with <sys/types.h>. */
156 #define HAVE_INTTYPES_H 1
158 /* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
159 declares uintmax_t. */
160 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
162 /* Define to 1 if you have the <ios> header file. */
165 /* Define to 1 if you have the <io.h> header file. */
166 /* #undef HAVE_IO_H */
168 /* Define to 1 if you have the <istream> header file. */
169 #define HAVE_ISTREAM 1
171 /* Define this if you have the kpsewhich program working on your system. */
172 #define HAVE_KPSEWHICH 1
174 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
175 #define HAVE_LANGINFO_CODESET 1
177 /* Define if your <locale.h> file defines LC_MESSAGES. */
178 #define HAVE_LC_MESSAGES 1
180 /* Define this if you have the AikSaurus library */
181 /* #undef HAVE_LIBAIKSAURUS */
183 /* Define to 1 if you have the `gdi32' library (-lgdi32). */
184 /* #undef HAVE_LIBGDI32 */
186 /* Define to 1 if you have the `m' library (-lm). */
189 /* Define to 1 if you have the <limits> header file. */
190 #define HAVE_LIMITS 1
192 /* Define to 1 if you have the <limits.h> header file. */
193 #define HAVE_LIMITS_H 1
195 /* Define to 1 if you have the <locale> header file. */
196 #define HAVE_LOCALE 1
198 /* Define to 1 if you have the <locale.h> header file. */
199 #define HAVE_LOCALE_H 1
201 /* Define if you have the 'long double' type. */
202 #define HAVE_LONG_DOUBLE 1
204 /* Define if you have the 'long long' type. */
205 #define HAVE_LONG_LONG 1
207 /* Define to 1 if you have the `lstat' function. */
210 /* Define to 1 if you have the <malloc.h> header file. */
211 #define HAVE_MALLOC_H 1
213 /* Define to 1 if you have the <memory.h> header file. */
214 #define HAVE_MEMORY_H 1
216 /* Define to 1 if you have the `mempcpy' function. */
217 #define HAVE_MEMPCPY 1
219 /* Define to 1 if you have the `mkdir' function. */
222 /* Define to 1 if you have the `mkfifo' function. */
223 #define HAVE_MKFIFO 1
225 /* Define to 1 if you have the `mkstemp' function. */
226 #define HAVE_MKSTEMP 1
228 /* Define to 1 if you have the `mktemp' function. */
229 #define HAVE_MKTEMP 1
231 /* Define to 1 if you have a working `mmap' system call. */
234 /* Define this to 1 if your compiler supports the mode_t type. */
235 #define HAVE_MODE_T 1
237 /* Define to 1 if you have the `munmap' function. */
238 #define HAVE_MUNMAP 1
240 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
241 /* #undef HAVE_NDIR_H */
243 /* Define to 1 if you have the <NewAPIs.h> header file. */
244 /* #undef HAVE_NEWAPIS_H */
246 /* Define to 1 if you have the <nl_types.h> header file. */
247 #define HAVE_NL_TYPES_H 1
249 /* Define to 1 if you have the `open' function. */
252 /* Define to 1 if you have the <ostream> header file. */
253 #define HAVE_OSTREAM 1
255 /* Define to 1 if you have the `pclose' function. */
256 #define HAVE_PCLOSE 1
258 /* Define to 1 if you have the `popen' function. */
261 /* Define if your printf() function supports format strings with positions. */
262 #define HAVE_POSIX_PRINTF 1
264 /* Define to 1 if you have the <process.h> header file. */
265 /* #undef HAVE_PROCESS_H */
267 /* Define to 1 if you have the <pspell/pspell.h> header file. */
268 /* #undef HAVE_PSPELL_PSPELL_H */
270 /* Define to 1 if you have the `putenv' function. */
271 #define HAVE_PUTENV 1
273 /* Define to 1 if you have the `readlink' function. */
274 #define HAVE_READLINK 1
276 /* Define to 1 if you have the `setenv' function. */
277 #define HAVE_SETENV 1
279 /* Define to 1 if you have the `setlocale' function. */
280 #define HAVE_SETLOCALE 1
282 /* Define to 1 if you have the `snprintf' function. */
283 #define HAVE_SNPRINTF 1
285 /* Define to 1 if you have the <sstream> header file. */
286 #define HAVE_SSTREAM 1
288 /* Define to 1 if you have the <stddef.h> header file. */
289 #define HAVE_STDDEF_H 1
291 /* Define to 1 if you have the <stdint.h> header file. */
292 #define HAVE_STDINT_H 1
294 /* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
296 #define HAVE_STDINT_H_WITH_UINTMAX 1
298 /* Define to 1 if you have the <stdlib.h> header file. */
299 #define HAVE_STDLIB_H 1
301 /* Define if you have a conforming std::count template, otherwise HP version
302 of count template is assumed. */
303 #define HAVE_STD_COUNT 1
305 /* Define to 1 if you have the `stpcpy' function. */
306 #define HAVE_STPCPY 1
308 /* Define to 1 if you have the `strcasecmp' function. */
309 #define HAVE_STRCASECMP 1
311 /* Define to 1 if you have the `strdup' function. */
312 #define HAVE_STRDUP 1
314 /* Define to 1 if you have the `strerror' function. */
315 #define HAVE_STRERROR 1
317 /* Define to 1 if you have the <strings.h> header file. */
318 #define HAVE_STRINGS_H 1
320 /* Define to 1 if you have the <string.h> header file. */
321 #define HAVE_STRING_H 1
323 /* Define to 1 if you have the `strtoul' function. */
324 #define HAVE_STRTOUL 1
326 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
328 /* #undef HAVE_SYS_DIR_H */
330 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
332 /* #undef HAVE_SYS_NDIR_H */
334 /* Define to 1 if you have the <sys/param.h> header file. */
335 #define HAVE_SYS_PARAM_H 1
337 /* Define to 1 if you have the <sys/select.h> header file. */
338 #define HAVE_SYS_SELECT_H 1
340 /* Define to 1 if you have the <sys/socket.h> header file. */
341 #define HAVE_SYS_SOCKET_H 1
343 /* Define to 1 if you have the <sys/stat.h> header file. */
344 #define HAVE_SYS_STAT_H 1
346 /* Define to 1 if you have the <sys/time.h> header file. */
347 #define HAVE_SYS_TIME_H 1
349 /* Define to 1 if you have the <sys/types.h> header file. */
350 #define HAVE_SYS_TYPES_H 1
352 /* Define to 1 if you have the <sys/utime.h> header file. */
353 /* #undef HAVE_SYS_UTIME_H */
355 /* Define to 1 if you have the `tsearch' function. */
356 #define HAVE_TSEARCH 1
358 /* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
359 #define HAVE_UINTMAX_T 1
361 /* Define to 1 if you have the <unistd.h> header file. */
362 #define HAVE_UNISTD_H 1
364 /* Define if you have the 'unsigned long long' type. */
365 #define HAVE_UNSIGNED_LONG_LONG 1
367 /* Define to 1 if you have the <utime.h> header file. */
368 #define HAVE_UTIME_H 1
370 /* Define if you have the 'wchar_t' type. */
371 #define HAVE_WCHAR_T 1
373 /* Define to 1 if you have the `wcslen' function. */
374 #define HAVE_WCSLEN 1
376 /* Define if you have the 'wint_t' type. */
377 #define HAVE_WINT_T 1
379 /* Define to 1 if you have the <zlib.h> header file. */
380 #define HAVE_ZLIB_H 1
382 /* Define to 1 if you have the `_close' function. */
383 /* #undef HAVE__CLOSE */
385 /* Define to 1 if you have the `_getpid' function. */
386 /* #undef HAVE__GETPID */
388 /* Define to 1 if you have the `_mkdir' function. */
389 /* #undef HAVE__MKDIR */
391 /* Define to 1 if you have the `_open' function. */
392 /* #undef HAVE__OPEN */
394 /* Define to 1 if you have the `_pclose' function. */
395 /* #undef HAVE__PCLOSE */
397 /* Define to 1 if you have the `_popen' function. */
398 /* #undef HAVE__POPEN */
400 /* Define to 1 if you have the `__argz_count' function. */
401 #define HAVE___ARGZ_COUNT 1
403 /* Define to 1 if you have the `__argz_next' function. */
404 #define HAVE___ARGZ_NEXT 1
406 /* Define to 1 if you have the `__argz_stringify' function. */
407 #define HAVE___ARGZ_STRINGIFY 1
409 /* Define to 1 if you have the `__fsetlocking' function. */
410 #define HAVE___FSETLOCKING 1
412 /* Define as const if the declaration of iconv() needs const. */
415 /* Define if integer division by zero raises signal SIGFPE. */
416 #define INTDIV0_RAISES_SIGFPE 1
418 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
420 /* #undef MAJOR_IN_MKDEV */
422 /* Define to 1 if `major', `minor', and `makedev' are declared in
424 /* #undef MAJOR_IN_SYSMACROS */
426 /* Define if mkdir takes only one argument. */
427 /* #undef MKDIR_TAKES_ONE_ARG */
429 /* Define if you have modern standard-compliant STL streams */
430 #define MODERN_STL_STREAMS 1
432 /* Name of package */
433 #define PACKAGE "lyx"
435 /* Define to the address where bug reports for this package should be sent. */
436 #define PACKAGE_BUGREPORT "lyx-devel@lists.lyx.org"
438 /* Define to the full name of this package. */
439 #define PACKAGE_NAME "LyX"
441 /* Define to the full name and version of this package. */
442 #define PACKAGE_STRING "LyX 1.6.0svn"
444 /* Define to the one symbol short name of this package. */
445 #define PACKAGE_TARNAME "lyx"
447 /* Define to the version of this package. */
448 #define PACKAGE_VERSION "1.6.0svn"
450 /* Define if <inttypes.h> exists and defines unusable PRI* macros. */
451 /* #undef PRI_MACROS_BROKEN */
453 /* Define as the return type of signal handlers (`int' or `void'). */
454 #define RETSIGTYPE void
456 /* Define to the type of arg 1 for `select'. */
457 #define SELECT_TYPE_ARG1 int
459 /* Define to the type of args 2, 3 and 4 for `select'. */
460 #define SELECT_TYPE_ARG234 (fd_set *)
462 /* Define to the type of arg 5 for `select'. */
463 #define SELECT_TYPE_ARG5 (struct timeval *)
465 /* The size of `wchar_t', as computed by sizeof. */
466 #define SIZEOF_WCHAR_T 4
468 /* Define as the maximum value of type 'size_t', if the system doesn't define
470 /* #undef SIZE_MAX */
472 /* If using the C implementation of alloca, define if you know the
473 direction of stack growth for your system; otherwise it will be
474 automatically deduced at runtime.
475 STACK_DIRECTION > 0 => grows toward higher addresses
476 STACK_DIRECTION < 0 => grows toward lower addresses
477 STACK_DIRECTION = 0 => direction of growth unknown */
478 /* #undef STACK_DIRECTION */
480 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
481 /* #undef STAT_MACROS_BROKEN */
483 /* Define to 1 if you have the ANSI C header files. */
484 #define STDC_HEADERS 1
486 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
487 #define TIME_WITH_SYS_TIME 1
489 /* Define as 1 to use the aspell library */
490 /* #undef USE_ASPELL */
492 /* Define as 1 to use an external ispell process to check spelling */
495 /* Define to 1 if LyX should use a MacOS X application bundle file layout */
496 /* #undef USE_MACOSX_PACKAGING */
498 /* Define to 1 if LyX should use a POSIX-style file layout */
499 #define USE_POSIX_PACKAGING 1
501 /* Define as 1 to use the pspell library */
502 /* #undef USE_PSPELL */
504 /* Define to 1 if LyX should use a Windows-style file layout */
505 /* #undef USE_WINDOWS_PACKAGING */
507 /* Define this if you want to see the warning directives put here and there by
508 the developpers to get attention */
509 #define WITH_WARNINGS 1
511 /* Define to 1 if your processor stores words with the most significant byte
512 first (like Motorola and SPARC, unlike Intel and VAX). */
513 /* #undef WORDS_BIGENDIAN */
515 /* Define to 1 if the X Window System is missing or not being used. */
516 /* #undef X_DISPLAY_MISSING */
518 /* Define to 1 if on AIX 3.
519 System headers sometimes define this.
520 We just want to avoid a redefinition error message. */
522 /* # undef _ALL_SOURCE */
525 /* libstdc++ concept checking */
526 /* #undef _GLIBCPP_CONCEPT_CHECKS */
528 /* libstdc++ concept checking */
529 #define _GLIBCXX_CONCEPT_CHECKS 1
531 /* libstdc++ debug mode */
532 /* #undef _GLIBCXX_DEBUG */
534 /* libstdc++ pedantic debug mode */
535 /* #undef _GLIBCXX_DEBUG_PEDANTIC */
537 /* Define to empty if `const' does not conform to ANSI C. */
540 /* Define to nothing if your compiler does not understand the 'explicit'
542 /* #undef explicit */
544 /* Define to `int' if <sys/types.h> doesn't define. */
547 /* Define to `__inline__' or `__inline' if that's what the C compiler
548 calls it, or to nothing if 'inline' is not supported under any name. */
553 /* Define to `long int' if <sys/types.h> does not define. */
556 /* Define to `int' if <sys/types.h> does not define. */
559 /* Define as the type of the result of subtracting two pointers, if the system
560 doesn't define it. */
561 /* #undef ptrdiff_t */
563 /* Define to empty if the C compiler doesn't support this keyword. */
566 /* Define to `unsigned int' if <sys/types.h> does not define. */
569 /* Define to `int' if <sys/types.h> doesn't define. */
572 /* Define to unsigned long or unsigned long long if <stdint.h> and
573 <inttypes.h> don't define. */
574 /* #undef uintmax_t */
577 /************************************************************
578 ** You should not need to change anything beyond this point */
580 #ifndef HAVE_STRERROR
581 #if defined(__cplusplus)
584 char * strerror(int n);
588 #ifndef HAVE_DECL_MKSTEMP
589 #if defined(__cplusplus)
596 #if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)
597 # define USE_BOOST_FORMAT 1
599 # define USE_BOOST_FORMAT 0
602 #define BOOST_USER_CONFIG <config.h>
604 #if !defined(ENABLE_ASSERTIONS)
605 # define BOOST_DISABLE_ASSERTS 1
607 #define BOOST_ENABLE_ASSERT_HANDLER 1
609 #define BOOST_DISABLE_THREADS 1
610 #define BOOST_NO_WREGEX 1
611 #define BOOST_NO_WSTRING 1
614 # define BOOST_POSIX 1
615 # define BOOST_POSIX_API 1
616 # define BOOST_POSIX_PATH 1
619 #if defined(HAVE_NEWAPIS_H)
620 # define WANT_GETFILEATTRIBUTESEX_WRAPPER 1
624 * the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t
625 * support compiled in:
626 * http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_9
627 * And we are not interested at all what libc
628 * does: What we need is a 32bit wide wchar_t, and a libstdc++ that
629 * has the needed wchar_t support and uses UCS4. Whether it
630 * implements this with the help of libc, or whether it has own code
631 * does not matter for us, because we don't use libc directly (Georg)
633 #if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4 && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__)