From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Recent change to xfns.c breaks compilation Date: Tue, 15 Jul 2003 07:02:19 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <5xznjjcj8h.fsf@kfs2.cua.dk> <5xwuekaekd.fsf@kfs2.cua.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1058268500 13645 80.91.224.249 (15 Jul 2003 11:28:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Jul 2003 11:28:20 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jul 15 13:28:19 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19cNyl-0003Xv-00 for ; Tue, 15 Jul 2003 13:28:19 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19cOCO-0002Xp-00 for ; Tue, 15 Jul 2003 13:42:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19cNoi-0005No-G9 for emacs-devel@quimby.gnus.org; Tue, 15 Jul 2003 07:17:56 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19cNm9-0004un-0I for emacs-devel@gnu.org; Tue, 15 Jul 2003 07:15:17 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19cNcx-00039k-Sz for emacs-devel@gnu.org; Tue, 15 Jul 2003 07:05:48 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19cNZb-0002Qr-Ur for emacs-devel@gnu.org; Tue, 15 Jul 2003 07:02:19 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.20) id 19cNZb-0002iK-LG; Tue, 15 Jul 2003 07:02:19 -0400 Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: <5xwuekaekd.fsf@kfs2.cua.dk> (storm@cua.dk) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15620 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15620 I'm not an expert on autoconf, so I really cannot say. However, I think the simpler form to find the header (and define either HAVE_LIBPNG_PNG_H or HAVE_PNG_H) should work: AC_CHECK_HEADERS(libpng/png.h,, [AC_CHECK_HEADERS(png.h)]) Could someone say if this is correct?