Assume <utmpx.h> always exists
We already made that assumption in commit b47aa1e9aaf4. While the header is not required by POSIX (it is an XSI extension), it is defined in systems that are of interest to this project (GNU/Linux). Fixes: b47aa1e9aaf4 ("Assume <utmpx.h> exists") Cc: Serge Hallyn <serge@hallyn.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
parent
5fae37271e
commit
2da7607ea6
@ -698,9 +698,6 @@ if test "$with_skey" = "yes"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$enable_utmpx" = "yes"; then
|
if test "$enable_utmpx" = "yes"; then
|
||||||
if test "$ac_cv_header_utmpx_h" != "yes"; then
|
|
||||||
AC_MSG_ERROR([The utmpx.h header file is required for utmpx support.])
|
|
||||||
fi
|
|
||||||
AC_DEFINE(USE_UTMPX,
|
AC_DEFINE(USE_UTMPX,
|
||||||
1,
|
1,
|
||||||
[Define if utmpx should be used])
|
[Define if utmpx should be used])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user