[PATCH:libfontenc] Fail configure if zlib.h & -lz not found

Alan Coopersmith alan.coopersmith at oracle.com
Sat Nov 20 08:54:06 PST 2010


Julien Cristau wrote:
> On Sat, Nov 20, 2010 at 08:22:09 -0800, Dan Nicholson wrote:
>> I think this breaks zlib linking. Normally if you use AC_CHECK_LIB
>> with no third argument, it appends -l$1 to LIBS, and all objects get
>> linked against $LIBS. Now since you're suppressing the default action
>> by passing a third argument, I think you may not get -lz in $LIBS. Can
>> you check?
>>
> Just tested, and from what I can tell passing an empty $3 is the same as
> not passing it, so this still defines HAVE_LIBZ and sets LIBS="-lz".

That's what I saw when testing before submitting the patch as well,
though the documentation was unclear as to whether that's intended
or accidental.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list