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