mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
AIX 5.1 has <utmpx.h> but no updwtmpx(). Treat the latter as a reason to
OMIT_UTMP. Reported by Mike Protts. [originally from svn r6311]
This commit is contained in:
parent
3bfb6ad651
commit
f0dfa73982
@ -23,7 +23,7 @@ AC_SUBST([all_targets])
|
||||
|
||||
AC_SEARCH_LIBS([socket], [xnet])
|
||||
|
||||
AC_CHECK_FUNCS([getaddrinfo ptsname setresuid strsignal])
|
||||
AC_CHECK_FUNCS([getaddrinfo ptsname setresuid strsignal updwtmpx])
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
@ -39,7 +39,7 @@ AH_BOTTOM([
|
||||
#ifndef HAVE_STRSIGNAL
|
||||
# define HAVE_NO_STRSIGNAL
|
||||
#endif
|
||||
#ifndef HAVE_UTMPX_H
|
||||
#if !defined(HAVE_UTMPX_H) || !defined(HAVE_UPDWTMPX)
|
||||
# define OMIT_UTMP
|
||||
#endif
|
||||
#ifndef HAVE_PTSNAME
|
||||
|
Loading…
Reference in New Issue
Block a user