HewlettPackard / netperf

Netperf is a benchmark that can be used to measure the performance of many different types of networking. It provides tests for both unidirectional throughput, and end-to-end latency.
MIT License
859 stars 187 forks source link

configure.ac: use AC_USE_SYSTEM_EXTENSIONS #74

Open dankamongmen opened 1 year ago

dankamongmen commented 1 year ago

functions like splice(2) and sched_setaffinity(2), used in netperf, require _GNU_SOURCE to be declared. without it, we see warnings about missing definitions. once upon a time, AC_GNU_SOURCE would have pulled this in where appropriate, but that's just an alias these days for AC_USE_SYSTEM_EXTENSIONS. with this added, we no longer see the warnings on linux.