]> granicus.if.org Git - sudo/commitdiff
Initial revision
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 10 Mar 1994 07:45:06 +0000 (07:45 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 10 Mar 1994 07:45:06 +0000 (07:45 +0000)
config.h.in [new file with mode: 0644]
pathnames.h.in [new file with mode: 0644]

diff --git a/config.h.in b/config.h.in
new file mode 100644 (file)
index 0000000..9097d64
--- /dev/null
@@ -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 <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
+
+/* 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 <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.  */
+#undef HAVE_STRINGS_H
+
+/* Define if you have the <unistd.h> header file.  */
+#undef HAVE_UNISTD_H
diff --git a/pathnames.h.in b/pathnames.h.in
new file mode 100644 (file)
index 0000000..3594399
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+ * insert gnu header here - XXX
+ *
+ * Pathnames to programs and files used by sudo
+ */
+
+#ifdef HAVE_PATHS_H
+#include <paths.h>
+#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 */