source: trunk/tools/assistant/lib/fulltextsearch/qclucene-config_p.h@ 769

Last change on this file since 769 was 769, checked in by Dmitry A. Kuminov, 15 years ago

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

File size: 14.5 KB
Line 
1/****************************************************************************
2**
3** Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team.
4** All rights reserved.
5**
6** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
7** All rights reserved.
8**
9** This file may be used under the terms of the GNU Lesser General Public
10** License version 2.1 as published by the Free Software Foundation and
11** appearing in the file LICENSE.LGPL included in the packaging of this file.
12** Please review the following information to ensure the GNU Lesser General
13** Public License version 2.1 requirements will be met:
14** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
15**
16****************************************************************************/
17
18#ifndef QCLUCENE_CONFIG_P_H
19#define QCLUCENE_CONFIG_P_H
20
21//
22// W A R N I N G
23// -------------
24//
25// This file is not part of the Qt API. It exists for the convenience
26// of the help generator tools. This header file may change from version
27// to version without notice, or even be removed.
28//
29// We mean it.
30//
31
32#include <QtCore/qglobal.h>
33
34#ifndef _SRC_CLUCENE_CLUCENE_CONFIG_H
35#define _SRC_CLUCENE_CLUCENE_CONFIG_H 1
36
37/*
38src/CLucene/clucene-config.h.
39Generated
40automatically
41at
42end
43of
44configure.
45*/
46/* config.h.tmp. Generated by configure. */
47/* config.h.tmp.in. Generated from configure.ac by autoheader. */
48
49/* Disable multithreading */
50/* #undef _CL_DISABLE_MULTITHREADING */
51
52/* Define to 1 if you have the <algorithm> header file. */
53#ifndef _CL_HAVE_ALGORITHM
54#define _CL_HAVE_ALGORITHM 1
55#endif
56
57/* Define to 1 if you have the <ctype.h> header file. */
58#ifndef _CL_HAVE_CTYPE_H
59#define _CL_HAVE_CTYPE_H 1
60#endif
61
62/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
63 */
64#ifndef _CL_HAVE_DIRENT_H
65#define _CL_HAVE_DIRENT_H 1
66#endif
67
68#if !defined (__MINGW32__)
69 /* Define to 1 if you have the <dlfcn.h> header file. */
70# ifndef _CL_HAVE_DLFCN_H
71# define _CL_HAVE_DLFCN_H 1
72# endif
73#endif
74
75/* Define to 1 if you have the <errno.h> header file. */
76#ifndef _CL_HAVE_ERRNO_H
77#define _CL_HAVE_ERRNO_H 1
78#endif
79
80#if !defined(__SUNPRO_CC) && !defined(__SUNPRO_C)
81 /* Define to 1 if you have the <ext/hash_map> header file. */
82# ifndef _CL_HAVE_EXT_HASH_MAP
83# define _CL_HAVE_EXT_HASH_MAP 1
84# endif
85
86 /* Define to 1 if you have the <ext/hash_set> header file. */
87# ifndef _CL_HAVE_EXT_HASH_SET
88# define _CL_HAVE_EXT_HASH_SET 1
89# endif
90#endif
91
92/* Define to 1 if you have the <fcntl.h> header file. */
93#ifndef _CL_HAVE_FCNTL_H
94#define _CL_HAVE_FCNTL_H 1
95#endif
96
97#if !defined(__xlC__) && !defined(__xlc__) && !defined (__MINGW32__) && \
98 !defined(__HP_aCC) && !defined(__SUNPRO_C) && !defined(__SUNPRO_CC) || \
99 defined(__SUNPRO_CC) && (__SUNPRO_CC > 0x550) || (defined(__HP_aCC) && defined(__ia64))
100 /* Define to 1 if the system has the type `float_t'. */
101# ifndef _CL_HAVE_FLOAT_T
102# define _CL_HAVE_FLOAT_T 1
103# endif
104#endif
105
106/* Define to 1 if you have the <functional> header file. */
107#ifndef _CL_HAVE_FUNCTIONAL
108#define _CL_HAVE_FUNCTIONAL 1
109#endif
110
111/* Does not support new float byte<->float conversions */
112#ifndef _CL_HAVE_FUNCTIONING_FLOAT_BYTE
113#define _CL_HAVE_FUNCTIONING_FLOAT_BYTE
114#endif
115
116/* Define to 1 if you have the `getpagesize' function. */
117#ifndef _CL_HAVE_GETPAGESIZE
118#define _CL_HAVE_GETPAGESIZE 1
119#endif
120
121/* Define to 1 if you have the <hash_map> header file. */
122/* #undef _CL_HAVE_HASH_MAP */
123
124/* Define to 1 if you have the <hash_set> header file. */
125/* #undef _CL_HAVE_HASH_SET */
126
127/* Define to 1 if the system has the type `intptr_t'. */
128#ifndef _CL_HAVE_INTPTR_T
129#define _CL_HAVE_INTPTR_T 1
130#endif
131
132/* Define to 1 if you have the <inttypes.h> header file. */
133#ifndef _CL_HAVE_INTTYPES_H
134#define _CL_HAVE_INTTYPES_H 1
135#endif
136
137/* Define to 1 if you have the <list> header file. */
138#ifndef _CL_HAVE_LIST
139#define _CL_HAVE_LIST 1
140#endif
141
142/* Define to 1 if you have the `lltoa' function. */
143/* #undef _CL_HAVE_LLTOA */
144
145#if defined(__MINGW32__)
146 /* Define to 1 if you have the `lltow' function. */
147# ifndef _CL_HAVE_LLTOW
148# define _CL_HAVE_LLTOW 1
149# endif
150#endif
151
152#if !defined(__SUNPRO_CC) && !defined(__SUNPRO_C) && !defined(__xlC__) && !defined(__xlc__)
153 /* Define to 1 if long double works and has more range or precision than double. */
154# ifndef _CL_HAVE_LONG_DOUBLE
155# define _CL_HAVE_LONG_DOUBLE 1
156# endif
157#endif
158
159/* Define to 1 if you have the <map> header file. */
160#ifndef _CL_HAVE_MAP
161#define _CL_HAVE_MAP 1
162#endif
163
164/* Define to 1 if you have the <math.h> header file. */
165#ifndef _CL_HAVE_MATH_H
166#define _CL_HAVE_MATH_H 1
167#endif
168
169/* Define to 1 if you have the <memory.h> header file. */
170#ifndef _CL_HAVE_MEMORY_H
171#define _CL_HAVE_MEMORY_H 1
172#endif
173
174#if !defined(__MINGW32__) && !defined(__HP_aCC) && !defined(__xlC__) && !defined(__xlc__)
175 /* Define to 1 if you have a working `mmap' system call. */
176# ifndef _CL_HAVE_MMAP
177# define _CL_HAVE_MMAP 1
178# endif
179#endif
180
181/* define if the compiler implements namespaces */
182#ifndef _CL_HAVE_NAMESPACES
183#define _CL_HAVE_NAMESPACES
184#endif
185
186#if defined(__SUNPRO_CC) || defined(__SUNPRO_C) || defined(__HP_aCC) || defined(__xlC__) || defined(__xlc__)
187 /* Define if you have the nanosleep function */
188# ifndef _CL_HAVE_NANOSLEEP
189# define _CL_HAVE_NANOSLEEP 1
190# endif
191#endif
192
193/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
194/* #undef _CL_HAVE_NDIR_H */
195
196/* Does not support new float byte<->float conversions */
197/* #undef _CL_HAVE_NO_FLOAT_BYTE */
198
199/* Does not support try/catch blocks */
200/* #undef _CL_HAVE_NO_FUNCTION_TRY_BLOCKS */
201
202/* Define to 1 if you have the `printf' function. */
203#ifndef _CL_HAVE_PRINTF
204#define _CL_HAVE_PRINTF 1
205#endif
206
207#if !defined(__MINGW32__) && !defined(__OS2__)
208 /* Define if you have POSIX threads libraries and header files. */
209# ifndef _CL_HAVE_PTHREAD
210# define _CL_HAVE_PTHREAD 1
211# endif
212#endif
213
214/* Define if recursive pthread mutexes are available */
215/* #undef _CL_HAVE_PTHREAD_MUTEX_RECURSIVE */
216
217/* Define to 1 if you have the <set> header file. */
218#ifndef _CL_HAVE_SET
219#define _CL_HAVE_SET 1
220#endif
221
222/* Define to 1 if you have the `snprintf' function. */
223#ifndef _CL_HAVE_SNPRINTF
224#define _CL_HAVE_SNPRINTF 1
225#endif
226
227/* Defined if the snprintf overflow test fails */
228/* #undef _CL_HAVE_SNPRINTF_BUG */
229
230/* Define to 1 if you have the `snwprintf' function. */
231/* #undef _CL_HAVE_SNWPRINTF */
232
233#if !defined(__HP_aCC) && !defined(__SUNPRO_CC) && !defined(__SUNPRO_C)
234 /* define if the compiler supports ISO C++ standard library */
235# ifndef _CL_HAVE_STD
236# define _CL_HAVE_STD
237# endif
238#endif
239
240/* Define to 1 if you have the <stdarg.h> header file. */
241#ifndef _CL_HAVE_STDARG_H
242#define _CL_HAVE_STDARG_H 1
243#endif
244
245/* x */
246#ifndef _CL_HAVE_STDEXCEPT
247#define _CL_HAVE_STDEXCEPT
248#endif
249
250#if !defined(__SUNPRO_CC) && !defined(__SUNPRO_C) && !defined(__HP_aCC) && \
251 !defined(__xlC__) && !defined(__xlc__)
252 /* Define to 1 if you have the <stdint.h> header file. */
253# ifndef _CL_HAVE_STDINT_H
254# define _CL_HAVE_STDINT_H 1
255# endif
256#endif
257
258#if !defined(__HP_aCC)
259 /* Define to 1 if you have the <stdlib.h> header file. */
260# ifndef _CL_HAVE_STDLIB_H
261# define _CL_HAVE_STDLIB_H 1
262# endif
263
264 /* define if the compiler supports Standard Template Library */
265# ifndef _CL_HAVE_STL
266# define _CL_HAVE_STL
267# endif
268#endif
269
270/* Define to 1 if you have the <strings.h> header file. */
271#ifndef _CL_HAVE_STRINGS_H
272#define _CL_HAVE_STRINGS_H 1
273#endif
274
275/* Define to 1 if you have the <string.h> header file. */
276#ifndef _CL_HAVE_STRING_H
277#define _CL_HAVE_STRING_H 1
278#endif
279
280/* Define to 1 if you have the `strlwr' function. */
281/* #undef _CL_HAVE_STRLWR */
282
283/* Define to 1 if you have the `strtoll' function. */
284/* #undef _CL_HAVE_STRTOLL */
285
286/* Define to 1 if you have the `strupr' function. */
287/* #undef _CL_HAVE_STRUPR */
288
289/* Defined if the swprintf test fails */
290#ifndef _CL_HAVE_SWPRINTF_BUG
291#define _CL_HAVE_SWPRINTF_BUG
292#endif
293
294/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
295 */
296/* #undef _CL_HAVE_SYS_DIR_H */
297
298/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
299 */
300/* #undef _CL_HAVE_SYS_NDIR_H */
301
302/* Define to 1 if you have the <sys/stat.h> header file. */
303#ifndef _CL_HAVE_SYS_STAT_H
304#define _CL_HAVE_SYS_STAT_H 1
305#endif
306
307/* Define to 1 if you have the <sys/timeb.h> header file. */
308#ifndef _CL_HAVE_SYS_TIMEB_H
309#define _CL_HAVE_SYS_TIMEB_H 1
310#endif
311
312/* Define to 1 if you have the <sys/types.h> header file. */
313#ifndef _CL_HAVE_SYS_TYPES_H
314#define _CL_HAVE_SYS_TYPES_H 1
315#endif
316
317// Do not use the tchar.h that ships with mingw, this causes the qt build to
318// fail (211547, 211401, etc...), reuse the replacement as with any other compiler
319// #if defined(__MINGW32__)
320// /* Define to 1 if you have the <tchar.h> header file. */
321// # ifndef _CL_HAVE_TCHAR_H
322// # define _CL_HAVE_TCHAR_H 1
323// # endif
324// #endif
325
326#if defined(__MINGW32__) || defined(__SUNPRO_CC) || defined(__SUNPRO_C)
327 /* Define to 1 if you have the `tell' function. */
328# ifndef _CL_HAVE_TELL
329# define _CL_HAVE_TELL 1
330# endif
331#endif
332
333/* Define to 1 if you have the <unistd.h> header file. */
334#ifndef _CL_HAVE_UNISTD_H
335#define _CL_HAVE_UNISTD_H 1
336#endif
337
338/* Define to 1 if you have the <vector> header file. */
339#ifndef _CL_HAVE_VECTOR
340#define _CL_HAVE_VECTOR 1
341#endif
342
343/* Define to 1 if you have the `vsnwprintf' function. */
344/* #undef _CL_HAVE_VSNWPRINTF */
345
346/* Define to 1 if you have the <wchar.h> header file. */
347#ifndef _CL_HAVE_WCHAR_H
348#define _CL_HAVE_WCHAR_H 1
349#endif
350
351/* Define to 1 if the system has the type `wchar_t'. */
352#ifndef _CL_HAVE_WCHAR_T
353#define _CL_HAVE_WCHAR_T 1
354#endif
355
356#if !defined(__SUNPRO_CC) && !defined(__SUNPRO_C) && !defined(__MINGW32__) && \
357 !defined(Q_OS_MAC) && !defined(__HP_aCC)
358 /* Define to 1 if you have the `wcscasecmp' function. */
359# ifndef _CL_HAVE_WCSCASECMP
360# define _CL_HAVE_WCSCASECMP 1
361# endif
362#endif
363
364/* Define to 1 if you have the `wcscat' function. */
365#ifndef _CL_HAVE_WCSCAT
366#define _CL_HAVE_WCSCAT 1
367#endif
368
369/* Define to 1 if you have the `wcschr' function. */
370#ifndef _CL_HAVE_WCSCHR
371#define _CL_HAVE_WCSCHR 1
372#endif
373
374/* Define to 1 if you have the `wcscmp' function. */
375#ifndef _CL_HAVE_WCSCMP
376#define _CL_HAVE_WCSCMP 1
377#endif
378
379/* Define to 1 if you have the `wcscpy' function. */
380#ifndef _CL_HAVE_WCSCPY
381#define _CL_HAVE_WCSCPY 1
382#endif
383
384/* Define to 1 if you have the `wcscspn' function. */
385#ifndef _CL_HAVE_WCSCSPN
386#define _CL_HAVE_WCSCSPN 1
387#endif
388
389#if defined(__MINGW32__)
390 /* Define to 1 if you have the `wcsicmp' function. */
391# ifndef _CL_HAVE_WCSICMP
392# define _CL_HAVE_WCSICMP 1
393# endif
394#endif
395
396/* Define to 1 if you have the `wcslen' function. */
397#ifndef _CL_HAVE_WCSLEN
398#define _CL_HAVE_WCSLEN 1
399#endif
400
401/* Define to 1 if you have the `wcsncmp' function. */
402#ifndef _CL_HAVE_WCSNCMP
403#define _CL_HAVE_WCSNCMP 1
404#endif
405
406/* Define to 1 if you have the `wcsncpy' function. */
407#ifndef _CL_HAVE_WCSNCPY
408#define _CL_HAVE_WCSNCPY 1
409#endif
410
411/* Define to 1 if you have the `wcsstr' function. */
412#ifndef _CL_HAVE_WCSSTR
413#define _CL_HAVE_WCSSTR 1
414#endif
415
416/* Define to 1 if you have the `wcstod' function. */
417#ifndef _CL_HAVE_WCSTOD
418#define _CL_HAVE_WCSTOD 1
419#endif
420
421#if !defined(__SUNPRO_CC) && !defined(__SUNPRO_C) && !defined(__HP_aCC)
422 /* Define to 1 if you have the `wcstoll' function. */
423# ifndef _CL_HAVE_WCSTOLL
424# define _CL_HAVE_WCSTOLL 1
425# endif
426#endif
427
428#if defined(__MINGW32__)
429 /* Define to 1 if you have the `wcsupr' function. */
430# ifndef _CL_HAVE_WCSUPR
431# define _CL_HAVE_WCSUPR 1
432# endif
433#endif
434
435#if defined(__SUNPRO_CC) || defined(__SUNPRO_C) || defined(__HP_aCC)
436 /* Define to 1 if you have a functioning <wchar.h> header file. */
437# ifndef _CL_HAVE_WCTYPE_H
438# define _CL_HAVE_WCTYPE_H
439# endif
440#endif
441
442/* Define to 1 if you have the `wprintf' function. */
443/* #undef _CL_HAVE_WPRINTF */
444
445#if defined(__MINGW32__)
446 /* Define to 1 if you have the `_filelength' function. */
447# ifndef _CL_HAVE__FILELENGTH
448# define _CL_HAVE__FILELENGTH 1
449# endif
450#endif
451
452/* How to define a static const in a class */
453#ifndef LUCENE_STATIC_CONSTANT_SYNTAX
454#define LUCENE_STATIC_CONSTANT_SYNTAX 1
455#endif
456
457/* Name of package */
458#ifndef _CL_PACKAGE
459#define _CL_PACKAGE "clucene-core"
460#endif
461
462/* Define to the address where bug reports for this package should be sent. */
463#ifndef _CL_PACKAGE_BUGREPORT
464#define _CL_PACKAGE_BUGREPORT ""
465#endif
466
467/* Define to the full name of this package. */
468#ifndef _CL_PACKAGE_NAME
469#define _CL_PACKAGE_NAME ""
470#endif
471
472/* Define to the full name and version of this package. */
473#ifndef _CL_PACKAGE_STRING
474#define _CL_PACKAGE_STRING ""
475#endif
476
477/* Define to the one symbol short name of this package. */
478#ifndef _CL_PACKAGE_TARNAME
479#define _CL_PACKAGE_TARNAME ""
480#endif
481
482/* Define to the version of this package. */
483#ifndef _CL_PACKAGE_VERSION
484#define _CL_PACKAGE_VERSION ""
485#endif
486
487/* Define to the necessary symbol if this constant uses a non-standard name on
488 your system. */
489/* #undef _CL_PTHREAD_CREATE_JOINABLE */
490
491/* The size of a `unsigned char', as computed by sizeof. */
492/* #undef _CL_SIZEOF_UNSIGNED_CHAR */
493
494/* The size of a `unsigned int', as computed by sizeof. */
495/* #undef _CL_SIZEOF_UNSIGNED_INT */
496
497/* The size of a `unsigned long', as computed by sizeof. */
498/* #undef _CL_SIZEOF_UNSIGNED_LONG */
499
500/* The size of a `unsigned long long', as computed by sizeof. */
501/* #undef _CL_SIZEOF_UNSIGNED_LONG_LONG */
502
503/* The size of a `unsigned __int64', as computed by sizeof. */
504/* #undef _CL_SIZEOF_UNSIGNED___INT64 */
505
506/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
507/* #undef _CL_STAT_MACROS_BROKEN */
508
509#if !defined(__HP_aCC)
510 /* Define to 1 if you have the ANSI C header files. */
511# ifndef _CL_STDC_HEADERS
512# define _CL_STDC_HEADERS 1
513# endif
514
515/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
516# ifndef _CL_TIME_WITH_SYS_TIME
517# define _CL_TIME_WITH_SYS_TIME 1
518# endif
519#endif
520
521/* Version number of package */
522#ifndef _CL_VERSION
523#define _CL_VERSION "0.9.17"
524#endif
525
526/* Forces into Ascii mode */
527/* #undef _ASCII */
528
529/* Conditional Debugging */
530/* #undef _CL__CND_DEBUG */
531
532/* debugging option */
533/* #undef _DEBUG */
534
535/* Number of bits in a file offset, on hosts where this is settable. */
536/* #undef _FILE_OFFSET_BITS */
537
538/* If not already defined, then define as a datatype of *exactly* 32 bits. */
539/* #undef uint32_t */
540
541/* If not already defined, then define as a datatype of *exactly* 64 bits. */
542/* #undef uint64_t */
543
544/* If not already defined, then define as a datatype of *exactly* 8 bits. */
545/* #undef uint8_t */
546
547/* once:
548_SRC_CLUCENE_CLUCENE_CONFIG_H
549*/
550#endif
551
552
553#if defined Q_CC_MSVC && _MSC_VER < 1300
554# define LUCENE_NO_STDC_NAMESPACE
555#endif
556
557
558#endif // QCLUCENE_CONFIG_P_H
559
Note: See TracBrowser for help on using the repository browser.