summaryrefslogtreecommitdiffstats
path: root/tools/assistant/lib/fulltextsearch/qclucene-config_p.h
blob: 729ae72ceeef94d18ee2168e4a74d012614b6448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
/****************************************************************************
**
** Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team.
** All rights reserved.
**
** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
**
** This file may be used under the terms of the GNU Lesser General Public
** License version 2.1 as published by the Free Software Foundation and
** appearing in the file LICENSE.LGPL included in the packaging of this file.
** Please review the following information to ensure the GNU Lesser General
** Public License version 2.1 requirements will be met:
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
****************************************************************************/

#ifndef QCLUCENE_CONFIG_P_H
#define QCLUCENE_CONFIG_P_H

//
//  W A R N I N G
//  -------------
//
// This file is not part of the Qt API. It exists for the convenience
// of the help generator tools. This header file may change from version
// to version without notice, or even be removed.
//
// We mean it.
//

#include <QtCore/qglobal.h>

#ifndef _SRC_CLUCENE_CLUCENE_CONFIG_H
#define _SRC_CLUCENE_CLUCENE_CONFIG_H 1

/*
src/CLucene/clucene-config.h.
Generated
automatically
at
end
of
configure.
*/
/* config.h.tmp.  Generated by configure.  */
/* config.h.tmp.in.  Generated from configure.ac by autoheader.  */

/* Disable multithreading */
/* #undef _CL_DISABLE_MULTITHREADING */

/* Define to 1 if you have the <algorithm> header file. */
#ifndef _CL_HAVE_ALGORITHM
#define _CL_HAVE_ALGORITHM  1
#endif

/* Define to 1 if you have the <ctype.h> header file. */
#ifndef _CL_HAVE_CTYPE_H
#define _CL_HAVE_CTYPE_H  1
#endif

/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
   */
#ifndef _CL_HAVE_DIRENT_H
#define _CL_HAVE_DIRENT_H  1
#endif

#if !defined (__MINGW32__)
    /* Define to 1 if you have the <dlfcn.h> header file. */
#   ifndef _CL_HAVE_DLFCN_H
#   define _CL_HAVE_DLFCN_H  1
#   endif
#endif

/* Define to 1 if you have the <errno.h> header file. */
#ifndef _CL_HAVE_ERRNO_H
#define _CL_HAVE_ERRNO_H  1
#endif

#if !defined(__SUNPRO_CC) && !defined(__SUNPRO_C)
    /* Define to 1 if you have the <ext/hash_map> header file. */
#   ifndef _CL_HAVE_EXT_HASH_MAP
#   define _CL_HAVE_EXT_HASH_MAP  1
#   endif

    /* Define to 1 if you have the <ext/hash_set> header file. */
#   ifndef _CL_HAVE_EXT_HASH_SET
#   define _CL_HAVE_EXT_HASH_SET  1
#   endif
#endif

/* Define to 1 if you have the <fcntl.h> header file. */
#ifndef _CL_HAVE_FCNTL_H
#define _CL_HAVE_FCNTL_H  1
#endif

#if !defined(__xlC__) && !defined(__xlc__) && !defined (__MINGW32__) && \
    !defined(__HP_aCC) && !defined(__SUNPRO_C) && !defined(__SUNPRO_CC) || \
    defined(__SUNPRO_CC) && (__SUNPRO_CC > 0x550) || (defined(__HP_aCC) && defined(__ia64))
    /* Define to 1 if the system has the type `float_t'. */
#   ifndef _CL_HAVE_FLOAT_T
#   define _CL_HAVE_FLOAT_T  1
#   endif
#endif

/* Define to 1 if you have the <functional> header file. */
#ifndef _CL_HAVE_FUNCTIONAL
#define _CL_HAVE_FUNCTIONAL  1
#endif

/* Does not support new float byte<->float conversions */
#ifndef _CL_HAVE_FUNCTIONING_FLOAT_BYTE
#define _CL_HAVE_FUNCTIONING_FLOAT_BYTE
#endif

/* Define to 1 if you have the `getpagesize' function. */
#ifndef _CL_HAVE_GETPAGESIZE
#define _CL_HAVE_GETPAGESIZE  1
#endif

/* Define to 1 if you have the <hash_map> header file. */
/* #undef _CL_HAVE_HASH_MAP */

/* Define to 1 if you have the <hash_set> header file. */
/* #undef _CL_HAVE_HASH_SET */

/* Define to 1 if the system has the type `intptr_t'. */
#ifndef _CL_HAVE_INTPTR_T
#define _CL_HAVE_INTPTR_T  1
#endif

/* Define to 1 if you have the <inttypes.h> header file. */
#ifndef _CL_HAVE_INTTYPES_H
#define _CL_HAVE_INTTYPES_H  1
#endif

/* Define to 1 if you have the <list> header file. */
#ifndef _CL_HAVE_LIST
#define _CL_HAVE_LIST  1
#endif

/* Define to 1 if you have the `lltoa' function. */
/* #undef _CL_HAVE_LLTOA */

#if defined(__MINGW32__)
    /* Define to 1 if you have the `lltow' function. */
#   ifndef _CL_HAVE_LLTOW
#   define _CL_HAVE_LLTOW  1
#   endif
#endif

#if !defined(__SUNPRO_CC) && !defined(__SUNPRO_C) && !defined(__xlC__) && !defined(__xlc__)
    /* Define to 1 if long double works and has more range or precision than double. */
#   ifndef _CL_HAVE_LONG_DOUBLE
#   define _CL_HAVE_LONG_DOUBLE  1
#   endif
#endif

/* Define to 1 if you have the <map> header file. */
#ifndef _CL_HAVE_MAP
#define _CL_HAVE_MAP  1
#endif

/* Define to 1 if you have the <math.h> header file. */
#ifndef _CL_HAVE_MATH_H
#define _CL_HAVE_MATH_H  1
#endif

/* Define to 1 if you have the <memory.h> header file. */
#ifndef _CL_HAVE_MEMORY_H
#define _CL_HAVE_MEMORY_H  1
#endif

#if !defined(__MINGW32__) && !defined(__HP_aCC) && !defined(__xlC__) && !defined(__xlc__)
    /* Define to 1 if you have a working `mmap' system call. */
#   ifndef _CL_HAVE_MMAP
#   define _CL_HAVE_MMAP  1
#   endif
#endif

/* define if the compiler implements namespaces */
#ifndef _CL_HAVE_NAMESPACES
#define _CL_HAVE_NAMESPACES
#endif

#if defined(__SUNPRO_CC) || defined(__SUNPRO_C) || defined(__HP_aCC) || defined(__xlC__) || defined(__xlc__)
    /* Define if you have the nanosleep function */
#   ifndef _CL_HAVE_NANOSLEEP
#   define _CL_HAVE_NANOSLEEP 1
#   endif
#endif

/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef _CL_HAVE_NDIR_H */

/* Does not support new float byte<->float conversions */
/* #undef _CL_HAVE_NO_FLOAT_BYTE */

/* Does not support try/catch blocks */
/* #undef _CL_HAVE_NO_FUNCTION_TRY_BLOCKS */

/* Define to 1 if you have the `printf' function. */
#ifndef _CL_HAVE_PRINTF
#define _CL_HAVE_PRINTF  1
#endif

#if !defined(__MINGW32__)
    /* Define if you have POSIX threads libraries and header files. */
#   ifndef _CL_HAVE_PTHREAD
#   define _CL_HAVE_PTHREAD  1
#   endif
#endif

/* Define if recursive pthread mutexes are available */
/* #undef _CL_HAVE_PTHREAD_MUTEX_RECURSIVE */

/* Define to 1 if you have the <set> header file. */
#ifndef _CL_HAVE_SET
#define _CL_HAVE_SET  1
#endif

/* Define to 1 if you have the `snprintf' function. */
#ifndef _CL_HAVE_SNPRINTF
#define _CL_HAVE_SNPRINTF  1
#endif

/* Defined if the snprintf overflow test fails */
/* #undef _CL_HAVE_SNPRINTF_BUG */

/* Define to 1 if you have the `snwprintf' function. */
/* #undef _CL_HAVE_SNWPRINTF */

#if !defined(__HP_aCC) && !defined(__SUNPRO_CC) && !defined(__SUNPRO_C)
    /* define if the compiler supports ISO C++ standard library */
#   ifndef _CL_HAVE_STD
#   define _CL_HAVE_STD
#   endif
#endif

/* Define to 1 if you have the <stdarg.h> header file. */
#ifndef _CL_HAVE_STDARG_H
#define _CL_HAVE_STDARG_H  1
#endif

/* x */
#ifndef _CL_HAVE_STDEXCEPT
#define _CL_HAVE_STDEXCEPT
#endif

#if !defined(__SUNPRO_CC) && !defined(__SUNPRO_C) && !defined(__HP_aCC) && \
    !defined(__xlC__) && !defined(__xlc__)
    /* Define to 1 if you have the <stdint.h> header file. */
#   ifndef _CL_HAVE_STDINT_H
#   define _CL_HAVE_STDINT_H  1
#   endif
#endif

#if !defined(__HP_aCC)
    /* Define to 1 if you have the <stdlib.h> header file. */
#   ifndef _CL_HAVE_STDLIB_H
#   define _CL_HAVE_STDLIB_H  1
#   endif

    /* define if the compiler supports Standard Template Library */
#   ifndef _CL_HAVE_STL
#   define _CL_HAVE_STL
#   endif
#endif

/* Define to 1 if you have the <strings.h> header file. */
#ifndef _CL_HAVE_STRINGS_H
#define _CL_HAVE_STRINGS_H  1
#endif

/* Define to 1 if you have the <string.h> header file. */
#ifndef _CL_HAVE_STRING_H
#define _CL_HAVE_STRING_H  1
#endif

/* Define to 1 if you have the `strlwr' function. */
/* #undef _CL_HAVE_STRLWR */

/* Define to 1 if you have the `strtoll' function. */
/* #undef _CL_HAVE_STRTOLL */

/* Define to 1 if you have the `strupr' function. */
/* #undef _CL_HAVE_STRUPR */

/* Defined if the swprintf test fails */
#ifndef _CL_HAVE_SWPRINTF_BUG
#define _CL_HAVE_SWPRINTF_BUG
#endif

/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
   */
/* #undef _CL_HAVE_SYS_DIR_H */

/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
   */
/* #undef _CL_HAVE_SYS_NDIR_H */

/* Define to 1 if you have the <sys/stat.h> header file. */
#ifndef _CL_HAVE_SYS_STAT_H
#define _CL_HAVE_SYS_STAT_H  1
#endif

/* Define to 1 if you have the <sys/timeb.h> header file. */
#ifndef _CL_HAVE_SYS_TIMEB_H
#define _CL_HAVE_SYS_TIMEB_H  1
#endif

/* Define to 1 if you have the <sys/types.h> header file. */
#ifndef _CL_HAVE_SYS_TYPES_H
#define _CL_HAVE_SYS_TYPES_H  1
#endif

// Do not use the tchar.h that ships with mingw, this causes the qt build to
// fail (211547, 211401, etc...), reuse the replacement as with any other compiler
// #if defined(__MINGW32__)
//     /* Define to 1 if you have the <tchar.h> header file. */
// #   ifndef _CL_HAVE_TCHAR_H
// #   define _CL_HAVE_TCHAR_H  1
// #   endif
// #endif

#if defined(__MINGW32__) || defined(__SUNPRO_CC) || defined(__SUNPRO_C)
    /* Define to 1 if you have the `tell' function. */
#   ifndef _CL_HAVE_TELL
#   define _CL_HAVE_TELL  1
#   endif
#endif

/* Define to 1 if you have the <unistd.h> header file. */
#ifndef _CL_HAVE_UNISTD_H
#define _CL_HAVE_UNISTD_H  1
#endif

/* Define to 1 if you have the <vector> header file. */
#ifndef _CL_HAVE_VECTOR
#define _CL_HAVE_VECTOR  1
#endif

/* Define to 1 if you have the `vsnwprintf' function. */
/* #undef _CL_HAVE_VSNWPRINTF */

/* Define to 1 if you have the <wchar.h> header file. */
#ifndef _CL_HAVE_WCHAR_H
#define _CL_HAVE_WCHAR_H  1
#endif

/* Define to 1 if the system has the type `wchar_t'. */
#ifndef _CL_HAVE_WCHAR_T
#define _CL_HAVE_WCHAR_T  1
#endif

#if !defined(__SUNPRO_CC) && !defined(__SUNPRO_C) && !defined(__MINGW32__) && \
    !defined(Q_OS_MAC) && !defined(__HP_aCC)
    /* Define to 1 if you have the `wcscasecmp' function. */
#   ifndef _CL_HAVE_WCSCASECMP
#   define _CL_HAVE_WCSCASECMP  1
#   endif
#endif

/* Define to 1 if you have the `wcscat' function. */
#ifndef _CL_HAVE_WCSCAT
#define _CL_HAVE_WCSCAT  1
#endif

/* Define to 1 if you have the `wcschr' function. */
#ifndef _CL_HAVE_WCSCHR
#define _CL_HAVE_WCSCHR  1
#endif

/* Define to 1 if you have the `wcscmp' function. */
#ifndef _CL_HAVE_WCSCMP
#define _CL_HAVE_WCSCMP  1
#endif

/* Define to 1 if you have the `wcscpy' function. */
#ifndef _CL_HAVE_WCSCPY
#define _CL_HAVE_WCSCPY  1
#endif

/* Define to 1 if you have the `wcscspn' function. */
#ifndef _CL_HAVE_WCSCSPN
#define _CL_HAVE_WCSCSPN  1
#endif

#if defined(__MINGW32__)
    /* Define to 1 if you have the `wcsicmp' function. */
#   ifndef _CL_HAVE_WCSICMP
#   define _CL_HAVE_WCSICMP  1
#   endif
#endif

/* Define to 1 if you have the `wcslen' function. */
#ifndef _CL_HAVE_WCSLEN
#define _CL_HAVE_WCSLEN  1
#endif

/* Define to 1 if you have the `wcsncmp' function. */
#ifndef _CL_HAVE_WCSNCMP
#define _CL_HAVE_WCSNCMP  1
#endif

/* Define to 1 if you have the `wcsncpy' function. */
#ifndef _CL_HAVE_WCSNCPY
#define _CL_HAVE_WCSNCPY  1
#endif

/* Define to 1 if you have the `wcsstr' function. */
#ifndef _CL_HAVE_WCSSTR
#define _CL_HAVE_WCSSTR  1
#endif

/* Define to 1 if you have the `wcstod' function. */
#ifndef _CL_HAVE_WCSTOD
#define _CL_HAVE_WCSTOD  1
#endif

#if !defined(__SUNPRO_CC) && !defined(__SUNPRO_C) && !defined(__HP_aCC)
    /* Define to 1 if you have the `wcstoll' function. */
#   ifndef _CL_HAVE_WCSTOLL
#   define _CL_HAVE_WCSTOLL  1
#   endif
#endif

#if defined(__MINGW32__)
    /* Define to 1 if you have the `wcsupr' function. */
#   ifndef _CL_HAVE_WCSUPR
#   define _CL_HAVE_WCSUPR  1
#   endif
#endif

#if defined(__SUNPRO_CC) || defined(__SUNPRO_C) || defined(__HP_aCC)
    /* Define to 1 if you have a functioning <wchar.h> header file. */
#   ifndef _CL_HAVE_WCTYPE_H
#   define _CL_HAVE_WCTYPE_H
#   endif
#endif

/* Define to 1 if you have the `wprintf' function. */
/* #undef _CL_HAVE_WPRINTF */

#if defined(__MINGW32__)
    /* Define to 1 if you have the `_filelength' function. */
#   ifndef _CL_HAVE__FILELENGTH
#   define _CL_HAVE__FILELENGTH  1
#   endif
#endif

/* How to define a static const in a class */
#ifndef LUCENE_STATIC_CONSTANT_SYNTAX
#define LUCENE_STATIC_CONSTANT_SYNTAX  1
#endif

/* Name of package */
#ifndef _CL_PACKAGE
#define _CL_PACKAGE  "clucene-core"
#endif

/* Define to the address where bug reports for this package should be sent. */
#ifndef _CL_PACKAGE_BUGREPORT
#define _CL_PACKAGE_BUGREPORT  ""
#endif

/* Define to the full name of this package. */
#ifndef _CL_PACKAGE_NAME
#define _CL_PACKAGE_NAME  ""
#endif

/* Define to the full name and version of this package. */
#ifndef _CL_PACKAGE_STRING
#define _CL_PACKAGE_STRING  ""
#endif

/* Define to the one symbol short name of this package. */
#ifndef _CL_PACKAGE_TARNAME
#define _CL_PACKAGE_TARNAME  ""
#endif

/* Define to the version of this package. */
#ifndef _CL_PACKAGE_VERSION
#define _CL_PACKAGE_VERSION  ""
#endif

/* Define to the necessary symbol if this constant uses a non-standard name on
   your system. */
/* #undef _CL_PTHREAD_CREATE_JOINABLE */

/* The size of a `unsigned char', as computed by sizeof. */
/* #undef _CL_SIZEOF_UNSIGNED_CHAR */

/* The size of a `unsigned int', as computed by sizeof. */
/* #undef _CL_SIZEOF_UNSIGNED_INT */

/* The size of a `unsigned long', as computed by sizeof. */
/* #undef _CL_SIZEOF_UNSIGNED_LONG */

/* The size of a `unsigned long long', as computed by sizeof. */
/* #undef _CL_SIZEOF_UNSIGNED_LONG_LONG */

/* The size of a `unsigned __int64', as computed by sizeof. */
/* #undef _CL_SIZEOF_UNSIGNED___INT64 */

/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
/* #undef _CL_STAT_MACROS_BROKEN */

#if !defined(__HP_aCC)
    /* Define to 1 if you have the ANSI C header files. */
#   ifndef _CL_STDC_HEADERS
#   define _CL_STDC_HEADERS  1
#   endif

/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#   ifndef _CL_TIME_WITH_SYS_TIME
#   define _CL_TIME_WITH_SYS_TIME  1
#   endif
#endif

/* Version number of package */
#ifndef _CL_VERSION
#define _CL_VERSION  "0.9.17"
#endif

/* Forces into Ascii mode */
/* #undef _ASCII */

/* Conditional Debugging */
/* #undef _CL__CND_DEBUG */

/* debuging option */
/* #undef _DEBUG */

/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */

/* If not already defined, then define as a datatype of *exactly* 32 bits. */
/* #undef uint32_t */

/* If not already defined, then define as a datatype of *exactly* 64 bits. */
/* #undef uint64_t */

/* If not already defined, then define as a datatype of *exactly* 8 bits. */
/* #undef uint8_t */

/* once:
_SRC_CLUCENE_CLUCENE_CONFIG_H
*/
#endif


#if defined Q_CC_MSVC && _MSC_VER < 1300
# define LUCENE_NO_STDC_NAMESPACE
#endif


#endif // QCLUCENE_CONFIG_P_H