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 <dlfcn.h> header file. */ 00008 #define HAVE_DLFCN_H 1 00009 00010 /* Define to 1 if you have the <fcntl.h> header file. */ 00011 #define HAVE_FCNTL_H 1 00012 00013 /* Define to 1 if you have the `fork' function. */ 00014 #define HAVE_FORK 1 00015 00016 /* Define to 1 if you have the `fsync' function. */ 00017 #define HAVE_FSYNC 1 00018 00019 /* Define to 1 if you have the `ftime' function. */ 00020 #define HAVE_FTIME 1 00021 00022 /* Define to 1 if you have the `gethostname' function. */ 00023 #define HAVE_GETHOSTNAME 1 00024 00025 /* Define to 1 if you have the `gettimeofday' function. */ 00026 #define HAVE_GETTIMEOFDAY 1 00027 00028 /* Define to 1 if you have the `hstrerror' function. */ 00029 #define HAVE_HSTRERROR 1 00030 00031 /* Define to 1 if you have the <inttypes.h> header file. */ 00032 #define HAVE_INTTYPES_H 1 00033 00034 /* Define to 1 if you have the <limits.h> header file. */ 00035 #define HAVE_LIMITS_H 1 00036 00037 /* Define to 1 if you have the `link' function. */ 00038 #define HAVE_LINK 1 00039 00040 /* Define to 1 if you have the <memory.h> header file. */ 00041 #define HAVE_MEMORY_H 1 00042 00043 /* Define to 1 if you have the 'socketpair' function. */ 00044 #define HAVE_SOCKETPAIR 1 00045 00046 /* Define to 1 if you have the <stdint.h> header file. */ 00047 #define HAVE_STDINT_H 1 00048 00049 /* Define to 1 if you have the <stdlib.h> header file. */ 00050 #define HAVE_STDLIB_H 1 00051 00052 /* Define to 1 if you have the <streambuf> header file. */ 00053 #define HAVE_STREAMBUF 1 00054 00055 /* Define to 1 if you have the `strerror' function. */ 00056 #define HAVE_STRERROR 1 00057 00058 /* Define to 1 if you have the <strings.h> header file. */ 00059 #define HAVE_STRINGS_H 1 00060 00061 /* Define to 1 if you have the <string.h> header file. */ 00062 #define HAVE_STRING_H 1 00063 00064 /* Define to 1 if you have the <sys/errno.h> header file. */ 00065 #define HAVE_SYS_ERRNO_H 1 00066 00067 /* Define to 1 if you have the <sys/select.h> header file. */ 00068 #define HAVE_SYS_SELECT_H 1 00069 00070 /* Define to 1 if you have the <sys/stat.h> header file. */ 00071 #define HAVE_SYS_STAT_H 1 00072 00073 /* Define to 1 if you have the <sys/types.h> header file. */ 00074 #define HAVE_SYS_TYPES_H 1 00075 00076 /* Define to 1 if you have the <sys/utsname.h> header file. */ 00077 #define HAVE_SYS_UTSNAME_H 1 00078 00079 /* Define to 1 if you have the <unistd.h> header file. */ 00080 #define HAVE_UNISTD_H 1 00081 00082 /* Define if valgrind is installed and supports VALGRIND_COUNT_LEAKS */ 00083 #define HAVE_VALGRIND 1 00084 00085 /* Define to 1 if you have the <zlib.h> header file. */ 00086 #define HAVE_ZLIB_H 1 00087 00088 /* Name of package */ 00089 #define PACKAGE "xapian-core" 00090 00091 /* Define to the address where bug reports for this package should be sent. */ 00092 #define PACKAGE_BUGREPORT "http://xapian.org/bugs" 00093 00094 /* Define to the full name of this package. */ 00095 #define PACKAGE_NAME "xapian-core" 00096 00097 /* Define to the full name and version of this package. */ 00098 #define PACKAGE_STRING "xapian-core 1.0.10" 00099 00100 /* Define to the one symbol short name of this package. */ 00101 #define PACKAGE_TARNAME "xapian-core" 00102 00103 /* Define to the version of this package. */ 00104 #define PACKAGE_VERSION "1.0.10" 00105 00106 /* explicit prototype needed for pread (if any) */ 00107 /* #undef PREAD_PROTOTYPE */ 00108 00109 /* explicit prototype needed for pwrite (if any) */ 00110 /* #undef PWRITE_PROTOTYPE */ 00111 00112 /* The size of `int', as computed by sizeof. */ 00113 #define SIZEOF_INT 4 00114 00115 /* The size of `long', as computed by sizeof. */ 00116 #define SIZEOF_LONG 8 00117 00118 /* Define to the name of a function implementing snprintf but not caring about 00119 ISO C90 return value semantics (if one exists) */ 00120 #define SNPRINTF snprintf 00121 00122 /* Define to the name of a function implementing snprintf with ISO C90 00123 semantics (if one exists) */ 00124 #define SNPRINTF_ISO snprintf 00125 00126 /* type to use for 5th parameter to getsockopt */ 00127 #define SOCKLEN_T socklen_t 00128 00129 /* Define to 1 if you have the ANSI C header files. */ 00130 #define STDC_HEADERS 1 00131 00132 /* Define if the testsuite should use RTTI */ 00133 #define USE_RTTI 1 00134 00135 /* Version number of package */ 00136 #define VERSION "1.0.10" 00137 00138 /* Define if you want assertions (causes some slow-down) */ 00139 /* #undef XAPIAN_DEBUG */ 00140 00141 /* Define if you want paranoid assertions (causes significant slow-down) */ 00142 /* #undef XAPIAN_DEBUG_PARANOID */ 00143 00144 /* Define if you want code profiling via the logging infrastructure */ 00145 /* #undef XAPIAN_DEBUG_PROFILE */ 00146 00147 /* Define if you want a log of methods called and other debug messages */ 00148 /* #undef XAPIAN_DEBUG_VERBOSE */ 00149 00150 /* Define to disable use of visibility attributes */ 00151 /* #undef XAPIAN_DISABLE_VISIBILITY */ 00152 00153 /* Number of bits in a file offset, on hosts where this is settable. */ 00154 /* #undef _FILE_OFFSET_BITS */ 00155 00156 /* Define for large files, on AIX-style hosts. */ 00157 /* #undef _LARGE_FILES */ 00158 00159 /* Define to `int' if <sys/types.h> does not define. */ 00160 /* #undef mode_t */ 00161 00162 /* Define to `int' if <sys/types.h> does not define. */ 00163 /* #undef pid_t */ 00164 00165 /* Define to `int' if <sys/types.h> does not define. */ 00166 /* #undef ssize_t */ 00167 00168 /* Disable stupid MSVC "performance" warning for converting int to bool. */ 00169 #ifdef _MSC_VER 00170 # pragma warning(disable:4800) 00171 #endif 00172 00173 /* _FORTIFY_SOURCE is only supported by GCC >= 4.1 and glibc >= 2.3.4, but it 00174 * shouldn't cause a problem to define it where it's not supported and some 00175 * distros may have backported support, so hardcoding version checks is 00176 * counter-productive. 00177 * 00178 * Check if _FORTIFY_SOURCE is already defined to allow the user to override 00179 * our choice with "./configure CPPFLAGS=-D_FORTIFY_SOURCE=0" or "...=1". 00180 */ 00181 #if defined __GNUC__ && !defined _FORTIFY_SOURCE 00182 # define _FORTIFY_SOURCE 2 00183 #endif 00184 00185 /* For GCC >= 3.0 (and Intel's C++ compiler, which also defines __GNUC__), 00186 * we can use __builtin_expect to give the compiler hints about branch 00187 * prediction. See HACKING for how to use these. 00188 */ 00189 #if defined __GNUC__ && __GNUC__ >= 3 00190 /* The arguments of __builtin_expect() are both long, so use !! to ensure that 00191 * the first argument is always an integer expression, and always 0 or 1, but 00192 * still has the same truth value for the if or while it is used in. 00193 */ 00194 # define rare(COND) __builtin_expect(!!(COND), 0) 00195 # define usual(COND) __builtin_expect(!!(COND), 1) 00196 #else 00197 # define rare(COND) (COND) 00198 # define usual(COND) (COND) 00199 #endif 00200