From af9a2fcb37215a1c3629d73f9d67c3e6e52f934c Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 10 Mar 1994 07:45:06 +0000 Subject: [PATCH] Initial revision --- config.h.in | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++ pathnames.h.in | 33 ++++++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 config.h.in create mode 100644 pathnames.h.in diff --git a/config.h.in b/config.h.in new file mode 100644 index 000000000..9097d64b2 --- /dev/null +++ b/config.h.in @@ -0,0 +1,69 @@ +/* + * config.h -- You shouldn't edit this by hand unless you are + * NOT using configure. + */ + +/* 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 if you have a broken getpass(3) that doesn't + take input from stdin. */ +#ifndef BROKEN_GETPASS +#undef BROKEN_GETPASS +#endif + +/* Define to `int' if doesn't define. */ +#undef uid_t + +/* Define to `int' if doesn't define. */ +#undef gid_t + +/* Define to `int' if doesn't define. */ +#undef mode_t + +/* Define to `unsigned' if doesn't define. */ +#undef size_t + +/* 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 + +/* Define on System V Release 4 or Soloris 2.x. */ +#undef SVR4 +#if defined(SVR4) && !defined(__svr4__) +# define __svr4__ +#endif /* SVR4 */ + +/* Define if you have getcwd. */ +#undef HAVE_GETCWD + +/* Define if you have strdup. */ +#undef HAVE_STRDUP + +/* Define if you have the header file. */ +#undef HAVE_MALLOC_H + +/* Define if you have the header file. */ +#undef HAVE_PATHS_H + +/* Define if you have the header file. */ +#undef HAVE_STRING_H + +/* Define if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define if you have the header file. */ +#undef HAVE_UNISTD_H diff --git a/pathnames.h.in b/pathnames.h.in new file mode 100644 index 000000000..359439937 --- /dev/null +++ b/pathnames.h.in @@ -0,0 +1,33 @@ +/* + * insert gnu header here - XXX + * + * Pathnames to programs and files used by sudo + */ + +#ifdef HAVE_PATHS_H +#include +#endif /* HAVE_PATHS_H */ + +#ifndef _PATH_SENDMAIL +#undef _PATH_SENDMAIL +#endif /* _PATH_SENDMAIL */ + +#ifndef _PATH_SUDO_TIMEDIR +#define _PATH_SUDO_TIMEDIR "/tmp/.odus" +#endif /* _PATH_SUDO_TIMEDIR */ + +#ifndef _PATH_SUDO_SUDOERS +#define _PATH_SUDO_SUDOERS "/etc/sudoers" +#endif /* _PATH_SUDO_SUDOERS */ + +#ifndef _PATH_SUDO_LOGFILE +#define _PATH_SUDO_LOGFILE "/var/adm/sudo.log" +#endif /* _PATH_SUDO_LOGFILE */ + +#ifndef _PATH_SUDO_STMP +#define _PATH_SUDO_STMP "/etc/stmp" +#endif /* _PATH_SUDO_STMP */ + +#ifndef _PATH_VI +#undef _PATH_VI +#endif /* _PATH_VI */ -- 2.50.1