[PATCH] [openib-general] Strange configure error in libibcm

Jack Morgenstein jackm at mellanox.co.il
Wed Sep 14 05:09:03 PDT 2005


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050914/acf1a569/attachment.html>


More information about the general mailing list