From d154c7253e44b31fcfb9bccd4a240472cd211dd2 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Mon, 7 Jul 2025 17:43:36 +0200 Subject: [PATCH] Autoconf: Move getlogin check for HAVE_GETLOGIN to ext/posix (#19058) 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 663dc32fd28..8255db75073 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 b7a6e427725..8960979065f 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