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 committed by Brent Cook
parent ebeda8bad3
commit 7442568456

View File

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