Re: login-utils: Enable building util-linux against OpenPAM

Karel Zak
2014-12-15T12:47:38Z

On Mon, Dec 15, 2014 at 03:46:55AM -0800, Will Johansson wrote:
> Hi Karel,
>
> Thanks for applying. I have a small patch for _HAVE_UT_TV incoming in
> a few minutes.
>
> Turns out it was because musl-libc doesn't define _HAVE_UT_TV, even
> though musl-libc's utmp struct does have a ut_tv field. There are two
> options: 1.) I could patch upstream musl-libc to define _HAVE_UT_TV or
> 2.) detect musl-libc somehow. I think I prefer the first option.

Well, you have to care about already released musl-libc -- it's easy to detect
that by AC_CHECK_MEMBERS() in configure.ac. It would be nice to fix
the problem in util-linux code independently on your item 1).

Karel

--
Karel Zak <kzak@redhat.com>