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"
52 #define SILC_MANDIR "man"
54 /* SIM (SILC Module) support */
56 /* #undef HAVE_RTLD_NOW */
57 /* #undef HAVE_RTLD_LAZY */
60 #define SILC_SIZEOF_LONG_LONG 8
61 #define SILC_SIZEOF_LONG 4
62 #define SILC_SIZEOF_INT 4
63 #define SILC_SIZEOF_SHORT 2
64 #define SILC_SIZEOF_CHAR 1
65 #define SILC_SIZEOF_VOID_P 4
68 /* #undef SILC_MP_GMP */
69 #define SILC_MP_NSS_MPI 1
71 /* Redefs for SOCKS5 library */
72 /* macros/curses checks */
73 /* #undef HAS_CURSES */
74 /* #undef USE_SUNOS_CURSES */
75 /* #undef USE_BSD_CURSES */
76 /* #undef USE_SYSV_CURSES */
77 /* #undef USE_NCURSES */
78 /* #undef NO_COLOR_CURSES */
79 /* #undef SCO_FLAVOR */
84 /* #undef Rgetsockname */
85 /* #undef Rgetpeername */
90 /* #undef Rrecvfrom */
96 /* #undef Rrresvport */
97 /* #undef Rshutdown */
103 /* #undef Rgethostbyname */
105 /* Native WIN32 compilation (-mno-cygwin GCC option) under cygwin, though
106 the code compiles with any native WIN32 compiler. */
109 /* SILC distribution definitions (leave this at the end of file) */
110 #define SILC_DIST_TOOLKIT 1
111 /* #undef SILC_DIST_CLIENT */
112 /* #undef SILC_DIST_SERVER */
113 /* #undef SILC_DIST_WIN32DLL */
115 /* The number of bytes in a char. */
116 #define SIZEOF_CHAR 1
118 /* The number of bytes in a int. */
121 /* The number of bytes in a long. */
122 #define SIZEOF_LONG 4
124 /* The number of bytes in a long long. */
125 #define SIZEOF_LONG_LONG 8
127 /* The number of bytes in a short. */
128 #define SIZEOF_SHORT 2
130 /* The number of bytes in a void *. */
131 #define SIZEOF_VOID_P 4
133 /* Define if you have the bind function. */
136 /* Define if you have the chmod function. */
139 /* Define if you have the close function. */
142 /* Define if you have the connect function. */
143 #define HAVE_CONNECT 1
145 /* Define if you have the ctime function. */
148 /* Define if you have the fcntl function. */
151 /* Define if you have the fstat function. */
154 /* Define if you have the getenv function. */
155 #define HAVE_GETENV 1
157 /* Define if you have the getgid function. */
158 #define HAVE_GETGID 1
160 /* Define if you have the gethostbyaddr function. */
161 #define HAVE_GETHOSTBYADDR 1
163 /* Define if you have the gethostname function. */
164 #define HAVE_GETHOSTNAME 1
166 /* Define if you have the getopt_long function. */
167 #define HAVE_GETOPT_LONG 1
169 /* Define if you have the getpgid function. */
170 #define HAVE_GETPGID 1
172 /* Define if you have the getpgrp function. */
173 #define HAVE_GETPGRP 1
175 /* Define if you have the getpid function. */
176 #define HAVE_GETPID 1
178 /* Define if you have the getservbyname function. */
179 #define HAVE_GETSERVBYNAME 1
181 /* Define if you have the getservbyport function. */
182 #define HAVE_GETSERVBYPORT 1
184 /* Define if you have the getsid function. */
185 /* #undef HAVE_GETSID */
187 /* Define if you have the gettimeofday function. */
188 #define HAVE_GETTIMEOFDAY 1
190 /* Define if you have the getuid function. */
191 #define HAVE_GETUID 1
193 /* Define if you have the listen function. */
194 #define HAVE_LISTEN 1
196 /* Define if you have the memcpy function. */
197 #define HAVE_MEMCPY 1
199 /* Define if you have the memmove function. */
200 #define HAVE_MEMMOVE 1
202 /* Define if you have the memset function. */
203 #define HAVE_MEMSET 1
205 /* Define if you have the mlock function. */
206 /* #undef HAVE_MLOCK */
208 /* Define if you have the munlock function. */
209 /* #undef HAVE_MUNLOCK */
211 /* Define if you have the pthread_create function. */
212 #define HAVE_PTHREAD_CREATE 1
214 /* Define if you have the putenv function. */
215 #define HAVE_PUTENV 1
217 /* Define if you have the select function. */
218 #define HAVE_SELECT 1
220 /* Define if you have the setsockopt function. */
221 #define HAVE_SETSOCKOPT 1
223 /* Define if you have the shutdown function. */
224 #define HAVE_SHUTDOWN 1
226 /* Define if you have the stat function. */
229 /* Define if you have the strchr function. */
230 #define HAVE_STRCHR 1
232 /* Define if you have the strcpy function. */
233 #define HAVE_STRCPY 1
235 /* Define if you have the strerror function. */
236 #define HAVE_STRERROR 1
238 /* Define if you have the strncpy function. */
239 #define HAVE_STRNCPY 1
241 /* Define if you have the strstr function. */
242 #define HAVE_STRSTR 1
244 /* Define if you have the time function. */
247 /* Define if you have the <arpa/inet.h> header file. */
248 #define HAVE_ARPA_INET_H 1
250 /* Define if you have the <assert.h> header file. */
251 #define HAVE_ASSERT_H 1
253 /* Define if you have the <ctype.h> header file. */
254 #define HAVE_CTYPE_H 1
256 /* Define if you have the <dlfcn.h> header file. */
257 #define HAVE_DLFCN_H 1
259 /* Define if you have the <errno.h> header file. */
260 #define HAVE_ERRNO_H 1
262 /* Define if you have the <fcntl.h> header file. */
263 #define HAVE_FCNTL_H 1
265 /* Define if you have the <getopt.h> header file. */
266 #define HAVE_GETOPT_H 1
268 /* Define if you have the <grp.h> header file. */
271 /* Define if you have the <limits.h> header file. */
272 #define HAVE_LIMITS_H 1
274 /* Define if you have the <ncurses.h> header file. */
275 #define HAVE_NCURSES_H 1
277 /* Define if you have the <netdb.h> header file. */
278 #define HAVE_NETDB_H 1
280 /* Define if you have the <netinet/in.h> header file. */
281 #define HAVE_NETINET_IN_H 1
283 /* Define if you have the <netinet/tcp.h> header file. */
284 #define HAVE_NETINET_TCP_H 1
286 /* Define if you have the <paths.h> header file. */
287 #define HAVE_PATHS_H 1
289 /* Define if you have the <pthread.h> header file. */
290 #define HAVE_PTHREAD_H 1
292 /* Define if you have the <pwd.h> header file. */
295 /* Define if you have the <regex.h> header file. */
296 #define HAVE_REGEX_H 1
298 /* Define if you have the <signal.h> header file. */
299 #define HAVE_SIGNAL_H 1
301 /* Define if you have the <string.h> header file. */
302 #define HAVE_STRING_H 1
304 /* Define if you have the <sys/mman.h> header file. */
305 #define HAVE_SYS_MMAN_H 1
307 /* Define if you have the <sys/stat.h> header file. */
308 #define HAVE_SYS_STAT_H 1
310 /* Define if you have the <sys/time.h> header file. */
311 #define HAVE_SYS_TIME_H 1
313 /* Define if you have the <sys/types.h> header file. */
314 #define HAVE_SYS_TYPES_H 1
316 /* Define if you have the <termcap.h> header file. */
317 #define HAVE_TERMCAP_H 1
319 /* Define if you have the <unistd.h> header file. */
320 #define HAVE_UNISTD_H 1