Re: [PATCH] Fix libnl/libnl-3 logic in configure script

Vincent Bernat <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
 ❦  7 janvier 2014 16:03 CET, "Ryan O'Hara" <[email protected]> :

> $ pkg-config --cflags libnl-3.0
> -I/usr/include/libnl3
>
> $ pkg-config --cflags libnl-genl-3.0
> -I/usr/include/libnl3
>
> I think could be solved having the configure script retrieve the
> cflags and libs for both libnl-3.0 and libnl-genl-3.0. In my original
> patch I didn't do this because I wanted to avoid having duplicates in
> LIBS and CFLAGS, but that is quite harmless.

You can use `pkg-config --cflags libnl-3.0 libnl-genl-3.0`
-- 
Use data arrays to avoid repetitive control sequences.
            - The Elements of Programming Style (Kernighan & Plauger)

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.