/* The code should compile with either ANSI C or K&R compilers. */

/*
 *      Copyright (c) 1995, 1996 by William Deich.
 *      Written by William Deich.  Not derived from licensed software.

 *    You may distribute under the terms of either the GNU General Public
 *    License or the Artistic License, as specified in the README file.
 */

/* ###################################################################### */
/* The following items should be carefully checked to make sure that */
/* they properly describe your system. */
/* ###################################################################### */

/* The  PATH variable for any command executed by super.  Set to a path that
 * contains only trusted files.
 */
#define SAFE_PATH @SAFE_PATH@

/* TIMESTAMP_DIR is the directory in which timestamp files are
 *	kept for commands that require passwords to be entered.
 */
#ifndef TIMESTAMP_DIR
#define TIMESTAMP_DIR "/usr/local/lib/super/timestamps"
#endif


/* Define if on AIX >= 3. */
#undef _ALL_SOURCE

/* Define if on Clix */
#undef __clix__

/* Define if on SCO */
#undef SCO

/* Define if on HP-UX */
#undef _HPUX_SOURCE

/* For HP-UX, define major and minor version numbers (computed in the
 * configure script).
 */
#undef HPUX_MAJOR
#undef HPUX_MINOR

/* Define if on Linux or other glibc system */
#undef _BSD_SOURCE

/* For SunOS, define major and minor version numbers (computed in the
 * configure script); for convenience, if on SunOS 5.x, also define SUNOS5.
 */
#undef SUNOS_MAJOR
#undef SUNOS_MINOR
#ifdef SUNOS_MAJOR
#if (SUNOS_MAJOR == 5)
#define SUNOS5
#endif
#endif

/* For AIX, define major and minor version numbers (computed in the
 * configure script.
 */
#undef AIX_MAJOR
#undef AIX_MINOR

/* Define both of these if on Digital Unix (or Dec OSF/1 3.2 or higher) */
#ifndef Digital_UNIX
#undef Digital_UNIX
#endif
#ifndef _OSF_SOURCE
#undef _OSF_SOURCE
#endif

/*
 * Don't define _XOPEN_SOURCE for SCO: although it uses this for compliance
 * reasons, this define causes some problems with password file negotiation.
 *
 * Also don't define it for Solaris 2.4 (SunOS 5.4) and higher: it causes
 * problems for things like struct timespec, which doesn't get defined if
 * _XOPEN_SOURCE is set (instead struct _timespec is defined), but stat.h
 * uses struct timespec in its definition of itimerval.  It's a mess...
 * For our convenience, we won't define it for any Solaris.
 */
#ifndef _SVR4_SOURCE
#ifndef SCO
#ifndef SUNOS5
#define _XOPEN_SOURCE
#endif
#endif
#endif

/* ###################################################################### */
/* The following items are set correctly for your system */
/* ###################################################################### */

#ifdef __STDC__
#define P__(x) x
#else
#define P__(x) ()
#endif


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

/* Define if your system has <arpa/inet.h> */
#undef HAVE_ARPA_INET_H

/* Define if your system has <errno.h> */
#undef HAVE_ERRNO_H

/* Define if you need _not_ declare errno to be extern */
#undef DONT_DECL_ERRNO

/* Define if your system has <limits.h> */
#undef HAVE_LIMITS_H

/* Define if your system has <locale.h> */
#undef HAVE_LOCALE_H

/* Define if your system has <malloc.h> */
#undef HAVE_MALLOC_H

/* Define if your system has <memory.h> */
#undef HAVE_MEMORY_H

/* Define if your system has <netdb.h> */
#undef HAVE_NETDB_H

/* Define if your system has <net/route.h> */
#undef HAVE_NET_ROUTE_H

/* Define if your system has <net/if.h> */
#undef HAVE_NET_IF_H

/* Define if your system has <netinet/in.h> */
#undef HAVE_NETINET_IN_H

/* Define if your system has <shadow.h> */
#undef HAVE_SHADOW_H

/* Define if your system has <sys/security.h> */
#undef HAVE_SYS_SECURITY_H

/* Define if your system has <hpsecurity.h> */
#undef HAVE_HPSECURITY_H

/* Define if your system has <security/pam_appl.h> */
#undef HAVE_SECURITY_PAM_APPL_H

/* Define if your system has <security/pam_misc.h> */
#undef HAVE_SECURITY_PAM_MISC_H

/* Define if your system has <prot.h> */
#undef HAVE_PROT_H

/* Define if your system has <auth.h> */
#undef HAVE_AUTH_H

/* Define if your system has <sys/label.h> */
#undef HAVE_SYS_LABEL_H

/* Define if your system has <sys/audit.h> */
#undef HAVE_SYS_AUDIT_H

/* Define if your system has <pwdadj.h> */
#undef HAVE_PWDADJ_H

/* Define if your system has <standards.h> */
#undef HAVE_STANDARDS_H

/* Define if your system has <stdlib.h> */
#undef HAVE_STDLIB_H

/* Define if your system has <stdarg.h> */
#undef HAVE_STDARG_H

/* Define if your system has <string.h> */
#undef HAVE_STRING_H

/* Define if your system has <sys/param.h> */
#undef HAVE_SYS_PARAM_H

/* Define if your system has <sys/socket.h> */
#undef HAVE_SYS_SOCKET_H

/* Define if your system has <sys/utsname.h> */
#undef HAVE_SYS_UTSNAME_H

/* Define if your system has <sys/systeminfo.h> */
#undef HAVE_SYS_SYSTEMINFO_H

/* Define if your system has <sys/sysinfo.h> */
#undef HAVE_SYS_SYSINFO_H

/* Define if your system has <sys/time.h> */
#undef HAVE_SYS_TIME_H

/* Define if <time.h> can be included with <sys/time.h> */
#undef TIME_WITH_SYS_TIME

/* Define if your system has <sys/types.h> */
#undef HAVE_SYS_TYPES_H

/* Define if your system has <sys/bsdtypes.h> */
#undef HAVE_SYS_BSDTYPES_H

/* Define if your system has <sys/wait.h> */
#undef HAVE_SYS_WAIT_H

/* Define if your system has <syslog.h> */
#undef HAVE_SYSLOG_H

/* Define if your system has <sys/resource.h> */
#undef HAVE_SYS_RESOURCE_H

/* Define if your system has <unistd.h> */
#undef HAVE_UNISTD_H

/* Define if your system has <sys/filio.h> */
#undef HAVE_SYS_FILIO_H

/* Define if your system has <fcntl.h> */
#undef HAVE_FCNTL_H

/* Define if your system has <termios.h> */
#undef HAVE_TERMIOS_H

/* Define if your system has <termio.h> */
#undef HAVE_TERMIO_H

/* Define if your system has <sgtty.h> */
#undef HAVE_SGTTY_H

/* Define if have getgroups() */
#undef HAVE_GETGROUPS

#ifdef HAVE_GETGROUPS
/* Define to the type of elements in the array set by `getgroups'.
 * Usually this is either `int' or `gid_t'.
 */
#undef GETGROUPS_T
#endif
 
/***********************************************************************/

/* Define if your system has sys_errlist[] */
#undef HAVE_SYS_ERRLIST

/***********************************************************************/

/* Define if your system has sysinfo() */
#undef HAVE_SYSINFO

/* Define if your system has sysconf() */
#undef HAVE_SYSCONF

/* Define if your system has uname() */
#undef HAVE_UNAME

/* Define if your system has setreuid() */
#undef HAVE_SETREUID

/* Define if your system has setregid() */
#undef HAVE_SETREGID

/* Define if your system has tcgetattr() */
#undef HAVE_TCGETATTR

/* Define if your system has tcsetattr() */
#undef HAVE_TCSETATTR

/* Define if your system has getdomainname() */
#undef HAVE_GETDOMAINNAME

/* Define if your system has alnum(c) == (isalpha(c) || isdigit(c)) */
#undef HAVE_ALNUM

/* Define if your system supports enums */
#undef HAVE_ENUM

/* Define if your system supports the ioctl(fd, FIOCLEX, NULL) call */
#undef HAVE_IOCTL_FIOCLEX

/* Define if your system has the getdtablesize() function */
#undef HAVE_GETDTABLESIZE

/* Define if your system has innetgr() */
#undef HAVE_INNETGR

/* Define if your system has iscomsec() */
#undef HAVE_ISCOMSEC

/* Define if your system has localtime() */
#undef HAVE_LOCALTIME

/* Define if your system has memcpy() */
#undef HAVE_MEMCPY

/* Define if your system has memset() */
#undef HAVE_MEMSET

/* Define if your signal() is of type void */
#undef HAVE_VOID_SIGNAL

/* Define if your system has POSIX regular expression routines */
#undef HAVE_POSIX_REGEX

/* Define if your system has strdup() */
#undef HAVE_STRDUP

/* Define if your system has strerror() */
#undef HAVE_STRERROR

/* Define if your system has strtol() */
#undef HAVE_STRTOL

/* Define if your system has the pam_start() function */
#undef HAVE_PAM_START

/* Define if your system has the pam_strerror() function */
#undef HAVE_PAM_STRERROR

/* Define if your system has the misc_conv() function (from libpam_misc) */
#undef HAVE_MISC_CONV

/* Define if your system has the fileno() function */
#undef HAVE_FILENO

/* Define if your system has the gtty() function */
#undef HAVE_GTTY

/* Define if your system has the syslog() function */
#undef HAVE_SYSLOG

/* Define if your system has the sysconf() function */
#undef HAVE_SYSCONF

/* Define if your system has the v?printf() functions */
#undef HAVE_VPRINTF

/* Define if your system doesn't have vprintf, but has _doprnt() */
#undef HAVE_DOPRNT

/***********************************************************************/

/* Define if your system doesn't understand "#! /path" at the start
 * of a script.  Super will include code to do this work.
 */
#undef INTERPRETER_HACK

/* Define if your system supports filenames more than 14 characters */
#undef HAVE_LONG_FILE_NAMES
