aboutsummaryrefslogtreecommitdiff
path: root/scripts/genconfig.sh
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-16 13:49:23 -0600
committerElliott Hughes <enh@google.com>2015-01-16 13:49:23 -0600
commitc2415d16a8991e2192bda002baab840bfa4d5d79 (patch)
treec8ad3f35c90d2c7d25cbc95b7ce9dfbec72416a6 /scripts/genconfig.sh
parent3b915991f8c8648f939498777f4d76aad04f2817 (diff)
downloadtoybox-c2415d16a8991e2192bda002baab840bfa4d5d79.tar.gz
AOSP master has <pty.h> and builds netcat/nc.
Diffstat (limited to 'scripts/genconfig.sh')
-rwxr-xr-xscripts/genconfig.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh
index e59aa392..ead5b8a2 100755
--- a/scripts/genconfig.sh
+++ b/scripts/genconfig.sh
@@ -58,14 +58,7 @@ EOF
}
EOF
- # Android is missing shadow.h and pty.h
- probesymbol TOYBOX_PTY -c << EOF
- #include <pty.h>
- int main(int argc, char *argv[]) {
- int master; return forkpty(&master, 0, 0, 0);
- }
-EOF
-
+ # Android is missing shadow.h
probesymbol TOYBOX_SHADOW -c << EOF
#include <shadow.h>
int main(int argc, char *argv[]) {