All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/5] dapl-2.0 - configure: need a false conditional for verbs attr.link_layer member check
@ 2010-06-16 17:21 Davis, Arlin R
  0 siblings, 0 replies; only message in thread
From: Davis, Arlin R @ 2010-06-16 17:21 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA, ofw_list


Signed-off-by: Arlin Davis <arlin.r.davis-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
 configure.in |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/configure.in b/configure.in
index c36304d..4110024 100644
--- a/configure.in
+++ b/configure.in
@@ -23,20 +23,16 @@ if test "$disable_libcheck" != "yes"
 then
 AC_CHECK_LIB(ibverbs, ibv_get_device_list, [],
     AC_MSG_ERROR([ibv_get_device_list() not found.  libdapl requires libibverbs.]))
-fi
 
-dnl Checks for header files.
-if test "$disable_libcheck" != "yes"
-then
 AC_CHECK_HEADER(infiniband/verbs.h, [],
     AC_MSG_ERROR([<infiniband/verbs.h> not found.  Is libibverbs installed?]))
-fi
 
-if test "$disable_libcheck" != "yes"
-then
 AC_CHECK_MEMBER(struct ibv_port_attr.link_layer, 
-    AM_CONDITIONAL(DEFINE_ATTR_LINK_LAYER, test "yes" = "yes"),
-    [], [#include <infiniband/verbs.h>])
+    AM_CONDITIONAL(DEFINE_ATTR_LINK_LAYER, test "yes" = "yes"), 
+    AM_CONDITIONAL(DEFINE_ATTR_LINK_LAYER, test "yes" = "no"), 
+    [#include <infiniband/verbs.h>])
+else
+    AM_CONDITIONAL(DEFINE_ATTR_LINK_LAYER, test "yes" = "no")
 fi
 
 AC_CACHE_CHECK(whether ld accepts --version-script, ac_cv_version_script,
-- 
1.5.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-16 17:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-16 17:21 [PATCH 3/5] dapl-2.0 - configure: need a false conditional for verbs attr.link_layer member check Davis, Arlin R

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.