[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 4 of 4 RFC] xl/remus: Add libnl3 dependency to autoconf scripts and libxl/Makefile



On 29/07/13 14:07, Shriram Rajagopalan wrote:
> On Mon, Jul 29, 2013 at 1:58 AM, Wen Congyang <wency@xxxxxxxxxxxxxx> wrote:
>>> If I use AC_CHECK_LIB and AC_CHECK_HEADERS, would it automatically add the
>>> include path to CFLAGS, such that I wouldnt have to manually specify
>>> -I flags in libxl/Makefile ?
>>
>> No. AC_CHECK_HEADERS can check if the header file is under the default 
>> directory.
>> If the header file is under the directory /usr/include, you can use it.
>> But why your header file is under the directory /usr/local/include?
>>
> 
> I think its because I installed libnl3 in /usr/local, from the sources.
> If there is a proper way to specify custom install directories for
> certain libraries,
> then I dont think we need that hard coded -I /usr/local/include/libnl3

You need to tell pkg-config where to find the .pc file.  I don't recall
the details for how to do this. PKG_CONFIG_PATH perhaps?

David

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.