Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] hwloc trunk nightly 1.3a1r3511 fails to build on CentOS 5.6 & RHEL 5.6
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2011-06-30 01:50:14

Le 29/06/2011 13:18, Brice Goglin a écrit :
> I don't think we finally fixed this.
> IIRC, we need either a way to bypass the cache, or always add -lresolv
> even if it's useless (or find another way to detect if lresolv is needed).

Redefining our own HWLOC_AC_CHECK_LIB_NO_CACHE looks possible.

Otherwise, we could use something different from AC_CHECK_LIB for the
second check (AC_SEARCH_LIBS uses a different cache name).
Or even use AC_LINK_IFELSE/AC_TRY_LINK which never cache anything.