/* config.h.  Generated from config.h.in by configure.  */
/* config.h.in.  Used with configure.in by autoheader.  */
/*
 * Copyright (c) 2011 QUALCOMM Incorporated.  All rights reserved.
 * QPOPPER.
 *
 * Revisions:
 *  03/04/09 [rg]
 *  04/18/08 [rg]
 *  12/04/07 [rg]
 *  08/08/06 [rg]
 *  04/12/05 [rg]
 *  07/23/04 [rg]
 *  02/06/03 [rg]
 *  11/16/01 [secabeen]
 *  01/25/01 [rg]
 *  11/13/00 [rg]
 *  10/27/00 [rg]
 *  10/18/00 [rg]
 *  10/12/00 [rg]
 *  10/02/00 [rg]
 *  09/28/00 [rg]
 *  09/08/00 [rg]
 *  09/01/00 [rg]
 *  08/23/00 [rg]
 *  08/16/00 [rg]
 *  07/14/00 [rg]
 *  07/05/00 [rg]
 *  06/20/00 [rg]
 *  06/16/00 [rg]
 *  06/07/00 [rg]
 *  06/05/00 [rg]
 *  05/16/00 [rg]
 *  03/09/00 [rg]
 *  03/08/00 [rg]
 *  03/03/00 [rg]
 *  02/16/00 [rg]
 *  01/27/00 [rg]
 *  01/20/00 [rg]
 *  01/18/00 [rg]
 *  01/15/00 [rg]
 *  01/07/00 [rg]
 *  12/29/99 [rg]
 *  12/21/99 [rg]
 *  12/02/99 [rg]
 *  11/24/99 [rg]
 *  05/21/99 [rg]
 *  05/05/99 [rg]
 *  04/04/98 [py]
 *
 */


/********************************************
 *    system environment items
 ********************************************/

/* Define to empty if the keyword does not work.  */
/* #undef const */

/* Define to `int' if <sys/types.h> doesn't define.  */
/* #undef gid_t */

/* Define if your system provides the /dev/urandom device */
#define HAVE_DEV_URANDOM 1

/* Define if you don't have vprintf but do have _doprnt.  */
/* #undef HAVE_DOPRNT */

/* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
#define HAVE_SYS_WAIT_H 1

/* Define if utime(file, NULL) sets file's timestamp to the present.  */
#define HAVE_UTIME_NULL 1

/* Define if you have the vprintf function.  */
#define HAVE_VPRINTF 1

/* Define if you have the wait3 system call.  */
#define HAVE_WAIT3 1

/* Define to `int' if <sys/types.h> doesn't define.  */
/* On NeXTStep, mode_t is defined to be u_short in sys/types.h,  
 * but only if _POSIX_SOURCE is defined.  Probably should just
 * add -D_POSIX_SOURCE to CFLAGS early in configure script. */
#ifndef NEXT
/* #undef mode_t */
#endif /* not NEXT */

/* Define to `long' if <sys/types.h> doesn't define.  */
/* #undef off_t */

/* Define if you need to in order for stat and other things to work.  */
/* #undef _POSIX_SOURCE */

/* Define as the return type of signal handlers (int or void).  */
#define RETSIGTYPE void

/* Define to `unsigned' if <sys/types.h> doesn't define.  */
/* #undef size_t */

/* Define if you have the ANSI C header files.  */
#define STDC_HEADERS 1

/* Define if `sys_siglist' is declared by <signal.h>.  */
/* #undef SYS_SIGLIST_DECLARED */

/* Define if you can safely include both <sys/time.h> and <time.h>.  */
#define TIME_WITH_SYS_TIME 1

/* Define if your <sys/time.h> declares struct tm.  */
/* #undef TM_IN_SYS_TIME */

/* Define to `int' if <sys/types.h> doesn't define.  */
/* #undef uid_t */

/* The number of bytes in a unsigned long int.  */
#define SIZEOF_UNSIGNED_LONG_INT 8

/* Define if you have the bcopy function.  */
#define HAVE_BCOPY 1

/* Define if you have the bigcrypt function.  */
/* #undef HAVE_BIGCRYPT */

/* Define if you have the crypt function.  */
#define HAVE_CRYPT 1
 
/* Define if you have the crypt16 function.  */
/* #undef HAVE_CRYPT16 */

/* Define if you have the flock function.  */
#define HAVE_FLOCK 1

/* Define if you have the gethostname function.  */
#define HAVE_GETHOSTNAME 1

/* Define if you have the gettimeofday function.  */
#define HAVE_GETTIMEOFDAY 1

/* Define if you have the getusershell function.  */
#define HAVE_GETUSERSHELL 1

/* Define if you have the hstrerror function.  */
#define HAVE_HSTRERROR 1

/* Define if you have the index function.  */
#define HAVE_INDEX 1

/* Define if you have the mkdir function.  */
#define HAVE_MKDIR 1

/* Define if you have the pw_encrypt function.  */
/* #undef HAVE_PW_ENCRYPT */

/* Define if you have the set_auth_parameters function.  */
/* #undef HAVE_SET_AUTH_PARAMETERS */

/* Define if you have the setproctitle function.  */
#define HAVE_SETPROCTITLE 1

/* Define if you have the snprintf function.  */
#define HAVE_SNPRINTF 1

/* Define if you have the socket function.  */
#define HAVE_SOCKET 1

/* Define if you have the srand function.  */
#define HAVE_SRAND 1

/* Define if you have the srandom function.  */
#define HAVE_SRANDOM 1

/* Define if you have the mkstemp function. */
#define HAVE_MKSTEMP 1

/* Define to '1' if you have the srandom declaration */
#define HAVE_DECL_SRANDOM 1

/* Define if you have the strdup function.  */
#define HAVE_STRDUP 1

/* Define if you have the strerror function.  */
#define HAVE_STRERROR 1

/* Define if you have the strstr function.  */
#define HAVE_STRSTR 1

/* Define if you have the strlcpy function.  */
#define HAVE_STRLCPY 1

/* Define if you have the strlcat function.  */
#define HAVE_STRLCAT 1

/* Define if you have the usleep function.  */
#define HAVE_USLEEP 1

/* Define if you have the vsnprintf function.  */
#define HAVE_VSNPRINTF 1

/* Define if you have the setresuid function.  */
/* #undef HAVE_SETRESUID */

/* Define if you have the getaddrinfo function.  */
#define HAVE_GETADDRINFO 1

/* Define if you have the iruserok_sa function.  */
#define HAVE_IRUSEROK_SA 1

/* Define if you have the <sys/socket.h> header file.  */
#define HAVE_SYS_SOCKET_H 1

/* Define if you have the socklen_t type */
#define HAVE_SOCKLEN_T 1

/* Define if you have the <dbm.h> header file.  */
/* #undef HAVE_DBM_H */

/* Define if you have the <dirent.h> header file.  */
#define HAVE_DIRENT_H 1

/* Define if you have the <fcntl.h> header file.  */
#define HAVE_FCNTL_H 1

/* Define if you have the <gdbm.h> header file.  */
/* #undef HAVE_GDBM_H */

/* Define if you have the <limits.h> header file.  */
#define HAVE_LIMITS_H 1

/* Define if you have the <sys/limits.h> header file.  */
#define HAVE_SYS_SYSLIMITS_H 1

/* Define if you have the <maillock.h> header file.  */
/* #undef HAVE_MAILLOCK_H */

/* Define if you have the <ndbm.h> header file.  */
#define HAVE_NDBM_H 1

/* Define if you have the <ndir.h> header file.  */
/* #undef HAVE_NDIR_H */

/* Define if you have the <netdb.h> header file.  */
#define HAVE_NETDB_H 1

/* Define if you have the <net/errno.h> header file.  */
/* #undef HAVE_NET_ERRNO_H */

/* Define if you have the <netinet/in.h> header file.  */
#define HAVE_NETINET_IN_H 1

/* Define if you have the <prot.h> header file.  */
/* #undef HAVE_PROT_H */

/* Define if you have the <security/pam_appl.h> header file.  */
#define HAVE_SECURITY_PAM_APPL_H 1

/* Define if you have the <pam/pam_appl.h> header file.  */
/* #undef HAVE_PAM_PAM_APPL_H */

/* Define if you have the <select.h> header file. */
/* #undef HAVE_SELECT_H */

/* Define if you have the <shadow.h> header file.  */
/* #undef HAVE_SHADOW_H */

/* Define if you have the <strings.h> header file.  */
#define HAVE_STRINGS_H 1

/* Define if you have the <sys/dir.h> header file.  */
/* #undef HAVE_SYS_DIR_H */

/* Define if you have the <sys/fcntl.h> header file.  */
#define HAVE_SYS_FCNTL_H 1

/* Define if you have the <sys/file.h> header file.  */
#define HAVE_SYS_FILE_H 1

/* Define if you have the <sys/ndir.h> header file.  */
/* #undef HAVE_SYS_NDIR_H */

/* Define if you have the <sys/netinet/in.h> header file.  */
/* #undef HAVE_SYS_NETINET_IN_H */

/* Define if you have the <sys/param.h> header file.  */
#define HAVE_SYS_PARAM_H 1

/* Define if you have the <sys/security.h> header file.  */
/* #undef HAVE_SYS_SECURITY_H */

/* Define if you have the <sys/select.h> header file. */
#define HAVE_SYS_SELECT_H 1

/* Define if you have the <sys/stat.h> header file.  */
#define HAVE_SYS_STAT_H 1

/* Define if you have the <sys/syslog.h> header file.  */
#define HAVE_SYS_SYSLOG_H 1

/* Define if you have the <sys/time.h> header file.  */
#define HAVE_SYS_TIME_H 1

/* Define if you have the <sys/types.h> header file.  */
#define HAVE_SYS_TYPES_H 1

/* Define if you have the <syslog.h> header file.  */
#define HAVE_SYSLOG_H 1

/* Define if you have the <sys/unistd.h> header file.  */
#define HAVE_SYS_UNISTD_H 1

/* Define if you have the <time.h> header file. */
#define HAVE_TIME_H 1

/* Define if you have the <unistd.h> header file.  */
#define HAVE_UNISTD_H 1

/* Define if you have the <crypt.h> header file.  */
/* #undef HAVE_CRYPT_H */

/* Define if you have the cposix library (-lcposix).  */
/* #undef HAVE_LIBCPOSIX */

/* Define if you have the drac library (-ldrac).  */
/* #undef HAVE_LIBDRAC */

/* Define if you have the gen library (-lgen).  */
/* #undef HAVE_LIBGEN */

/* Define if the compiler supports __attribute__ (format) */
#define SUPPORT_ATTRIBUTE_FORMAT 1


/********************************************
 *    items selected by --enable and --with
 ********************************************/

/* Define if you want to have DEBUG code compiled in */
/* #undef DEBUG */

/* Define for low-level, heavy-duty debugging only */
/* #undef _DEBUG */

/* Define (to apop database file name) to enable APOP */
#define APOP "/usr/pkg/etc/apop.auth"
/* Define to enable SCRAM */
/* #undef SCRAM */

/* Define the POPUID as pop user ID which acts as admin for POPUSERS */
#define POPUID "pop"

/* Define if you want successful authentications to be logged */
/* #undef LOG_LOGIN */

/* 
 * Define if you want to automatically delete RETRd messages.
 * Caution: This could cause lost mail.  Be sure users are
 * informed before enabling.  Must also define NOUPDATEONABORT.
 *
*/
/* #undef AUTO_DELETE */

/* 
 * Define if you don't want qpopper to display its version in the banner
 * or CAPA INPLEMENTATION response.  Many people feel this makes qpopper
 * more secure, since it avoids advertising if you are running a version
 * which has a known vulnerability.  Others feel it is counter-productive,
 * since it also avoids advertising if you are running a known-fixed
 * version, and may lead attackers to simply try exploits they otherwise
 * would avoid. 
 */
/* #undef SHY */

/*
 * Default qpopper behavior is to enter UPDATE state even if
 * session aborts (connection closes unexpectedly).  This is
 * actually contrary to RFC 1939 (section 6 et al), but proved
 * necessary under noisy line conditions, as otherwise users
 * found themselves often unable to delete messages.
 *
 * Define NOUPDATEONABORT if you want to prevent the default
 * behavior and revert to RFC 1939 rules.
 *
*/
#define NOUPDATEONABORT 1

/* Define if using GDBM instead of DBM */
/* #undef GDBM */

/* Define if using BSDI style DBM, with DBM_SUFFIX=".db" */
#define BSD44_DBM 1

/* Define MAIL_COMMAND Value to the path of MTA */
#define MAIL_COMMAND "/usr/sbin/sendmail"

/* Define MAILDIR to the spool directory */
#define POP_MAILDIR "/var/mail"

/* Define for the temporary mail drop directory */
#define POP_DROP_DIR POP_MAILDIR

/* Define for the temporary mail drop file name */
#define POP_DROP ".%s.pop"

/* Define for the cache directory */
#define POP_CACHE_DIR POP_DROP_DIR

/* Define for the cache file name */
#define POP_CACHE ".%s.cache"

/* Define for tempdrop names */
#define POP_TMPDROP "tmpXXXXXX"
#define POP_TMPXMIT "xmitXXXXXX"

/* Define if the system supports MAILLOCK functions */
/* #undef SYS_MAILLOCK */

/*
 * Define to enable bulletin support; value should be the 
 * path to the bulletin directory.
 */
/* #undef BULLDIR */

/* Define to enable use of a bulletin database */
/* #undef BULLDB */

/* Define to specify maximum bulletins for new users */
/* #undef NEWBULLCNT */

/* 
 * Define to specify directory for popbull files; leave
 * undefined to use home directory.  popbull files are
 * named ".popbull" when in user's home directory, and
 * "<user>.popbull" elsewhere.
 */
/* #undef POPBULLDIR */

/* 
 * Define to run in SERVER_MODE. Take a look at
 * <http://www.eudora.com/qpopper/qpop_faq.html>
 * to know more about SERVER_MODE. Also see the
 * INSTALL file.
 */
/* #undef SERVER_MODE */

/*
 * Define this macro if your system supports special authorization
 * mechanisms like shadow passwords or special crypt programs.
 */
/* #undef SPEC_POP_AUTH */

/*
 * Define and set to 1 or 2 to use hashed spool directories.  Value
 * 1 hashes the first 4 characters; value 2 uses /<1st letter>/
 * <2nd letter>.  For example, if the spool directory is "/var/mail", 
 * the spool file for user "maida" would be:
 *     /var/mail/maida          HASH_SPOOL not set
 *     /var/mail/o/maida        HASH_SPOOL=1
 *     /var/mail/m/a/maida      HASH_SPOOL=2
 */
/* #undef HASH_SPOOL */

/* 
 * Define if spool files should be in user's home directories.  Value
 * of macro is name of spool file, usually:
 *     ".mail"              general default
 *     "Mailbox"            for qmail
 */
/* #undef HOMEDIRMAIL */

/*
 * Define if .pop and .cache files should also be in user home directories
 */
/* #undef HOMEDIRMISC */

/* 
 * Define if you want to use PAM (Pluggable Authentication
 * Modules), libpam, for user authentication.  This is
 * available on Linux and Solaris, and perhaps others.  The
 * value of the macro is the service name to use (default
 * "pop3").
 */
/* #undef USE_PAM */

/*
 * Specify the desired log facility.  Default is LOG_LOCAL1
 * or LOG_MAIL, depending on the OS.
 */
#define POP_FACILITY LOG_LOCAL1

/*
 * Define if you want to check for and hide the UW "Folder
 * Internal Data" messages.  
 */
/* #undef CHECK_UW_KLUDGE */

/* 
 * Define if you want to use group names as the second token
 * in bulletin file names
 */
/* #undef USE_BULL_GROUPS */

/*
 * Define if you want to log elapsed time for various operations
 */
/* #undef DO_TIMING */

/*
 * Define if you want to call dracauth following a successful
 * authentication.
 */
/* #undef DRAC_AUTH */

/*
 * Define if you want to prevent Qpopper from writing 'Status' and
 * 'X-UIDL' headers to the spool.  This means UIDs must be recalculated
 * in each session for each message kept on the server.
 */
/* #undef NO_STATUS */

/*
 * Define if you want to encode UIDLs in old (pre-3.x) style instead
 * of new, compact style.  This is only useful if you use NO_STATUS
 * and have existing users with pre-3.x mail spools.
 */
/* #undef OLD_STYLE_UIDL */

/*
 * Define if you want to keep the temporary drop files.  Otherwise they
 * are deleted.
 */
/* #undef KEEP_TEMP_DROP */

/*
 * Define if you want to grant POP access to users who have not changed
 * their password within the required time.
 */
/* #undef DONT_CHECK_SP_MAX */

/*
 * Define if you also set either HASH_SPOOL or HOMEDIRMAIL and don't want
 * to check for old .user.pop files in the spool directory.
 */
/* #undef DONT_CHECK_OLD_SPOOL */

/*
 * Define if the hash spool directories already exist.  Qpopper will
 * not check for or create the directories when this is defined.
 */
/* #undef DONT_CHECK_HASH_SPOOL_DIR */

/*
 * If you want to enable server mode by default for users in a
 * a specified group, define this to be the name of the group.
 */
/* #undef SERVER_MODE_GROUP_INCL */

/*
 * If you want to disable server mode by default for users in a
 * a specified group, define this to be the name of the group.
 */
/* #undef SERVER_MODE_GROUP_EXCL */

/*
 * define if you use secure NIS+ 
 */
/* #undef SECURENISPLUS */

/*
 * Define if you want to use Kerberos libraries.  You must also
 * then define either KRB4 or KRB5.
 */
/* #undef KERBEROS */

/*
 * Define to link with Kerberos IV libraries.
 * Not recommended due to security issues.
 */
/* #undef KRB4 */

/*
 * Define to link with Kerberos V libraries.
 */
/* #undef KRB5 */

/*
 * Define to permit backwards compatibility with Kerberos IV servers
 * when linking with Kerberos V libraries.
 */
/* #undef KRB5_KRB4_COMPAT */

/*
 * Define to permit use of any Kerberos principal in client request.
 */
/* #undef ACCEPT_ANY_PRINCIPAL */

/*
 * Define to use KUSEROK function to vett user request.
 */
/* #undef KUSEROK */

/*
 * Define to use getsockinst for the Kerberos instance.
 */
/* #undef K_GETSOCKINST */

/*
 * Define if you want compile in IPv6 support.
 */
#define INET6 1

/*
 * Define to run Qpopper as a stand-alone daemon instead of through inetd.
 */
/* #undef STANDALONE */

/*
 * To permit access only to users listed in a file, define to be the path
 * to the file.  List users one per line.
 */
/* #undef AUTHFILE */

/*
 * To deny access to users listed in a file, define to be the path to the
 * file.  List users one per line.
 */
/* #undef NONAUTHFILE */

/*
 * Define this macro to reduce I/O during update at end of session in server
 * mode.  Note that use of this option may cause utilities which access the
 * spool (such as biff or the shell's mail check) to not function properly.
 * This option should only be used when all spool access is through POP
 * (other than the local delivery agent).
 */
/* #undef FAST_UPDATE */

/* Define if any of the following SSL libraries have been selected */
#define QPOP_SSL 1

/*
 * Define to compile with SSL Plus libraries from Certicom.  The value
 * should be the path to the top-level directory for the SSL Plus files.
 * Inside this directory should exist the include/ and lib/ directories.
 */
/* #undef QPOP_SSLPLUS */

/*
 * Define to compile with OpenSSL.  The value should be the path to the
 * top-level directory for OpenSSL.  Inside this directory should exist
 * the include/ and lib/ directories.
 */
#define QPOP_OPENSSL "/usr"

/*
 * Define to alter the default behavior of pooling network writes:
 * 0=default (pool all writes); 1=tls (pool only under tls); 2=never
 */
#define CHUNKY_WRITES 0


/*
 * Define to use tempnam() instead of mkstemp()
 */
/* #undef USE_TEMPNAM */

/*
 * Define if we're using the Cyrus-SASL library for authentication
 */
/* #undef CYRUS_SASL */

/*
 * Define if you're using the krb5_kuserok() function call to authenticate
 * SASL users that are using the GSSAPI mechanism.  Say, for example, if
 * people are using cross-realm authentication with GSSAPI.
 */
/* #undef GSSAPI_KUSEROK */

#include "conf.h"  /* some macros */
