From: Mike Gilbert Date: Tue, 17 Feb 2026 18:48:41 +0000 (-0500) Subject: configure.ac: simplify fgetpwent_r check X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a48e3ec8c52669348631b8530e9a850491f9fc3;p=thirdparty%2Fshadow.git configure.ac: simplify fgetpwent_r check Signed-off-by: Mike Gilbert --- diff --git a/configure.ac b/configure.ac index f4028f5f2..278f84546 100644 --- a/configure.ac +++ b/configure.ac @@ -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.])