From f57073495d2bafb36fc960fab394e46ce233eb57 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Wed, 14 Sep 2005 16:36:56 +0000 Subject: [PATCH] r3430: Fix strange configure error in libibcm. The problem is in the ordering of checks in file userspace/libibcm/configure.in Signed-off-by: Sean Hefty --- configure.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 76082c6..e4d56aa 100644 --- a/configure.in +++ b/configure.in @@ -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([ 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 -- 2.46.0