linux_my_config.h 6.29 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52

#define HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE 1

/*
 * Include file constants (processed in LibmysqlIncludeFiles.txt 1
 */
#define HAVE_ALLOCA_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_CRYPT_H 1
#define HAVE_DIRENT_H 1
#define HAVE_DLFCN_H 1
#define HAVE_EXECINFO_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FENV_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_FPU_CONTROL_H */
#define HAVE_GRP_H 1
/* #undef HAVE_IEEEFP_H */
#define HAVE_LIMITS_H 1
#define HAVE_MALLOC_H 1
#define HAVE_MEMORY_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_PATHS_H 1
#define HAVE_PWD_H 1
#define HAVE_SCHED_H 1
/* #undef HAVE_SELECT_H */
#define HAVE_STDDEF_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
/* #undef HAVE_SYNCH_H */
/* #undef HAVE_SYS_FPU_H */
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
/* #undef HAVE_SYS_STREAM_H */
#define HAVE_SYS_TIMEB_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_UN_H 1
/* #undef HAVE_SYSENT_H */
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UTIME_H 1

/*
53
 * function definitions - processed in LibmysqlFunctions.txt 
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
 */
#define HAVE_ACCESS 1
/* #undef HAVE_AIOWAIT */
#define HAVE_ALARM 1
/* #undef HAVE_ALLOCA */
#define HAVE_BCMP 1
/* #undef HAVE_BFILL */
/* #undef HAVE_BMOVE */
#define HAVE_BZERO 1
/* #undef HAVE_CLOCK_GETTIME */
/* #undef HAVE_COMPRESS */
/* #undef HAVE_CRYPT */
#define HAVE_DLERROR 1
#define HAVE_DLOPEN 1
#define HAVE_FCHMOD 1
#define HAVE_FCNTL 1
/* #undef HAVE_FCONVERT */
#define HAVE_FDATASYNC 1
/* #undef HAVE_FESETROUND */
#define HAVE_FINITE 1
#define HAVE_FSEEKO 1
#define HAVE_FSYNC 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETCWD 1
#define HAVE_GETHOSTBYADDR_R 1
#define HAVE_GETHOSTBYNAME_R 1
/* #undef HAVE_GETHRTIME */
#define HAVE_GETNAMEINFO 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPASS 1
/* #undef HAVE_GETPASSPHRASE */
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETRUSAGE 1
#define HAVE_GETWD 1
#define HAVE_GMTIME_R 1
#define HAVE_INITGROUPS 1
#define HAVE_LDIV 1
#define HAVE_LOCALTIME_R 1
/* #undef HAVE_LOG2 */
#define HAVE_LONGJMP 1
#define HAVE_LSTAT 1
#define HAVE_MADVISE 1
#define HAVE_MALLINFO 1
#define HAVE_MEMALIGN 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_MKSTEMP 1
#define HAVE_MLOCK 1
#define HAVE_MLOCKALL 1
#define HAVE_MMAP 1
#define HAVE_MMAP64 1
#define HAVE_PERROR 1
#define HAVE_POLL 1
#define HAVE_PREAD 1
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
/* #undef HAVE_PTHREAD_ATTR_CREATE */
/* #undef HAVE_PTHREAD_ATTR_GETSTACKSIZE */
/* #undef HAVE_PTHREAD_ATTR_SETPRIO */
#define HAVE_PTHREAD_ATTR_SETSCHEDPARAM 1
#define HAVE_PTHREAD_ATTR_SETSCOPE 1
/* #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE */
/* #undef HAVE_PTHREAD_CONDATTR_CREATE */
/* #undef HAVE_PTHREAD_INIT */
/* #undef HAVE_PTHREAD_KEY_DELETE */
/* #undef HAVE_PTHREAD_KILL */
/* #undef HAVE_PTHREAD_RWLOCK_RDLOCK */
/* #undef HAVE_PTHREAD_SETPRIO_NP */
#define HAVE_PTHREAD_SETSCHEDPARAM 1
/* #undef HAVE_PTHREAD_SIGMASK */
/* #undef HAVE_PTHREAD_THREADMASK */
/* #undef HAVE_PTHREAD_YIELD_NP */
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
#define HAVE_READDIR_R 1
#define HAVE_READLINK 1
#define HAVE_REALPATH 1
#define HAVE_RENAME 1
#define HAVE_SCHED_YIELD 1
#define HAVE_SELECT 1
/* #undef HAVE_SETFD */
/* #undef HAVE_SETFILEPOINTER */
#define HAVE_SIGNAL 1
#define HAVE_SIGACTION 1
/* #undef HAVE_SIGTHREADMASK */
#define HAVE_SIGWAIT 1
#define HAVE_SLEEP 1
#define HAVE_SNPRINTF 1
#define HAVE_STPCPY 1
#define HAVE_STRERROR 1
/* #undef HAVE_STRLCPY */
#define HAVE_STRNLEN 1
#define HAVE_STRPBRK 1
#define HAVE_STRSEP 1
#define HAVE_STRSTR 1
#define HAVE_STRTOK_R 1
#define HAVE_STRTOL 1
#define HAVE_STRTOLL 1
#define HAVE_STRTOUL 1
#define HAVE_STRTOULL 1
/* #undef HAVE_TELL */
/* #undef HAVE_THR_SETCONCURRENCY */
/* #undef HAVE_THR_YIELD */
#define HAVE_VASPRINTF 1
#define HAVE_VSNPRINTF 1

/*
 * types and sizes
 */
/* Types we may use */
162
#define SIZEOF_CHAR 1
163
#ifdef SIZEOF_CHAR
164 165 166 167 168 169 170 171
# define HAVE_CHAR 1
#endif

#if defined(__x86_64__) || defined(__x86_64) || defined(__amd64__)
#define SIZEOF_CHARP 8
#else
#define SIZEOF_CHARP 4
#endif
172
#ifdef SIZEOF_CHARP
173 174 175 176
# define HAVE_CHARP 1
#endif

#define SIZEOF_SHORT 2
177
#ifdef SIZEOF_SHORT
178 179
# define HAVE_SHORT 1
#endif
180 181

#define SIZEOF_INT 4
182
#ifdef SIZEOF_INT
183 184 185 186 187 188 189 190
# define HAVE_INT 1
#endif

#if defined(__x86_64__) || defined(__x86_64) || defined(__amd64__)
#define SIZEOF_LONG 8
#else
#define SIZEOF_LONG 4
#endif
191
#ifdef SIZEOF_LONG
192 193 194 195
# define HAVE_LONG 1
#endif

#define SIZEOF_LONG_LONG 8
196
#ifdef SIZEOF_LONG_LONG
197 198 199 200 201 202 203 204
# define HAVE_LONG_LONG 1
#endif

#if defined(__x86_64__) || defined(__x86_64) || defined(__amd64__)
#define SIZEOF_OFF_T 8
#else
#define SIZEOF_OFF_T 4
#endif
205
#ifdef SIZEOF_OFF_T
206 207 208 209
# define HAVE_OFF_T 1
#endif

#define SIZEOF_SIGSET_T 128
210
#ifdef SIZEOF_SIGSET_T
211 212 213 214 215 216 217 218
# define HAVE_SIGSET_T 1
#endif

#if defined(__x86_64__) || defined(__x86_64) || defined(__amd64__)
#define SIZEOF_SIZE_T 8
#else
#define SIZEOF_SIZE_T 4
#endif
219
#ifdef SIZEOF_SIZE_T
220 221 222 223
# define HAVE_SIZE_T 1
#endif

/* #undef SIZEOF_UCHAR */
224
#ifdef SIZEOF_UCHAR
225 226 227 228
# define HAVE_UCHAR 1
#endif

#define SIZEOF_UINT 4
229
#ifdef SIZEOF_UINT
230 231 232 233 234 235 236 237
# define HAVE_UINT 1
#endif

#if defined(__x86_64__) || defined(__x86_64) || defined(__amd64__)
#define SIZEOF_ULONG 8
#else
#define SIZEOF_ULONG 4
#endif
238
#ifdef SIZEOF_ULONG
239 240 241 242
# define HAVE_ULONG 1
#endif

/* #undef SIZEOF_INT8 */
243
#ifdef SIZEOF_INT8
244 245 246
# define HAVE_INT8 1
#endif
/* #undef SIZEOF_UINT8 */
247
#ifdef SIZEOF_UINT8
248 249 250 251
# define HAVE_UINT8 1
#endif

/* #undef SIZEOF_INT16 */
252
#ifdef SIZEOF_INT16
253 254 255
# define HAVE_INT16 1
#endif
/* #undef SIZEOF_UINT16 */
256
#ifdef SIZEOF_UINT16
257 258 259 260
# define HAVE_UINT16 1
#endif

/* #undef SIZEOF_INT32 */
261
#ifdef SIZEOF_INT32
262 263 264
# define HAVE_INT32 1
#endif
/* #undef SIZEOF_UINT32 */
265
#ifdef SIZEOF_UINT32
266 267 268
# define HAVE_UINT32 1
#endif
/* #undef SIZEOF_U_INT32_T */
269
#ifdef SIZEOF_U_INT32_T
270 271 272 273
# define HAVE_U_INT32_T 1
#endif

/* #undef SIZEOF_INT64 */
274
#ifdef SIZEOF_INT64
275 276 277
# define HAVE_INT64 1
#endif
/* #undef SIZEOF_UINT64 */
278
#ifdef SIZEOF_UINT64
279 280 281 282
# define HAVE_UINT64 1
#endif

/* #undef SIZEOF_SOCKLEN_T */
283
#ifdef SIZEOF_SOCKLEN_T
284 285
# define HAVE_SOCKLEN_T 1
#endif
286 287 288 289

#define SOCKET_SIZE_TYPE socklen_t

#define RETSIGTYPE void
290
#define RETQSORTTYPE void 
291

292 293 294 295 296 297
/*
 * various other defines
 */
/* #undef HAVE_THREADS */
#define SHAREDIR "share"
#define DEFAULT_CHARSET_HOME "/usr/local"