diff options
author | Guy Harris <gharris@sonic.net> | 2022-03-28 02:22:58 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2022-03-28 02:22:58 -0700 |
commit | 11cddfd689beb70030830abec10a161b1df3c9ae (patch) | |
tree | 4064f9044974d79cdb656a135827fb114db090bb | |
parent | c316c9ce7e8a6343bd8f856852fdcbc5220d3e7e (diff) | |
download | libpcap-11cddfd689beb70030830abec10a161b1df3c9ae.tar.gz |
configure: start adding back the libibverbs library checks. [skip cirrus] [skip appveyor]
Bit by bit until it either breaks, and we know what did it, or it's all
there, in which case it was some mysterious glitch.
[skip ci]
-rwxr-xr-x | configure | 9 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 12 insertions, 0 deletions
@@ -12729,6 +12729,15 @@ fi save_LIBS="$LIBS" CFLAGS="$LIBIBVERBS_CFLAGS" LIBS="$LIBIBVERBS_LIBS" + ac_fn_c_check_header_mongrel "$LINENO" "infiniband/verbs.h" "ac_cv_header_infiniband_verbs_h" "$ac_includes_default" +if test "x$ac_cv_header_infiniband_verbs_h" = xyes; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Testing 1 2 3..." >&5 +$as_echo "$as_me: WARNING: Testing 1 2 3..." >&2;} + +fi + + CFLAGS="$save_CFLAGS" LIBS="$save_LIBS" fi diff --git a/configure.ac b/configure.ac index 66954235..f9371a60 100644 --- a/configure.ac +++ b/configure.ac @@ -2888,6 +2888,9 @@ if test "x$enable_rdma" != "xno"; then save_LIBS="$LIBS" CFLAGS="$LIBIBVERBS_CFLAGS" LIBS="$LIBIBVERBS_LIBS" + AC_CHECK_HEADER(infiniband/verbs.h, [ + AC_MSG_WARN([Testing 1 2 3...]) + ]) CFLAGS="$save_CFLAGS" LIBS="$save_LIBS" fi |