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.
This commit is contained in:
Peter Kokot 2025-07-07 17:43:36 +02:00 committed by GitHub
parent 1039cebb87
commit d154c7253e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View file

@ -540,7 +540,6 @@ AC_CHECK_FUNCS(m4_normalize([
getgrnam_r
gethostname
getloadavg
getlogin
getprotobyname
getprotobynumber
getpwnam_r

View file

@ -17,6 +17,7 @@ if test "$PHP_POSIX" = "yes"; then
eaccess
getgrgid_r
getgroups
getlogin
getpgid
getrlimit
getsid