summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-15 17:10:57 +1100
committerDamien Miller <djm@mindrot.org>1999-11-15 17:10:57 +1100
commit3f905872b0d15be24078c4db131f0ecdb5ebb5e6 (patch)
tree700210571ddc52d55dcbaabf593e52b5d7531c3f /acconfig.h
parentc6d5ce86a9ed296dbc99b8fc593099a87830fd18 (diff)
- Merged more Solaris compability from Marc G. Fournier
<marc.fournier@acadiau.ca> - Wrote autoconf tests for __progname symbol
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h45
1 files changed, 43 insertions, 2 deletions
diff --git a/acconfig.h b/acconfig.h
index 8678b7cd..2844bdca 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -3,7 +3,10 @@
/* SSL directory. */
#undef ssldir
-/* Random number pool */
+/* Location of lastlog file */
+#undef LASTLOG_LOCATION
+
+/* Location of random number pool */
#undef RANDOM_POOL
/* Are we using the Entropy gathering daemon */
@@ -21,9 +24,12 @@
/* Define is libutil has login() function */
#undef HAVE_LIBUTIL_LOGIN
-/* Define if you *don't* want to use an external ssh-askpass */
+/* Define if you want external askpass support */
#undef USE_EXTERNAL_ASKPASS
+/* Define if libc defines __progname */
+#undef HAVE___PROGNAME
+
@BOTTOM@
/* ******************* Shouldn't need to edit below this line ************** */
@@ -40,6 +46,9 @@ enum
};
#endif
+#include <sys/types.h> /* For u_intXX_t */
+#include <paths.h> /* For _PATH_XXX */
+
#if !defined(u_int32_t) && defined(uint32_t)
#define u_int32_t uint32_t
#endif
@@ -47,3 +56,35 @@ enum
#if !defined(u_int16_t) && defined(uint16_t)
#define u_int16_t uint16_t
#endif
+
+#ifndef _PATH_LASTLOG
+# ifdef LASTLOG_LOCATION
+# define _PATH_LASTLOG LASTLOG_LOCATION
+# endif
+#endif
+
+#ifndef _PATH_UTMP
+# ifdef UTMP_FILE
+# define _PATH_UTMP UTMP_FILE
+# endif
+#endif
+
+#ifndef _PATH_WTMP
+# ifdef WTMP_FILE
+# define _PATH_WTMP WTMP_FILE
+# endif
+#endif
+
+#ifndef _PATH_BSHELL
+# define _PATH_BSHELL "/bin/sh"
+#endif
+
+#ifndef _PATH_STDPATH
+# define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin:"
+#endif
+
+#ifndef _PATH_MAILDIR
+# ifdef MAILDIR
+# define _PATH_MAILDIR MAILDIR
+# endif
+#endif