use mkstemp on systems that have it
[mmh] / acconfig.h
1
2 /****** BEGIN USER CONFIGURATION SECTION *****/
3
4 /*
5  * IMPORTANT: You should no longer need to edit this file to handle
6  * your operating system. That should be handled and set correctly by
7  * configure now.
8  *
9  * These are slowly being phased out, but currently
10  * not everyone is auto-configured.  Then decide if you
11  * wish to change the features that are compiled into nmh.
12  */
13
14 /*
15  * Define to 1 if you need to make `inc' set-group-id
16  * because your mail spool is not world writable.  This
17  * will add some extra security checks, although I can't
18  * guarantee it is safe.  Also, you will need to change the
19  * group and add the setgid bit to `inc' manually after
20  * installation.
21  */
22 /* #define MAILGROUP  1 */
23
24 /*
25  * Turn on locale (setlocale) support
26  */
27 #define LOCALE  1
28
29 /*
30  * Define to 1 the type of file locking to use.  You need to
31  * make sure the type of locking you use is compatible with
32  * other programs which may modify your maildrops.
33  * Currently you can only use one type.
34  */
35 #define DOT_LOCKING   1
36 /* #define FCNTL_LOCKING 1 */
37 /* #define LOCKF_LOCKING 1 */
38 /* #define FLOCK_LOCKING 1 */
39
40 /*
41  * If you have defined DOT_LOCKING, then the default is to
42  * place the lock files in the same directory as the file that
43  * is to be locked.  Alternately, if you define LOCKDIR, you
44  * can specify that all lock files go in a specific directory.
45  * Don't define this unless you know you need it.
46  */
47 /* #define LOCKDIR "/usr/spool/locks" */
48
49 /*
50  * Define this if your passwords are stored in some type of
51  * distributed name service, such as NIS, or NIS+.
52  */
53 #define DBMPWD  1
54
55 /*
56  * Directs nmh not to try and rewrite addresses
57  * to their official form.  You probably don't
58  * want to change this without good reason.
59  */
60 #define DUMB    1
61
62 /*
63  * Define this if you do not want nmh to attach the local hostname
64  * to local addresses.  You must also define DUMB.  You probably
65  * dont' need this unless you are behind a firewall.
66  */
67 /* #define REALLYDUMB  1 */
68
69 /*
70  * Directs inc/slocal to extract the envelope sender from "From "
71  * line.  If inc/slocal is saving message to folder, then this
72  * sender information is then used to create a Return-Path
73  * header which is then added to the message.
74  */
75 #define RPATHS  1
76
77 /*
78  * If defined, slocal will use `mbox' format when saving to
79  * your standard mail spool.  If not defined, it will use
80  * mmdf format.
81  */
82 #define SLOCAL_MBOX  1
83
84 /*
85  * If this is defined, nmh will recognize the ~ construct.
86  */
87 #define MHRC    1
88
89 /*
90  * Compile simple ftp client into mhn.  This will be used by mhn
91  * for ftp access unless you have specified another access method
92  * in your .mh_profile or mhn.defaults.  Use the "mhn-access-ftp"
93  * profile entry to override this.  Check mhn(1) man page for
94  * details.
95  */
96 #define BUILTIN_FTP 1
97
98 /*
99  * If you enable POP support, this is the the port name
100  * that nmh will use.  Make sure this is defined in your
101  * /etc/services file (or its NIS/NIS+ equivalent).  If you
102  * are using KPOP, you will probably need to change this
103  * to "kpop".
104  */
105 #define POPSERVICE "pop3"
106
107 /*
108  * Define the default creation modes for folders and messages.
109  */
110 #define DEFAULT_FOLDER_MODE "0700"
111 #define DEFAULT_MESSAGE_MODE "0600"
112
113 /*
114  * The prefix which is prepended to the name of messages when they
115  * are "removed" by rmm.  This should typically be `,' or `#'
116  */
117 #define BACKUP_PREFIX ","
118
119 /*
120  * Name of link to file to which you are replying.
121  */
122 #define LINK "@"
123
124 /*
125  * If wait/waitpid returns an int (no union wait).
126  */
127 #define WAITINT 1
128
129 /***** END USER CONFIGURATION SECTION *****/
130 @TOP@
131
132 /* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX, SCO5 */
133 #undef SYS5
134
135 /* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX */
136 #undef SVR4
137
138 /* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS -- does
139  * PicoBSD have uname? :) */
140 #undef BIND
141 #undef BSD42
142
143 /* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS */
144 #undef BSD44
145
146 /* Defined for SCO5 */
147 #undef SCO_5_STDIO
148
149 /* Defined for Linux */
150 #undef LINUX_STDIO
151
152
153 /*
154  * Define this if you want SMTP (simple mail transport protocol)
155  * support.  When sending mail, instead of passing the message to
156  * the mail transport agent (typically sendmail), nmh will open a
157  * socket connection to the mail port on the machine specified in
158  * the `mts.conf' file (default is localhost), and speak SMTP directly.
159  */
160 #undef SMTPMTS
161
162 /*
163  * Use sendmail as transport agent.  Post messages by piping
164  * them directly to sendmail.
165  */
166 #undef SENDMTS
167
168 /*
169  * Define this to compile client-side support for pop into
170  * inc and msgchk.  Do not change this value manually.  You
171  * must run configure with the '--enable-nmh-pop' option
172  * to correctly build the pop client support.
173  */
174 #undef POP
175
176 /*
177  * Define this to compile client-side support for kpop
178  * (kerberized pop) into inc and msgchk.  Do not change this
179  * value manually.  You must run configure with the option
180  * '--with-krb4=PREFIX' to correctly build the kpop client support.
181  */
182 #undef KPOP
183
184 /*
185  * Define this to "pop" when using Kerberos V4
186  */
187 #undef KPOP_PRINCIPAL
188
189 /*
190  * Define this to compile support for using Hesiod to locate
191  * pop servers into inc and msgchk.  Do not change this value
192  * manually.  You must run configure with the option
193  * '--with-hesiod=PREFIX' to correctly build Hesiod support.
194  */
195 #undef HESIOD
196
197 /*
198  * Compile in support for the Emacs front-end mh-e.
199  */
200 #undef MHE
201
202 /* Define to 1 if your termcap library has the ospeed variable */
203 #undef HAVE_OSPEED
204 /* Define to 1 if you have ospeed, but it is not defined in termcap.h */
205 #undef MUST_DEFINE_OSPEED
206
207 /* Define to 1 if tgetent() accepts NULL as a buffer */
208 #undef TGETENT_ACCEPTS_NULL
209
210 /* Define to 1 if you have reliable signals */
211 #undef RELIABLE_SIGNALS
212
213 /* Define to 1 if you use POSIX style signal handling */
214 #undef POSIX_SIGNALS
215  
216 /* Define to 1 if you use BSD style signal handling (and can block signals) */
217 #undef BSD_SIGNALS
218  
219 /* Define to 1 if you use SYS style signal handling (and can block signals) */
220 #undef SYSV_SIGNALS
221  
222 /* Define to 1 if you have no signal blocking at all (bummer) */
223 #undef NO_SIGNAL_BLOCKING
224
225 /* Define to `unsigned int' if <sys/types.h> or <signal.h> doesn't define */
226 #undef sigset_t
227
228 /*
229  * Define to 1 if your vi has ATT bug, such that it returns
230  * non-zero exit codes on `pseudo-errors'.
231  */
232 #undef ATTVIBUG
233
234 /* Define ruserpass as _ruserpass if your libraries have a bug *
235  * such that it can't find ruserpass, but can find _ruserpass. */
236 #undef ruserpass
237
238 /* Define if your system defines TIOCGWINSZ in sys/ioctl.h.  */
239 #undef GWINSZ_IN_SYS_IOCTL
240
241 /* Define if your system defines `struct winsize' in sys/ptem.h.  */
242 #undef WINSIZE_IN_PTEM
243
244 /* Define to 1 if struct tm has gmtoff */
245 #undef HAVE_TM_GMTOFF
246
247 /* Define if your system has sigsetjmp */
248 #undef HAVE_SIGSETJMP
249
250 /* Define if your system has mkstemp */
251 #undef HAVE_MKSTEMP