OSDN Git Service

probe for getspnam(), forkpty(), utmpx, replace sethostname()
authorIsaac Dunham <ibid.ag@gmail.com>
Wed, 19 Nov 2014 22:38:46 +0000 (16:38 -0600)
committerIsaac Dunham <ibid.ag@gmail.com>
Wed, 19 Nov 2014 22:38:46 +0000 (16:38 -0600)
commit46ddf0e34b03f7711a9c80f7a70dc8cbf732f782
tree4f69c03c7da6c6f3fd977182ebb93c89703d47a8
parent159a7f1621eecf6cf3c2824ffb762a19bf5f7667
probe for getspnam(), forkpty(), utmpx, replace sethostname()

Android is missing all of these; we need to probe for some so we have
a config symbol to depend on.
sethostname() is easily replaced.
We got termios.h via pty.h; now it's not included in configure-step tools,
so we need termios.h to generate globals.
13 files changed:
lib/portability.c
lib/portability.h
scripts/genconfig.sh
toys.h
toys/lsb/passwd.c
toys/lsb/su.c
toys/other/login.c
toys/other/netcat.c
toys/other/uptime.c
toys/other/w.c
toys/pending/sulogin.c
toys/pending/telnetd.c
toys/posix/who.c