- (dtucker) [configure.ac openbsd-compat/port-aix.h] Prevent redefinitions

of setauthdb on AIX 5.3, reported by anders.liljegren at its.uu.se.
This commit is contained in:
Darren Tucker 2005-03-21 22:46:34 +11:00
parent 1df61452ea
commit e66519d942
3 changed files with 8 additions and 4 deletions

View File

@ -5,6 +5,8 @@
- (dtucker) [configure.ac] Make configure error out if the user specifies
--with-libedit but the required libs can't be found, rather than silently
ignoring and continuing. ok tim@
- (dtucker) [configure.ac openbsd-compat/port-aix.h] Prevent redefinitions
of setauthdb on AIX 5.3, reported by anders.liljegren at its.uu.se.
20050317
- (tim) [configure.ac] Bug 998. Make path for --with-opensc optional.
@ -2380,4 +2382,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3726 2005/03/20 22:58:07 dtucker Exp $
$Id: ChangeLog,v 1.3727 2005/03/21 11:46:34 dtucker Exp $

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.256 2005/03/20 22:58:08 dtucker Exp $
# $Id: configure.ac,v 1.257 2005/03/21 11:46:34 dtucker Exp $
#
# Copyright (c) 1999-2004 Damien Miller
#
@ -123,7 +123,7 @@ case "$host" in
])
dnl Check for various auth function declarations in headers.
AC_CHECK_DECLS([authenticate, loginrestrictions, loginsuccess,
passwdexpired], , , [#include <usersec.h>])
passwdexpired, setauthdb], , , [#include <usersec.h>])
dnl Check if loginfailed is declared and takes 4 arguments (AIX >= 5.2)
AC_CHECK_DECLS(loginfailed,
[AC_MSG_CHECKING(if loginfailed takes 4 arguments)

View File

@ -1,4 +1,4 @@
/* $Id: port-aix.h,v 1.24 2005/02/16 11:49:31 dtucker Exp $ */
/* $Id: port-aix.h,v 1.25 2005/03/21 11:46:34 dtucker Exp $ */
/*
*
@ -47,7 +47,9 @@
/* These should be in the system headers but are not. */
int usrinfo(int, char *, int);
#if (HAVE_DECL_SETAUTHDB == 0)
int setauthdb(const char *, char *);
#endif
/* these may or may not be in the headers depending on the version */
#if (HAVE_DECL_AUTHENTICATE == 0)
int authenticate(char *, char *, int *, char **);