X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/154c73d56d8847aaf20c048ccc35c19c584890ce..381f0c3128414a0a49aea6e6b65414c31d65717c:/unix/configure.ac diff --git a/unix/configure.ac b/unix/configure.ac index 40e6d569..5b0c0c9e 100644 --- a/unix/configure.ac +++ b/unix/configure.ac @@ -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