Michal, All, On Thursday 21 March 2013 Michal Marek wrote: > Dne 7.3.2013 19:20, Yann E. MORIN napsal(a): > > From: Justin Lecher <jlec@xxxxxxxxxx> [--SNIP--] > > diff --git a/scripts/kconfig/lxdialog/check-lxdialog.sh b/scripts/kconfig/lxdialog/check-lxdialog.sh > > index 8078813..782d200 100644 > > --- a/scripts/kconfig/lxdialog/check-lxdialog.sh > > +++ b/scripts/kconfig/lxdialog/check-lxdialog.sh > > @@ -4,6 +4,8 @@ > > # What library to link > > ldflags() > > { > > + pkg-config --libs ncursesw 2>/dev/null && exit > > + pkg-config --libs ncurses 2>/dev/null && exit > > for ext in so a dll.a dylib ; do > > for lib in ncursesw ncurses curses ; do > > Do you also plan to use pkg-config in the ccflags function? That was my intention to pursue Justin's work to the CFLAGS, but that is not so simple for menuconfig as it is for the libs, as: - we need the name of the header to include: '-DCURSES_LOC="<path/ncurses.h>"' (where 'path' is a relative path) which we use as: #include CURSES_LOC - there is no way to get this info from pkg-config So, I'll be working a bit more on this this WE, and see if I can come with something meaningful and not too ugly. ;-) Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html