diff options
author | Damien Miller <djm@mindrot.org> | 1999-12-25 00:11:29 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-12-25 00:11:29 +0100 |
commit | 2e1b082dfbc5dcdae80957a3d889abe9fa480d77 (patch) | |
tree | c2bfe8d4115d22146448ce829fb7b16e9b762b4f /acconfig.h | |
parent | - Fix login.c breakage on systems which lack ut_host in struct (diff) | |
download | openssh-2e1b082dfbc5dcdae80957a3d889abe9fa480d77.tar.xz openssh-2e1b082dfbc5dcdae80957a3d889abe9fa480d77.zip |
- Prepare for 1.2.1pre20V_1_2_1_PRE20
19991225
- More fixes from Andre Lucas <andre.lucas@dial.pipex.com>
- Cleanup of auth-passwd.c for shadow and MD5 passwords
- Cleanup and bugfix of PAM authentication code
19991223
- Merged later HPUX patch from Andre Lucas
<andre.lucas@dial.pipex.com>
- Above patch included better utmpx support from Ben Taylor
<bent@clark.net>:
Diffstat (limited to 'acconfig.h')
-rw-r--r-- | acconfig.h | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/acconfig.h b/acconfig.h index b02abbafe..1e706ff58 100644 --- a/acconfig.h +++ b/acconfig.h @@ -30,6 +30,9 @@ /* Define is utmpx.h has a ut_host field */ #undef HAVE_HOST_IN_UTMPX +/* Define is utmpx.h has a syslen field */ +#undef HAVE_SYSLEN_IN_UTMPX + /* Define if you want to use utmpx */ #undef USE_UTMPX @@ -63,6 +66,9 @@ /* Define if xauth is found in your path */ #undef XAUTH_PATH +/* Define if rsh is found in your path */ +#undef RSH_PATH + /* Define if you want to allow MD5 passwords */ #undef HAVE_MD5_PASSWORDS @@ -76,6 +82,9 @@ /* to pam_strerror */ #undef HAVE_OLD_PAM +/* Set this to your mail directory if you don't have maillock.h */ +#undef MAIL_DIRECTORY + /* Data types */ #undef HAVE_QUAD_T #undef HAVE_INTXX_T @@ -197,36 +206,19 @@ enum # endif #endif -/* Use utmpx if supported */ -#if defined(HAVE_UTMPX_H) && defined(USE_UTMPX) -# define UTMP_STR utmpx -#else -# ifdef HAVE_UTMP_H -# define UTMP_STR utmp -# endif -#endif - #ifndef _PATH_UTMP -# if defined(UTMPX_FILE) && defined(USE_UTMPX) -# define _PATH_UTMP UTMPX_FILE +# ifdef UTMP_FILE +# define _PATH_UTMP UTMP_FILE # else -# ifdef UTMP_FILE -# define _PATH_UTMP UTMP_FILE -# else -# define _PATH_UTMP "/var/adm/utmp" -# endif +# define _PATH_UTMP "/var/adm/utmp" # endif #endif #ifndef _PATH_WTMP -# if defined(WTMPX_FILE) && defined(USE_UTMPX) -# define _PATH_WTMP WTMPX_FILE +# ifdef WTMP_FILE +# define _PATH_WTMP WTMP_FILE # else -# ifdef WTMP_FILE -# define _PATH_WTMP WTMP_FILE -# else -# define _PATH_WTMP "/var/adm/wtmp" -# endif +# define _PATH_WTMP "/var/adm/wtmp" # endif #endif @@ -242,16 +234,14 @@ enum # define _PATH_DEVNULL "/dev/null" #endif -#ifndef _PATH_MAILDIR -# ifdef MAILDIR -# define _PATH_MAILDIR MAILDIR -# else -# ifdef MAIL_DIRECTORY -# define _PATH_MAILDIR MAIL_DIRECTORY -# endif -# endif +#ifndef MAILDIR +# define MAILDIR MAIL_DIRECTORY #endif +#if !defined(_PATH_MAILDIR) && defined(MAILDIR) +# define _PATH_MAILDIR MAILDIR +#endif /* !defined(_PATH_MAILDIR) && defined(MAILDIR) */ + #ifndef MAX # define MAX(a,b) (((a)>(b))?(a):(b)) # define MIN(a,b) (((a)<(b))?(a):(b)) @@ -287,3 +277,13 @@ enum #if !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) # define seteuid(a) setreuid(-1,a) #endif /* !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) */ + +#ifndef HAVE_INNETGR +# define innetgr(a,b,c,d) (0) +#endif /* HAVE_INNETGR */ + +#ifndef _PATH_RSH +# ifdef RSH_PATH +# define _PATH_RSH RSH_PATH +# endif /* RSH_PATH */ +#endif /* _PATH_RSH */ |