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

From: Date: Tue, 02 Jan 2007 20:20:27 +0000
Subject: Re: [GD-DEVEL] LibGD should not link against libX11
References: 1 2 3 4 5  Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-34@lists.php.net to get a copy of this message
Hello, On 1/2/07, Jonas Smedegaard <dr@jones.dk> 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

« previous php.gd.devel (#34) next »