Re: LD Changes To Implicit DSO Linking Update

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

 



On Wed, 2010-02-10 at 10:34 -0800, Adam Williamson wrote:
> On Wed, 2010-02-10 at 20:42 +0900, Mamoru Tasaka wrote:
> 
> > You should add "AC_CHECK_LIB(X11, XKeysymToString)" to configure.in,
> > for example.
> 
> It's nicer to use pkg-config for libraries which provide .pc files,
> isn't it? X11 does:
> 
> /usr/lib64/pkgconfig/x11.pc

Yes.  If you do

PKG_CHECK_MODULES(FOO, x11)

then FOO_LIBS and FOO_CFLAGS will be defined to the appropriate
libraries and cflags for libX11.  The second argument can be a list:

PKG_CHECK_MODULES(FOO, x11 xext sm)

will add the right things for all of libX11, libXext, and libSM.

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux