When building iperf2 2.1.4, the ./configure log snippet:
checking whether TPACKET_V2 is declared... yes
./configure: line 4412: ,: command not found
checking whether IFF_TUN is declared... yes
checking whether IFF_TAP is declared... yes
The stray comma can be fixed with:
--- iperf-2.1.4/configure.ac.orig 2021-08-29 13:33:29.452029833 -0500
+++ iperf-2.1.4/configure.ac 2021-08-29 13:33:46.306889722 -0500
@@ -94,7 +94,7 @@
AC_DEFINE([HAVE_AF_PACKET],[1],[AF_PACKET support is available]),
[enable_af_packet="no"],
[[#include <sys/socket.h>
- #include <linux/if_packet.h>]]),
+ #include <linux/if_packet.h>]])
AM_CONDITIONAL([AF_PACKET], [test "x${enable_af_packet}" = "xyes"])
])