Disable netcat if arpa/telnet.h is not available (iOS)
This commit is contained in:
parent
ebeda8bad3
commit
7442568456
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user