infiniband-diags: fail configure if glib2 is not found
PATCH 1/1 infiniband-diags: fail configure if glib2 is not found
Signed-off-by Ira Weiny <[email protected]>
--- README | 1 + configure.ac | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-)
README +1 -0
@@ -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
@@ -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