Land #216, check for telnet.h before building nc

This commit is contained in:
Brent Cook 2016-08-13 11:44:30 -05:00
commit 439de92dc6

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