Le 09/02/2013 15:48, Jeff Squyres (jsquyres) a écrit :
> On Feb 6, 2013, at 1:01 PM, Brice Goglin <brice.gog...@inria.fr> wrote:
>
>>> How about:
>>>
>>> - Check for libpciaccess.  If found, use it. STOP.
>>> - If not found:
>>>  - check for libpci.
>>>  - if found, and if --enable-gpl-taint was specified, use it. STOP.
>>>  - if not found, display the usual "no pci support" message at the end. 
>>> STOP.
>>>  - if found:
>>>    - display the usual "no pci support" message at the end
>>>    - but also display a big, bold, flashing message saying "We can enable 
>>> PCI support in one of two ways: 1) download/install libpciaccess 
>>> (http://cgit.freedesktop.org/xorg/lib/libpciaccess/), or 2) pass 
>>> --enable-gpl-taint to allow hwloc to use libpci, BUT BE AWARE THAT THIS 
>>> MAKES THIS HWLOC BINARY AND EVERYTHING THAT IT LINKS TO BE GPL!"
>> If "configure --help" and the big warning both say that enabling it
>> *may* taint as GPL, the option could just be "--enable-libpci".
>
> Sounds ok to me (sorry for the delay in replying; I was traveling Friday).
>
> Did you use the rest of the above scheme?

I think the only difference is when passing --enable-libpci while
pciaccess is available. Above says "use libpciaccess". My code uses
"libpci".

Brice


Reply via email to