00001 /* config.h. Generated from config.h.in by configure. */ 00002 /* config.h.in. Generated from configure.ac by autoheader. */ 00003 00004 /* Define if ftime returns void */ 00005 /* #undef FTIME_RETURNS_VOID */ 00006 00007 /* Define to 1 if you have the `closefrom' function. */ 00008 /* #undef HAVE_CLOSEFROM */ 00009 00010 /* Define to 1 if you have the `dirfd' function. */ 00011 #define HAVE_DIRFD 1 00012 00013 /* Define to 1 if you have the <dlfcn.h> header file. */ 00014 #define HAVE_DLFCN_H 1 00015 00016 /* Define to 1 if you have the <fcntl.h> header file. */ 00017 #define HAVE_FCNTL_H 1 00018 00019 /* Define to 1 if you have the `fork' function. */ 00020 #define HAVE_FORK 1 00021 00022 /* Define to 1 if you have the `fsync' function. */ 00023 #define HAVE_FSYNC 1 00024 00025 /* Define to 1 if you have the `ftime' function. */ 00026 #define HAVE_FTIME 1 00027 00028 /* Define to 1 if you have the `gethostname' function. */ 00029 #define HAVE_GETHOSTNAME 1 00030 00031 /* Define to 1 if you have the `getrlimit' function. */ 00032 #define HAVE_GETRLIMIT 1 00033 00034 /* Define to 1 if you have the `getrusage' function. */ 00035 #define HAVE_GETRUSAGE 1 00036 00037 /* Define to 1 if you have the `gettimeofday' function. */ 00038 #define HAVE_GETTIMEOFDAY 1 00039 00040 /* Define to 1 if you have the `hstrerror' function. */ 00041 #define HAVE_HSTRERROR 1 00042 00043 /* Define to 1 if you have the <inttypes.h> header file. */ 00044 #define HAVE_INTTYPES_H 1 00045 00046 /* Define to 1 if you have the <limits.h> header file. */ 00047 #define HAVE_LIMITS_H 1 00048 00049 /* Define to 1 if you have the `link' function. */ 00050 #define HAVE_LINK 1 00051 00052 /* Define to 1 if you have the <memory.h> header file. */ 00053 #define HAVE_MEMORY_H 1 00054 00055 /* Define if pread is available on this system */ 00056 #define HAVE_PREAD 1 00057 00058 /* Define if pwrite is available on this system */ 00059 #define HAVE_PWRITE 1 00060 00061 /* Define to 1 if you have the `setenv' function. */ 00062 #define HAVE_SETENV 1 00063 00064 /* Define to 1 if you have the `sigaction' function. */ 00065 #define HAVE_SIGACTION 1 00066 00067 /* Define to 1 if you have the `sigsetjmp' function */ 00068 #define HAVE_SIGSETJMP 1 00069 00070 /* Define to 1 if you have the 'socketpair' function. */ 00071 #define HAVE_SOCKETPAIR 1 00072 00073 /* Define to 1 if you have the <stdint.h> header file. */ 00074 #define HAVE_STDINT_H 1 00075 00076 /* Define to 1 if you have the <stdlib.h> header file. */ 00077 #define HAVE_STDLIB_H 1 00078 00079 /* Define to 1 if you have the `strerror' function. */ 00080 #define HAVE_STRERROR 1 00081 00082 /* Define to 1 if you have the <strings.h> header file. */ 00083 #define HAVE_STRINGS_H 1 00084 00085 /* Define to 1 if you have the <string.h> header file. */ 00086 #define HAVE_STRING_H 1 00087 00088 /* Define to 1 if you have the `sysconf' function. */ 00089 #define HAVE_SYSCONF 1 00090 00091 /* Define to 1 if you have the <sys/errno.h> header file. */ 00092 #define HAVE_SYS_ERRNO_H 1 00093 00094 /* Define to 1 if you have the <sys/resource.h> header file. */ 00095 #define HAVE_SYS_RESOURCE_H 1 00096 00097 /* Define to 1 if you have the <sys/select.h> header file. */ 00098 #define HAVE_SYS_SELECT_H 1 00099 00100 /* Define to 1 if you have the <sys/stat.h> header file. */ 00101 #define HAVE_SYS_STAT_H 1 00102 00103 /* Define to 1 if you have the <sys/types.h> header file. */ 00104 #define HAVE_SYS_TYPES_H 1 00105 00106 /* Define to 1 if you have the <sys/utsname.h> header file. */ 00107 #define HAVE_SYS_UTSNAME_H 1 00108 00109 /* Define to 1 if you have the `times' function. */ 00110 #define HAVE_TIMES 1 00111 00112 /* Define to 1 if you have the <unistd.h> header file. */ 00113 #define HAVE_UNISTD_H 1 00114 00115 /* Define to 1 if you have the <uuid.h> header file. */ 00116 /* #undef HAVE_UUID_H */ 00117 00118 /* Define to 1 if you have the 'uuid_unparse_lower' function. */ 00119 #define HAVE_UUID_UNPARSE_LOWER 1 00120 00121 /* Define to 1 if you have the <uuid/uuid.h> header file. */ 00122 #define HAVE_UUID_UUID_H 1 00123 00124 /* Define if a suitable valgrind is installed */ 00125 #define HAVE_VALGRIND 1 00126 00127 /* Define to 1 if you have the <valgrind/memcheck.h> header file. */ 00128 #define HAVE_VALGRIND_MEMCHECK_H 1 00129 00130 /* Define to 1 if you have the <zlib.h> header file. */ 00131 #define HAVE_ZLIB_H 1 00132 00133 /* Define to the sub-directory in which libtool stores uninstalled libraries. 00134 */ 00135 #define LT_OBJDIR ".libs/" 00136 00137 /* Name of package */ 00138 #define PACKAGE "xapian-core" 00139 00140 /* Define to the address where bug reports for this package should be sent. */ 00141 #define PACKAGE_BUGREPORT "http://xapian.org/bugs" 00142 00143 /* Define to the full name of this package. */ 00144 #define PACKAGE_NAME "xapian-core" 00145 00146 /* Define to the full name and version of this package. */ 00147 #define PACKAGE_STRING "xapian-core 1.2.13" 00148 00149 /* Define to the one symbol short name of this package. */ 00150 #define PACKAGE_TARNAME "xapian-core" 00151 00152 /* Define to the home page for this package. */ 00153 #define PACKAGE_URL "" 00154 00155 /* Define to the version of this package. */ 00156 #define PACKAGE_VERSION "1.2.13" 00157 00158 /* explicit prototype needed for pread (if any) */ 00159 /* #undef PREAD_PROTOTYPE */ 00160 00161 /* explicit prototype needed for pwrite (if any) */ 00162 /* #undef PWRITE_PROTOTYPE */ 00163 00164 /* The size of `int', as computed by sizeof. */ 00165 #define SIZEOF_INT 4 00166 00167 /* The size of `long', as computed by sizeof. */ 00168 #define SIZEOF_LONG 8 00169 00170 /* Define to the name of a function implementing snprintf but not caring about 00171 ISO C99 return value semantics (if one exists) */ 00172 #define SNPRINTF snprintf 00173 00174 /* Define to the name of a function implementing snprintf with ISO C99 00175 semantics (if one exists) */ 00176 #define SNPRINTF_ISO snprintf 00177 00178 /* type to use for 5th parameter to getsockopt */ 00179 #define SOCKLEN_T socklen_t 00180 00181 /* Define to 1 if you have the ANSI C header files. */ 00182 #define STDC_HEADERS 1 00183 00184 /* Define if the testsuite should use RTTI */ 00185 #define USE_RTTI 1 00186 00187 /* Version number of package */ 00188 #define VERSION "1.2.13" 00189 00190 /* Define if you want assertions (causes some slow-down) */ 00191 /* #undef XAPIAN_ASSERTIONS */ 00192 00193 /* Define if you want paranoid assertions (causes significant slow-down) */ 00194 /* #undef XAPIAN_ASSERTIONS_PARANOID */ 00195 00196 /* Define if you want a log of methods called and other debug messages */ 00197 /* #undef XAPIAN_DEBUG_LOG */ 00198 00199 /* Number of bits in a file offset, on hosts where this is settable. */ 00200 /* #undef _FILE_OFFSET_BITS */ 00201 00202 /* Define for large files, on AIX-style hosts. */ 00203 /* #undef _LARGE_FILES */ 00204 00205 /* Define on mingw to the minimum msvcrt version to assume */ 00206 /* #undef __MSVCRT_VERSION__ */ 00207 00208 /* Define to `int' if <sys/types.h> does not define. */ 00209 /* #undef mode_t */ 00210 00211 /* Define to `int' if <sys/types.h> does not define. */ 00212 /* #undef pid_t */ 00213 00214 /* Define to `int' if <sys/types.h> does not define. */ 00215 /* #undef ssize_t */ 00216 00217 /* Disable stupid MSVC "performance" warning for converting int to bool. */ 00218 #ifdef _MSC_VER 00219 # pragma warning(disable:4800) 00220 #endif 00221 00222 /* _FORTIFY_SOURCE is only supported by GCC >= 4.1 and glibc >= 2.3.4, but it 00223 * shouldn't cause a problem to define it where it's not supported and some 00224 * distros may have backported support, so hardcoding version checks is 00225 * counter-productive. 00226 * 00227 * Check if _FORTIFY_SOURCE is already defined to allow the user to override 00228 * our choice with "./configure CPPFLAGS=-D_FORTIFY_SOURCE=0" or "...=1". 00229 */ 00230 #if defined __GNUC__ && !defined _FORTIFY_SOURCE 00231 # define _FORTIFY_SOURCE 2 00232 #endif 00233 00234 /* For GCC >= 3.0 (and Intel's C++ compiler, which also defines __GNUC__), 00235 * we can use __builtin_expect to give the compiler hints about branch 00236 * prediction. See HACKING for how to use these. 00237 */ 00238 #if defined __GNUC__ 00239 /* The arguments of __builtin_expect() are both long, so use !! to ensure that 00240 * the first argument is always an integer expression, and always 0 or 1, but 00241 * still has the same truth value for the if or while it is used in. 00242 */ 00243 # define rare(COND) __builtin_expect(!!(COND), 0) 00244 # define usual(COND) __builtin_expect(!!(COND), 1) 00245 #else 00246 # define rare(COND) (COND) 00247 # define usual(COND) (COND) 00248 #endif 00249