2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00
sudo/config.h.in

339 lines
8.1 KiB
C
Raw Normal View History

1994-03-12 18:57:27 +00:00
/*
1998-04-06 03:35:50 +00:00
* CU sudo version 1.5.6
1994-03-12 18:57:27 +00:00
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
1996-09-08 00:21:42 +00:00
* Please send bugs, changes, problems to sudo-bugs@courtesan.com
1995-04-09 22:58:55 +00:00
*
* $Id$
1994-03-12 18:57:27 +00:00
*/
1994-03-10 07:45:06 +00:00
/*
* config.h -- You shouldn't edit this by hand unless you are
* NOT using configure.
*/
/* New ANSI-style OS defs. */
#if defined(hpux) && !defined(__hpux)
1994-07-07 00:46:04 +00:00
# define __hpux 1
#endif /* hpux */
#if defined(convex) && !defined(__convex__)
1994-07-07 00:46:04 +00:00
# define __convex__ 1
#endif /* convex */
1994-03-10 07:45:06 +00:00
/* Define if on AIX 3.
System headers sometimes define this.
We just want to avoid a redefinition error message. */
#ifndef _ALL_SOURCE
#undef _ALL_SOURCE
#endif
/* Define if on ConvexOs.
System headers sometimes define this.
We just want to avoid a redefinition error message. */
#ifndef _CONVEX_SOURCE
#undef _CONVEX_SOURCE
#endif
1996-01-07 19:25:22 +00:00
/* Define if needed to get POSIX functionality.
1996-01-07 19:25:06 +00:00
System headers sometimes define this.
We just want to avoid a redefinition error message. */
#ifndef _POSIX_SOURCE
#undef _POSIX_SOURCE
#endif
1994-03-10 07:45:06 +00:00
/* Define to `int' if <sys/types.h> doesn't define. */
#undef uid_t
/* Define to `int' if <sys/types.h> doesn't define. */
#undef gid_t
/* Define to `int' if <sys/types.h> doesn't define. */
#undef mode_t
/* Define to `unsigned' if <sys/types.h> doesn't define. */
#undef size_t
1994-09-20 23:21:14 +00:00
/* Define to `int' if <sys/types.h> doesn't define. */
#undef ssize_t
1998-09-07 02:28:14 +00:00
/* Define to `int' if <sys/types.h> doesn't define. */
#undef dev_t
/* Define to `unsigned int' if <sys/types.h> doesn't define. */
#undef ino_t
1994-05-28 19:12:06 +00:00
/* Define to be nil if C compiler doesn't support "const." */
#undef const
1994-03-10 07:45:06 +00:00
/* Define as the return type of signal handlers (int or void). */
#undef RETSIGTYPE
/* Define if you have the ANSI C header files. */
#undef STDC_HEADERS
1994-06-24 23:46:04 +00:00
/* Define if you want to use the system getpass(). */
#undef USE_GETPASS
1996-10-05 03:59:42 +00:00
/* Define if you use S/Key. */
1994-10-15 19:48:44 +00:00
#undef HAVE_SKEY
1996-10-05 03:59:42 +00:00
/* Define if you use NRL OPIE. */
#undef HAVE_OPIE
1995-09-01 02:52:57 +00:00
/* Define if you use SecurID. */
#undef HAVE_SECURID
1998-02-17 05:22:02 +00:00
/* Define if you use AIX general authentication. */
#undef HAVE_AUTHENTICATE
1995-06-06 03:44:07 +00:00
/* Define if you use Kerberos. */
#undef HAVE_KERB4
1995-06-06 03:44:07 +00:00
/* Define if you use Kerberos. */
#undef HAVE_KERB5
/* Keberos v5 has v4 compatibility */
#ifdef HAVE_KERB5
# define HAVE_KERB4
#endif /* HAVE_KERB5 */
/* Define if you use PAM. */
#define HAVE_PAM
1994-07-14 15:32:01 +00:00
/* Define if you use AFS. */
#undef HAVE_AFS
1995-11-20 03:31:20 +00:00
/* Define if you use OSF DCE. */
#undef HAVE_DCE
1994-06-06 20:56:40 +00:00
/* Define if you have POSIX signals. */
#undef HAVE_SIGACTION
#ifdef HAVE_SIGACTION
# define POSIX_SIGNALS
#endif /* HAVE_SIGACTION */
1994-07-14 21:43:09 +00:00
/* Define if you have tzset(3). */
#undef HAVE_TZSET
1994-03-12 18:37:58 +00:00
/* Define if you have getcwd(3). */
1994-03-10 07:45:06 +00:00
#undef HAVE_GETCWD
1994-03-12 18:37:58 +00:00
/* Define if you have strdup(3). */
1994-03-10 07:45:06 +00:00
#undef HAVE_STRDUP
1996-05-28 00:01:17 +00:00
/* Define if you have fnmatch(3). */
#undef HAVE_FNMATCH
/* Define if you have lsearch(3). */
#undef HAVE_LSEARCH
1994-03-12 18:37:58 +00:00
/* Define if you have strchr(3). */
#undef HAVE_STRCHR
#if !defined(HAVE_STRCHR) && !defined(strchr)
1994-03-12 18:37:58 +00:00
# define strchr index
#endif
/* Define if you have strrchr(3). */
#undef HAVE_STRRCHR
#if !defined(HAVE_STRRCHR) && !defined(strrchr)
1994-03-12 18:37:58 +00:00
# define strrchr rindex
#endif
/* Define if you have memcpy(3). */
#undef HAVE_MEMCPY
#if !defined(HAVE_MEMCPY) && !defined(memcpy)
# define memcpy(D, S, L) (bcopy(S, D, L))
#endif
1995-03-30 02:44:55 +00:00
/* Define if you have memset(3). */
#undef HAVE_MEMSET
#if !defined(HAVE_MEMSET) && !defined(memset)
1995-03-30 03:06:12 +00:00
# define memset(S, X, N) (bzero(S, N))
1994-06-06 23:31:51 +00:00
#endif
1994-05-24 00:26:19 +00:00
/* Define if you have sysconf(3c). */
#undef HAVE_SYSCONF
1994-08-06 23:18:38 +00:00
/* Define if you have putenv(3). */
#undef HAVE_PUTENV
/* Define if you have setenv(3). */
#undef HAVE_SETENV
/* Define if you have strcasecmp(3). */
#undef HAVE_STRCASECMP
1994-10-04 16:53:54 +00:00
/* Define if you have tcgetattr(3). */
#undef HAVE_TCGETATTR
/* Define if you have innetgr(3). */
#undef HAVE_INNETGR
/* Define if you have getdomainname(2). */
#undef HAVE_GETDOMAINNAME
1995-06-18 00:46:01 +00:00
/* Define if you have utime(2). */
#undef HAVE_UTIME
1995-06-19 19:14:28 +00:00
/* Define if you have a POSIX utime() (uses struct utimbuf) */
#undef HAVE_UTIME_POSIX
1995-06-18 00:46:01 +00:00
/* Define if utime(file, NULL) sets timestamp to current */
#undef HAVE_UTIME_NULL
1996-07-14 01:04:43 +00:00
/* Define if you have bigcrypt(3). */
#undef HAVE_BIGCRYPT
1998-09-07 16:42:32 +00:00
/* Define if you have set_auth_parameters(3). */
#undef HAVE_SET_AUTH_PARAMETERS
1996-10-09 17:36:47 +00:00
/* Define if you have seteuid(3). */
#undef HAVE_SETEUID
/* Define if you have waitpid(2). */
#undef HAVE_WAITPID
/* Define if you have wait3(2). */
#undef HAVE_WAIT3
1994-03-10 07:45:06 +00:00
/* Define if you have the <malloc.h> header file. */
#undef HAVE_MALLOC_H
1996-06-26 02:29:04 +00:00
/* Define if you have the <alloca.h> header file. */
#undef HAVE_ALLOCA_H
1994-03-10 07:45:06 +00:00
/* Define if you have the <paths.h> header file. */
#undef HAVE_PATHS_H
/* Define if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define if you have the <strings.h> header file. */
1994-03-12 21:17:10 +00:00
#if !defined(__convex__) && !defined(convex)
1994-03-10 07:45:06 +00:00
#undef HAVE_STRINGS_H
1994-03-12 21:17:10 +00:00
#endif /* convex */
1994-03-10 07:45:06 +00:00
/* Define your flavor of dir entry header file. */
1995-03-26 01:38:44 +00:00
#undef HAVE_DIRENT_H
#undef HAVE_SYS_NDIR_H
#undef HAVE_SYS_DIR_H
#undef HAVE_NDIR_H
1995-03-26 01:38:44 +00:00
1995-06-18 19:08:31 +00:00
/* Define if you have the <utime.h> header file. */
#undef HAVE_UTIME_H
1994-03-10 07:45:06 +00:00
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
1994-03-12 18:37:58 +00:00
1996-05-25 22:09:55 +00:00
/* Define if you have the <fnmatch.h> header file. */
#undef HAVE_FNMATCH_H
1996-06-20 04:22:05 +00:00
/* Define if you have the <netgroup.h> header file. */
#undef HAVE_NETGROUP_H
1994-03-12 18:37:58 +00:00
/* Define if you have the <termio.h> header file. */
#undef HAVE_TERMIO_H
/* Define if you have the <termios.h> header file and tcgetattr(3). */
#ifdef HAVE_TCGETATTR
1994-03-12 18:37:58 +00:00
#undef HAVE_TERMIOS_H
#endif /* HAVE_TCGETATTR */
1994-05-29 00:28:57 +00:00
/* Define if you have the <sys/sockio.h> header file. */
#undef HAVE_SYS_SOCKIO_H
1995-01-16 21:30:23 +00:00
1996-01-09 17:41:38 +00:00
/* Define if you have the <sys/bsdtypes.h> header file. */
#undef HAVE_SYS_BSDTYPES_H
1996-10-08 23:21:28 +00:00
/* Define if you have the <sys/select.h> header file. */
#undef HAVE_SYS_SELECT_H
1995-07-01 20:04:35 +00:00
/* Define if your struct sockadr has an sa_len field. */
#undef HAVE_SA_LEN
1995-07-18 03:19:31 +00:00
/* Supported shadow password types */
1996-06-06 02:20:52 +00:00
#define SPW_NONE 0x00
#define SPW_SECUREWARE 0x01
#define SPW_HPUX9 0x02
1996-07-14 01:04:43 +00:00
#define SPW_SUNOS4 0x03
#define SPW_SVR4 0x04
#define SPW_ULTRIX4 0x05
1996-07-26 03:45:08 +00:00
#define SPW_BSD 0x06
1995-07-18 03:19:31 +00:00
/* Define to the variety of shadow passwords supported on your OS */
#undef SHADOW_TYPE
/* Define to void if your C compiler fully groks void, else char */
#undef VOID
1995-07-23 21:48:04 +00:00
/* Define to the max length of a uid_t in string context (excluding the NULL */
#undef MAX_UID_T_LEN
1995-07-12 21:05:37 +00:00
/* Define if your syslog(3) does not guarantee the message will be logged */
/* and syslog(3) returns non-zero to denote failure */
#undef BROKEN_SYSLOG
/*
* Emulate a subset of waitpid() if we don't have it.
*/
#ifdef HAVE_WAITPID
#define sudo_waitpid(p, s, o) waitpid(p, s, o)
#else
#ifdef HAVE_WAIT3
#define sudo_waitpid(p, s, o) wait3(s, o, NULL)
#endif
#endif
1998-09-10 22:51:36 +00:00
/* Define if you want the hostname to be entered into the log file */
#undef HOST_IN_LOG
/* Define if you want the log file line to be wrapped */
#undef WRAP_LOG
1995-01-16 21:30:23 +00:00
/*
* Paths to commands used by sudo. There are used by pathnames.h.
* If you want to override these values, do so in pathnames.h, not here!
*/
1996-03-11 07:00:42 +00:00
#ifndef _CONFIG_PATH_SENDMAIL
#undef _CONFIG_PATH_SENDMAIL
#endif /* _CONFIG_PATH_SENDMAIL */
1995-01-16 21:30:23 +00:00
1996-03-11 07:00:42 +00:00
#ifndef _CONFIG_PATH_VI
#undef _CONFIG_PATH_VI
#endif /* _CONFIG_PATH_VI */
1995-01-16 21:30:23 +00:00
1996-03-11 07:00:42 +00:00
#ifndef _CONFIG_PATH_PWD
#undef _CONFIG_PATH_PWD
#endif /* _CONFIG_PATH_PWD */
1995-01-16 21:30:23 +00:00
1996-03-11 07:00:42 +00:00
#ifndef _CONFIG_PATH_MV
#undef _CONFIG_PATH_MV
#endif /* _CONFIG_PATH_MV */
1995-03-30 02:12:07 +00:00
1996-03-11 07:00:42 +00:00
#ifndef _CONFIG_PATH_BSHELL
#undef _CONFIG_PATH_BSHELL
#endif /* _CONFIG_PATH_BSHELL */
1996-02-05 02:58:02 +00:00
1996-03-11 07:00:42 +00:00
#ifndef _CONFIG_PATH_LOGFILE
#undef _CONFIG_PATH_LOGFILE
#endif /* _CONFIG_PATH_LOGFILE */
1996-03-11 01:58:39 +00:00
1996-03-11 07:00:42 +00:00
#ifndef _CONFIG_PATH_TIMEDIR
#undef _CONFIG_PATH_TIMEDIR
#endif /* _CONFIG_PATH_TIMEDIR */