]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Assume <utmpx.h> always exists
authorAlejandro Colomar <alx@kernel.org>
Wed, 21 Dec 2022 16:59:30 +0000 (17:59 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Thu, 22 Dec 2022 09:31:43 +0000 (10:31 +0100)
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>
configure.ac

index 8320ff1a699bc4e8dc47776835be53fc022e8293..9d176d0b74a17a1a695f70be7236ec33e82a0944 100644 (file)
@@ -698,9 +698,6 @@ if test "$with_skey" = "yes"; then
 fi
 
 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,
                  1,
                  [Define if utmpx should be used])