You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

301 lines
8.8 KiB

  1. #ifndef _SHADOWSOCKS_CONFIG_H
  2. #define _SHADOWSOCKS_CONFIG_H
  3. /* Define if building universal (internal helper macro) */
  4. #cmakedefine AC_APPLE_UNIVERSAL_BUILD
  5. /* errno for incomplete non-blocking connect(2) */
  6. #cmakedefine CONNECT_IN_PROGRESS @CONNECT_IN_PROGRESS@
  7. /* Define to 1 if you have the <arpa/inet.h> header file. */
  8. #cmakedefine HAVE_ARPA_INET_H 1
  9. /* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you
  10. don't. */
  11. #cmakedefine HAVE_DECL_INET_NTOP 1
  12. /* Define to 1 if you have the <dlfcn.h> header file. */
  13. #cmakedefine HAVE_DLFCN_H 1
  14. /* Define to 1 if you have the <ev.h> header file. */
  15. #cmakedefine HAVE_EV_H 1
  16. /* Define to 1 if you have the <fcntl.h> header file. */
  17. #cmakedefine HAVE_FCNTL_H 1
  18. /* Define to 1 if you have the `fork' function. */
  19. #cmakedefine HAVE_FORK 1
  20. /* Define to 1 if you have the `getpwnam_r' function. */
  21. #cmakedefine HAVE_GETPWNAM_R 1
  22. /* Define to 1 if you have the `inet_ntop' function. */
  23. #cmakedefine HAVE_INET_NTOP 1
  24. /* Define to 1 if you have the <inttypes.h> header file. */
  25. #cmakedefine HAVE_INTTYPES_H 1
  26. /* Enable IPv6 support in libudns */
  27. #cmakedefine HAVE_IPv6 1
  28. /* Define to 1 if you have the <langinfo.h> header file. */
  29. #cmakedefine HAVE_LANGINFO_H 1
  30. /* Compiling with pcre support */
  31. #cmakedefine HAVE_LIBPCRE 1
  32. /* Define to 1 if you have the `socket' library (-lsocket). */
  33. #cmakedefine HAVE_LIBSOCKET 1
  34. /* Define to 1 if you have the <limits.h> header file. */
  35. #cmakedefine HAVE_LIMITS_H 1
  36. /* Define to 1 if you have the <linux/if.h> header file. */
  37. #cmakedefine HAVE_LINUX_IF_H 1
  38. /* Define to 1 if you have the <linux/tcp.h> header file. */
  39. #cmakedefine HAVE_LINUX_TCP_H
  40. /* Define to 1 if you have the <netinet/tcp.h> header file. */
  41. #cmakedefine HAVE_NETINET_TCP_H
  42. /* Define to 1 if you have the <linux/netfilter_ipv4.h> header file. */
  43. #cmakedefine HAVE_LINUX_NETFILTER_IPV4_H 1
  44. /* Define to 1 if you have the <linux/netfilter_ipv6/ip6_tables.h> header
  45. file. */
  46. #cmakedefine HAVE_LINUX_NETFILTER_IPV6_IP6_TABLES_H 1
  47. /* Define to 1 if you have the <locale.h> header file. */
  48. #cmakedefine HAVE_LOCALE_H 1
  49. /* Define to 1 if you have the `malloc' function. */
  50. #cmakedefine HAVE_MALLOC 1
  51. /* Define to 1 if you have the <memory.h> header file. */
  52. #cmakedefine HAVE_MEMORY_H 1
  53. /* Define to 1 if you have the `memset' function. */
  54. #cmakedefine HAVE_MEMSET 1
  55. /* Define to 1 if you have the <netdb.h> header file. */
  56. #cmakedefine HAVE_NETDB_H 1
  57. /* Define to 1 if you have the <netinet/in.h> header file. */
  58. #cmakedefine HAVE_NETINET_IN_H 1
  59. /* Define to 1 if you have the <net/if.h> header file. */
  60. #cmakedefine HAVE_NET_IF_H 1
  61. /* Define to 1 if you have the <pcre.h> header file. */
  62. #cmakedefine HAVE_PCRE_H 1
  63. /* Define to 1 if you have the <pcre/pcre.h> header file. */
  64. #cmakedefine HAVE_PCRE_PCRE_H 1
  65. /* Have PTHREAD_PRIO_INHERIT. */
  66. #cmakedefine HAVE_PTHREAD_PRIO_INHERIT 1
  67. /* Define to 1 if you have the `select' function. */
  68. #cmakedefine HAVE_SELECT 1
  69. /* Define to 1 if you have the `setresuid' function. */
  70. #cmakedefine HAVE_SETRESUID 1
  71. /* Define to 1 if you have the `setreuid' function. */
  72. #cmakedefine HAVE_SETREUID 1
  73. /* Define to 1 if you have the `setrlimit' function. */
  74. #cmakedefine HAVE_SETRLIMIT 1
  75. /* Define to 1 if you have the `socket' function. */
  76. #cmakedefine HAVE_SOCKET 1
  77. /* Define to 1 if you have the <stdint.h> header file. */
  78. #cmakedefine HAVE_STDINT_H 1
  79. /* Define to 1 if you have the <stdlib.h> header file. */
  80. #cmakedefine HAVE_STDLIB_H 1
  81. /* Define to 1 if you have the `strerror' function. */
  82. #cmakedefine HAVE_STRERROR 1
  83. /* Define to 1 if you have the <strings.h> header file. */
  84. #cmakedefine HAVE_STRINGS_H 1
  85. /* Define to 1 if you have the <string.h> header file. */
  86. #cmakedefine HAVE_STRING_H 1
  87. /* Define to 1 if you have the <sys/ioctl.h> header file. */
  88. #cmakedefine HAVE_SYS_IOCTL_H 1
  89. /* Define to 1 if you have the <sys/select.h> header file. */
  90. #cmakedefine HAVE_SYS_SELECT_H 1
  91. /* Define to 1 if you have the <sys/socket.h> header file. */
  92. #cmakedefine HAVE_SYS_SOCKET_H 1
  93. /* Define to 1 if you have the <sys/stat.h> header file. */
  94. #cmakedefine HAVE_SYS_STAT_H 1
  95. /* Define to 1 if you have the <sys/types.h> header file. */
  96. #cmakedefine HAVE_SYS_TYPES_H 1
  97. /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
  98. #cmakedefine HAVE_SYS_WAIT_H 1
  99. /* Define to 1 if you have the <udns.h> header file. */
  100. #cmakedefine HAVE_UDNS_H 1
  101. /* Define to 1 if you have the <unistd.h> header file. */
  102. #cmakedefine HAVE_UNISTD_H 1
  103. /* Define to 1 if you have the `vfork' function. */
  104. #cmakedefine HAVE_VFORK 1
  105. /* Define to 1 if you have the <vfork.h> header file. */
  106. #cmakedefine HAVE_VFORK_H 1
  107. /* Define to 1 if `fork' works. */
  108. #cmakedefine HAVE_WORKING_FORK 1
  109. /* Define to 1 if `vfork' works. */
  110. #cmakedefine HAVE_WORKING_VFORK 1
  111. /* Define to the sub-directory where libtool stores uninstalled libraries. */
  112. #cmakedefine LT_OBJDIR "@LT_OBJDIR@"
  113. /* Define to 1 if assertions should be disabled. */
  114. #cmakedefine NDEBUG 1
  115. /* Name of package */
  116. #define PACKAGE "@PROJECT_NAME@"
  117. /* Define to the address where bug reports for this package should be sent. */
  118. #define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
  119. /* Define to the full name of this package. */
  120. #define PACKAGE_NAME "@PROJECT_NAME@"
  121. /* Define to the full name and version of this package. */
  122. #define PACKAGE_STRING "@PROJECT_NAME@ @PROJECT_VERSION@"
  123. /* Define to the one symbol short name of this package. */
  124. #define PACKAGE_TARNAME "@PROJECT_NAME@"
  125. /* Define to the home page for this package. */
  126. #define PACKAGE_URL "@PACKAGE_URL@"
  127. /* Define to the version of this package. */
  128. #define PACKAGE_VERSION "@PROJECT_VERSION@"
  129. /* Define to necessary symbol if this constant uses a non-standard name on
  130. your system. */
  131. #cmakedefine PTHREAD_CREATE_JOINABLE 1
  132. /* Define as the return type of signal handlers (`int' or `void'). */
  133. #cmakedefine RETSIGTYPE @RETSIGTYPE@
  134. /* Define to the type of arg 1 for `select'. */
  135. #cmakedefine SELECT_TYPE_ARG1 @SELECT_TYPE_ARG1@
  136. /* Define to the type of args 2, 3 and 4 for `select'. */
  137. #cmakedefine SELECT_TYPE_ARG234 @SELECT_TYPE_ARG234@
  138. /* Define to the type of arg 5 for `select'. */
  139. #cmakedefine SELECT_TYPE_ARG5 @SELECT_TYPE_ARG5@
  140. /* Define to 1 if you have the ANSI C header files. */
  141. #cmakedefine STDC_HEADERS 1
  142. /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  143. #cmakedefine TIME_WITH_SYS_TIME 1
  144. /* If the compiler supports a TLS storage class define it to that here */
  145. #cmakedefine TLS @TLS@
  146. /* Enable extensions on AIX 3, Interix. */
  147. #ifndef _ALL_SOURCE
  148. #cmakedefine _ALL_SOURCE 1
  149. #endif
  150. /* Enable GNU extensions on systems that have them. */
  151. #ifndef _GNU_SOURCE
  152. #cmakedefine _GNU_SOURCE 1
  153. #endif
  154. /* Enable threading extensions on Solaris. */
  155. #ifndef _POSIX_PTHREAD_SEMANTICS
  156. #cmakedefine _POSIX_PTHREAD_SEMANTICS 1
  157. #endif
  158. /* Enable extensions on HP NonStop. */
  159. #ifndef _TANDEM_SOURCE
  160. #cmakedefine _TANDEM_SOURCE 1
  161. #endif
  162. /* Enable general extensions on Solaris. */
  163. #ifndef __EXTENSIONS__
  164. #cmakedefine __EXTENSIONS__ 1
  165. #endif
  166. /* Define if use system shared lib. */
  167. #cmakedefine USE_SYSTEM_SHARED_LIB 1
  168. /* Version number of package */
  169. #define VERSION "@PROJECT_VERSION@"
  170. /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  171. significant byte first (like Motorola and SPARC, unlike Intel). */
  172. #if defined AC_APPLE_UNIVERSAL_BUILD
  173. # if defined __BIG_ENDIAN__
  174. # define WORDS_BIGENDIAN 1
  175. # endif
  176. #else
  177. # ifndef WORDS_BIGENDIAN
  178. #cmakedefine WORDS_BIGENDIAN 1
  179. # endif
  180. #endif
  181. /* Define to 1 if on MINIX. */
  182. #cmakedefine _MINIX 1
  183. /* Define to 2 if the system does not provide POSIX.1 features except with
  184. this defined. */
  185. #cmakedefine _POSIX_1_SOURCE 1
  186. /* Define to 1 if you need to in order for `stat' and other things to work. */
  187. #cmakedefine _POSIX_SOURCE 1
  188. /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
  189. <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
  190. #define below would cause a syntax error. */
  191. #cmakedefine _UINT8_T 1
  192. /* Define to empty if `const' does not conform to ANSI C. */
  193. #cmakedefine const 1
  194. /* Define to `__inline__' or `__inline' if that's what the C compiler
  195. calls it, or to nothing if 'inline' is not supported under any name. */
  196. #ifndef __cplusplus
  197. #cmakedefine inline 1
  198. #endif
  199. /* Define to `int' if <sys/types.h> does not define. */
  200. #cmakedefine pid_t @pid_t@
  201. /* Define to `unsigned int' if <sys/types.h> does not define. */
  202. #cmakedefine size_t unsigned int
  203. /* Define to `int' if <sys/types.h> does not define. */
  204. #cmakedefine ssize_t int
  205. /* Define to the type of an unsigned integer type of width exactly 16 bits if
  206. such a type exists and the standard includes do not define it. */
  207. #cmakedefine uint16_t @uint16_t@
  208. /* Define to the type of an unsigned integer type of width exactly 8 bits if
  209. such a type exists and the standard includes do not define it. */
  210. #cmakedefine uint8_t @uint8_t@
  211. /* Define as `fork' if `vfork' does not work. */
  212. #cmakedefine vfork
  213. #endif