Disable netcat if arpa/telnet.h is not available (iOS)

This commit is contained in:
jacob berkman 2016-08-09 15:04:45 -07:00
parent 36aafbb241
commit 83e9741dc6

View File

@ -21,6 +21,8 @@ case $host_os in
# public source:
# http://www.opensource.apple.com/source/Libc/Libc-997.90.3/gen/FreeBSD/arc4random.c
USE_BUILTIN_ARC4RANDOM=yes
# Not available on iOS
AC_CHECK_HEADER([arpa/telnet.h], [], [BUILD_NC=no])
;;
*freebsd*)
HOST_OS=freebsd