]> git.openfabrics.org - ~shefty/libibcm.git/commitdiff
r3430: Fix strange configure error in libibcm. The problem is in the
authorSean Hefty <sean.hefty@intel.com>
Wed, 14 Sep 2005 16:36:56 +0000 (16:36 +0000)
committerSean Hefty <sean.hefty@intel.com>
Wed, 14 Sep 2005 16:36:56 +0000 (16:36 +0000)
ordering of checks in file userspace/libibcm/configure.in

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
configure.in

index 76082c6a0ba28eda4f0b19f571bce69415e84c33..e4d56aab7afb3ae7a16c6135f3d690bb93e48087 100644 (file)
@@ -12,6 +12,10 @@ AM_PROG_LIBTOOL
 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_CHECK_HEADER(infiniband/at.h, [],
     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