[Bug 1732] Proper utmpx support for FreeBSD HEAD

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Mar 26 10:59:58 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=1732

--- Comment #1 from Damien Miller <djm at mindrot.org> 2010-03-26 10:59:57 EST ---
(From update of attachment 1805)
>-
>-dnl utmpx detection - I don't know any system so perverse as to require
>-dnl  utmpx, but not define UTMPX_FILE (ditto wtmpx.) No doubt it's out
>-dnl  there, though.
>-AC_MSG_CHECKING([if your system defines UTMPX_FILE])
>-AC_TRY_COMPILE([
>-#include <sys/types.h>
>-#include <utmp.h>
>-#ifdef HAVE_UTMPX_H
>-#include <utmpx.h>
>-#endif
>-#ifdef HAVE_PATHS_H
>-#  include <paths.h>
>-#endif
>-	],
>-	[ char *utmpx = UTMPX_FILE; ],
>-	[ AC_MSG_RESULT(yes) ],
>-	[ AC_MSG_RESULT(no)
>-	  system_utmpx_path=no ]
>-)
>-if test -z "$conf_utmpx_location"; then
>-	if test x"$system_utmpx_path" = x"no" ; then
>-		AC_DEFINE(DISABLE_UTMPX)
>-	fi
>-else
>-	AC_DEFINE_UNQUOTED(CONF_UTMPX_FILE, "$conf_utmpx_location",
>-		[Define if you want to specify the path to your utmpx file])
>-fi

Why are you deleting this section? This might affect platforms other
than FreeBSD.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list