From b403ddee1e6e0cbc8c239a22067e9b8bca993b4d Mon Sep 17 00:00:00 2001 From: dmiller Date: Thu, 13 Aug 2026 14:54:46 +0000 Subject: [PATCH] Disable RDMA support when building included libpcap --- configure | 2 +- configure.ac | 2 +- nping/configure | 1 + nping/configure.ac | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 190fb6c5e..8fbe07f7e 100755 --- a/configure +++ b/configure @@ -7550,7 +7550,7 @@ fi if test x$have_libpcap != xyes then : - ac_configure_args="$ac_configure_args '--disable-dbus'" + ac_configure_args="$ac_configure_args '--disable-dbus' '--disable-rdma'" subdirs="$subdirs libpcap" if test "${LIBPCAP_INC+set}" = "set"; then diff --git a/configure.ac b/configure.ac index 2dacb6417..125a54c22 100644 --- a/configure.ac +++ b/configure.ac @@ -517,7 +517,7 @@ if test $have_libpcap = yes; then fi AS_IF([test x$have_libpcap != xyes], [ - ac_configure_args="$ac_configure_args '--disable-dbus'" + ac_configure_args="$ac_configure_args '--disable-dbus' '--disable-rdma'" AC_CONFIG_SUBDIRS(libpcap) if test "${LIBPCAP_INC+set}" = "set"; then CPPFLAGS="$CPPFLAGS -I$LIBPCAP_INC" diff --git a/nping/configure b/nping/configure index 8f6f2aa84..a10aa568e 100755 --- a/nping/configure +++ b/nping/configure @@ -6381,6 +6381,7 @@ fi if test $have_libpcap != yes ; then + ac_configure_args="$ac_configure_args '--disable-dbus' '--disable-rdma'" subdirs="$subdirs libpcap" diff --git a/nping/configure.ac b/nping/configure.ac index be7842a9c..fe18afdca 100644 --- a/nping/configure.ac +++ b/nping/configure.ac @@ -293,6 +293,7 @@ AC_SUBST(PCAP_DIST_CLEAN) AC_SUBST(LIBPCAP_LIBS) if test $have_libpcap != yes ; then + ac_configure_args="$ac_configure_args '--disable-dbus' '--disable-rdma'" AC_CONFIG_SUBDIRS(libpcap) fi