config.h 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. /* Copied from Linux version and changed the features according the PNaCl
  2. * toolchain for the Non-SFI binary build, which is close to one under the
  3. * linux/ directory. The built binary will be running under Linux directly,
  4. * actually.
  5. */
  6. /* Define if clock_gettime is available in libc */
  7. #define DNS_USE_CPU_CLOCK_FOR_ID 1
  8. /* Define is no secure id variant is available */
  9. /* #undef DNS_USE_GETTIMEOFDAY_FOR_ID */
  10. /* Define to 1 if you have the `clock_gettime' function. */
  11. #define HAVE_CLOCK_GETTIME 1
  12. /* Define if /dev/poll is available */
  13. /* #undef HAVE_DEVPOLL */
  14. /* Define to 1 if you have the <dlfcn.h> header file. */
  15. /* #undef HAVE_DLFCN_H */
  16. /* Define if your system supports the epoll system calls */
  17. /* #undef HAVE_EPOLL */
  18. /* Define to 1 if you have the `epoll_ctl' function. */
  19. /* #undef HAVE_EPOLL_CTL */
  20. /* Define if your system supports event ports */
  21. /* #undef HAVE_EVENT_PORTS */
  22. /* Define to 1 if you have the `fcntl' function. */
  23. #define HAVE_FCNTL 1
  24. /* Define to 1 if you have the <fcntl.h> header file. */
  25. #define HAVE_FCNTL_H 1
  26. /* Define to 1 if the system has the type `fd_mask'. */
  27. #define HAVE_FD_MASK 1
  28. /* Define to 1 if you have the `getaddrinfo' function. */
  29. #define HAVE_GETADDRINFO 1
  30. /* Define to 1 if you have the `getegid' function. */
  31. #define HAVE_GETEGID 1
  32. /* Define to 1 if you have the `geteuid' function. */
  33. #define HAVE_GETEUID 1
  34. /* Define to 1 if you have the `getnameinfo' function. */
  35. #define HAVE_GETNAMEINFO 1
  36. /* Define to 1 if you have the `gettimeofday' function. */
  37. #define HAVE_GETTIMEOFDAY 1
  38. /* Define to 1 if you have the `inet_ntop' function. */
  39. #define HAVE_INET_NTOP 1
  40. /* Define to 1 if you have the <inttypes.h> header file. */
  41. #define HAVE_INTTYPES_H 1
  42. /* Define to 1 if you have the `issetugid' function. */
  43. /* #undef HAVE_ISSETUGID */
  44. /* Define to 1 if you have the `kqueue' function. */
  45. /* #undef HAVE_KQUEUE */
  46. /* Define to 1 if you have the `nsl' library (-lnsl). */
  47. #define HAVE_LIBNSL 1
  48. /* Define to 1 if you have the `resolv' library (-lresolv). */
  49. #define HAVE_LIBRESOLV 1
  50. /* Define to 1 if you have the `rt' library (-lrt). */
  51. #define HAVE_LIBRT 1
  52. /* Define to 1 if you have the `socket' library (-lsocket). */
  53. /* #undef HAVE_LIBSOCKET */
  54. /* Define to 1 if you have the <memory.h> header file. */
  55. #define HAVE_MEMORY_H 1
  56. /* Define to 1 if you have the <netinet/in6.h> header file. */
  57. /* #undef HAVE_NETINET_IN6_H */
  58. /* Define to 1 if you have the `poll' function. */
  59. #define HAVE_POLL 1
  60. /* Define to 1 if you have the <poll.h> header file. */
  61. #define HAVE_POLL_H 1
  62. /* Define to 1 if you have the `port_create' function. */
  63. /* #undef HAVE_PORT_CREATE */
  64. /* Define to 1 if you have the <port.h> header file. */
  65. /* #undef HAVE_PORT_H */
  66. /* Define to 1 if you have the `select' function. */
  67. /* #undef HAVE_SELECT */
  68. /* Define if F_SETFD is defined in <fcntl.h> */
  69. #define HAVE_SETFD 1
  70. /* Note: The PNaCl toolchain prodives linux ABI's sigaction, named
  71. * linux_sigaction() in native_client/src/nonsfi/linux/linux_sys_private.c,
  72. * but newlib ABI sigaction() is not provided.
  73. */
  74. /* Define to 1 if you have the `sigaction' function. */
  75. /* #undef HAVE_SIGACTION */
  76. /* Define to 1 if you have the `signal' function. */
  77. /* #undef HAVE_SIGNAL */
  78. /* Define to 1 if you have the <signal.h> header file. */
  79. #define HAVE_SIGNAL_H 1
  80. /* Define to 1 if you have the <stdarg.h> header file. */
  81. #define HAVE_STDARG_H 1
  82. /* Define to 1 if you have the <stdint.h> header file. */
  83. #define HAVE_STDINT_H 1
  84. /* Define to 1 if you have the <stdlib.h> header file. */
  85. #define HAVE_STDLIB_H 1
  86. /* Define to 1 if you have the <strings.h> header file. */
  87. #define HAVE_STRINGS_H 1
  88. /* Define to 1 if you have the <string.h> header file. */
  89. #define HAVE_STRING_H 1
  90. /* Define to 1 if you have the `strlcpy' function. */
  91. /* #undef HAVE_STRLCPY */
  92. /* Define to 1 if you have the `strsep' function. */
  93. #define HAVE_STRSEP 1
  94. /* Define to 1 if you have the `strtok_r' function. */
  95. #define HAVE_STRTOK_R 1
  96. /* Define to 1 if you have the `strtoll' function. */
  97. #define HAVE_STRTOLL 1
  98. /* Define to 1 if the system has the type `struct in6_addr'. */
  99. #define HAVE_STRUCT_IN6_ADDR 1
  100. /* Define to 1 if you have the <sys/devpoll.h> header file. */
  101. /* #undef HAVE_SYS_DEVPOLL_H */
  102. /* Define to 1 if you have the <sys/epoll.h> header file. */
  103. #define HAVE_SYS_EPOLL_H 1
  104. /* Define to 1 if you have the <sys/event.h> header file. */
  105. /* #undef HAVE_SYS_EVENT_H */
  106. /* Define to 1 if you have the <sys/ioctl.h> header file. */
  107. /* #undef HAVE_SYS_IOCTL_H */
  108. /* Define to 1 if you have the <sys/param.h> header file. */
  109. #define HAVE_SYS_PARAM_H 1
  110. /* Define to 1 if you have the <sys/queue.h> header file. */
  111. #define HAVE_SYS_QUEUE_H 1
  112. /* Define to 1 if you have the <sys/select.h> header file. */
  113. /* #undef HAVE_SYS_SELECT_H */
  114. /* Define to 1 if you have the <sys/socket.h> header file. */
  115. #define HAVE_SYS_SOCKET_H 1
  116. /* Define to 1 if you have the <sys/stat.h> header file. */
  117. #define HAVE_SYS_STAT_H 1
  118. /* Define to 1 if you have the <sys/time.h> header file. */
  119. #define HAVE_SYS_TIME_H 1
  120. /* Define to 1 if you have the <sys/types.h> header file. */
  121. #define HAVE_SYS_TYPES_H 1
  122. /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
  123. #define HAVE_TAILQFOREACH 1
  124. /* Define if timeradd is defined in <sys/time.h> */
  125. /* #undef HAVE_TIMERADD */
  126. /* Define if timerclear is defined in <sys/time.h> */
  127. /* #undef HAVE_TIMERCLEAR */
  128. /* Define if timercmp is defined in <sys/time.h> */
  129. /* #undef HAVE_TIMERCMP */
  130. /* Define if timerisset is defined in <sys/time.h> */
  131. /* #undef HAVE_TIMERISSET */
  132. /* Define to 1 if the system has the type `uint16_t'. */
  133. #define HAVE_UINT16_T 1
  134. /* Define to 1 if the system has the type `uint32_t'. */
  135. #define HAVE_UINT32_T 1
  136. /* Define to 1 if the system has the type `uint64_t'. */
  137. #define HAVE_UINT64_T 1
  138. /* Define to 1 if the system has the type `uint8_t'. */
  139. #define HAVE_UINT8_T 1
  140. /* Define to 1 if you have the <unistd.h> header file. */
  141. #define HAVE_UNISTD_H 1
  142. /* Define to 1 if you have the `vasprintf' function. */
  143. /* #undef HAVE_VASPRINTF */
  144. /* Define if kqueue works correctly with pipes */
  145. /* #undef HAVE_WORKING_KQUEUE */
  146. /* Name of package */
  147. #define PACKAGE "libevent_nacl"
  148. /* Define to the address where bug reports for this package should be sent. */
  149. #define PACKAGE_BUGREPORT ""
  150. /* Define to the full name of this package. */
  151. #define PACKAGE_NAME ""
  152. /* Define to the full name and version of this package. */
  153. #define PACKAGE_STRING ""
  154. /* Define to the one symbol short name of this package. */
  155. #define PACKAGE_TARNAME ""
  156. /* Define to the version of this package. */
  157. #define PACKAGE_VERSION ""
  158. /* The size of `int', as computed by sizeof. */
  159. #define SIZEOF_INT 4
  160. /* The size of `long', as computed by sizeof. */
  161. #define SIZEOF_LONG 8
  162. /* The size of `long long', as computed by sizeof. */
  163. #define SIZEOF_LONG_LONG 8
  164. /* The size of `short', as computed by sizeof. */
  165. #define SIZEOF_SHORT 2
  166. /* Define to 1 if you have the ANSI C header files. */
  167. #define STDC_HEADERS 1
  168. /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  169. #define TIME_WITH_SYS_TIME 1
  170. /* Version number of package */
  171. #define VERSION "1.4.13-stable"
  172. /* Define to appropriate substitue if compiler doesnt have __func__ */
  173. /* #undef __func__ */
  174. /* Define to empty if `const' does not conform to ANSI C. */
  175. /* #undef const */
  176. /* Define to `__inline__' or `__inline' if that's what the C compiler
  177. calls it, or to nothing if 'inline' is not supported under any name. */
  178. #ifndef __cplusplus
  179. /* #undef inline */
  180. #endif
  181. /* Define to `int' if <sys/types.h> does not define. */
  182. /* #undef pid_t */
  183. /* Define to `unsigned int' if <sys/types.h> does not define. */
  184. /* #undef size_t */
  185. /* Define to unsigned int if you dont have it */
  186. /* #undef socklen_t */