config.h

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

Documentation for Xapian (version 1.0.20).
Generated on 28 Apr 2010 by Doxygen 1.5.2.