The problem is in the ordering of checks in file
userspace/libibcm/configure.in
Below is a patch for the problem:
-------------------------------------------------------------------------
Index: configure.in
===================================================================
--- configure.in (revision 3404)
+++ configure.in (working copy)
@@ -12,6 +12,10 @@
dnl Checks for programs
AC_PROG_CC
+dnl Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+AC_CHECK_SIZEOF(long)
+
dnl Checks for libraries
AC_CHECK_LIB(ibverbs, ibv_get_devices, [],
AC_MSG_ERROR([ibv_get_devices() not found. libibcm requires libibcm.]))
@@ -25,10 +29,6 @@
AC_MSG_ERROR([<infiniband/at.h> not found. Is libibat installed?]))
AC_HEADER_STDC
-dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-AC_CHECK_SIZEOF(long)
-
AC_CACHE_CHECK(whether ld accepts --version-script, ac_cv_version_script,
if test -n "`$LD --help < /dev/null 2>/dev/null | grep version-script`"; then
ac_cv_version_script=yes
--------------------------------------------------------------------------------------------
Jack
_______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
