Changeset 5132 for branches/1.0x/third-party/macosx-libevent-config.h
- Timestamp:
- Feb 27, 2008, 1:15:19 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0x/third-party/macosx-libevent-config.h
r3112 r5132 1 /* config.h. Generated by configure. */1 /* config.h. Generated from config.h.in by configure. */ 2 2 /* config.h.in. Generated from configure.in by autoheader. */ 3 4 /* Define if clock_gettime is available in libc */ 5 /* #undef DNS_USE_CPU_CLOCK_FOR_ID */ 6 7 /* Define is no secure id variant is available */ 8 #define DNS_USE_GETTIMEOFDAY_FOR_ID 1 9 10 /* Define to 1 if you have the `clock_gettime' function. */ 11 /* #undef HAVE_CLOCK_GETTIME */ 12 13 /* Define if /dev/poll is available */ 14 /* #undef HAVE_DEVPOLL */ 15 16 /* Define to 1 if you have the <dlfcn.h> header file. */ 17 #define HAVE_DLFCN_H 1 18 19 /* Define if your system supports the epoll system calls */ 20 /* #undef HAVE_EPOLL */ 21 22 /* Define to 1 if you have the `epoll_ctl' function. */ 23 /* #undef HAVE_EPOLL_CTL */ 24 25 /* Define if your system supports event ports */ 26 /* #undef HAVE_EVENT_PORTS */ 27 28 /* Define to 1 if you have the `fcntl' function. */ 29 #define HAVE_FCNTL 1 30 31 /* Define to 1 if you have the <fcntl.h> header file. */ 32 #define HAVE_FCNTL_H 1 33 34 /* Define to 1 if you have the `getaddrinfo' function. */ 35 #define HAVE_GETADDRINFO 1 36 37 /* Define to 1 if you have the `getnameinfo' function. */ 38 #define HAVE_GETNAMEINFO 1 39 40 /* Define to 1 if you have the `gettimeofday' function. */ 41 #define HAVE_GETTIMEOFDAY 1 42 43 /* Define to 1 if you have the `inet_ntop' function. */ 44 #define HAVE_INET_NTOP 1 45 46 /* Define to 1 if you have the <inttypes.h> header file. */ 47 #define HAVE_INTTYPES_H 1 48 49 /* Define to 1 if you have the `kqueue' function. */ 50 #define HAVE_KQUEUE 1 51 52 /* Define to 1 if you have the `nsl' library (-lnsl). */ 53 /* #undef HAVE_LIBNSL */ 54 55 /* Define to 1 if you have the `resolv' library (-lresolv). */ 56 #define HAVE_LIBRESOLV 1 57 58 /* Define to 1 if you have the `rt' library (-lrt). */ 59 /* #undef HAVE_LIBRT */ 60 61 /* Define to 1 if you have the `socket' library (-lsocket). */ 62 /* #undef HAVE_LIBSOCKET */ 63 64 /* Define to 1 if you have the <memory.h> header file. */ 65 #define HAVE_MEMORY_H 1 66 67 /* Define to 1 if you have the <netinet/in6.h> header file. */ 68 /* #undef HAVE_NETINET_IN6_H */ 69 70 /* Define to 1 if you have the `poll' function. */ 71 #define HAVE_POLL 1 72 73 /* Define to 1 if you have the <poll.h> header file. */ 74 #define HAVE_POLL_H 1 75 76 /* Define to 1 if you have the `port_create' function. */ 77 /* #undef HAVE_PORT_CREATE */ 78 79 /* Define to 1 if you have the <port.h> header file. */ 80 /* #undef HAVE_PORT_H */ 81 82 /* Define to 1 if you have the `select' function. */ 83 #define HAVE_SELECT 1 84 85 /* Define if F_SETFD is defined in <fcntl.h> */ 86 #define HAVE_SETFD 1 87 88 /* Define to 1 if you have the `sigaction' function. */ 89 #define HAVE_SIGACTION 1 90 91 /* Define to 1 if you have the `signal' function. */ 92 #define HAVE_SIGNAL 1 93 94 /* Define to 1 if you have the <signal.h> header file. */ 95 #define HAVE_SIGNAL_H 1 96 97 /* Define to 1 if you have the <stdarg.h> header file. */ 98 #define HAVE_STDARG_H 1 99 100 /* Define to 1 if you have the <stdint.h> header file. */ 101 #define HAVE_STDINT_H 1 102 103 /* Define to 1 if you have the <stdlib.h> header file. */ 104 #define HAVE_STDLIB_H 1 105 106 /* Define to 1 if you have the <strings.h> header file. */ 107 #define HAVE_STRINGS_H 1 108 109 /* Define to 1 if you have the <string.h> header file. */ 110 #define HAVE_STRING_H 1 111 112 /* Define to 1 if you have the `strlcpy' function. */ 113 #define HAVE_STRLCPY 1 114 115 /* Define to 1 if you have the `strsep' function. */ 116 #define HAVE_STRSEP 1 117 118 /* Define to 1 if you have the `strtok_r' function. */ 119 #define HAVE_STRTOK_R 1 120 121 /* Define to 1 if you have the `strtoll' function. */ 122 #define HAVE_STRTOLL 1 123 124 /* Define to 1 if the system has the type `struct in6_addr'. */ 125 #define HAVE_STRUCT_IN6_ADDR 1 126 127 /* Define to 1 if you have the <sys/devpoll.h> header file. */ 128 /* #undef HAVE_SYS_DEVPOLL_H */ 129 130 /* Define to 1 if you have the <sys/epoll.h> header file. */ 131 /* #undef HAVE_SYS_EPOLL_H */ 132 133 /* Define to 1 if you have the <sys/event.h> header file. */ 134 #define HAVE_SYS_EVENT_H 1 135 136 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 137 #define HAVE_SYS_IOCTL_H 1 138 139 /* Define to 1 if you have the <sys/param.h> header file. */ 140 #define HAVE_SYS_PARAM_H 1 141 142 /* Define to 1 if you have the <sys/queue.h> header file. */ 143 #define HAVE_SYS_QUEUE_H 1 144 145 /* Define to 1 if you have the <sys/select.h> header file. */ 146 #define HAVE_SYS_SELECT_H 1 147 148 /* Define to 1 if you have the <sys/socket.h> header file. */ 149 #define HAVE_SYS_SOCKET_H 1 150 151 /* Define to 1 if you have the <sys/stat.h> header file. */ 152 #define HAVE_SYS_STAT_H 1 153 154 /* Define to 1 if you have the <sys/time.h> header file. */ 155 #define HAVE_SYS_TIME_H 1 156 157 /* Define to 1 if you have the <sys/types.h> header file. */ 158 #define HAVE_SYS_TYPES_H 1 159 160 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */ 161 #define HAVE_TAILQFOREACH 1 162 163 /* Define if timeradd is defined in <sys/time.h> */ 164 #define HAVE_TIMERADD 1 165 166 /* Define if timerclear is defined in <sys/time.h> */ 167 #define HAVE_TIMERCLEAR 1 168 169 /* Define if timercmp is defined in <sys/time.h> */ 170 #define HAVE_TIMERCMP 1 171 172 /* Define if timerisset is defined in <sys/time.h> */ 173 #define HAVE_TIMERISSET 1 174 175 /* Define to 1 if the system has the type `uint16_t'. */ 176 #define HAVE_UINT16_T 1 177 178 /* Define to 1 if the system has the type `uint32_t'. */ 179 #define HAVE_UINT32_T 1 180 181 /* Define to 1 if the system has the type `uint64_t'. */ 182 #define HAVE_UINT64_T 1 183 184 /* Define to 1 if the system has the type `uint8_t'. */ 185 #define HAVE_UINT8_T 1 186 187 /* Define to 1 if you have the <unistd.h> header file. */ 188 #define HAVE_UNISTD_H 1 189 190 /* Define to 1 if you have the `vasprintf' function. */ 191 #define HAVE_VASPRINTF 1 192 3 193 /* Define if kqueue works correctly with pipes */ 4 194 #define HAVE_WORKING_KQUEUE 1 5 195 6 /* Define to `unsigned long long' if <sys/types.h> doesn't define. */7 /* #undef u_int64_t */8 9 /* Define to `unsigned int' if <sys/types.h> doesn't define. */10 /* #undef u_int32_t */11 12 /* Define to `unsigned short' if <sys/types.h> doesn't define. */13 /* #undef u_int16_t */14 15 /* Define to `unsigned char' if <sys/types.h> doesn't define. */16 /* #undef u_int8_t */17 18 /* Define if timeradd is defined in <sys/time.h> */19 #define HAVE_TIMERADD 120 #ifndef HAVE_TIMERADD21 /* #undef timersub */22 #define timeradd(tvp, uvp, vvp) \23 do { \24 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \25 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \26 if ((vvp)->tv_usec >= 1000000) { \27 (vvp)->tv_sec++; \28 (vvp)->tv_usec -= 1000000; \29 } \30 } while (0)31 #define timersub(tvp, uvp, vvp) \32 do { \33 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \34 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \35 if ((vvp)->tv_usec < 0) { \36 (vvp)->tv_sec--; \37 (vvp)->tv_usec += 1000000; \38 } \39 } while (0)40 #endif /* !HAVE_TIMERADD */41 42 #define HAVE_TIMERCLEAR 143 #ifndef HAVE_TIMERCLEAR44 #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 045 #endif46 47 #define HAVE_TIMERCMP 148 #ifndef HAVE_TIMERCMP49 /* #undef timercmp */50 #define timercmp(tvp, uvp, cmp) \51 (((tvp)->tv_sec == (uvp)->tv_sec) ? \52 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \53 ((tvp)->tv_sec cmp (uvp)->tv_sec))54 #endif55 56 #define HAVE_TIMERISSET 157 #ifndef HAVE_TIMERISSET58 /* #undef timerisset */59 #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)60 #endif61 62 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */63 #define HAVE_TAILQFOREACH 164 #ifndef HAVE_TAILQFOREACH65 #define TAILQ_FIRST(head) ((head)->tqh_first)66 #define TAILQ_END(head) NULL67 #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next)68 #define TAILQ_FOREACH(var, head, field) \69 for((var) = TAILQ_FIRST(head); \70 (var) != TAILQ_END(head); \71 (var) = TAILQ_NEXT(var, field))72 #define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \73 (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \74 (elm)->field.tqe_next = (listelm); \75 *(listelm)->field.tqe_prev = (elm); \76 (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \77 } while (0)78 #endif /* TAILQ_FOREACH */79 80 /* Define to __FUNCTION__ or __file__ if your compiler doesn't have __func__ */81 /* #undef __func__ */82 83 /* Define if clock_gettime is available in libc */84 /* #undef DNS_USE_CPU_CLOCK_FOR_ID */85 86 /* Define is no secure id variant is available */87 #define DNS_USE_GETTIMEOFDAY_FOR_ID 188 89 /* Define to 1 if you have the `clock_gettime' function. */90 /* #undef HAVE_CLOCK_GETTIME */91 92 /* Define if /dev/poll is available */93 /* #undef HAVE_DEVPOLL */94 95 /* Define to 1 if you have the <dlfcn.h> header file. */96 #define HAVE_DLFCN_H 197 98 /* Define if your system supports the epoll system calls */99 /* #undef HAVE_EPOLL */100 101 /* Define to 1 if you have the `epoll_ctl' function. */102 /* #undef HAVE_EPOLL_CTL */103 104 /* Define if your system supports event ports */105 /* #undef HAVE_EVENT_PORTS */106 107 /* Define to 1 if you have the `fcntl' function. */108 #define HAVE_FCNTL 1109 110 /* Define to 1 if you have the <fcntl.h> header file. */111 #define HAVE_FCNTL_H 1112 113 /* Define to 1 if you have the `getaddrinfo' function. */114 #define HAVE_GETADDRINFO 1115 116 /* Define to 1 if you have the `getnameinfo' function. */117 #define HAVE_GETNAMEINFO 1118 119 /* Define to 1 if you have the `gettimeofday' function. */120 #define HAVE_GETTIMEOFDAY 1121 122 /* Define to 1 if you have the `inet_ntop' function. */123 #define HAVE_INET_NTOP 1124 125 /* Define to 1 if you have the <inttypes.h> header file. */126 #define HAVE_INTTYPES_H 1127 128 /* Define to 1 if you have the `kqueue' function. */129 #define HAVE_KQUEUE 1130 131 /* Define to 1 if you have the `nsl' library (-lnsl). */132 /* #undef HAVE_LIBNSL */133 134 /* Define to 1 if you have the `resolv' library (-lresolv). */135 #define HAVE_LIBRESOLV 1136 137 /* Define to 1 if you have the `rt' library (-lrt). */138 /* #undef HAVE_LIBRT */139 140 /* Define to 1 if you have the `socket' library (-lsocket). */141 /* #undef HAVE_LIBSOCKET */142 143 /* Define to 1 if you have the <memory.h> header file. */144 #define HAVE_MEMORY_H 1145 146 /* Define to 1 if you have the <netinet/in6.h> header file. */147 /* #undef HAVE_NETINET_IN6_H */148 149 /* Define to 1 if you have the `poll' function. */150 #define HAVE_POLL 1151 152 /* Define to 1 if you have the <poll.h> header file. */153 #define HAVE_POLL_H 1154 155 /* Define to 1 if you have the `port_create' function. */156 /* #undef HAVE_PORT_CREATE */157 158 /* Define to 1 if you have the <port.h> header file. */159 /* #undef HAVE_PORT_H */160 161 /* Define if your system supports POSIX realtime signals */162 /* #undef HAVE_RTSIG */163 164 /* Define to 1 if you have the `select' function. */165 #define HAVE_SELECT 1166 167 /* Define if F_SETFD is defined in <fcntl.h> */168 #define HAVE_SETFD 1169 170 /* Define to 1 if you have the `sigaction' function. */171 #define HAVE_SIGACTION 1172 173 /* Define to 1 if you have the `signal' function. */174 #define HAVE_SIGNAL 1175 176 /* Define to 1 if you have the <signal.h> header file. */177 #define HAVE_SIGNAL_H 1178 179 /* Define to 1 if you have the `sigtimedwait' function. */180 /* #undef HAVE_SIGTIMEDWAIT */181 182 /* Define to 1 if you have the <stdarg.h> header file. */183 #define HAVE_STDARG_H 1184 185 /* Define to 1 if you have the <stdint.h> header file. */186 #define HAVE_STDINT_H 1187 188 /* Define to 1 if you have the <stdlib.h> header file. */189 #define HAVE_STDLIB_H 1190 191 /* Define to 1 if you have the <strings.h> header file. */192 #define HAVE_STRINGS_H 1193 194 /* Define to 1 if you have the <string.h> header file. */195 #define HAVE_STRING_H 1196 197 /* Define to 1 if you have the `strlcpy' function. */198 #define HAVE_STRLCPY 1199 200 /* Define to 1 if you have the `strsep' function. */201 #define HAVE_STRSEP 1202 203 /* Define to 1 if you have the `strtok_r' function. */204 #define HAVE_STRTOK_R 1205 206 /* Define to 1 if the system has the type `struct in6_addr'. */207 #define HAVE_STRUCT_IN6_ADDR 1208 209 /* Define to 1 if you have the <sys/devpoll.h> header file. */210 /* #undef HAVE_SYS_DEVPOLL_H */211 212 /* Define to 1 if you have the <sys/epoll.h> header file. */213 /* #undef HAVE_SYS_EPOLL_H */214 215 /* Define to 1 if you have the <sys/event.h> header file. */216 #define HAVE_SYS_EVENT_H 1217 218 /* Define to 1 if you have the <sys/ioctl.h> header file. */219 #define HAVE_SYS_IOCTL_H 1220 221 /* Define to 1 if you have the <sys/queue.h> header file. */222 #define HAVE_SYS_QUEUE_H 1223 224 /* Define to 1 if you have the <sys/select.h> header file. */225 #define HAVE_SYS_SELECT_H 1226 227 /* Define to 1 if you have the <sys/socket.h> header file. */228 #define HAVE_SYS_SOCKET_H 1229 230 /* Define to 1 if you have the <sys/stat.h> header file. */231 #define HAVE_SYS_STAT_H 1232 233 /* Define to 1 if you have the <sys/time.h> header file. */234 #define HAVE_SYS_TIME_H 1235 236 /* Define to 1 if you have the <sys/types.h> header file. */237 #define HAVE_SYS_TYPES_H 1238 239 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */240 #define HAVE_TAILQFOREACH 1241 242 /* Define if timeradd is defined in <sys/time.h> */243 #define HAVE_TIMERADD 1244 245 /* Define if timerclear is defined in <sys/time.h> */246 #define HAVE_TIMERCLEAR 1247 248 /* Define if timercmp is defined in <sys/time.h> */249 #define HAVE_TIMERCMP 1250 251 /* Define if timerisset is defined in <sys/time.h> */252 #define HAVE_TIMERISSET 1253 254 /* Define to 1 if you have the <unistd.h> header file. */255 #define HAVE_UNISTD_H 1256 257 /* Define to 1 if you have the `vasprintf' function. */258 #define HAVE_VASPRINTF 1259 260 /* Define if kqueue works correctly with pipes */261 #define HAVE_WORKING_KQUEUE 1262 263 /* Define if realtime signals work on pipes */264 /* #undef HAVE_WORKING_RTSIG */265 266 196 /* Name of package */ 267 197 #define PACKAGE "libevent" … … 282 212 #define PACKAGE_VERSION "" 283 213 214 /* The size of `int', as computed by sizeof. */ 215 #define SIZEOF_INT 4 216 217 /* The size of `long', as computed by sizeof. */ 218 #define SIZEOF_LONG 4 219 220 /* The size of `long long', as computed by sizeof. */ 221 #define SIZEOF_LONG_LONG 8 222 223 /* The size of `short', as computed by sizeof. */ 224 #define SIZEOF_SHORT 2 225 284 226 /* Define to 1 if you have the ANSI C header files. */ 285 227 #define STDC_HEADERS 1 … … 289 231 290 232 /* Version number of package */ 291 #define VERSION "1. 3.99-trunk"233 #define VERSION "1.4.1-beta" 292 234 293 235 /* Define to appropriate substitue if compiler doesnt have __func__ */ … … 306 248 /* #undef pid_t */ 307 249 308 /* Define to `unsigned ' if <sys/types.h> does not define. */250 /* Define to `unsigned int' if <sys/types.h> does not define. */ 309 251 /* #undef size_t */ 310 252 311 253 /* Define to unsigned int if you dont have it */ 312 254 /* #undef socklen_t */ 313 314 /* Define to `unsigned short' if <sys/types.h> does not define. */315 /* #undef uint16_t */316 317 /* Define to `unsigned int' if <sys/types.h> does not define. */318 /* #undef uint32_t */319 320 /* Define to `unsigned long long' if <sys/types.h> does not define. */321 /* #undef uint64_t */322 323 /* Define to `unsigned char' if <sys/types.h> does not define. */324 /* #undef uint8_t */
Note: See TracChangeset
for help on using the changeset viewer.