Release version 955 generated by do-release.sh
[citadel.git] / citadel / server / sysdep.h
1
2
3 #ifndef CTDLDIR
4 #error CTDLDIR is not defined , did we not run configure ?
5 #endif
6
7 /* define, if the user suplied a data-directory to use. */
8 /* #undef DATA_DIR */
9
10 /* whether we have NLS support */
11 #define ENABLE_NLS /**/
12
13 /* whats the matching format string for pid_t? */
14 #define F_PID_T "%d"
15
16 /* whats the matching format string for uid_t? */
17 #define F_UID_T "%d"
18
19 /* whats the matching format string for xpid_t? */
20 #define F_XPID_T "%x"
21
22 /* Define to 1 if the `getpgrp' function requires zero arguments. */
23 #define GETPGRP_VOID 1
24
25 /* Define to 1 if you have the <arpa/nameser_compat.h> header file. */
26 #define HAVE_ARPA_NAMESER_COMPAT_H 1
27
28 /* Define to 1 if you have the <arpa/nameser.h> header file. */
29 #define HAVE_ARPA_NAMESER_H 1
30
31 /* Define to 1 if you have the `connect' function. */
32 #define HAVE_CONNECT 1
33
34 /* Define to 1 if you have the <db.h> header file. */
35 #define HAVE_DB_H 1
36
37 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
38    */
39 #define HAVE_DIRENT_H 1
40
41 /* Define to 1 if you have the <fcntl.h> header file. */
42 #define HAVE_FCNTL_H 1
43
44 /* Define to 1 if you have the `gethostbyname' function. */
45 #define HAVE_GETHOSTBYNAME 1
46
47 /* Define to 1 if you have the `getloadavg' function. */
48 #define HAVE_GETLOADAVG 1
49
50 /* Define to 1 if you have the `getpwnam_r' function. */
51 #define HAVE_GETPWNAM_R 1
52
53 /* Define to 1 if you have the `getpwuid_r' function. */
54 #define HAVE_GETPWUID_R 1
55
56 /* Define to 1 if you have the `getspnam' function. */
57 #define HAVE_GETSPNAM 1
58
59 /* Define to 1 if you have the `gettext' function. */
60 #define HAVE_GETTEXT 1
61
62 /* Define to 1 if you have the `getutxline' function. */
63 #define HAVE_GETUTXLINE 1
64
65 /* whether we have iconv for charset conversion */
66 #define HAVE_ICONV /**/
67
68 /* Define to 1 if you have the <inttypes.h> header file. */
69 #define HAVE_INTTYPES_H 1
70
71 /* Define to 1 if you have the `nsl' library (-lnsl). */
72 /* #undef HAVE_LIBNSL */
73
74 /* Define to 1 if you have the `pthread' library (-lpthread). */
75 #define HAVE_LIBPTHREAD 1
76
77 /* Define to 1 if you have the `rt' library (-lrt). */
78 #define HAVE_LIBRT 1
79
80 /* Define to 1 if you have the <limits.h> header file. */
81 #define HAVE_LIMITS_H 1
82
83 /* Define to 1 if you have the <malloc.h> header file. */
84 #define HAVE_MALLOC_H 1
85
86 /* Define to 1 if you have the <memory.h> header file. */
87 #define HAVE_MEMORY_H 1
88
89 /* Define to 1 if you have the `mkdir' function. */
90 #define HAVE_MKDIR 1
91
92 /* Define to 1 if you have the `mkfifo' function. */
93 #define HAVE_MKFIFO 1
94
95 /* Define to 1 if you have the `mktime' function. */
96 #define HAVE_MKTIME 1
97
98 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
99 /* #undef HAVE_NDIR_H */
100
101 /* Define to 1 if you have the <netinet/in.h> header file. */
102 #define HAVE_NETINET_IN_H 1
103
104 /* Define to 1 if you have the <paths.h> header file. */
105 #define HAVE_PATHS_H 1
106
107 /* define this if you have the pthread_cancel() function */
108 #define HAVE_PTHREAD_CANCEL /**/
109
110 /* Define to 1 if you have the <pthread.h> header file. */
111 #define HAVE_PTHREAD_H 1
112
113 /* define this if you have the resolv.h header file. */
114 #define HAVE_RESOLV_H /**/
115
116 /* Define to 1 if you have the `rmdir' function. */
117 #define HAVE_RMDIR 1
118
119 /* Define to 1 if you have the `select' function. */
120 #define HAVE_SELECT 1
121
122 /* Define to 1 if you have the `socket' function. */
123 #define HAVE_SOCKET 1
124
125 /* enable alternate spool dir? */
126 /* #undef HAVE_SPOOL_DIR */
127
128 /* should we activate an alternate static text location? */
129 /* #undef HAVE_STATICDATA_DIR */
130
131 /* Define to 1 if you have the <stdint.h> header file. */
132 #define HAVE_STDINT_H 1
133
134 /* Define to 1 if you have the <stdlib.h> header file. */
135 #define HAVE_STDLIB_H 1
136
137 /* Define to 1 if you have the `strcasecmp' function. */
138 #define HAVE_STRCASECMP 1
139
140 /* Define to 1 if you have the `strerror' function. */
141 #define HAVE_STRERROR 1
142
143 /* Define to 1 if you have the `strftime_l' function. */
144 #define HAVE_STRFTIME_L 1
145
146 /* Define to 1 if you have the <strings.h> header file. */
147 #define HAVE_STRINGS_H 1
148
149 /* Define to 1 if you have the <string.h> header file. */
150 #define HAVE_STRING_H 1
151
152 /* Define to 1 if you have the `strncasecmp' function. */
153 #define HAVE_STRNCASECMP 1
154
155 /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
156 #define HAVE_STRUCT_TM_TM_GMTOFF 1
157
158 /* Define if struct ucred is present from sys/socket.h */
159 #define HAVE_STRUCT_UCRED 1
160
161 /* Define to 1 if you have the <syscall.h> header file. */
162 #define HAVE_SYSCALL_H 1
163
164 /* Define to 1 if you have the <syslog.h> header file. */
165 #define HAVE_SYSLOG_H 1
166
167 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
168    */
169 /* #undef HAVE_SYS_DIR_H */
170
171 /* Define to 1 if you have the <sys/ioctl.h> header file. */
172 #define HAVE_SYS_IOCTL_H 1
173
174 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
175    */
176 /* #undef HAVE_SYS_NDIR_H */
177
178 /* Define to 1 if you have the <sys/prctl.h> header file. */
179 #define HAVE_SYS_PRCTL_H 1
180
181 /* Define to 1 if you have the <sys/select.h> header file. */
182 #define HAVE_SYS_SELECT_H 1
183
184 /* Define to 1 if you have the <sys/stat.h> header file. */
185 #define HAVE_SYS_STAT_H 1
186
187 /* Define to 1 if you have the <sys/syscall.h> header file. */
188 #define HAVE_SYS_SYSCALL_H 1
189
190 /* Define to 1 if you have the <sys/time.h> header file. */
191 #define HAVE_SYS_TIME_H 1
192
193 /* Define to 1 if you have the <sys/types.h> header file. */
194 #define HAVE_SYS_TYPES_H 1
195
196 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
197 #define HAVE_SYS_WAIT_H 1
198
199 /* Define to 1 if you have the <termios.h> header file. */
200 #define HAVE_TERMIOS_H 1
201
202 /* Define if you don't have `tm_gmtoff' but do have the external variable
203    `timezone'. */
204 /* #undef HAVE_TIMEZONE */
205
206 /* Define to 1 if you have the <unistd.h> header file. */
207 #define HAVE_UNISTD_H 1
208
209 /* Define to 1 if you have the `uselocale' function. */
210 #define HAVE_USELOCALE 1
211
212 /* should we put our helper binaries to another location? */
213 /* #undef HAVE_UTILBIN_DIR */
214
215 /* Define to 1 if you have the <utmpx.h> header file. */
216 #define HAVE_UTMPX_H 1
217
218 /* Define to 1 if you have the <utmp.h> header file. */
219 #define HAVE_UTMP_H 1
220
221 /* define this if struct utmp has an ut_host member */
222 #define HAVE_UT_HOST /**/
223
224 /* define this if struct utmp has an ut_type member */
225 #define HAVE_UT_TYPE /**/
226
227 /* Define to 1 if you have the `vprintf' function. */
228 #define HAVE_VPRINTF 1
229
230 /* Define to 1 if you have the `vw_printw' function. */
231 /* #undef HAVE_VW_PRINTW */
232
233 /* Define to 1 if you have the `wcolor_set' function. */
234 /* #undef HAVE_WCOLOR_SET */
235
236 /* Define to 1 if you have the `wresize' function. */
237 /* #undef HAVE_WRESIZE */
238
239 /* define, if the user suplied a helpfile-directory to use. */
240 /* #undef HELP_DIR */
241
242 /* where to find our pot files */
243 #define LOCALEDIR "/root/citadel/citadel"
244
245 /* Define to the address where bug reports for this package should be sent. */
246 #define PACKAGE_BUGREPORT "http://uncensored.citadel.org"
247
248 /* Define to the full name of this package. */
249 #define PACKAGE_NAME "Citadel"
250
251 /* Define to the one symbol short name of this package. */
252 #define PACKAGE_TARNAME "citadel"
253
254 /* Define to the home page for this package. */
255 #define PACKAGE_URL ""
256
257 /* Define to the version of this package. */
258 #define PACKAGE_VERSION "951"
259
260 /* Define as the return type of signal handlers (`int' or `void'). */
261 #define RETSIGTYPE void
262
263 /* define, where the config should go in unix style */
264 /* #undef RUN_DIR */
265
266 /* The size of `char', as computed by sizeof. */
267 #define SIZEOF_CHAR 1
268
269 /* The size of `int', as computed by sizeof. */
270 #define SIZEOF_INT 4
271
272 /* The size of `loff_t', as computed by sizeof. */
273 #define SIZEOF_LOFF_T 8
274
275 /* The size of `long', as computed by sizeof. */
276 #define SIZEOF_LONG 8
277
278 /* The size of `short', as computed by sizeof. */
279 #define SIZEOF_SHORT 2
280
281 /* The size of `size_t', as computed by sizeof. */
282 #define SIZEOF_SIZE_T 8
283
284 /* do we need to use solaris call syntax? */
285 /* #undef SOLARIS_GETPWUID */
286
287 /* where do we place our spool dirs? */
288 /* #undef SPOOL_DIR */
289
290 /* were should we put our keys? */
291 #define SSL_DIR "/root/citadel/citadel/keys"
292
293 /* where do we put our static text data? */
294 /* #undef STATICDATA_DIR */
295
296 /* Define to 1 if you have the ANSI C header files. */
297 #define STDC_HEADERS 1
298
299 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
300 #define TIME_WITH_SYS_TIME 1
301
302 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
303 /* #undef TM_IN_SYS_TIME */
304
305 /* Enable extensions on AIX 3, Interix.  */
306 #ifndef _ALL_SOURCE
307 # define _ALL_SOURCE 1
308 #endif
309 /* Enable GNU extensions on systems that have them.  */
310 #ifndef _GNU_SOURCE
311 # define _GNU_SOURCE 1
312 #endif
313 /* Enable threading extensions on Solaris.  */
314 #ifndef _POSIX_PTHREAD_SEMANTICS
315 # define _POSIX_PTHREAD_SEMANTICS 1
316 #endif
317 /* Enable extensions on HP NonStop.  */
318 #ifndef _TANDEM_SOURCE
319 # define _TANDEM_SOURCE 1
320 #endif
321 /* Enable general extensions on Solaris.  */
322 #ifndef __EXTENSIONS__
323 # define __EXTENSIONS__ 1
324 #endif
325
326
327 /* were to put our helper programs */
328 /* #undef UTILBIN_DIR */
329
330 /* Define to 1 if on MINIX. */
331 /* #undef _MINIX */
332
333 /* Define to 2 if the system does not provide POSIX.1 features except with
334    this defined. */
335 /* #undef _POSIX_1_SOURCE */
336
337 /* Define to 1 if you need to in order for `stat' and other things to work. */
338 /* #undef _POSIX_SOURCE */
339
340 /* Define to empty if `const' does not conform to ANSI C. */
341 /* #undef const */
342
343 /* Define to `int' if <sys/types.h> does not define. */
344 /* #undef pid_t */
345
346 /* Define to `unsigned int' if <sys/types.h> does not define. */
347 /* #undef size_t */