Menu

#136 configure{.ac} has a stray comma

1.0
closed
None
2023-03-20
2021-08-29
No

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"])
 ])

Discussion

  • Robert McMahon

    Robert McMahon - 2021-08-31
    • status: open --> accepted
    • assigned_to: Robert McMahon
     
  • Robert McMahon

    Robert McMahon - 2021-08-31
    • status: accepted --> pending
     
  • Robert McMahon

    Robert McMahon - 2023-03-20
    • status: pending --> closed
     

Log in to post a comment.

Auth0 Logo