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

221 lines
5.3 KiB
C
Raw Normal View History

1994-03-12 18:57:27 +00:00
/*
* CU sudo version 1.3.1
*
* 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.
*
* Please send bugs, changes, problems to sudo-bugs@cs.colorado.edu
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
/* 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
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-05-29 19:18:32 +00:00
/* Define on System V Release 4 or Solaris 2.x. */
1994-03-10 07:45:06 +00:00
#undef SVR4
#if defined(SVR4) && !defined(__svr4__)
# define __svr4__
#endif /* SVR4 */
1995-03-30 02:44:55 +00:00
/* Define on SunOS 4.x */
#undef SUNOS4
1994-06-24 23:46:04 +00:00
/* Define if you want to use the system getpass(). */
#undef USE_GETPASS
/* Define if you have C2 security. */
#undef HAVE_C2_SECURITY
1994-10-15 19:48:44 +00:00
/* Define if you use Skey. */
#undef HAVE_SKEY
1994-07-14 15:32:01 +00:00
/* Define if you use AFS. */
#undef HAVE_AFS
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-06-04 18:49:49 +00:00
/* Define if you have getwd(3). */
#undef HAVE_GETWD
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
/* 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 memmove(3). */
#undef HAVE_MEMMOVE
#if !defined(HAVE_MEMMOVE) && !defined(memmove)
# define memmove(D, S, L) (bcopy(S, D, L))
#endif
/* 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
1994-03-10 07:45:06 +00:00
/* Define if you have the <malloc.h> header file. */
#undef HAVE_MALLOC_H
/* 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
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
/* 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
/* Define to void if your C compiler fully groks void, else char */
#undef VOID
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!
*/
#ifndef _SUDO_PATH_SENDMAIL
#undef _SUDO_PATH_SENDMAIL
#endif /* _SUDO_PATH_SENDMAIL */
#ifndef _SUDO_PATH_VI
#undef _SUDO_PATH_VI
#endif /* _SUDO_PATH_VI */
#ifndef _SUDO_PATH_PWD
#undef _SUDO_PATH_PWD
#endif /* _SUDO_PATH_PWD */
#ifndef _SUDO_PATH_MV
#undef _SUDO_PATH_MV
#endif /* _SUDO_PATH_MV */
1995-03-30 02:12:07 +00:00
#ifndef _SUDO_PATH_LOGFILE
#undef _SUDO_PATH_LOGFILE
#endif /* _SUDO_PATH_LOGFILE */