From 3f905872b0d15be24078c4db131f0ecdb5ebb5e6 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 15 Nov 1999 17:10:57 +1100 Subject: - Merged more Solaris compability from Marc G. Fournier - Wrote autoconf tests for __progname symbol --- acconfig.h | 45 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) (limited to 'acconfig.h') diff --git a/acconfig.h b/acconfig.h index 8678b7cdb..2844bdca2 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 /* For u_intXX_t */ +#include /* 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 -- cgit v1.2.3