Advertisement
Guest User

clucene-config.h

a guest
Jan 11th, 2011
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 4.13 KB | None | 0 0
  1. #ifndef _SRC_CLUCENE_CLUCENE_CONFIG_H
  2. #define _SRC_CLUCENE_CLUCENE_CONFIG_H 1
  3.  
  4. /* src/shared/CLucene/clucene-config.h.
  5. *  Generated automatically at end of cmake.
  6. */
  7.  
  8. /* CMake will look for these headers: */
  9. #define _CL_HAVE_STRING_H  1
  10. #define _CL_HAVE_MEMORY_H  1
  11. #define _CL_HAVE_UNISTD_H  1
  12. #define _CL_HAVE_IO_H  1
  13. #define _CL_HAVE_DIRECT_H  1
  14. #define _CL_HAVE_DIRENT_H  1
  15. /* #undef _CL_HAVE_SYS_DIR_H */
  16. /* #undef _CL_HAVE_SYS_NDIR_H */
  17. #define _CL_HAVE_ERRNO_H  1
  18. #define _CL_HAVE_WCHAR_H  1
  19. #define _CL_HAVE_WCTYPE_H  
  20. #define _CL_HAVE_CTYPE_H  1
  21. #define _CL_HAVE_WINDOWS_H  1
  22. #define _CL_HAVE_WINDEF_H  1
  23. #define _CL_HAVE_SYS_TYPES_H  1
  24. /* #undef _CL_HAVE_DLFCN_H */
  25. #define _CL_HAVE_EXT_HASH_MAP  1
  26. /* #undef _CL_HAVE_EXT_HASH_SET */
  27. #define _CL_HAVE_TR1_UNORDERED_MAP 1
  28. #define _CL_HAVE_TR1_UNORDERED_SET  1
  29. #define _CL_HAVE_HASH_MAP
  30. #define _CL_HAVE_HASH_SET
  31. /* #undef _CL_HAVE_NDIR_H */
  32. #define _CL_HAVE_SYS_STAT_H  1
  33. #define _CL_HAVE_SYS_TIMEB_H  1
  34. #define _CL_HAVE_SYS_TIME_H 1
  35. #define _CL_HAVE_TCHAR_H 1
  36. /* #undef _CL_HAVE_SYS_MMAN_H */
  37. #define _CL_HAVE_WINERROR_H 1
  38. #define _CL_HAVE_STDINT_H 1
  39.  
  40. // our needed types
  41. /* undef int8_t int8_t */
  42. /* undef uint8_t uint8_t */
  43. /* undef int16_t int16_t */
  44. /* undef uint16_t uint16_t */
  45. /* undef int32_t int32_t */
  46. /* undef uint32_t uint32_t */
  47. /* undef int64_t int64_t */
  48. /* undef uint64_t uint64_t */
  49.  
  50. /* undef float_t*/
  51. typedef unsigned long _cl_dword_t;
  52. /* undef size_t size_t */
  53.  
  54. /* tchar & _T definitions... */
  55. /* undef TCHAR TCHAR */
  56. /* #undef _T */
  57.  
  58. /* CMake will determine these specifics. Things like bugs, etc */
  59.  
  60. /* if we can't support the map/set hashing */
  61. /* #undef LUCENE_DISABLE_HASHING */
  62.  
  63. /* Define if you have POSIX threads libraries and header files. */
  64. #define _CL_HAVE_PTHREAD  1
  65.  
  66. /* Define if you have Win32 threads libraries and header files. */
  67. #define _CL_HAVE_WIN32_THREADS  1
  68.  
  69. /* Define if we have gcc atomic functions */
  70. /* #undef _CL_HAVE_GCC_ATOMIC_FUNCTIONS */
  71.  
  72. /* Define what eval method is required for float_t to be defined (for GCC). */
  73. /* #undef _FLT_EVAL_METHOD */
  74.  
  75. /* If we use hashmaps, which namespace do we use: */
  76. #define CL_NS_HASHING(func) std::tr1::func
  77. /* If we use hashmaps, which classes do we use: */
  78. #define _CL_HASH_MAP unordered_map
  79. #define _CL_HASH_SET unordered_set
  80.  
  81. /* define if the compiler implements namespaces */
  82. #define _CL_HAVE_NAMESPACES  
  83.  
  84. /* Defined if the snprintf overflow test fails */
  85. /* #undef _CL_HAVE_SNPRINTF_BUG */
  86.  
  87. /* Defined if the swprintf test fails */
  88. /* #undef _CL_HAVE_SNWPRINTF_BUG */
  89.  
  90. /* How to define a static const in a class */
  91. #define LUCENE_STATIC_CONSTANT(type, assignment)  static const type assignment
  92.  
  93. /* Define to the necessary symbol if this constant uses a non-standard name on
  94.    your system. */
  95. //todo: not checked
  96. /* #undef _CL_PTHREAD_CREATE_JOINABLE */
  97.  
  98. /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
  99. //todo: not being checked for...
  100. /* #undef _CL_STAT_MACROS_BROKEN */
  101.  
  102. /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  103. //not actually used for anything...
  104. //#define _CL_TIME_WITH_SYS_TIME  1
  105.  
  106. /* Define that we will be using -fvisibility=hidden, and
  107.  * make public classes visible using __attribute__ ((visibility("default")))
  108.  */
  109. #define _CL_HAVE_GCCVISIBILITYPATCH 1
  110.  
  111.  
  112. /* Versions, etc */
  113.  
  114. /* Name of package */
  115. #define _CL_PACKAGE  "clucene-core"
  116.  
  117. /* Version number of package */
  118. #define _CL_VERSION  "0.9.23.0"
  119.  
  120. /* So-Version number of package */
  121. #define _CL_SOVERSION  "0.9.23"
  122.  
  123. /* A comparable version number */
  124. #define _CL_INT_VERSION  92300
  125.  
  126. /* Configured options (from command line) */
  127.  
  128. /* Forces into Ascii mode */
  129. /* #undef _ASCII */
  130.  
  131. /* Conditional Debugging */
  132. /* #undef _CL__CND_DEBUG */
  133.  
  134. /* debuging option */
  135. /* #undef _DEBUG */
  136.  
  137. /* Disable multithreading */
  138. /* #undef _CL_DISABLE_MULTITHREADING */
  139.  
  140.  
  141. #ifdef __BORLANDC__ //borland compiler
  142.     //todo: bcc incorrectly detects this... fix this in cmake
  143.     #undef LUCENE_STATIC_CONSTANT
  144.     #define LUCENE_STATIC_CONSTANT(type, assignment) enum { assignment }
  145. #endif
  146.  
  147.  
  148. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement