Removing utempter support in debian/rules by either removing
the --enable-utempter option or changing it to --disable-utempter
has no effect, but if I understand correctly the configure.ac file,
this option is not used! Well, this seems to be due to a typo:
AC_ARG_ENABLE(utempter, [ --enable-utempter enable utempter support]) if test "$enable_pam" = "yes"; then
AC_CHECKING(ut_host)
AC_TRY_COMPILE([
#include <time.h>
#include <sys/types.h>
#if defined(SVR4) && !defined(DGUX)
#include <utmpx.h>
#define utmp utmpx
#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
fi
Instead of
if test "$enable_pam" = "yes"; then
it should be
if test "$enable_utempter" = "yes"; then
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 02:13:00 |
Calls: | 10,387 |
Calls today: | 2 |
Files: | 14,061 |
Messages: | 6,416,750 |