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