A clone of btpd with my configuration changes.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

232 行
6.2 KiB

  1. /* config.h.in. Generated automatically from configure.in by autoheader. */
  2. /* Define if kqueue works correctly with pipes */
  3. #undef HAVE_WORKING_KQUEUE
  4. /* Define to `unsigned long long' if <sys/types.h> doesn't define. */
  5. #undef u_int64_t
  6. /* Define to `unsigned int' if <sys/types.h> doesn't define. */
  7. #undef u_int32_t
  8. /* Define to `unsigned short' if <sys/types.h> doesn't define. */
  9. #undef u_int16_t
  10. /* Define to `unsigned char' if <sys/types.h> doesn't define. */
  11. #undef u_int8_t
  12. /* Define if timeradd is defined in <sys/time.h> */
  13. #undef HAVE_TIMERADD
  14. #ifndef HAVE_TIMERADD
  15. #undef timersub
  16. #define timeradd(tvp, uvp, vvp) \
  17. do { \
  18. (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
  19. (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
  20. if ((vvp)->tv_usec >= 1000000) { \
  21. (vvp)->tv_sec++; \
  22. (vvp)->tv_usec -= 1000000; \
  23. } \
  24. } while (0)
  25. #define timersub(tvp, uvp, vvp) \
  26. do { \
  27. (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
  28. (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
  29. if ((vvp)->tv_usec < 0) { \
  30. (vvp)->tv_sec--; \
  31. (vvp)->tv_usec += 1000000; \
  32. } \
  33. } while (0)
  34. #endif /* !HAVE_TIMERADD */
  35. #undef HAVE_TIMERCLEAR
  36. #ifndef HAVE_TIMERCLEAR
  37. #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
  38. #endif
  39. #define HAVE_TIMERCMP
  40. #ifndef HAVE_TIMERCMP
  41. #undef timercmp
  42. #define timercmp(tvp, uvp, cmp) \
  43. (((tvp)->tv_sec == (uvp)->tv_sec) ? \
  44. ((tvp)->tv_usec cmp (uvp)->tv_usec) : \
  45. ((tvp)->tv_sec cmp (uvp)->tv_sec))
  46. #endif
  47. #undef HAVE_TIMERISSET
  48. #ifndef HAVE_TIMERISSET
  49. #undef timerisset
  50. #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
  51. #endif
  52. /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
  53. #define HAVE_TAILQFOREACH
  54. #ifndef HAVE_TAILQFOREACH
  55. #define TAILQ_FIRST(head) ((head)->tqh_first)
  56. #define TAILQ_END(head) NULL
  57. #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next)
  58. #define TAILQ_FOREACH(var, head, field) \
  59. for((var) = TAILQ_FIRST(head); \
  60. (var) != TAILQ_END(head); \
  61. (var) = TAILQ_NEXT(var, field))
  62. #define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \
  63. (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \
  64. (elm)->field.tqe_next = (listelm); \
  65. *(listelm)->field.tqe_prev = (elm); \
  66. (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \
  67. } while (0)
  68. #endif /* TAILQ_FOREACH */
  69. /* Define if /dev/poll is available */
  70. #undef HAVE_DEVPOLL
  71. /* Define if your system supports the epoll system calls */
  72. #undef HAVE_EPOLL
  73. /* Define if you have the `epoll_ctl' function. */
  74. #undef HAVE_EPOLL_CTL
  75. /* Define if you have the `err' function. */
  76. #undef HAVE_ERR
  77. /* Define if you have the `fcntl' function. */
  78. #undef HAVE_FCNTL
  79. /* Define if you have the <fcntl.h> header file. */
  80. #undef HAVE_FCNTL_H
  81. /* Define if you have the `gettimeofday' function. */
  82. #define HAVE_GETTIMEOFDAY 1
  83. /* Define if you have the <inttypes.h> header file. */
  84. #define HAVE_INTTYPES_H 1
  85. /* Define if you have the `kqueue' function. */
  86. #undef HAVE_KQUEUE
  87. /* Define if you have the `socket' library (-lsocket). */
  88. #undef HAVE_LIBSOCKET
  89. /* Define if you have the <memory.h> header file. */
  90. #define HAVE_MEMORY_H 1
  91. /* Define if you have the `poll' function. */
  92. #undef HAVE_POLL
  93. /* Define if you have the <poll.h> header file. */
  94. #undef HAVE_POLL_H
  95. /* Define if your system supports POSIX realtime signals */
  96. #undef HAVE_RTSIG
  97. /* Define if you have the `select' function. */
  98. #undef HAVE_SELECT
  99. /* Define if F_SETFD is defined in <fcntl.h> */
  100. #undef HAVE_SETFD
  101. /* Define if you have the <signal.h> header file. */
  102. #undef HAVE_SIGNAL_H
  103. /* Define if you have the `sigtimedwait' function. */
  104. #undef HAVE_SIGTIMEDWAIT
  105. /* Define if you have the <stdarg.h> header file. */
  106. #define HAVE_STDARG_H 1
  107. /* Define if you have the <stdint.h> header file. */
  108. #undef HAVE_STDINT_H
  109. /* Define if you have the <stdlib.h> header file. */
  110. #define HAVE_STDLIB_H 1
  111. /* Define if you have the <strings.h> header file. */
  112. #undef HAVE_STRINGS_H
  113. /* Define if you have the <string.h> header file. */
  114. #define HAVE_STRING_H 1
  115. /* Define if you have the <sys/devpoll.h> header file. */
  116. #undef HAVE_SYS_DEVPOLL_H
  117. /* Define if you have the <sys/epoll.h> header file. */
  118. #undef HAVE_SYS_EPOLL_H
  119. /* Define if you have the <sys/event.h> header file. */
  120. #undef HAVE_SYS_EVENT_H
  121. /* Define if you have the <sys/ioctl.h> header file. */
  122. #undef HAVE_SYS_IOCTL_H
  123. /* Define if you have the <sys/queue.h> header file. */
  124. #undef HAVE_SYS_QUEUE_H
  125. /* Define if you have the <sys/stat.h> header file. */
  126. #define HAVE_SYS_STAT_H 1
  127. /* Define if you have the <sys/time.h> header file. */
  128. #undef HAVE_SYS_TIME_H
  129. /* Define if you have the <sys/types.h> header file. */
  130. #define HAVE_SYS_TYPES_H 1
  131. /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
  132. #undef HAVE_TAILQFOREACH
  133. /* Define if timeradd is defined in <sys/time.h> */
  134. #undef HAVE_TIMERADD
  135. /* Define if you have the <unistd.h> header file. */
  136. #undef HAVE_UNISTD_H
  137. /* Define if you have the `vasprintf' function. */
  138. #undef HAVE_VASPRINTF
  139. /* Define if kqueue works correctly with pipes */
  140. #undef HAVE_WORKING_KQUEUE
  141. /* Define if realtime signals work on pipes */
  142. #undef HAVE_WORKING_RTSIG
  143. /* Name of package */
  144. #define PACKAGE "libevent"
  145. /* Define if you have the ANSI C header files. */
  146. #undef STDC_HEADERS
  147. /* Define if you can safely include both <sys/time.h> and <time.h>. */
  148. #undef TIME_WITH_SYS_TIME
  149. /* Version number of package */
  150. #define VERSION "1.0b"
  151. /* Define to empty if `const' does not conform to ANSI C. */
  152. #undef const
  153. /* Define as `__inline' if that's what the C compiler calls it, or to nothing
  154. if it is not supported. */
  155. #define inline __inline
  156. /* Define to `int' if <sys/types.h> does not define. */
  157. #undef pid_t
  158. /* Define to `unsigned' if <sys/types.h> does not define. */
  159. #undef size_t
  160. /* Define to unsigned int if you dont have it */
  161. #undef socklen_t
  162. /* Define to `unsigned short' if <sys/types.h> does not define. */
  163. #undef u_int16_t
  164. /* Define to `unsigned int' if <sys/types.h> does not define. */
  165. #undef u_int32_t
  166. /* Define to `unsigned long long' if <sys/types.h> does not define. */
  167. /* #undef u_int64_t */
  168. /* Define to `unsigned char' if <sys/types.h> does not define. */
  169. /* #undef u_int8_t */
  170. /* Define to __FUNCTION__ or __file__ if your compiler doesn't have __func__ */
  171. #define __func__ __FUNCTION__