Removed support for Solaris, which has been dead for at least five years.
[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 /* whether we have NLS support */
8 #define ENABLE_NLS /**/
9
10 /* whats the matching format string for pid_t? */
11 #define F_PID_T "%d"
12
13 /* whats the matching format string for uid_t? */
14 #define F_UID_T "%d"
15
16 /* whats the matching format string for xpid_t? */
17 #define F_XPID_T "%x"
18
19 /* Define to 1 if the `getpgrp' function requires zero arguments. */
20 #define GETPGRP_VOID 1
21
22 /* Define to 1 if you have the <arpa/nameser_compat.h> header file. */
23 #define HAVE_ARPA_NAMESER_COMPAT_H 1
24
25 /* Define to 1 if you have the <arpa/nameser.h> header file. */
26 #define HAVE_ARPA_NAMESER_H 1
27
28 /* Define to 1 if you have the `connect' function. */
29 #define HAVE_CONNECT 1
30
31 /* Define to 1 if you have the <db.h> header file. */
32 #define HAVE_DB_H 1
33
34 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
35    */
36 #define HAVE_DIRENT_H 1
37
38 /* Define to 1 if you have the <fcntl.h> header file. */
39 #define HAVE_FCNTL_H 1
40
41 /* Define to 1 if you have the `gethostbyname' function. */
42 #define HAVE_GETHOSTBYNAME 1
43
44 /* Define to 1 if you have the `getloadavg' function. */
45 #define HAVE_GETLOADAVG 1
46
47 /* Define to 1 if you have the `getpwnam_r' function. */
48 #define HAVE_GETPWNAM_R 1
49
50 /* Define to 1 if you have the `getpwuid_r' function. */
51 #define HAVE_GETPWUID_R 1
52
53 /* Define to 1 if you have the `getspnam' function. */
54 #define HAVE_GETSPNAM 1
55
56 /* Define to 1 if you have the `gettext' function. */
57 #define HAVE_GETTEXT 1
58
59 /* Define to 1 if you have the `getutxline' function. */
60 #define HAVE_GETUTXLINE 1
61
62 /* whether we have iconv for charset conversion */
63 #define HAVE_ICONV /**/
64
65 /* Define to 1 if you have the <inttypes.h> header file. */
66 #define HAVE_INTTYPES_H 1
67
68 /* Define to 1 if you have the `pthread' library (-lpthread). */
69 #define HAVE_LIBPTHREAD 1
70
71 /* Define to 1 if you have the `rt' library (-lrt). */
72 #define HAVE_LIBRT 1
73
74 /* Define to 1 if you have the <limits.h> header file. */
75 #define HAVE_LIMITS_H 1
76
77 /* Define to 1 if you have the <malloc.h> header file. */
78 #define HAVE_MALLOC_H 1
79
80 /* Define to 1 if you have the <memory.h> header file. */
81 #define HAVE_MEMORY_H 1
82
83 /* Define to 1 if you have the `mkdir' function. */
84 #define HAVE_MKDIR 1
85
86 /* Define to 1 if you have the `mkfifo' function. */
87 #define HAVE_MKFIFO 1
88
89 /* Define to 1 if you have the `mktime' function. */
90 #define HAVE_MKTIME 1
91
92 /* Define to 1 if you have the <netinet/in.h> header file. */
93 #define HAVE_NETINET_IN_H 1
94
95 /* Define to 1 if you have the <paths.h> header file. */
96 #define HAVE_PATHS_H 1
97
98 /* define this if you have the pthread_cancel() function */
99 #define HAVE_PTHREAD_CANCEL /**/
100
101 /* Define to 1 if you have the <pthread.h> header file. */
102 #define HAVE_PTHREAD_H 1
103
104 /* define this if you have the resolv.h header file. */
105 #define HAVE_RESOLV_H /**/
106
107 /* Define to 1 if you have the `rmdir' function. */
108 #define HAVE_RMDIR 1
109
110 /* Define to 1 if you have the `select' function. */
111 #define HAVE_SELECT 1
112
113 /* Define to 1 if you have the `socket' function. */
114 #define HAVE_SOCKET 1
115
116 /* Define to 1 if you have the <stdint.h> header file. */
117 #define HAVE_STDINT_H 1
118
119 /* Define to 1 if you have the <stdlib.h> header file. */
120 #define HAVE_STDLIB_H 1
121
122 /* Define to 1 if you have the `strcasecmp' function. */
123 #define HAVE_STRCASECMP 1
124
125 /* Define to 1 if you have the `strerror' function. */
126 #define HAVE_STRERROR 1
127
128 /* Define to 1 if you have the `strftime_l' function. */
129 #define HAVE_STRFTIME_L 1
130
131 /* Define to 1 if you have the <strings.h> header file. */
132 #define HAVE_STRINGS_H 1
133
134 /* Define to 1 if you have the <string.h> header file. */
135 #define HAVE_STRING_H 1
136
137 /* Define to 1 if you have the `strncasecmp' function. */
138 #define HAVE_STRNCASECMP 1
139
140 /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
141 #define HAVE_STRUCT_TM_TM_GMTOFF 1
142
143 /* Define if struct ucred is present from sys/socket.h */
144 #define HAVE_STRUCT_UCRED 1
145
146 /* Define to 1 if you have the <syscall.h> header file. */
147 #define HAVE_SYSCALL_H 1
148
149 /* Define to 1 if you have the <syslog.h> header file. */
150 #define HAVE_SYSLOG_H 1
151
152 /* Define to 1 if you have the <sys/ioctl.h> header file. */
153 #define HAVE_SYS_IOCTL_H 1
154
155 /* Define to 1 if you have the <sys/prctl.h> header file. */
156 #define HAVE_SYS_PRCTL_H 1
157
158 /* Define to 1 if you have the <sys/select.h> header file. */
159 #define HAVE_SYS_SELECT_H 1
160
161 /* Define to 1 if you have the <sys/stat.h> header file. */
162 #define HAVE_SYS_STAT_H 1
163
164 /* Define to 1 if you have the <sys/syscall.h> header file. */
165 #define HAVE_SYS_SYSCALL_H 1
166
167 /* Define to 1 if you have the <sys/time.h> header file. */
168 #define HAVE_SYS_TIME_H 1
169
170 /* Define to 1 if you have the <sys/types.h> header file. */
171 #define HAVE_SYS_TYPES_H 1
172
173 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
174 #define HAVE_SYS_WAIT_H 1
175
176 /* Define to 1 if you have the <termios.h> header file. */
177 #define HAVE_TERMIOS_H 1
178
179 /* Define to 1 if you have the <unistd.h> header file. */
180 #define HAVE_UNISTD_H 1
181
182 /* Define to 1 if you have the `uselocale' function. */
183 #define HAVE_USELOCALE 1
184
185 /* Define to 1 if you have the <utmpx.h> header file. */
186 #define HAVE_UTMPX_H 1
187
188 /* Define to 1 if you have the <utmp.h> header file. */
189 #define HAVE_UTMP_H 1
190
191 /* define this if struct utmp has an ut_host member */
192 #define HAVE_UT_HOST /**/
193
194 /* define this if struct utmp has an ut_type member */
195 #define HAVE_UT_TYPE /**/
196
197 /* Define to 1 if you have the `vprintf' function. */
198 #define HAVE_VPRINTF 1
199
200 /* where to find our pot files */
201 #define LOCALEDIR "/root/citadel/citadel"
202
203 /* Define as the return type of signal handlers (`int' or `void'). */
204 #define RETSIGTYPE void
205
206 /* The size of `char', as computed by sizeof. */
207 #define SIZEOF_CHAR 1
208
209 /* The size of `int', as computed by sizeof. */
210 #define SIZEOF_INT 4
211
212 /* The size of `loff_t', as computed by sizeof. */
213 #define SIZEOF_LOFF_T 8
214
215 /* The size of `long', as computed by sizeof. */
216 #define SIZEOF_LONG 8
217
218 /* The size of `short', as computed by sizeof. */
219 #define SIZEOF_SHORT 2
220
221 /* The size of `size_t', as computed by sizeof. */
222 #define SIZEOF_SIZE_T 8
223
224 /* were should we put our keys? */
225 #define SSL_DIR "/root/citadel/citadel/keys"
226
227 /* Define to 1 if you have the ANSI C header files. */
228 #define STDC_HEADERS 1
229
230 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
231 #define TIME_WITH_SYS_TIME 1
232
233 /* Enable GNU extensions on systems that have them.  */
234 #ifndef _GNU_SOURCE
235 # define _GNU_SOURCE 1
236 #endif