diff toys/pending/sulogin.c @ 1564:685a0da6ca59 draft

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.
author Isaac Dunham <ibid.ag@gmail.com>
date Wed, 19 Nov 2014 16:38:46 -0600
parents 5d64dc59e569
children
line wrap: on
line diff
--- a/toys/pending/sulogin.c	Wed Nov 19 14:29:53 2014 -0600
+++ b/toys/pending/sulogin.c	Wed Nov 19 16:38:46 2014 -0600
@@ -13,6 +13,7 @@
 config SULOGIN
   bool "sulogin"
   default n
+  depends on TOYBOX_SHADOW
   help
     usage: sulogin [-t time] [tty]