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. */
108 /* SILC distribution definitions (leave this at the end of file) */
109 #define SILC_DIST_TOOLKIT 1
110 /* #undef SILC_DIST_CLIENT */
111 /* #undef SILC_DIST_SERVER */
112 /* #undef SILC_DIST_WIN32DLL */
114 /* The number of bytes in a char. */
115 #define SIZEOF_CHAR 1
117 /* The number of bytes in a int. */
120 /* The number of bytes in a long. */
121 #define SIZEOF_LONG 4
123 /* The number of bytes in a long long. */
124 #define SIZEOF_LONG_LONG 8
126 /* The number of bytes in a short. */
127 #define SIZEOF_SHORT 2
129 /* The number of bytes in a void *. */
130 #define SIZEOF_VOID_P 4
132 /* Define if you have the bind function. */
135 /* Define if you have the chmod function. */
138 /* Define if you have the close function. */
141 /* Define if you have the connect function. */
142 #define HAVE_CONNECT 1
144 /* Define if you have the ctime function. */
147 /* Define if you have the fcntl function. */
150 /* Define if you have the fstat function. */
153 /* Define if you have the getenv function. */
154 #define HAVE_GETENV 1
156 /* Define if you have the getgid function. */
157 #define HAVE_GETGID 1
159 /* Define if you have the gethostbyaddr function. */
160 #define HAVE_GETHOSTBYADDR 1
162 /* Define if you have the gethostname function. */
163 #define HAVE_GETHOSTNAME 1
165 /* Define if you have the getopt_long function. */
166 #define HAVE_GETOPT_LONG 1
168 /* Define if you have the getpgid function. */
169 #define HAVE_GETPGID 1
171 /* Define if you have the getpgrp function. */
172 #define HAVE_GETPGRP 1
174 /* Define if you have the getpid function. */
175 #define HAVE_GETPID 1
177 /* Define if you have the getservbyname function. */
178 #define HAVE_GETSERVBYNAME 1
180 /* Define if you have the getservbyport function. */
181 #define HAVE_GETSERVBYPORT 1
183 /* Define if you have the getsid function. */
184 /* #undef HAVE_GETSID */
186 /* Define if you have the gettimeofday function. */
187 #define HAVE_GETTIMEOFDAY 1
189 /* Define if you have the getuid function. */
190 #define HAVE_GETUID 1
192 /* Define if you have the listen function. */
193 #define HAVE_LISTEN 1
195 /* Define if you have the memcpy function. */
196 #define HAVE_MEMCPY 1
198 /* Define if you have the memmove function. */
199 #define HAVE_MEMMOVE 1
201 /* Define if you have the memset function. */
202 #define HAVE_MEMSET 1
204 /* Define if you have the mlock function. */
205 /* #undef HAVE_MLOCK */
207 /* Define if you have the munlock function. */
208 /* #undef HAVE_MUNLOCK */
210 /* Define if you have the pthread_create function. */
211 #define HAVE_PTHREAD_CREATE 1
213 /* Define if you have the putenv function. */
214 #define HAVE_PUTENV 1
216 /* Define if you have the select function. */
217 #define HAVE_SELECT 1
219 /* Define if you have the setsockopt function. */
220 #define HAVE_SETSOCKOPT 1
222 /* Define if you have the shutdown function. */
223 #define HAVE_SHUTDOWN 1
225 /* Define if you have the stat function. */
228 /* Define if you have the strchr function. */
229 #define HAVE_STRCHR 1
231 /* Define if you have the strcpy function. */
232 #define HAVE_STRCPY 1
234 /* Define if you have the strerror function. */
235 #define HAVE_STRERROR 1
237 /* Define if you have the strncpy function. */
238 #define HAVE_STRNCPY 1
240 /* Define if you have the strstr function. */
241 #define HAVE_STRSTR 1
243 /* Define if you have the time function. */
246 /* Define if you have the <arpa/inet.h> header file. */
247 #define HAVE_ARPA_INET_H 1
249 /* Define if you have the <assert.h> header file. */
250 #define HAVE_ASSERT_H 1
252 /* Define if you have the <ctype.h> header file. */
253 #define HAVE_CTYPE_H 1
255 /* Define if you have the <dlfcn.h> header file. */
256 #define HAVE_DLFCN_H 1
258 /* Define if you have the <errno.h> header file. */
259 #define HAVE_ERRNO_H 1
261 /* Define if you have the <fcntl.h> header file. */
262 #define HAVE_FCNTL_H 1
264 /* Define if you have the <getopt.h> header file. */
265 #define HAVE_GETOPT_H 1
267 /* Define if you have the <grp.h> header file. */
270 /* Define if you have the <limits.h> header file. */
271 #define HAVE_LIMITS_H 1
273 /* Define if you have the <ncurses.h> header file. */
274 #define HAVE_NCURSES_H 1
276 /* Define if you have the <netdb.h> header file. */
277 #define HAVE_NETDB_H 1
279 /* Define if you have the <netinet/in.h> header file. */
280 #define HAVE_NETINET_IN_H 1
282 /* Define if you have the <netinet/tcp.h> header file. */
283 #define HAVE_NETINET_TCP_H 1
285 /* Define if you have the <paths.h> header file. */
286 #define HAVE_PATHS_H 1
288 /* Define if you have the <pthread.h> header file. */
289 #define HAVE_PTHREAD_H 1
291 /* Define if you have the <pwd.h> header file. */
294 /* Define if you have the <regex.h> header file. */
295 #define HAVE_REGEX_H 1
297 /* Define if you have the <signal.h> header file. */
298 #define HAVE_SIGNAL_H 1
300 /* Define if you have the <string.h> header file. */
301 #define HAVE_STRING_H 1
303 /* Define if you have the <sys/mman.h> header file. */
304 #define HAVE_SYS_MMAN_H 1
306 /* Define if you have the <sys/stat.h> header file. */
307 #define HAVE_SYS_STAT_H 1
309 /* Define if you have the <sys/time.h> header file. */
310 #define HAVE_SYS_TIME_H 1
312 /* Define if you have the <sys/types.h> header file. */
313 #define HAVE_SYS_TYPES_H 1
315 /* Define if you have the <termcap.h> header file. */
316 #define HAVE_TERMCAP_H 1
318 /* Define if you have the <unistd.h> header file. */
319 #define HAVE_UNISTD_H 1