Update of bug #26832 (project screen): Status: Need Discussion => Wont Fix Open/Closed: Open => Closed
_______________________________________________________ Follow-up Comment #3: The following seem to be the change relevant to libutempter: --- a/src/configure.in +++ b/src/configure.in @@ -863,12 +855,14 @@ AC_TRY_COMPILE([ #else #include <utmp.h> #endif -],[struct utmp u; u.ut_host[0] = 0;], AC_DEFINE(UTHOST)) -AC_CHECK_HEADER(utempter.h, have_utempter=yes, have_utempter=no) -if test "$have_utempter" = yes; then - AC_DEFINE(HAVE_UTEMPTER) - LIBS="$LIBS -lutempter" -fi +],[struct utmp u; u.ut_host[0] = 0;], AC_DEFINE([UTHOST], [], [UTHOST])) +AC_CHECK_HEADER([utempter.h], +[AC_CHECK_LIB([utempter], [main], +[have_utempter=yes +AC_DEFINE([HAVE_UTEMPTER], [], [HAVE_UTEMPTER]) +LIBS="$LIBS -lutempter"], +[have_utempter=no])], +[have_utempter=no]) dnl dnl **** loadav **** >From this change, it looks like you are checking for the existence of the library even after you've found the header file. I am inclined to say that will happen only in a broken system, and screen shouldn't need to work around that. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?26832> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/