Skip to content

Commit d154c72

Browse files
authored
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.
1 parent 1039ceb commit d154c72

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

configure.ac

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,6 @@ AC_CHECK_FUNCS(m4_normalize([
540540
getgrnam_r
541541
gethostname
542542
getloadavg
543-
getlogin
544543
getprotobyname
545544
getprotobynumber
546545
getpwnam_r

ext/posix/config.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ if test "$PHP_POSIX" = "yes"; then
1717
eaccess
1818
getgrgid_r
1919
getgroups
20+
getlogin
2021
getpgid
2122
getrlimit
2223
getsid

0 commit comments

Comments
 (0)