Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] [hwloc-svn] svn:hwloc r3401
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2011-04-07 07:57:42


On Apr 7, 2011, at 7:42 AM, bgoglin_at_[hidden] wrote:

> libpci doesn't always need zlib, split the configure stuff in 3 parts:
>
> * pkg-config case (recent libpci) was already ok
> * non-pkg-config case now does
> + check without -lz first (ok for RHEL5 and Etch)
> + if failed, try again with -lz (needed for FC7)
> - this second check looks for a different symbol to ignore
> the cached results of the first check
>
> I am not sure if this double-check is the right way to handle
> libraries with variable dependencies.

I think it's fine, but you should probably check for libz (if/when needed) before adding -lz.

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/