1 /* includes/silcdefs.h. Generated automatically by configure. */
2 /* includes/silcdefs.h.in. Generated automatically from configure.in by autoheader. */
4 /* Define to empty if the keyword does not work. */
7 /* Define to `int' if <sys/types.h> doesn't define. */
10 /* Define as __inline if that's what the C compiler calls it. */
13 /* Define to `int' if <sys/types.h> doesn't define. */
16 /* Define to `int' if <sys/types.h> doesn't define. */
19 /* Define as the return type of signal handlers (int or void). */
20 #define RETSIGTYPE void
22 /* Define to `unsigned' if <sys/types.h> doesn't define. */
25 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
26 /* #undef STAT_MACROS_BROKEN */
28 /* Define if you have the ANSI C header files. */
29 #define STDC_HEADERS 1
31 /* Define if you can safely include both <sys/time.h> and <time.h>. */
32 #define TIME_WITH_SYS_TIME 1
34 /* Define to `int' if <sys/types.h> doesn't define. */
38 /* #undef SILC_DEBUG */
40 /* Default configuration file */
41 /* #undef SILC_SERVER_CONFIG_FILE */
43 /* Multi-thread support */
44 #define SILC_THREADS 1
47 #define SILC_ETCDIR "/etc/silc"
48 #define SILC_HELPDIR "help"
49 #define SILC_DOCDIR "doc"
50 #define SILC_MODULESDIR "modules"
51 #define SILC_LOGSDIR "logs"
53 /* SIM (SILC Module) support */
55 /* #undef HAVE_RTLD_NOW */
56 /* #undef HAVE_RTLD_LAZY */
59 #define SILC_SIZEOF_LONG_LONG 8
60 #define SILC_SIZEOF_LONG 4
61 #define SILC_SIZEOF_INT 4
62 #define SILC_SIZEOF_SHORT 2
63 #define SILC_SIZEOF_CHAR 1
64 #define SILC_SIZEOF_VOID_P 4
67 /* #undef SILC_MP_GMP */
68 #define SILC_MP_NSS_MPI 1
70 /* Redefs for SOCKS5 library */
71 /* macros/curses checks */
72 /* #undef HAS_CURSES */
73 /* #undef USE_SUNOS_CURSES */
74 /* #undef USE_BSD_CURSES */
75 /* #undef USE_SYSV_CURSES */
76 /* #undef USE_NCURSES */
77 /* #undef NO_COLOR_CURSES */
78 /* #undef SCO_FLAVOR */
83 /* #undef Rgetsockname */
84 /* #undef Rgetpeername */
89 /* #undef Rrecvfrom */
95 /* #undef Rrresvport */
96 /* #undef Rshutdown */
102 /* #undef Rgethostbyname */
104 /* Native WIN32 compilation (-mno-cygwin GCC option) under cygwin, though
105 the code compiles with any native WIN32 compiler. */
110 /* SILC distribution definitions (leave this at the end of file) */
111 #define SILC_DIST_TOOLKIT 1
112 /* #undef SILC_DIST_CLIENT */
113 /* #undef SILC_DIST_SERVER */
114 /* #undef SILC_DIST_WIN32DLL */
116 /* The number of bytes in a char. */
117 #define SIZEOF_CHAR 1
119 /* The number of bytes in a int. */
122 /* The number of bytes in a long. */
123 #define SIZEOF_LONG 4
125 /* The number of bytes in a long long. */
126 #define SIZEOF_LONG_LONG 8
128 /* The number of bytes in a short. */
129 #define SIZEOF_SHORT 2
131 /* The number of bytes in a void *. */
132 #define SIZEOF_VOID_P 4
134 /* Define if you have the bind function. */
137 /* Define if you have the chmod function. */
140 /* Define if you have the close function. */
143 /* Define if you have the connect function. */
144 #define HAVE_CONNECT 1
146 /* Define if you have the ctime function. */
149 /* Define if you have the fcntl function. */
152 /* Define if you have the fstat function. */
155 /* Define if you have the getenv function. */
156 #define HAVE_GETENV 1
158 /* Define if you have the getgid function. */
159 #define HAVE_GETGID 1
161 /* Define if you have the gethostbyaddr function. */
162 #define HAVE_GETHOSTBYADDR 1
164 /* Define if you have the gethostname function. */
165 #define HAVE_GETHOSTNAME 1
167 /* Define if you have the getopt_long function. */
168 #define HAVE_GETOPT_LONG 1
170 /* Define if you have the getpgid function. */
171 #define HAVE_GETPGID 1
173 /* Define if you have the getpgrp function. */
174 #define HAVE_GETPGRP 1
176 /* Define if you have the getpid function. */
177 #define HAVE_GETPID 1
179 /* Define if you have the getservbyname function. */
180 #define HAVE_GETSERVBYNAME 1
182 /* Define if you have the getservbyport function. */
183 #define HAVE_GETSERVBYPORT 1
185 /* Define if you have the getsid function. */
186 /* #undef HAVE_GETSID */
188 /* Define if you have the gettimeofday function. */
189 #define HAVE_GETTIMEOFDAY 1
191 /* Define if you have the getuid function. */
192 #define HAVE_GETUID 1
194 /* Define if you have the listen function. */
195 #define HAVE_LISTEN 1
197 /* Define if you have the memcpy function. */
198 #define HAVE_MEMCPY 1
200 /* Define if you have the memmove function. */
201 #define HAVE_MEMMOVE 1
203 /* Define if you have the memset function. */
204 #define HAVE_MEMSET 1
206 /* Define if you have the mlock function. */
207 /* #undef HAVE_MLOCK */
209 /* Define if you have the munlock function. */
210 /* #undef HAVE_MUNLOCK */
212 /* Define if you have the pthread_create function. */
213 #define HAVE_PTHREAD_CREATE 1
215 /* Define if you have the putenv function. */
216 #define HAVE_PUTENV 1
218 /* Define if you have the select function. */
219 #define HAVE_SELECT 1
221 /* Define if you have the setsockopt function. */
222 #define HAVE_SETSOCKOPT 1
224 /* Define if you have the shutdown function. */
225 #define HAVE_SHUTDOWN 1
227 /* Define if you have the stat function. */
230 /* Define if you have the strchr function. */
231 #define HAVE_STRCHR 1
233 /* Define if you have the strcpy function. */
234 #define HAVE_STRCPY 1
236 /* Define if you have the strerror function. */
237 #define HAVE_STRERROR 1
239 /* Define if you have the strncpy function. */
240 #define HAVE_STRNCPY 1
242 /* Define if you have the strstr function. */
243 #define HAVE_STRSTR 1
245 /* Define if you have the time function. */
248 /* Define if you have the <arpa/inet.h> header file. */
249 #define HAVE_ARPA_INET_H 1
251 /* Define if you have the <assert.h> header file. */
252 #define HAVE_ASSERT_H 1
254 /* Define if you have the <ctype.h> header file. */
255 #define HAVE_CTYPE_H 1
257 /* Define if you have the <dlfcn.h> header file. */
258 #define HAVE_DLFCN_H 1
260 /* Define if you have the <errno.h> header file. */
261 #define HAVE_ERRNO_H 1
263 /* Define if you have the <fcntl.h> header file. */
264 #define HAVE_FCNTL_H 1
266 /* Define if you have the <getopt.h> header file. */
267 #define HAVE_GETOPT_H 1
269 /* Define if you have the <grp.h> header file. */
272 /* Define if you have the <limits.h> header file. */
273 #define HAVE_LIMITS_H 1
275 /* Define if you have the <ncurses.h> header file. */
276 #define HAVE_NCURSES_H 1
278 /* Define if you have the <netdb.h> header file. */
279 #define HAVE_NETDB_H 1
281 /* Define if you have the <netinet/in.h> header file. */
282 #define HAVE_NETINET_IN_H 1
284 /* Define if you have the <netinet/tcp.h> header file. */
285 #define HAVE_NETINET_TCP_H 1
287 /* Define if you have the <paths.h> header file. */
288 #define HAVE_PATHS_H 1
290 /* Define if you have the <pthread.h> header file. */
291 #define HAVE_PTHREAD_H 1
293 /* Define if you have the <pwd.h> header file. */
296 /* Define if you have the <regex.h> header file. */
297 #define HAVE_REGEX_H 1
299 /* Define if you have the <signal.h> header file. */
300 #define HAVE_SIGNAL_H 1
302 /* Define if you have the <string.h> header file. */
303 #define HAVE_STRING_H 1
305 /* Define if you have the <sys/mman.h> header file. */
306 #define HAVE_SYS_MMAN_H 1
308 /* Define if you have the <sys/stat.h> header file. */
309 #define HAVE_SYS_STAT_H 1
311 /* Define if you have the <sys/time.h> header file. */
312 #define HAVE_SYS_TIME_H 1
314 /* Define if you have the <sys/types.h> header file. */
315 #define HAVE_SYS_TYPES_H 1
317 /* Define if you have the <termcap.h> header file. */
318 #define HAVE_TERMCAP_H 1
320 /* Define if you have the <unistd.h> header file. */
321 #define HAVE_UNISTD_H 1