From xemacs-m  Sat Jan 25 16:04:55 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
          by xemacs.org (8.8.4/8.8.4) with ESMTP
	  id QAA01160 for <xemacs-beta@xemacs.org>; Sat, 25 Jan 1997 16:04:54 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id OAA17978;
	Sat, 25 Jan 1997 14:16:00 -0800
To: xemacs-beta@xemacs.org
Subject: Re: Patch for autodetection of PNG
References: <m3d8uttuia.fsf@arioch.tng.oche.de>
X-Url: http://www.miranova.com/%7Esteve/
Mail-Copies-To: never
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Carsten Leonhardt's message of 25 Jan 1997 20:38:53 +0100
Mime-Version: 1.0 (generated by tm-edit 7.100)
Content-Type: text/plain; charset=US-ASCII
Date: 25 Jan 1997 14:16:00 -0800
Message-ID: <m2680ls8nz.fsf@altair.xemacs.org>
Lines: 24
X-Mailer: Red Gnus v0.83/XEmacs 20.0

Carsten Leonhardt writes:

> [1  <text/plain; US-ASCII (7bit)>]
> This patches configure.in so that PNG is autodetected. The problem was
> that -lpng won't link unless either -lz or -lgz is linked, too. PNG
> also relies on the presence of the function "pow"; I added a test for
> that, too (makes me wonder if XEmacs would build without libm...).

This patch works for me.  :-)

> Note that I couldn't find the libgz anywhere, so I couldn't test that
> case. Could someone point me to it?

The ChangeLog in my copy of zlib (from libgr-2.0.11) has this entry:
Changes in 0.94 (13 Aug 95)
 ...
- rename libgz.a as libz.a

and my last libgz.so is dated 4-January, 1996 (the time I converted
the Linux systems here to ELF).
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.
Real men aren't afraid to use chains on icy roads.

