| 1 | /* config.h. Generated from config.h.in by configure. */
|
|---|
| 2 | /* config.h.in. Generated from configure.ac by autoheader. */
|
|---|
| 3 |
|
|---|
| 4 | /* Define if ftime returns void */
|
|---|
| 5 | /* #undef FTIME_RETURNS_VOID */
|
|---|
| 6 |
|
|---|
| 7 | /* Define to 1 if you have the `closefrom' function. */
|
|---|
| 8 | #define HAVE_CLOSEFROM 1
|
|---|
| 9 |
|
|---|
| 10 | /* Define to 1 if you have the `dirfd' function. */
|
|---|
| 11 | /* #undef HAVE_DIRFD */
|
|---|
| 12 |
|
|---|
| 13 | /* Define to 1 if you have the <dlfcn.h> header file. */
|
|---|
| 14 | #define HAVE_DLFCN_H 1
|
|---|
| 15 |
|
|---|
| 16 | /* Define to 1 if you have the <fcntl.h> header file. */
|
|---|
| 17 | #define HAVE_FCNTL_H 1
|
|---|
| 18 |
|
|---|
| 19 | /* Define to 1 if you have the `fork' function. */
|
|---|
| 20 | #define HAVE_FORK 1
|
|---|
| 21 |
|
|---|
| 22 | /* Define to 1 if you have the `fsync' function. */
|
|---|
| 23 | #define HAVE_FSYNC 1
|
|---|
| 24 |
|
|---|
| 25 | /* Define to 1 if you have the `ftime' function. */
|
|---|
| 26 | #define HAVE_FTIME 1
|
|---|
| 27 |
|
|---|
| 28 | /* Define to 1 if you have the `gethostname' function. */
|
|---|
| 29 | #define HAVE_GETHOSTNAME 1
|
|---|
| 30 |
|
|---|
| 31 | /* Define to 1 if you have the `getrusage' function. */
|
|---|
| 32 | #define HAVE_GETRUSAGE 1
|
|---|
| 33 |
|
|---|
| 34 | /* Define to 1 if you have the `gettimeofday' function. */
|
|---|
| 35 | #define HAVE_GETTIMEOFDAY 1
|
|---|
| 36 |
|
|---|
| 37 | /* Define to 1 if you have the `hstrerror' function. */
|
|---|
| 38 | /* #undef HAVE_HSTRERROR */
|
|---|
| 39 |
|
|---|
| 40 | /* Define to 1 if you have the <inttypes.h> header file. */
|
|---|
| 41 | #define HAVE_INTTYPES_H 1
|
|---|
| 42 |
|
|---|
| 43 | /* Define to 1 if you have the <limits.h> header file. */
|
|---|
| 44 | #define HAVE_LIMITS_H 1
|
|---|
| 45 |
|
|---|
| 46 | /* Define to 1 if you have the `link' function. */
|
|---|
| 47 | #define HAVE_LINK 1
|
|---|
| 48 |
|
|---|
| 49 | /* Define to 1 if you have the <memory.h> header file. */
|
|---|
| 50 | #define HAVE_MEMORY_H 1
|
|---|
| 51 |
|
|---|
| 52 | /* Define if pread is available on this system */
|
|---|
| 53 | #define HAVE_PREAD 1
|
|---|
| 54 |
|
|---|
| 55 | /* Define if pwrite is available on this system */
|
|---|
| 56 | #define HAVE_PWRITE 1
|
|---|
| 57 |
|
|---|
| 58 | /* Define to 1 if you have the `setenv' function. */
|
|---|
| 59 | /* #undef HAVE_SETENV */
|
|---|
| 60 |
|
|---|
| 61 | /* Define to 1 if you have the `sigaction' function. */
|
|---|
| 62 | #define HAVE_SIGACTION 1
|
|---|
| 63 |
|
|---|
| 64 | /* Define to 1 if you have the `sigsetjmp' function */
|
|---|
| 65 | #define HAVE_SIGSETJMP 1
|
|---|
| 66 |
|
|---|
| 67 | /* Define to 1 if you have the 'socketpair' function. */
|
|---|
| 68 | #define HAVE_SOCKETPAIR 1
|
|---|
| 69 |
|
|---|
| 70 | /* Define to 1 if you have the <stdint.h> header file. */
|
|---|
| 71 | /* #undef HAVE_STDINT_H */
|
|---|
| 72 |
|
|---|
| 73 | /* Define to 1 if you have the <stdlib.h> header file. */
|
|---|
| 74 | #define HAVE_STDLIB_H 1
|
|---|
| 75 |
|
|---|
| 76 | /* Define to 1 if you have the `strerror' function. */
|
|---|
| 77 | #define HAVE_STRERROR 1
|
|---|
| 78 |
|
|---|
| 79 | /* Define to 1 if you have the <strings.h> header file. */
|
|---|
| 80 | #define HAVE_STRINGS_H 1
|
|---|
| 81 |
|
|---|
| 82 | /* Define to 1 if you have the <string.h> header file. */
|
|---|
| 83 | #define HAVE_STRING_H 1
|
|---|
| 84 |
|
|---|
| 85 | /* Define to 1 if you have the `sysconf' function. */
|
|---|
| 86 | #define HAVE_SYSCONF 1
|
|---|
| 87 |
|
|---|
| 88 | /* Define to 1 if you have the <sys/errno.h> header file. */
|
|---|
| 89 | #define HAVE_SYS_ERRNO_H 1
|
|---|
| 90 |
|
|---|
| 91 | /* Define to 1 if you have the <sys/select.h> header file. */
|
|---|
| 92 | #define HAVE_SYS_SELECT_H 1
|
|---|
| 93 |
|
|---|
| 94 | /* Define to 1 if you have the <sys/stat.h> header file. */
|
|---|
| 95 | #define HAVE_SYS_STAT_H 1
|
|---|
| 96 |
|
|---|
| 97 | /* Define to 1 if you have the <sys/types.h> header file. */
|
|---|
| 98 | #define HAVE_SYS_TYPES_H 1
|
|---|
| 99 |
|
|---|
| 100 | /* Define to 1 if you have the <sys/utsname.h> header file. */
|
|---|
| 101 | #define HAVE_SYS_UTSNAME_H 1
|
|---|
| 102 |
|
|---|
| 103 | /* Define to 1 if you have the `times' function. */
|
|---|
| 104 | #define HAVE_TIMES 1
|
|---|
| 105 |
|
|---|
| 106 | /* Define to 1 if you have the <unistd.h> header file. */
|
|---|
| 107 | #define HAVE_UNISTD_H 1
|
|---|
| 108 |
|
|---|
| 109 | /* Define to 1 if you have the <uuid.h> header file. */
|
|---|
| 110 | /* #undef HAVE_UUID_H */
|
|---|
| 111 |
|
|---|
| 112 | /* Define to 1 if you have the 'uuid_unparse_lower' function. */
|
|---|
| 113 | /* #undef HAVE_UUID_UNPARSE_LOWER */
|
|---|
| 114 |
|
|---|
| 115 | /* Define to 1 if you have the <uuid/uuid.h> header file. */
|
|---|
| 116 | #define HAVE_UUID_UUID_H 1
|
|---|
| 117 |
|
|---|
| 118 | /* Define if a suitable valgrind is installed */
|
|---|
| 119 | /* #undef HAVE_VALGRIND */
|
|---|
| 120 |
|
|---|
| 121 | /* Define to 1 if you have the <valgrind/memcheck.h> header file. */
|
|---|
| 122 | /* #undef HAVE_VALGRIND_MEMCHECK_H */
|
|---|
| 123 |
|
|---|
| 124 | /* Define to 1 if you have the <zlib.h> header file. */
|
|---|
| 125 | #define HAVE_ZLIB_H 1
|
|---|
| 126 |
|
|---|
| 127 | /* Define to the sub-directory in which libtool stores uninstalled libraries.
|
|---|
| 128 | */
|
|---|
| 129 | #define LT_OBJDIR ".libs/"
|
|---|
| 130 |
|
|---|
| 131 | /* Name of package */
|
|---|
| 132 | #define PACKAGE "xapian-core"
|
|---|
| 133 |
|
|---|
| 134 | /* Define to the address where bug reports for this package should be sent. */
|
|---|
| 135 | #define PACKAGE_BUGREPORT "http://xapian.org/bugs"
|
|---|
| 136 |
|
|---|
| 137 | /* Define to the full name of this package. */
|
|---|
| 138 | #define PACKAGE_NAME "xapian-core"
|
|---|
| 139 |
|
|---|
| 140 | /* Define to the full name and version of this package. */
|
|---|
| 141 | #define PACKAGE_STRING "xapian-core 1.2.6"
|
|---|
| 142 |
|
|---|
| 143 | /* Define to the one symbol short name of this package. */
|
|---|
| 144 | #define PACKAGE_TARNAME "xapian-core"
|
|---|
| 145 |
|
|---|
| 146 | /* Define to the home page for this package. */
|
|---|
| 147 | #define PACKAGE_URL ""
|
|---|
| 148 |
|
|---|
| 149 | /* Define to the version of this package. */
|
|---|
| 150 | #define PACKAGE_VERSION "1.2.6"
|
|---|
| 151 |
|
|---|
| 152 | /* explicit prototype needed for pread (if any) */
|
|---|
| 153 | /* #undef PREAD_PROTOTYPE */
|
|---|
| 154 |
|
|---|
| 155 | /* explicit prototype needed for pwrite (if any) */
|
|---|
| 156 | /* #undef PWRITE_PROTOTYPE */
|
|---|
| 157 |
|
|---|
| 158 | /* The size of `int', as computed by sizeof. */
|
|---|
| 159 | #define SIZEOF_INT 4
|
|---|
| 160 |
|
|---|
| 161 | /* The size of `long', as computed by sizeof. */
|
|---|
| 162 | #define SIZEOF_LONG 4
|
|---|
| 163 |
|
|---|
| 164 | /* Define to the name of a function implementing snprintf but not caring about
|
|---|
| 165 | ISO C99 return value semantics (if one exists) */
|
|---|
| 166 | /* #undef SNPRINTF */
|
|---|
| 167 |
|
|---|
| 168 | /* Define to the name of a function implementing snprintf with ISO C99
|
|---|
| 169 | semantics (if one exists) */
|
|---|
| 170 | /* #undef SNPRINTF_ISO */
|
|---|
| 171 |
|
|---|
| 172 | /* type to use for 5th parameter to getsockopt */
|
|---|
| 173 | #define SOCKLEN_T socklen_t
|
|---|
| 174 |
|
|---|
| 175 | /* Define to 1 if you have the ANSI C header files. */
|
|---|
| 176 | #define STDC_HEADERS 1
|
|---|
| 177 |
|
|---|
| 178 | /* Define if the testsuite should use RTTI */
|
|---|
| 179 | #define USE_RTTI 1
|
|---|
| 180 |
|
|---|
| 181 | /* Version number of package */
|
|---|
| 182 | #define VERSION "1.2.6"
|
|---|
| 183 |
|
|---|
| 184 | /* Define if you want assertions (causes some slow-down) */
|
|---|
| 185 | /* #undef XAPIAN_ASSERTIONS */
|
|---|
| 186 |
|
|---|
| 187 | /* Define if you want paranoid assertions (causes significant slow-down) */
|
|---|
| 188 | /* #undef XAPIAN_ASSERTIONS_PARANOID */
|
|---|
| 189 |
|
|---|
| 190 | /* Define if you want a log of methods called and other debug messages */
|
|---|
| 191 | /* #undef XAPIAN_DEBUG_LOG */
|
|---|
| 192 |
|
|---|
| 193 | /* Number of bits in a file offset, on hosts where this is settable. */
|
|---|
| 194 | #define _FILE_OFFSET_BITS 64
|
|---|
| 195 |
|
|---|
| 196 | /* Define for large files, on AIX-style hosts. */
|
|---|
| 197 | /* #undef _LARGE_FILES */
|
|---|
| 198 |
|
|---|
| 199 | /* Define on mingw to the minimum msvcrt version to assume */
|
|---|
| 200 | /* #undef __MSVCRT_VERSION__ */
|
|---|
| 201 |
|
|---|
| 202 | /* Define to `int' if <sys/types.h> does not define. */
|
|---|
| 203 | /* #undef mode_t */
|
|---|
| 204 |
|
|---|
| 205 | /* Define to `int' if <sys/types.h> does not define. */
|
|---|
| 206 | /* #undef pid_t */
|
|---|
| 207 |
|
|---|
| 208 | /* Define to `int' if <sys/types.h> does not define. */
|
|---|
| 209 | /* #undef ssize_t */
|
|---|
| 210 |
|
|---|
| 211 | /* Disable stupid MSVC "performance" warning for converting int to bool. */
|
|---|
| 212 | #ifdef _MSC_VER
|
|---|
| 213 | # pragma warning(disable:4800)
|
|---|
| 214 | #endif
|
|---|
| 215 |
|
|---|
| 216 | /* _FORTIFY_SOURCE is only supported by GCC >= 4.1 and glibc >= 2.3.4, but it
|
|---|
| 217 | * shouldn't cause a problem to define it where it's not supported and some
|
|---|
| 218 | * distros may have backported support, so hardcoding version checks is
|
|---|
| 219 | * counter-productive.
|
|---|
| 220 | *
|
|---|
| 221 | * Check if _FORTIFY_SOURCE is already defined to allow the user to override
|
|---|
| 222 | * our choice with "./configure CPPFLAGS=-D_FORTIFY_SOURCE=0" or "...=1".
|
|---|
| 223 | */
|
|---|
| 224 | #if defined __GNUC__ && !defined _FORTIFY_SOURCE
|
|---|
| 225 | # define _FORTIFY_SOURCE 2
|
|---|
| 226 | #endif
|
|---|
| 227 |
|
|---|
| 228 | /* For GCC >= 3.0 (and Intel's C++ compiler, which also defines __GNUC__),
|
|---|
| 229 | * we can use __builtin_expect to give the compiler hints about branch
|
|---|
| 230 | * prediction. See HACKING for how to use these.
|
|---|
| 231 | */
|
|---|
| 232 | #if defined __GNUC__
|
|---|
| 233 | /* The arguments of __builtin_expect() are both long, so use !! to ensure that
|
|---|
| 234 | * the first argument is always an integer expression, and always 0 or 1, but
|
|---|
| 235 | * still has the same truth value for the if or while it is used in.
|
|---|
| 236 | */
|
|---|
| 237 | # define rare(COND) __builtin_expect(!!(COND), 0)
|
|---|
| 238 | # define usual(COND) __builtin_expect(!!(COND), 1)
|
|---|
| 239 | #else
|
|---|
| 240 | # define rare(COND) (COND)
|
|---|
| 241 | # define usual(COND) (COND)
|
|---|
| 242 | #endif
|
|---|
| 243 |
|
|---|