1/****************************************************************************
2**
3** Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team.
4** All rights reserved.
5**
6** Portion Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
7
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__)
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#if defined(__MINGW32__)
318 /* Define to 1 if you have the <tchar.h> header file. */
319 # ifndef _CL_HAVE_TCHAR_H
320 # define _CL_HAVE_TCHAR_H 1
321 # endif
322#endif
323
324#if defined(__MINGW32__) || defined(__SUNPRO_CC) || defined(__SUNPRO_C)
325 /* Define to 1 if you have the `tell' function. */
326# ifndef _CL_HAVE_TELL
327# define _CL_HAVE_TELL 1
328# endif
329#endif
330
331/* Define to 1 if you have the <unistd.h> header file. */
332#ifndef _CL_HAVE_UNISTD_H
333#define _CL_HAVE_UNISTD_H 1
334#endif
335
336/* Define to 1 if you have the <vector> header file. */
337#ifndef _CL_HAVE_VECTOR
338#define _CL_HAVE_VECTOR 1
339#endif
340
341/* Define to 1 if you have the `vsnwprintf' function. */
342/* #undef _CL_HAVE_VSNWPRINTF */
343
344/* Define to 1 if you have the <wchar.h> header file. */
345#ifndef _CL_HAVE_WCHAR_H
346#define _CL_HAVE_WCHAR_H 1
347#endif
348
349/* Define to 1 if the system has the type `wchar_t'. */
350#ifndef _CL_HAVE_WCHAR_T
351#define _CL_HAVE_WCHAR_T 1
352#endif
353
354#if !defined(__SUNPRO_CC) && !defined(__SUNPRO_C) && !defined(__MINGW32__) && \
355 !defined(Q_OS_MAC) && !defined(__HP_aCC)
356 /* Define to 1 if you have the `wcscasecmp' function. */
357# ifndef _CL_HAVE_WCSCASECMP
358# define _CL_HAVE_WCSCASECMP 1
359# endif
360#endif
361
362/* Define to 1 if you have the `wcscat' function. */
363#ifndef _CL_HAVE_WCSCAT
364#define _CL_HAVE_WCSCAT 1
365#endif
366
367/* Define to 1 if you have the `wcschr' function. */
368#ifndef _CL_HAVE_WCSCHR
369#define _CL_HAVE_WCSCHR 1
370#endif
371
372/* Define to 1 if you have the `wcscmp' function. */
373#ifndef _CL_HAVE_WCSCMP
374#define _CL_HAVE_WCSCMP 1
375#endif
376
377/* Define to 1 if you have the `wcscpy' function. */
378#ifndef _CL_HAVE_WCSCPY
379#define _CL_HAVE_WCSCPY 1
380#endif
381
382/* Define to 1 if you have the `wcscspn' function. */
383#ifndef _CL_HAVE_WCSCSPN
384#define _CL_HAVE_WCSCSPN 1
385#endif
386
387#if defined(__MINGW32__)
388 /* Define to 1 if you have the `wcsicmp' function. */
389# ifndef _CL_HAVE_WCSICMP
390# define _CL_HAVE_WCSICMP 1
391# endif
392#endif
393
394/* Define to 1 if you have the `wcslen' function. */
395#ifndef _CL_HAVE_WCSLEN
396#define _CL_HAVE_WCSLEN 1
397#endif
398
399/* Define to 1 if you have the `wcsncmp' function. */
400#ifndef _CL_HAVE_WCSNCMP
401#define _CL_HAVE_WCSNCMP 1
402#endif
403
404/* Define to 1 if you have the `wcsncpy' function. */
405#ifndef _CL_HAVE_WCSNCPY
406#define _CL_HAVE_WCSNCPY 1
407#endif
408
409/* Define to 1 if you have the `wcsstr' function. */
410#ifndef _CL_HAVE_WCSSTR
411#define _CL_HAVE_WCSSTR 1
412#endif
413
414/* Define to 1 if you have the `wcstod' function. */
415#ifndef _CL_HAVE_WCSTOD
416#define _CL_HAVE_WCSTOD 1
417#endif
418
419#if !defined(__SUNPRO_CC) && !defined(__SUNPRO_C) && !defined(__HP_aCC)
420 /* Define to 1 if you have the `wcstoll' function. */
421# ifndef _CL_HAVE_WCSTOLL
422# define _CL_HAVE_WCSTOLL 1
423# endif
424#endif
425
426#if defined(__MINGW32__)
427 /* Define to 1 if you have the `wcsupr' function. */
428# ifndef _CL_HAVE_WCSUPR
429# define _CL_HAVE_WCSUPR 1
430# endif
431#endif
432
433#if defined(__SUNPRO_CC) || defined(__SUNPRO_C) || defined(__HP_aCC)
434 /* Define to 1 if you have a functioning <wchar.h> header file. */
435# ifndef _CL_HAVE_WCTYPE_H
436# define _CL_HAVE_WCTYPE_H
437# endif
438#endif
439
440/* Define to 1 if you have the `wprintf' function. */
441/* #undef _CL_HAVE_WPRINTF */
442
443#if defined(__MINGW32__)
444 /* Define to 1 if you have the `_filelength' function. */
445# ifndef _CL_HAVE__FILELENGTH
446# define _CL_HAVE__FILELENGTH 1
447# endif
448#endif
449
450/* How to define a static const in a class */
451#ifndef LUCENE_STATIC_CONSTANT_SYNTAX
452#define LUCENE_STATIC_CONSTANT_SYNTAX 1
453#endif
454
455/* Name of package */
456#ifndef _CL_PACKAGE
457#define _CL_PACKAGE "clucene-core"
458#endif
459
460/* Define to the address where bug reports for this package should be sent. */
461#ifndef _CL_PACKAGE_BUGREPORT
462#define _CL_PACKAGE_BUGREPORT ""
463#endif
464
465/* Define to the full name of this package. */
466#ifndef _CL_PACKAGE_NAME
467#define _CL_PACKAGE_NAME ""
468#endif
469
470/* Define to the full name and version of this package. */
471#ifndef _CL_PACKAGE_STRING
472#define _CL_PACKAGE_STRING ""
473#endif
474
475/* Define to the one symbol short name of this package. */
476#ifndef _CL_PACKAGE_TARNAME
477#define _CL_PACKAGE_TARNAME ""
478#endif
479
480/* Define to the version of this package. */
481#ifndef _CL_PACKAGE_VERSION
482#define _CL_PACKAGE_VERSION ""
483#endif
484
485/* Define to the necessary symbol if this constant uses a non-standard name on
486 your system. */
487/* #undef _CL_PTHREAD_CREATE_JOINABLE */
488
489/* The size of a `unsigned char', as computed by sizeof. */
490/* #undef _CL_SIZEOF_UNSIGNED_CHAR */
491
492/* The size of a `unsigned int', as computed by sizeof. */
493/* #undef _CL_SIZEOF_UNSIGNED_INT */
494
495/* The size of a `unsigned long', as computed by sizeof. */
496/* #undef _CL_SIZEOF_UNSIGNED_LONG */
497
498/* The size of a `unsigned long long', as computed by sizeof. */
499/* #undef _CL_SIZEOF_UNSIGNED_LONG_LONG */
500
501/* The size of a `unsigned __int64', as computed by sizeof. */
502/* #undef _CL_SIZEOF_UNSIGNED___INT64 */
503
504/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
505/* #undef _CL_STAT_MACROS_BROKEN */
506
507#if !defined(__HP_aCC)
508 /* Define to 1 if you have the ANSI C header files. */
509# ifndef _CL_STDC_HEADERS
510# define _CL_STDC_HEADERS 1
511# endif
512
513/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
514# ifndef _CL_TIME_WITH_SYS_TIME
515# define _CL_TIME_WITH_SYS_TIME 1
516# endif
517#endif
518
519/* Version number of package */
520#ifndef _CL_VERSION
521#define _CL_VERSION "0.9.17"
522#endif
523
524/* Forces into Ascii mode */
525/* #undef _ASCII */
526
527/* Conditional Debugging */
528/* #undef _CL__CND_DEBUG */
529
530/* debugging option */
531/* #undef _DEBUG */
532
533/* Number of bits in a file offset, on hosts where this is settable. */
534/* #undef _FILE_OFFSET_BITS */
535
536/* If not already defined, then define as a datatype of *exactly* 32 bits. */
537/* #undef uint32_t */
538
539/* If not already defined, then define as a datatype of *exactly* 64 bits. */
540/* #undef uint64_t */
541
542/* If not already defined, then define as a datatype of *exactly* 8 bits. */
543/* #undef uint8_t */
544
545/* once:
546_SRC_CLUCENE_CLUCENE_CONFIG_H
547*/
548#endif
549
550
551#if defined Q_CC_MSVC && _MSC_VER < 1300
552# define LUCENE_NO_STDC_NAMESPACE
553#endif
554
555
556#endif // QCLUCENE_CONFIG_P_H
557
558