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.

Brice

Reply via email to