Re: [GD-DEVEL] LibGD should not link against libX11

[email protected] (Pierre)
Newsgroups php.gd.devel
Message-ID <[email protected]>
Hello,

On 1/2/07, Jonas Smedegaard <[email protected]> wrote:

> I believe the issue I am raising is the the one expressed like this in
> the pkg-config manpage:
>
> > Don't add any flags for required packages; pkg-config will add those
> > automatically.
>
>
> What I request is that you do not hardcode a linkage that is not truly
> used anywhere.
>
> If you trust info provided by pkg-config, then please do so. What is
> currently done is _not_ to probe pkg-config info at bootstrapping time.

I did not find a libXpm that does not rely on X11 (incl. on Debian)

I agree however that using pkg-config will fix the problem as soon as
a system has a libxpm with no X11 dependency (that's not the case on
debian right now, neither on nearly all distros I met).

> Yes, I do not expect any changes at all to happen directly from this
> change. But I can then move to the next level and bug the X11 developers
> about the libXPM dependency on libX11.

Please do yes, as i will not remove (except by replacing the XPM LIBS
and CFLAGS with the results from `pkg-config --libs xpm` and
`pkg-confif --cflags xpm`

If you have a patch, I will commit it quickly. It has to use
pkg-config if it is present, if it is not, it has fall back to what we
have now (X11 incl.).

Cheers,
--Pierre
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.