diff options
author | Bruce A. Mah <bmah@kitchenlab.org> | 2017-11-08 10:18:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-08 10:18:30 -0800 |
commit | cb2dcd3f6dc7efddc9b068bda3ed489e2698584c (patch) | |
tree | 8db06338fe7850a78a056891a6ba1e879b186e18 /configure.ac | |
parent | bf51208bb2625546ef9e185cb177bfd93703a8e9 (diff) | |
download | iperf3-cb2dcd3f6dc7efddc9b068bda3ed489e2698584c.tar.gz |
Provide a getline(3) implementation for systems without it. (#663)
The getline(3) implementation comes from NetBSD's file(1) command.
This should make compiling work on macOS pre 10.7. Fixes #607.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index cfb42ac..04d56bc 100644 --- a/configure.ac +++ b/configure.ac @@ -168,6 +168,10 @@ AC_CHECK_FUNCS([cpuset_setaffinity sched_setaffinity], # it needs and what arguments it expects. AC_CHECK_FUNCS([sendfile]) +# Check for getline support, used as a part of authenticated +# connections. +AC_CHECK_FUNCS([getline]) + # Check for packet pacing socket option (Linux only for now). AC_CACHE_CHECK([SO_MAX_PACING_RATE socket option], [iperf3_cv_header_so_max_pacing_rate], |