/* config.h. Generated by configure. */ /* 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 "/bin:/usr/bin" /* 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 doesn't define. */ #define pid_t int /* #undef uid_t */ /* #undef gid_t */ /* Define if your system has */ #define HAVE_ARPA_INET_H 1 /* Define if your system has */ #define HAVE_ERRNO_H 1 /* Define if you need _not_ declare errno to be extern */ /* #undef DONT_DECL_ERRNO */ /* Define if your system has */ #define HAVE_LIMITS_H 1 /* Define if your system has */ #define HAVE_LOCALE_H 1 /* Define if your system has */ #define HAVE_MALLOC_H 1 /* Define if your system has */ /* #undef HAVE_MEMORY_H */ /* Define if your system has */ #define HAVE_NETDB_H 1 /* Define if your system has */ #define HAVE_NET_ROUTE_H 1 /* Define if your system has */ #define HAVE_NET_IF_H 1 /* Define if your system has */ #define HAVE_NETINET_IN_H 1 /* Define if your system has */ /* #undef HAVE_SHADOW_H */ /* Define if your system has */ /* #undef HAVE_SYS_SECURITY_H */ /* Define if your system has */ /* #undef HAVE_HPSECURITY_H */ /* Define if your system has */ /* #undef HAVE_SECURITY_PAM_APPL_H */ /* Define if your system has */ /* #undef HAVE_SECURITY_PAM_MISC_H */ /* Define if your system has */ /* #undef HAVE_PROT_H */ /* Define if your system has */ /* #undef HAVE_AUTH_H */ /* Define if your system has */ /* #undef HAVE_SYS_LABEL_H */ /* Define if your system has */ /* #undef HAVE_SYS_AUDIT_H */ /* Define if your system has */ /* #undef HAVE_PWDADJ_H */ /* Define if your system has */ #define HAVE_STANDARDS_H 1 /* Define if your system has */ /* #undef HAVE_STDLIB_H */ /* Define if your system has */ #define HAVE_STDARG_H 1 /* Define if your system has */ /* #undef HAVE_STRING_H */ /* Define if your system has */ #define HAVE_SYS_PARAM_H 1 /* Define if your system has */ #define HAVE_SYS_SOCKET_H 1 /* Define if your system has */ #define HAVE_SYS_UTSNAME_H 1 /* Define if your system has */ /* #undef HAVE_SYS_SYSTEMINFO_H */ /* Define if your system has */ /* #undef HAVE_SYS_SYSINFO_H */ /* Define if your system has */ #define HAVE_SYS_TIME_H 1 /* Define if can be included with */ /* #undef TIME_WITH_SYS_TIME */ /* Define if your system has */ /* #undef HAVE_SYS_TYPES_H */ /* Define if your system has */ /* #undef HAVE_SYS_BSDTYPES_H */ /* Define if your system has */ #define HAVE_SYS_WAIT_H 1 /* Define if your system has */ #define HAVE_SYSLOG_H 1 /* Define if your system has */ /* #undef HAVE_SYS_RESOURCE_H */ /* Define if your system has */ /* #undef HAVE_UNISTD_H */ /* Define if your system has */ #define HAVE_SYS_FILIO_H 1 /* Define if your system has */ #define HAVE_FCNTL_H 1 /* Define if your system has */ #define HAVE_TERMIOS_H 1 /* Define if your system has */ /* #undef HAVE_TERMIO_H */ /* Define if your system has */ #define HAVE_SGTTY_H 1 /* Define if have getgroups() */ #define HAVE_GETGROUPS 1 #ifdef HAVE_GETGROUPS /* Define to the type of elements in the array set by `getgroups'. * Usually this is either `int' or `gid_t'. */ #define GETGROUPS_T gid_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() */ #define HAVE_SYSCONF 1 /* Define if your system has uname() */ #define HAVE_UNAME 1 /* Define if your system has setreuid() */ #define HAVE_SETREUID 1 /* Define if your system has setregid() */ #define HAVE_SETREGID 1 /* Define if your system has tcgetattr() */ #define HAVE_TCGETATTR 1 /* Define if your system has tcsetattr() */ #define HAVE_TCSETATTR 1 /* Define if your system has getdomainname() */ #define HAVE_GETDOMAINNAME 1 /* 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 */ #define HAVE_GETDTABLESIZE 1 /* Define if your system has innetgr() */ #define HAVE_INNETGR 1 /* Define if your system has iscomsec() */ /* #undef HAVE_ISCOMSEC */ /* Define if your system has localtime() */ #define HAVE_LOCALTIME 1 /* Define if your system has memcpy() */ #define HAVE_MEMCPY 1 /* Define if your system has memset() */ #define HAVE_MEMSET 1 /* 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() */ #define HAVE_STRDUP 1 /* Define if your system has strerror() */ #define HAVE_STRERROR 1 /* Define if your system has strtol() */ #define HAVE_STRTOL 1 /* Define if your system has the pam_start() function */ #define HAVE_PAM_START 1 /* Define if your system has the pam_strerror() function */ #define HAVE_PAM_STRERROR 1 /* Define if your system has the misc_conv() function (from libpam_misc) */ #define HAVE_MISC_CONV 1 /* Define if your system has the fileno() function */ #define HAVE_FILENO 1 /* Define if your system has the gtty() function */ /* #undef HAVE_GTTY */ /* Define if your system has the syslog() function */ #define HAVE_SYSLOG 1 /* Define if your system has the sysconf() function */ #define HAVE_SYSCONF 1 /* Define if your system has the v?printf() functions */ #define HAVE_VPRINTF 1 /* 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 */ #define HAVE_LONG_FILE_NAMES 1