X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Fconfigure.ac;h=5b0c0c9ece437456b7e3d1dcf71eccfadc90f4c4;hb=12e019bafc75cb441e965c63e15dfceeaf71ca1e;hp=40e6d5697eed66b01e568565c9adba7391bf2410;hpb=3bfb6ad651d33a3bb052365ea029a32502656e0b;p=PuTTY.git 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