@@ -5219,7 +5219,7 @@ AC_CHECK_FUNCS([ \
52195219 faccessat fchmod fchmodat fchown fchownat fdopendir fdwalk fexecve \
52205220 fork fork1 fpathconf fstatat ftime ftruncate futimens futimes futimesat \
52215221 gai_strerror getegid geteuid getgid getgrent getgrgid getgrgid_r \
5222- getgrnam_r getgrouplist gethostname getitimer getloadavg getlogin \
5222+ getgrnam_r getgrouplist gethostname getitimer getloadavg getlogin getlogin_r \
52235223 getpeername getpgid getpid getppid getpriority _getpty \
52245224 getpwent getpwnam_r getpwuid getpwuid_r getresgid getresuid getrusage getsid getspent \
52255225 getspnam getuid getwd grantpt if_nameindex initgroups kill killpg lchown linkat \
@@ -5538,6 +5538,18 @@ PY_CHECK_FUNC([setgroups], [
55385538#endif
55395539] )
55405540
5541+ AC_CHECK_DECL ( [ MAXLOGNAME] ,
5542+ [ AC_DEFINE ( [ HAVE_MAXLOGNAME] , [ 1] ,
5543+ [ Define if you have the 'MAXLOGNAME' constant.] ) ] ,
5544+ [ ] ,
5545+ [ @%:@ include <sys/params.h>] )
5546+
5547+ AC_CHECK_DECLS ( [ UT_NAMESIZE] ,
5548+ [ AC_DEFINE ( [ HAVE_UT_NAMESIZE] , [ 1] ,
5549+ [ Define if you have the 'HAVE_UT_NAMESIZE' constant.] ) ] ,
5550+ [ ] ,
5551+ [ @%:@ include <utmp.h>] )
5552+
55415553# check for openpty, login_tty, and forkpty
55425554
55435555AC_CHECK_FUNCS ( [ openpty] , [ ] ,
0 commit comments