From 94747a1d283c249f92c5505076bac35fa5785585 Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Thu, 21 Sep 2017 15:27:59 +0900 Subject: [PATCH] configury: do not use libnl-3 when it is half broken Refs. open-mpi/ompi#4211 Signed-off-by: Gilles Gouaillardet --- config/opal_check_libnl.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/opal_check_libnl.m4 b/config/opal_check_libnl.m4 index 075ce6ed82..36e9df33c4 100644 --- a/config/opal_check_libnl.m4 +++ b/config/opal_check_libnl.m4 @@ -1,6 +1,6 @@ dnl -*- shell-script -*- dnl -dnl Copyright (c) 2015-2016 Research Organization for Information Science +dnl Copyright (c) 2015-2017 Research Organization for Information Science dnl and Technology (RIST). All rights reserved. dnl $COPYRIGHT$ dnl @@ -217,7 +217,8 @@ AC_DEFUN([OPAL_CHECK_LIBNL_V3],[ # If we found everything AS_IF([test $opal_libnlv3_happy -eq 1], [$2_LIBS="-lnl-3 -lnl-route-3" - OPAL_HAVE_LIBNL3=1]) + OPAL_HAVE_LIBNL3=1], + [$2_LIBS=""]) OPAL_VAR_SCOPE_POP ])