libpci doesn't always need zlib, split the conf...
libpci doesn't always need zlib, split the conf...

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.

This commit was SVN r3401.

shekkbuilder/hwloc,ggouaillardet/hwloc,shekkbuilder/hwloc,ggouaillardet/hwloc,shekkbuilder/hwloc,ggouaillardet/hwloc,shekkbuilder/hwloc,ggouaillardet/hwloc