1 /* config.h.in. Generated automatically from configure.in by autoheader. */
3 /****** BEGIN USER CONFIGURATION SECTION *****/
6 * IMPORTANT: UNCOMMENT THE DEFINES FOR YOUR OPERATING SYSTEM
8 * These are slowly being phased out, but currently
9 * not everyone is auto-configured. Then decide if you
10 * wish to change the features that are compiled into nmh.
32 /* #define LINUX_STDIO 1 */
48 * I believe the second `define' is only necessary
49 * for SCO 5.x, not SCO 4.x
52 /* #define SCO_5_STDIO 1 */
55 * Define to 1 if you need to make `inc' set-group-id
56 * because your mail spool is not world writable. This
57 * will add some extra security checks, although I can't
58 * guarantee it is safe. Also, you will need to change the
59 * group and add the setgid bit to `inc' manually after
62 /* #define MAILGROUP 1 */
65 * Turn on locale (setlocale) support
70 * Define to 1 the type of file locking to use. You need to
71 * make sure the type of locking you use is compatible with
72 * other programs which may modify your maildrops.
73 * Currently you can only use one type.
76 /* #define FCNTL_LOCKING 1 */
77 /* #define LOCKF_LOCKING 1 */
78 /* #define FLOCK_LOCKING 1 */
81 * If you have defined DOT_LOCKING, then the default is to
82 * place the lock files in the same directory as the file that
83 * is to be locked. Alternately, if you define LOCKDIR, you
84 * can specify that all lock files go in a specific directory.
85 * Don't define this unless you know you need it.
87 /* #define LOCKDIR "/usr/spool/locks" */
90 * Define this if your passwords are stored in some type of
91 * distributed name service, such as NIS, or NIS+.
96 * Directs nmh not to try and rewrite addresses
97 * to their official form. You probably don't
98 * want to change this without good reason.
103 * Define this if you do not want nmh to attach the local hostname
104 * to local addresses. You must also define DUMB. You probably
105 * dont' need this unless you are behind a firewall.
107 /* #define REALLYDUMB 1 */
110 * Directs inc/slocal to extract the envelope sender from "From "
111 * line. If inc/slocal is saving message to folder, then this
112 * sender information is then used to create a Return-Path
113 * header which is then added to the message.
118 * If defined, slocal will use `mbox' format when saving to
119 * your standard mail spool. If not defined, it will use
122 #define SLOCAL_MBOX 1
125 * If this is defined, nmh will recognize the ~ construct.
130 * Compile simple ftp client into mhn. This will be used by mhn
131 * for ftp access unless you have specified another access method
132 * in your .mh_profile or mhn.defaults. Use the "mhn-access-ftp"
133 * profile entry to override this. Check mhn(1) man page for
136 #define BUILTIN_FTP 1
139 * If you enable POP support, this is the the port name
140 * that nmh will use. Make sure this is defined in your
141 * /etc/services file (or its NIS/NIS+ equivalent). If you
142 * are using KPOP, you will probably need to change this
145 #define POPSERVICE "pop3"
148 * Define the default creation modes for folders and messages.
150 #define DEFAULT_FOLDER_MODE "0700"
151 #define DEFAULT_MESSAGE_MODE "0600"
154 * The prefix which is prepended to the name of messages when they
155 * are "removed" by rmm. This should typically be `,' or `#'
157 #define BACKUP_PREFIX ","
160 * Name of link to file to which you are replying.
165 * If wait/waitpid returns an int (no union wait).
169 /***** END USER CONFIGURATION SECTION *****/
171 /* Define to empty if the keyword does not work. */
174 /* Define to `int' if <sys/types.h> doesn't define. */
177 /* Define if your struct stat has st_blksize. */
178 #undef HAVE_ST_BLKSIZE
180 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
181 #undef HAVE_SYS_WAIT_H
183 /* Define if you have <vfork.h>. */
186 /* Define to `int' if <sys/types.h> doesn't define. */
189 /* Define to `long' if <sys/types.h> doesn't define. */
192 /* Define to `int' if <sys/types.h> doesn't define. */
195 /* Define as the return type of signal handlers (int or void). */
198 /* Define to `unsigned' if <sys/types.h> doesn't define. */
201 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
202 #undef STAT_MACROS_BROKEN
204 /* Define if you have the ANSI C header files. */
207 /* Define if you can safely include both <sys/time.h> and <time.h>. */
208 #undef TIME_WITH_SYS_TIME
210 /* Define to `int' if <sys/types.h> doesn't define. */
213 /* Define vfork as fork if vfork does not work. */
217 * Define this if you want SMTP (simple mail transport protocol)
218 * support. When sending mail, instead of passing the message to
219 * the mail transport agent (typically sendmail), nmh will open a
220 * socket connection to the mail port on the machine specified in
221 * the `mts.conf' file (default is localhost), and speak SMTP directly.
226 * Use sendmail as transport agent. Post messages by piping
227 * them directly to sendmail.
232 * Define this to compile client-side support for pop into
233 * inc and msgchk. Do not change this value manually. You
234 * must run configure with the '--enable-nmh-pop' option
235 * to correctly build the pop client support.
240 * Define this to compile client-side support for kpop
241 * (kerberized pop) into inc and msgchk. Do not change this
242 * value manually. You must run configure with the option
243 * '--with-krb4=PREFIX' to correctly build the kpop client support.
248 * Define this to "pop" when using Kerberos V4
250 #undef KPOP_PRINCIPAL
253 * Define this to compile support for using Hesiod to locate
254 * pop servers into inc and msgchk. Do not change this value
255 * manually. You must run configure with the option
256 * '--with-hesiod=PREFIX' to correctly build Hesiod support.
261 * Compile in support for the Emacs front-end mh-e.
265 /* Define to 1 if your termcap library has the ospeed variable */
267 /* Define to 1 if you have ospeed, but it is not defined in termcap.h */
268 #undef MUST_DEFINE_OSPEED
270 /* Define to 1 if you have reliable signals */
271 #undef RELIABLE_SIGNALS
273 /* Define to 1 if you use POSIX style signal handling */
277 /* Define to 1 if you use BSD style signal handling (and can block signals) */
281 /* Define to 1 if you use SYS style signal handling (and can block signals) */
285 /* Define to 1 if you have no signal blocking at all (bummer) */
286 #undef NO_SIGNAL_BLOCKING
288 /* Define to `unsigned int' if <sys/types.h> or <signal.h> doesn't define */
292 * Define to 1 if your vi has ATT bug, such that it returns
293 * non-zero exit codes on `pseudo-errors'.
297 /* Define ruserpass as _ruserpass if your libraries have a bug *
298 * such that it can't find ruserpass, but can find _ruserpass. */
301 /* Define if your system defines TIOCGWINSZ in sys/ioctl.h. */
302 #undef GWINSZ_IN_SYS_IOCTL
304 /* Define if your system defines `struct winsize' in sys/ptem.h. */
305 #undef WINSIZE_IN_PTEM
307 /* Define to 1 if struct tm has gmtoff */
308 #undef HAVE_TM_GMTOFF
310 /* Define if you have the killpg function. */
313 /* Define if you have the lstat function. */
316 /* Define if you have the sigaction function. */
317 #undef HAVE_SIGACTION
319 /* Define if you have the sigblock function. */
322 /* Define if you have the sighold function. */
325 /* Define if you have the sigprocmask function. */
326 #undef HAVE_SIGPROCMASK
328 /* Define if you have the sigrelse function. */
331 /* Define if you have the sigsetjmp function. */
332 #undef HAVE_SIGSETJMP
334 /* Define if you have the sigsetmask function. */
335 #undef HAVE_SIGSETMASK
337 /* Define if you have the snprintf function. */
340 /* Define if you have the strdup function. */
343 /* Define if you have the strerror function. */
346 /* Define if you have the tzset function. */
349 /* Define if you have the uname function. */
352 /* Define if you have the wait3 function. */
355 /* Define if you have the waitpid function. */
358 /* Define if you have the writev function. */
361 /* Define if you have the <arpa/ftp.h> header file. */
362 #undef HAVE_ARPA_FTP_H
364 /* Define if you have the <arpa/inet.h> header file. */
365 #undef HAVE_ARPA_INET_H
367 /* Define if you have the <crypt.h> header file. */
370 /* Define if you have the <dirent.h> header file. */
373 /* Define if you have the <errno.h> header file. */
376 /* Define if you have the <fcntl.h> header file. */
379 /* Define if you have the <limits.h> header file. */
382 /* Define if you have the <locale.h> header file. */
385 /* Define if you have the <memory.h> header file. */
388 /* Define if you have the <ndir.h> header file. */
391 /* Define if you have the <stdlib.h> header file. */
394 /* Define if you have the <string.h> header file. */
397 /* Define if you have the <sys/dir.h> header file. */
398 #undef HAVE_SYS_DIR_H
400 /* Define if you have the <sys/ndir.h> header file. */
401 #undef HAVE_SYS_NDIR_H
403 /* Define if you have the <sys/param.h> header file. */
404 #undef HAVE_SYS_PARAM_H
406 /* Define if you have the <sys/time.h> header file. */
407 #undef HAVE_SYS_TIME_H
409 /* Define if you have the <sys/utsname.h> header file. */
410 #undef HAVE_SYS_UTSNAME_H
412 /* Define if you have the <termcap.h> header file. */
413 #undef HAVE_TERMCAP_H
415 /* Define if you have the <termio.h> header file. */
418 /* Define if you have the <termios.h> header file. */
419 #undef HAVE_TERMIOS_H
421 /* Define if you have the <unistd.h> header file. */
424 /* Define if you have the ndbm library (-lndbm). */
427 /* Define if you have the nsl library (-lnsl). */
430 /* Define if you have the resolv library (-lresolv). */
431 #undef HAVE_LIBRESOLV
433 /* Define if you have the socket library (-lsocket). */
434 #undef HAVE_LIBSOCKET