From cf8024b2f19db2647ceda03eed3aab7c98abac6f Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Mon, 7 Jul 2025 09:23:00 +0200 Subject: [PATCH] Autoconf: Move getlogin check for HAVE_GETLOGIN to ext/posix This check is related only to ext/posix so it's more clear to have it defined when ext/posix is enabled. --- configure.ac | 1 - ext/posix/config.m4 | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 663dc32fd28c..8255db75073d 100644 --- a/configure.ac +++ b/configure.ac @@ -540,7 +540,6 @@ AC_CHECK_FUNCS(m4_normalize([ getgrnam_r gethostname getloadavg - getlogin getprotobyname getprotobynumber getpwnam_r diff --git a/ext/posix/config.m4 b/ext/posix/config.m4 index b7a6e4277251..8960979065f9 100644 --- a/ext/posix/config.m4 +++ b/ext/posix/config.m4 @@ -17,6 +17,7 @@ if test "$PHP_POSIX" = "yes"; then eaccess getgrgid_r getgroups + getlogin getpgid getrlimit getsid