]> git.lyx.org Git - lyx.git/blob - development/qmake/config.h.template
also install en.lproj file in the bundle on the mac
[lyx.git] / development / qmake / config.h.template
1 /* src/config.h.  Generated from config.h.in by configure.  */
2 /* src/config.h.in.  Generated from configure.ac by autoheader.  */
3
4
5 /* -*- C++ -*- */
6 /*
7  * \file config.h
8  * This file is part of LyX, the document processor.
9  * Licence details can be found in the file COPYING.
10  *
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.
15  */
16
17 #ifndef _CONFIG_H
18 #define _CONFIG_H
19
20
21 /* Location of Aiksaurus.h */
22 #define AIKSAURUS_H_LOCATION 
23
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.
26    */
27 /* #undef CRAY_STACKSEG_END */
28
29 /* Define if your C++ compiler puts C library functions in the global
30    namespace */
31 /* #undef CXX_GLOBAL_CSTD */
32
33 /* Define to 1 if using `alloca.c'. */
34 /* #undef C_ALLOCA */
35
36 /* Define if you are building a development version of LyX */
37 #define DEVEL_VERSION 1
38
39 /* Define if you want assertions to be enabled in the code */
40 #define ENABLE_ASSERTIONS 1
41
42 /* Define to 1 if translation of program messages to the user's native
43    language is requested. */
44 #define ENABLE_NLS 1
45
46 /* Define to 1 if you have `alloca', as a function or macro. */
47 #define HAVE_ALLOCA 1
48
49 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
50    */
51 #define HAVE_ALLOCA_H 1
52
53 /* Define to 1 if you have the <argz.h> header file. */
54 #define HAVE_ARGZ_H 1
55
56 /* Define to 1 if you have the <aspell/aspell.h> header file. */
57 /* #undef HAVE_ASPELL_ASPELL_H */
58
59 /* Define to 1 if you have the <aspell.h> header file. */
60 /* #undef HAVE_ASPELL_H */
61
62 /* Define to 1 if you have the `asprintf' function. */
63 #define HAVE_ASPRINTF 1
64
65 /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
66    CoreFoundation framework. */
67 /* #undef HAVE_CFLOCALECOPYCURRENT */
68
69 /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
70    the CoreFoundation framework. */
71 /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
72
73 /* Define to 1 if you have the `chmod' function. */
74 #define HAVE_CHMOD 1
75
76 /* Define to 1 if you have the `close' function. */
77 #define HAVE_CLOSE 1
78
79 /* Define if the GNU dcgettext() function is already present or preinstalled.
80    */
81 #define HAVE_DCGETTEXT 1
82
83 /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
84    don't. */
85 #define HAVE_DECL_FEOF_UNLOCKED 1
86
87 /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
88    you don't. */
89 #define HAVE_DECL_FGETS_UNLOCKED 0
90
91 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
92    don't. */
93 #define HAVE_DECL_GETC_UNLOCKED 1
94
95 /* Define if you have the prototype for function `istreambuf_iterator' */
96 #define HAVE_DECL_ISTREAMBUF_ITERATOR 1
97
98 /* Define if you have the prototype for function `mkstemp' */
99 #define HAVE_DECL_MKSTEMP 1
100
101 /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
102    don't. */
103 #define HAVE_DECL__SNPRINTF 0
104
105 /* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
106    don't. */
107 #define HAVE_DECL__SNWPRINTF 0
108
109 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
110    */
111 #define HAVE_DIRENT_H 1
112
113 /* Define to 1 if you have the <dlfcn.h> header file. */
114 #define HAVE_DLFCN_H 1
115
116 /* Define to 1 if you have the `fcntl' function. */
117 #define HAVE_FCNTL 1
118
119 /* Define to 1 if you have the `fork' function. */
120 #define HAVE_FORK 1
121
122 /* Define to 1 if you have the `fwprintf' function. */
123 #define HAVE_FWPRINTF 1
124
125 /* Define to 1 if you have the `getcwd' function. */
126 #define HAVE_GETCWD 1
127
128 /* Define to 1 if you have the `getegid' function. */
129 #define HAVE_GETEGID 1
130
131 /* Define to 1 if you have the `geteuid' function. */
132 #define HAVE_GETEUID 1
133
134 /* Define to 1 if you have the `getgid' function. */
135 #define HAVE_GETGID 1
136
137 /* Define to 1 if you have the `getpagesize' function. */
138 #define HAVE_GETPAGESIZE 1
139
140 /* Define to 1 if you have the `getpid' function. */
141 #define HAVE_GETPID 1
142
143 /* Define if the GNU gettext() function is already present or preinstalled. */
144 #define HAVE_GETTEXT 1
145
146 /* Define to 1 if you have the `getuid' function. */
147 #define HAVE_GETUID 1
148
149 /* Define if you have the iconv() function. */
150 #define HAVE_ICONV 1
151
152 /* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
153 #define HAVE_INTMAX_T 1
154
155 /* Define if <inttypes.h> exists and doesn't clash with <sys/types.h>. */
156 #define HAVE_INTTYPES_H 1
157
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
161
162 /* Define to 1 if you have the <ios> header file. */
163 #define HAVE_IOS 1
164
165 /* Define to 1 if you have the <io.h> header file. */
166 /* #undef HAVE_IO_H */
167
168 /* Define to 1 if you have the <istream> header file. */
169 #define HAVE_ISTREAM 1
170
171 /* Define this if you have the kpsewhich program working on your system. */
172 #define HAVE_KPSEWHICH 1
173
174 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
175 #define HAVE_LANGINFO_CODESET 1
176
177 /* Define if your <locale.h> file defines LC_MESSAGES. */
178 #define HAVE_LC_MESSAGES 1
179
180 /* Define this if you have the AikSaurus library */
181 /* #undef HAVE_LIBAIKSAURUS */
182
183 /* Define to 1 if you have the `gdi32' library (-lgdi32). */
184 /* #undef HAVE_LIBGDI32 */
185
186 /* Define to 1 if you have the `m' library (-lm). */
187 #define HAVE_LIBM 1
188
189 /* Define to 1 if you have the <limits> header file. */
190 #define HAVE_LIMITS 1
191
192 /* Define to 1 if you have the <limits.h> header file. */
193 #define HAVE_LIMITS_H 1
194
195 /* Define to 1 if you have the <locale> header file. */
196 #define HAVE_LOCALE 1
197
198 /* Define to 1 if you have the <locale.h> header file. */
199 #define HAVE_LOCALE_H 1
200
201 /* Define if you have the 'long double' type. */
202 #define HAVE_LONG_DOUBLE 1
203
204 /* Define if you have the 'long long' type. */
205 #define HAVE_LONG_LONG 1
206
207 /* Define to 1 if you have the `lstat' function. */
208 #define HAVE_LSTAT 1
209
210 /* Define to 1 if you have the <malloc.h> header file. */
211 #define HAVE_MALLOC_H 1
212
213 /* Define to 1 if you have the <memory.h> header file. */
214 #define HAVE_MEMORY_H 1
215
216 /* Define to 1 if you have the `mempcpy' function. */
217 #define HAVE_MEMPCPY 1
218
219 /* Define to 1 if you have the `mkdir' function. */
220 #define HAVE_MKDIR 1
221
222 /* Define to 1 if you have the `mkfifo' function. */
223 #define HAVE_MKFIFO 1
224
225 /* Define to 1 if you have the `mkstemp' function. */
226 #define HAVE_MKSTEMP 1
227
228 /* Define to 1 if you have the `mktemp' function. */
229 #define HAVE_MKTEMP 1
230
231 /* Define to 1 if you have a working `mmap' system call. */
232 #define HAVE_MMAP 1
233
234 /* Define this to 1 if your compiler supports the mode_t type. */
235 #define HAVE_MODE_T 1
236
237 /* Define to 1 if you have the `munmap' function. */
238 #define HAVE_MUNMAP 1
239
240 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
241 /* #undef HAVE_NDIR_H */
242
243 /* Define to 1 if you have the <NewAPIs.h> header file. */
244 /* #undef HAVE_NEWAPIS_H */
245
246 /* Define to 1 if you have the <nl_types.h> header file. */
247 #define HAVE_NL_TYPES_H 1
248
249 /* Define to 1 if you have the `open' function. */
250 #define HAVE_OPEN 1
251
252 /* Define to 1 if you have the <ostream> header file. */
253 #define HAVE_OSTREAM 1
254
255 /* Define to 1 if you have the `pclose' function. */
256 #define HAVE_PCLOSE 1
257
258 /* Define to 1 if you have the `popen' function. */
259 #define HAVE_POPEN 1
260
261 /* Define if your printf() function supports format strings with positions. */
262 #define HAVE_POSIX_PRINTF 1
263
264 /* Define to 1 if you have the <process.h> header file. */
265 /* #undef HAVE_PROCESS_H */
266
267 /* Define to 1 if you have the <pspell/pspell.h> header file. */
268 /* #undef HAVE_PSPELL_PSPELL_H */
269
270 /* Define to 1 if you have the `putenv' function. */
271 #define HAVE_PUTENV 1
272
273 /* Define to 1 if you have the `readlink' function. */
274 #define HAVE_READLINK 1
275
276 /* Define to 1 if you have the `setenv' function. */
277 #define HAVE_SETENV 1
278
279 /* Define to 1 if you have the `setlocale' function. */
280 #define HAVE_SETLOCALE 1
281
282 /* Define to 1 if you have the `snprintf' function. */
283 #define HAVE_SNPRINTF 1
284
285 /* Define to 1 if you have the <sstream> header file. */
286 #define HAVE_SSTREAM 1
287
288 /* Define to 1 if you have the <stddef.h> header file. */
289 #define HAVE_STDDEF_H 1
290
291 /* Define to 1 if you have the <stdint.h> header file. */
292 #define HAVE_STDINT_H 1
293
294 /* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
295    uintmax_t. */
296 #define HAVE_STDINT_H_WITH_UINTMAX 1
297
298 /* Define to 1 if you have the <stdlib.h> header file. */
299 #define HAVE_STDLIB_H 1
300
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
304
305 /* Define to 1 if you have the `stpcpy' function. */
306 #define HAVE_STPCPY 1
307
308 /* Define to 1 if you have the `strcasecmp' function. */
309 #define HAVE_STRCASECMP 1
310
311 /* Define to 1 if you have the `strdup' function. */
312 #define HAVE_STRDUP 1
313
314 /* Define to 1 if you have the `strerror' function. */
315 #define HAVE_STRERROR 1
316
317 /* Define to 1 if you have the <strings.h> header file. */
318 #define HAVE_STRINGS_H 1
319
320 /* Define to 1 if you have the <string.h> header file. */
321 #define HAVE_STRING_H 1
322
323 /* Define to 1 if you have the `strtoul' function. */
324 #define HAVE_STRTOUL 1
325
326 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
327    */
328 /* #undef HAVE_SYS_DIR_H */
329
330 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
331    */
332 /* #undef HAVE_SYS_NDIR_H */
333
334 /* Define to 1 if you have the <sys/param.h> header file. */
335 #define HAVE_SYS_PARAM_H 1
336
337 /* Define to 1 if you have the <sys/select.h> header file. */
338 #define HAVE_SYS_SELECT_H 1
339
340 /* Define to 1 if you have the <sys/socket.h> header file. */
341 #define HAVE_SYS_SOCKET_H 1
342
343 /* Define to 1 if you have the <sys/stat.h> header file. */
344 #define HAVE_SYS_STAT_H 1
345
346 /* Define to 1 if you have the <sys/time.h> header file. */
347 #define HAVE_SYS_TIME_H 1
348
349 /* Define to 1 if you have the <sys/types.h> header file. */
350 #define HAVE_SYS_TYPES_H 1
351
352 /* Define to 1 if you have the <sys/utime.h> header file. */
353 /* #undef HAVE_SYS_UTIME_H */
354
355 /* Define to 1 if you have the `tsearch' function. */
356 #define HAVE_TSEARCH 1
357
358 /* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
359 #define HAVE_UINTMAX_T 1
360
361 /* Define to 1 if you have the <unistd.h> header file. */
362 #define HAVE_UNISTD_H 1
363
364 /* Define if you have the 'unsigned long long' type. */
365 #define HAVE_UNSIGNED_LONG_LONG 1
366
367 /* Define to 1 if you have the <utime.h> header file. */
368 #define HAVE_UTIME_H 1
369
370 /* Define if you have the 'wchar_t' type. */
371 #define HAVE_WCHAR_T 1
372
373 /* Define to 1 if you have the `wcslen' function. */
374 #define HAVE_WCSLEN 1
375
376 /* Define if you have the 'wint_t' type. */
377 #define HAVE_WINT_T 1
378
379 /* Define to 1 if you have the <zlib.h> header file. */
380 #define HAVE_ZLIB_H 1
381
382 /* Define to 1 if you have the `_close' function. */
383 /* #undef HAVE__CLOSE */
384
385 /* Define to 1 if you have the `_getpid' function. */
386 /* #undef HAVE__GETPID */
387
388 /* Define to 1 if you have the `_mkdir' function. */
389 /* #undef HAVE__MKDIR */
390
391 /* Define to 1 if you have the `_open' function. */
392 /* #undef HAVE__OPEN */
393
394 /* Define to 1 if you have the `_pclose' function. */
395 /* #undef HAVE__PCLOSE */
396
397 /* Define to 1 if you have the `_popen' function. */
398 /* #undef HAVE__POPEN */
399
400 /* Define to 1 if you have the `__argz_count' function. */
401 #define HAVE___ARGZ_COUNT 1
402
403 /* Define to 1 if you have the `__argz_next' function. */
404 #define HAVE___ARGZ_NEXT 1
405
406 /* Define to 1 if you have the `__argz_stringify' function. */
407 #define HAVE___ARGZ_STRINGIFY 1
408
409 /* Define to 1 if you have the `__fsetlocking' function. */
410 #define HAVE___FSETLOCKING 1
411
412 /* Define as const if the declaration of iconv() needs const. */
413 #define ICONV_CONST 
414
415 /* Define if integer division by zero raises signal SIGFPE. */
416 #define INTDIV0_RAISES_SIGFPE 1
417
418 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
419    */
420 /* #undef MAJOR_IN_MKDEV */
421
422 /* Define to 1 if `major', `minor', and `makedev' are declared in
423    <sysmacros.h>. */
424 /* #undef MAJOR_IN_SYSMACROS */
425
426 /* Define if mkdir takes only one argument. */
427 /* #undef MKDIR_TAKES_ONE_ARG */
428
429 /* Define if you have modern standard-compliant STL streams */
430 #define MODERN_STL_STREAMS 1
431
432 /* Name of package */
433 #define PACKAGE "lyx"
434
435 /* Define to the address where bug reports for this package should be sent. */
436 #define PACKAGE_BUGREPORT "lyx-devel@lists.lyx.org"
437
438 /* Define to the full name of this package. */
439 #define PACKAGE_NAME "LyX"
440
441 /* Define to the full name and version of this package. */
442 #define PACKAGE_STRING "LyX 1.6.0svn"
443
444 /* Define to the one symbol short name of this package. */
445 #define PACKAGE_TARNAME "lyx"
446
447 /* Define to the version of this package. */
448 #define PACKAGE_VERSION "1.6.0svn"
449
450 /* Define if <inttypes.h> exists and defines unusable PRI* macros. */
451 /* #undef PRI_MACROS_BROKEN */
452
453 /* Define as the return type of signal handlers (`int' or `void'). */
454 #define RETSIGTYPE void
455
456 /* Define to the type of arg 1 for `select'. */
457 #define SELECT_TYPE_ARG1 int
458
459 /* Define to the type of args 2, 3 and 4 for `select'. */
460 #define SELECT_TYPE_ARG234 (fd_set *)
461
462 /* Define to the type of arg 5 for `select'. */
463 #define SELECT_TYPE_ARG5 (struct timeval *)
464
465 /* The size of `wchar_t', as computed by sizeof. */
466 #define SIZEOF_WCHAR_T 4
467
468 /* Define as the maximum value of type 'size_t', if the system doesn't define
469    it. */
470 /* #undef SIZE_MAX */
471
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 */
479
480 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
481 /* #undef STAT_MACROS_BROKEN */
482
483 /* Define to 1 if you have the ANSI C header files. */
484 #define STDC_HEADERS 1
485
486 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
487 #define TIME_WITH_SYS_TIME 1
488
489 /* Define as 1 to use the aspell library */
490 /* #undef USE_ASPELL */
491
492 /* Define as 1 to use an external ispell process to check spelling */
493 #define USE_ISPELL 1
494
495 /* Define to 1 if LyX should use a MacOS X application bundle file layout */
496 /* #undef USE_MACOSX_PACKAGING */
497
498 /* Define to 1 if LyX should use a POSIX-style file layout */
499 #define USE_POSIX_PACKAGING 1
500
501 /* Define as 1 to use the pspell library */
502 /* #undef USE_PSPELL */
503
504 /* Define to 1 if LyX should use a Windows-style file layout */
505 /* #undef USE_WINDOWS_PACKAGING */
506
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
510
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 */
514
515 /* Define to 1 if the X Window System is missing or not being used. */
516 /* #undef X_DISPLAY_MISSING */
517
518 /* Define to 1 if on AIX 3.
519    System headers sometimes define this.
520    We just want to avoid a redefinition error message.  */
521 #ifndef _ALL_SOURCE
522 /* # undef _ALL_SOURCE */
523 #endif
524
525 /* libstdc++ concept checking */
526 /* #undef _GLIBCPP_CONCEPT_CHECKS */
527
528 /* libstdc++ concept checking */
529 #define _GLIBCXX_CONCEPT_CHECKS 1
530
531 /* libstdc++ debug mode */
532 /* #undef _GLIBCXX_DEBUG */
533
534 /* libstdc++ pedantic debug mode */
535 /* #undef _GLIBCXX_DEBUG_PEDANTIC */
536
537 /* Define to empty if `const' does not conform to ANSI C. */
538 /* #undef const */
539
540 /* Define to nothing if your compiler does not understand the 'explicit'
541    directive */
542 /* #undef explicit */
543
544 /* Define to `int' if <sys/types.h> doesn't define. */
545 /* #undef gid_t */
546
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.  */
549 #ifndef __cplusplus
550 /* #undef inline */
551 #endif
552
553 /* Define to `long int' if <sys/types.h> does not define. */
554 /* #undef off_t */
555
556 /* Define to `int' if <sys/types.h> does not define. */
557 /* #undef pid_t */
558
559 /* Define as the type of the result of subtracting two pointers, if the system
560    doesn't define it. */
561 /* #undef ptrdiff_t */
562
563 /* Define to empty if the C compiler doesn't support this keyword. */
564 /* #undef signed */
565
566 /* Define to `unsigned int' if <sys/types.h> does not define. */
567 /* #undef size_t */
568
569 /* Define to `int' if <sys/types.h> doesn't define. */
570 /* #undef uid_t */
571
572 /* Define to unsigned long or unsigned long long if <stdint.h> and
573    <inttypes.h> don't define. */
574 /* #undef uintmax_t */
575
576
577 /************************************************************
578  ** You should not need to change anything beyond this point */
579
580 #ifndef HAVE_STRERROR
581 #if defined(__cplusplus)
582 extern "C"
583 #endif
584 char * strerror(int n);
585 #endif
586
587 #ifdef HAVE_MKSTEMP
588 #ifndef HAVE_DECL_MKSTEMP
589 #if defined(__cplusplus)
590 extern "C"
591 #endif
592 int mkstemp(char*);
593 #endif
594 #endif
595
596 #if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)
597 #  define USE_BOOST_FORMAT 1
598 #else
599 #  define USE_BOOST_FORMAT 0
600 #endif
601
602 #define BOOST_USER_CONFIG <config.h>
603
604 #if !defined(ENABLE_ASSERTIONS)
605 #  define BOOST_DISABLE_ASSERTS 1
606 #endif
607 #define BOOST_ENABLE_ASSERT_HANDLER 1
608
609 #define BOOST_DISABLE_THREADS 1
610 #define BOOST_NO_WREGEX 1
611 #define BOOST_NO_WSTRING 1
612
613 #ifdef __CYGWIN__
614 #  define BOOST_POSIX 1
615 #  define BOOST_POSIX_API 1
616 #  define BOOST_POSIX_PATH 1
617 #endif
618
619 #if defined(HAVE_NEWAPIS_H)
620 #  define WANT_GETFILEATTRIBUTESEX_WRAPPER 1
621 #endif
622
623 /*
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)
632 */
633 #if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4 && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__)
634 #  define USE_WCHAR_T
635 #endif
636
637 #endif
638