Skip to contentSkip to conversation

infiniband-diags: fail configure if glib2 is not found

PATCH New Ira Weiny 1 participant 1 message Aug 20, 2013 InfiniBand

lore
Share & tools
lore

Ira Weiny

author
#0 lore raw

PATCH 1/1 infiniband-diags: fail configure if glib2 is not found

---
 README       |    1 +
 configure.ac |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
README +1 -0
index d19e3e9..10a11e2 100644
@@ -14,6 +14,7 @@ Dependencies:
 	2) libibumad >= 1.3.7
 	3) opensm-libs >= 3.3.10
 	4) ib_umad kernel module
+	5) glib2
 
 
 Release notes v1.6.1 => 1.6.2
configure.ac +2 -0
index 4c37259..b43818b 100644
@@ -167,6 +167,8 @@ PKG_CHECK_MODULES([GLIB], [glib-2.0], ac_glib=yes, ac_glib=no)
 AM_CONDITIONAL([HAVE_GLIB], test "$ac_glib" = "yes")
 if test "$ac_glib" = "yes"; then
    AC_DEFINE([HAVE_GLIB], 1, [Define to 1 to indicate GLIB support])
+else
+   AC_MSG_ERROR(glib not found; glib2 is required)
 fi
 
 dnl Begin libibnetdisc stuff
Signature · 6 lines
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html