diff options
author | jacob berkman <jberkman@weebly.com> | 2016-08-09 15:04:45 -0700 |
---|---|---|
committer | jacob berkman <jberkman@weebly.com> | 2016-08-09 15:04:45 -0700 |
commit | 83e9741dc64f420a2bafc013e5056d74b647729d (patch) | |
tree | 07b404f7b73c147fc290b639aa13e3a5e14519a6 /m4 | |
parent | 36aafbb2410a9a0da0c83c32499d3dcb6e5d2025 (diff) | |
download | portable-83e9741dc64f420a2bafc013e5056d74b647729d.tar.gz portable-83e9741dc64f420a2bafc013e5056d74b647729d.tar.bz2 portable-83e9741dc64f420a2bafc013e5056d74b647729d.zip |
Disable netcat if arpa/telnet.h is not available (iOS)
Diffstat (limited to 'm4')
-rw-r--r-- | m4/check-os-options.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4 index 3cb2f82..f2ff57f 100644 --- a/m4/check-os-options.m4 +++ b/m4/check-os-options.m4 | |||
@@ -21,6 +21,8 @@ case $host_os in | |||
21 | # public source: | 21 | # public source: |
22 | # http://www.opensource.apple.com/source/Libc/Libc-997.90.3/gen/FreeBSD/arc4random.c | 22 | # http://www.opensource.apple.com/source/Libc/Libc-997.90.3/gen/FreeBSD/arc4random.c |
23 | USE_BUILTIN_ARC4RANDOM=yes | 23 | USE_BUILTIN_ARC4RANDOM=yes |
24 | # Not available on iOS | ||
25 | AC_CHECK_HEADER([arpa/telnet.h], [], [BUILD_NC=no]) | ||
24 | ;; | 26 | ;; |
25 | *freebsd*) | 27 | *freebsd*) |
26 | HOST_OS=freebsd | 28 | HOST_OS=freebsd |