]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
configure.ac: simplify fgetpwent_r check
authorMike Gilbert <floppym@gentoo.org>
Tue, 17 Feb 2026 18:48:41 +0000 (13:48 -0500)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Tue, 17 Feb 2026 23:29:54 +0000 (00:29 +0100)
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
configure.ac

index f4028f5f2e6317d8b425dd6ff65282601513136d..278f8454642bd056a4723d72829d9013c412798b 100644 (file)
@@ -581,7 +581,7 @@ if test "X$with_skey" = "Xyes"; then
        ]])],[AC_DEFINE([SKEY_BSD_STYLE], [1], [Define to support newer BSD S/Key API])],[])
 fi
 
-AC_CHECK_FUNC([fgetpwent_r], [AC_DEFINE([HAVE_FGETPWENT_R], [1], [Defined to 1 if you have the declaration of 'fgetpwent_r'])])
+AC_CHECK_FUNCS([fgetpwent_r])
 
 AC_DEFINE_UNQUOTED([SHELL], ["$SHELL"], [The default shell.])