use mkstemp on systems that have it
[mmh] / config.h.in
1 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
2
3 /****** BEGIN USER CONFIGURATION SECTION *****/
4
5 /*
6  * IMPORTANT: You should no longer need to edit this file to handle
7  * your operating system. That should be handled and set correctly by
8  * configure now.
9  *
10  * These are slowly being phased out, but currently
11  * not everyone is auto-configured.  Then decide if you
12  * wish to change the features that are compiled into nmh.
13  */
14
15 /*
16  * Define to 1 if you need to make `inc' set-group-id
17  * because your mail spool is not world writable.  This
18  * will add some extra security checks, although I can't
19  * guarantee it is safe.  Also, you will need to change the
20  * group and add the setgid bit to `inc' manually after
21  * installation.
22  */
23 /* #define MAILGROUP  1 */
24
25 /*
26  * Turn on locale (setlocale) support
27  */
28 #define LOCALE  1
29
30 /*
31  * Define to 1 the type of file locking to use.  You need to
32  * make sure the type of locking you use is compatible with
33  * other programs which may modify your maildrops.
34  * Currently you can only use one type.
35  */
36 #define DOT_LOCKING   1
37 /* #define FCNTL_LOCKING 1 */
38 /* #define LOCKF_LOCKING 1 */
39 /* #define FLOCK_LOCKING 1 */
40
41 /*
42  * If you have defined DOT_LOCKING, then the default is to
43  * place the lock files in the same directory as the file that
44  * is to be locked.  Alternately, if you define LOCKDIR, you
45  * can specify that all lock files go in a specific directory.
46  * Don't define this unless you know you need it.
47  */
48 /* #define LOCKDIR "/usr/spool/locks" */
49
50 /*
51  * Define this if your passwords are stored in some type of
52  * distributed name service, such as NIS, or NIS+.
53  */
54 #define DBMPWD  1
55
56 /*
57  * Directs nmh not to try and rewrite addresses
58  * to their official form.  You probably don't
59  * want to change this without good reason.
60  */
61 #define DUMB    1
62
63 /*
64  * Define this if you do not want nmh to attach the local hostname
65  * to local addresses.  You must also define DUMB.  You probably
66  * dont' need this unless you are behind a firewall.
67  */
68 /* #define REALLYDUMB  1 */
69
70 /*
71  * Directs inc/slocal to extract the envelope sender from "From "
72  * line.  If inc/slocal is saving message to folder, then this
73  * sender information is then used to create a Return-Path
74  * header which is then added to the message.
75  */
76 #define RPATHS  1
77
78 /*
79  * If defined, slocal will use `mbox' format when saving to
80  * your standard mail spool.  If not defined, it will use
81  * mmdf format.
82  */
83 #define SLOCAL_MBOX  1
84
85 /*
86  * If this is defined, nmh will recognize the ~ construct.
87  */
88 #define MHRC    1
89
90 /*
91  * Compile simple ftp client into mhn.  This will be used by mhn
92  * for ftp access unless you have specified another access method
93  * in your .mh_profile or mhn.defaults.  Use the "mhn-access-ftp"
94  * profile entry to override this.  Check mhn(1) man page for
95  * details.
96  */
97 #define BUILTIN_FTP 1
98
99 /*
100  * If you enable POP support, this is the the port name
101  * that nmh will use.  Make sure this is defined in your
102  * /etc/services file (or its NIS/NIS+ equivalent).  If you
103  * are using KPOP, you will probably need to change this
104  * to "kpop".
105  */
106 #define POPSERVICE "pop3"
107
108 /*
109  * Define the default creation modes for folders and messages.
110  */
111 #define DEFAULT_FOLDER_MODE "0700"
112 #define DEFAULT_MESSAGE_MODE "0600"
113
114 /*
115  * The prefix which is prepended to the name of messages when they
116  * are "removed" by rmm.  This should typically be `,' or `#'
117  */
118 #define BACKUP_PREFIX ","
119
120 /*
121  * Name of link to file to which you are replying.
122  */
123 #define LINK "@"
124
125 /*
126  * If wait/waitpid returns an int (no union wait).
127  */
128 #define WAITINT 1
129
130 /***** END USER CONFIGURATION SECTION *****/
131
132 /* Define to empty if the keyword does not work.  */
133 #undef const
134
135 /* Define to `int' if <sys/types.h> doesn't define.  */
136 #undef gid_t
137
138 /* Define if your struct stat has st_blksize.  */
139 #undef HAVE_ST_BLKSIZE
140
141 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
142 #undef HAVE_SYS_WAIT_H
143
144 /* Define if you have <vfork.h>.  */
145 #undef HAVE_VFORK_H
146
147 /* Define to `int' if <sys/types.h> doesn't define.  */
148 #undef mode_t
149
150 /* Define to `long' if <sys/types.h> doesn't define.  */
151 #undef off_t
152
153 /* Define to `int' if <sys/types.h> doesn't define.  */
154 #undef pid_t
155
156 /* Define as the return type of signal handlers (int or void).  */
157 #undef RETSIGTYPE
158
159 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
160 #undef size_t
161
162 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
163 #undef STAT_MACROS_BROKEN
164
165 /* Define if you have the ANSI C header files.  */
166 #undef STDC_HEADERS
167
168 /* Define on System V Release 4.  */
169 #undef SVR4
170
171 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
172 #undef TIME_WITH_SYS_TIME
173
174 /* Define to `int' if <sys/types.h> doesn't define.  */
175 #undef uid_t
176
177 /* Define vfork as fork if vfork does not work.  */
178 #undef vfork
179
180 /* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX, SCO5 */
181 #undef SYS5
182
183 /* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX */
184 #undef SVR4
185
186 /* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS -- does
187  * PicoBSD have uname? :) */
188 #undef BIND
189 #undef BSD42
190
191 /* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS */
192 #undef BSD44
193
194 /* Defined for SCO5 */
195 #undef SCO_5_STDIO
196
197 /* Defined for Linux */
198 #undef LINUX_STDIO
199
200 /*
201  * Define this if you want SMTP (simple mail transport protocol)
202  * support.  When sending mail, instead of passing the message to
203  * the mail transport agent (typically sendmail), nmh will open a
204  * socket connection to the mail port on the machine specified in
205  * the `mts.conf' file (default is localhost), and speak SMTP directly.
206  */
207 #undef SMTPMTS
208
209 /*
210  * Use sendmail as transport agent.  Post messages by piping
211  * them directly to sendmail.
212  */
213 #undef SENDMTS
214
215 /*
216  * Define this to compile client-side support for pop into
217  * inc and msgchk.  Do not change this value manually.  You
218  * must run configure with the '--enable-nmh-pop' option
219  * to correctly build the pop client support.
220  */
221 #undef POP
222
223 /*
224  * Define this to compile client-side support for kpop
225  * (kerberized pop) into inc and msgchk.  Do not change this
226  * value manually.  You must run configure with the option
227  * '--with-krb4=PREFIX' to correctly build the kpop client support.
228  */
229 #undef KPOP
230
231 /*
232  * Define this to "pop" when using Kerberos V4
233  */
234 #undef KPOP_PRINCIPAL
235
236 /*
237  * Define this to compile support for using Hesiod to locate
238  * pop servers into inc and msgchk.  Do not change this value
239  * manually.  You must run configure with the option
240  * '--with-hesiod=PREFIX' to correctly build Hesiod support.
241  */
242 #undef HESIOD
243
244 /*
245  * Compile in support for the Emacs front-end mh-e.
246  */
247 #undef MHE
248
249 /* Define to 1 if your termcap library has the ospeed variable */
250 #undef HAVE_OSPEED
251 /* Define to 1 if you have ospeed, but it is not defined in termcap.h */
252 #undef MUST_DEFINE_OSPEED
253
254 /* Define to 1 if you have reliable signals */
255 #undef RELIABLE_SIGNALS
256
257 /* Define to 1 if you use POSIX style signal handling */
258 #undef POSIX_SIGNALS
259
260  
261 /* Define to 1 if you use BSD style signal handling (and can block signals) */
262 #undef BSD_SIGNALS
263
264  
265 /* Define to 1 if you use SYS style signal handling (and can block signals) */
266 #undef SYSV_SIGNALS
267
268  
269 /* Define to 1 if you have no signal blocking at all (bummer) */
270 #undef NO_SIGNAL_BLOCKING
271
272 /* Define to `unsigned int' if <sys/types.h> or <signal.h> doesn't define */
273 #undef sigset_t
274
275 /*
276  * Define to 1 if your vi has ATT bug, such that it returns
277  * non-zero exit codes on `pseudo-errors'.
278  */
279 #undef ATTVIBUG
280
281 /* Define ruserpass as _ruserpass if your libraries have a bug *
282  * such that it can't find ruserpass, but can find _ruserpass. */
283 #undef ruserpass
284
285 /* Define if your system defines TIOCGWINSZ in sys/ioctl.h.  */
286 #undef GWINSZ_IN_SYS_IOCTL
287
288 /* Define if your system defines `struct winsize' in sys/ptem.h.  */
289 #undef WINSIZE_IN_PTEM
290
291 /* Define to 1 if struct tm has gmtoff */
292 #undef HAVE_TM_GMTOFF
293
294 /* Define if your system has sigsetjmp */
295 #undef HAVE_SIGSETJMP
296
297 /* Define if you have the killpg function.  */
298 #undef HAVE_KILLPG
299
300 /* Define if you have the lstat function.  */
301 #undef HAVE_LSTAT
302
303 /* Define if you have the mkstemp function.  */
304 #undef HAVE_MKSTEMP
305
306 /* Define if you have the sigaction function.  */
307 #undef HAVE_SIGACTION
308
309 /* Define if you have the sigblock function.  */
310 #undef HAVE_SIGBLOCK
311
312 /* Define if you have the sighold function.  */
313 #undef HAVE_SIGHOLD
314
315 /* Define if you have the sigprocmask function.  */
316 #undef HAVE_SIGPROCMASK
317
318 /* Define if you have the sigrelse function.  */
319 #undef HAVE_SIGRELSE
320
321 /* Define if you have the sigsetmask function.  */
322 #undef HAVE_SIGSETMASK
323
324 /* Define if you have the snprintf function.  */
325 #undef HAVE_SNPRINTF
326
327 /* Define if you have the strdup function.  */
328 #undef HAVE_STRDUP
329
330 /* Define if you have the strerror function.  */
331 #undef HAVE_STRERROR
332
333 /* Define if you have the tzset function.  */
334 #undef HAVE_TZSET
335
336 /* Define if you have the uname function.  */
337 #undef HAVE_UNAME
338
339 /* Define if you have the wait3 function.  */
340 #undef HAVE_WAIT3
341
342 /* Define if you have the waitpid function.  */
343 #undef HAVE_WAITPID
344
345 /* Define if you have the writev function.  */
346 #undef HAVE_WRITEV
347
348 /* Define if you have the <arpa/ftp.h> header file.  */
349 #undef HAVE_ARPA_FTP_H
350
351 /* Define if you have the <arpa/inet.h> header file.  */
352 #undef HAVE_ARPA_INET_H
353
354 /* Define if you have the <crypt.h> header file.  */
355 #undef HAVE_CRYPT_H
356
357 /* Define if you have the <dirent.h> header file.  */
358 #undef HAVE_DIRENT_H
359
360 /* Define if you have the <errno.h> header file.  */
361 #undef HAVE_ERRNO_H
362
363 /* Define if you have the <fcntl.h> header file.  */
364 #undef HAVE_FCNTL_H
365
366 /* Define if you have the <limits.h> header file.  */
367 #undef HAVE_LIMITS_H
368
369 /* Define if you have the <locale.h> header file.  */
370 #undef HAVE_LOCALE_H
371
372 /* Define if you have the <memory.h> header file.  */
373 #undef HAVE_MEMORY_H
374
375 /* Define if you have the <ndir.h> header file.  */
376 #undef HAVE_NDIR_H
377
378 /* Define if you have the <stdlib.h> header file.  */
379 #undef HAVE_STDLIB_H
380
381 /* Define if you have the <string.h> header file.  */
382 #undef HAVE_STRING_H
383
384 /* Define if you have the <sys/dir.h> header file.  */
385 #undef HAVE_SYS_DIR_H
386
387 /* Define if you have the <sys/ndir.h> header file.  */
388 #undef HAVE_SYS_NDIR_H
389
390 /* Define if you have the <sys/param.h> header file.  */
391 #undef HAVE_SYS_PARAM_H
392
393 /* Define if you have the <sys/time.h> header file.  */
394 #undef HAVE_SYS_TIME_H
395
396 /* Define if you have the <sys/utsname.h> header file.  */
397 #undef HAVE_SYS_UTSNAME_H
398
399 /* Define if you have the <termcap.h> header file.  */
400 #undef HAVE_TERMCAP_H
401
402 /* Define if you have the <termio.h> header file.  */
403 #undef HAVE_TERMIO_H
404
405 /* Define if you have the <termios.h> header file.  */
406 #undef HAVE_TERMIOS_H
407
408 /* Define if you have the <unistd.h> header file.  */
409 #undef HAVE_UNISTD_H
410
411 /* Define if you have the m library (-lm).  */
412 #undef HAVE_LIBM
413
414 /* Define if you have the mkstemp library (-lmkstemp).  */
415 #undef HAVE_LIBMKSTEMP
416
417 /* Define if you have the ndbm library (-lndbm).  */
418 #undef HAVE_LIBNDBM
419
420 /* Define if you have the nsl library (-lnsl).  */
421 #undef HAVE_LIBNSL
422
423 /* Define if you have the resolv library (-lresolv).  */
424 #undef HAVE_LIBRESOLV
425
426 /* Define if you have the socket library (-lsocket).  */
427 #undef HAVE_LIBSOCKET