From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: Re: configure tests for graphics libraries Date: 28 Feb 2002 21:24:23 +0000 Message-ID: References: <200202262015.g1QKFVV16926@aztec.santafe.edu> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1014931943 14541 195.204.10.66 (28 Feb 2002 21:32:23 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 28 Feb 2002 21:32:23 GMT Cc: eliz@is.elta.co.il, emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16gYA2-0003mR-00 for ; Thu, 28 Feb 2002 22:32:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16gY56-0007Kn-00; Thu, 28 Feb 2002 16:27:16 -0500 Original-Received: from djlvig.dl.ac.uk ([148.79.112.146]) by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian)) id 16gY2R-0007FP-00; Thu, 28 Feb 2002 16:24:31 -0500 Original-Received: from fx by djlvig.dl.ac.uk with local (Exim 3.12 #1 (Debian)) id 16gY2M-0002Yl-00; Thu, 28 Feb 2002 21:24:26 +0000 Original-To: rms@gnu.org In-Reply-To: <200202262015.g1QKFVV16926@aztec.santafe.edu> Original-Lines: 55 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.95 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1645 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1645 Richard Stallman writes: > Would you like to adapt Dave's configure.in patch to test > EGifPutExtensionLast, and install it? There is a simple > autoconf macro to do that kind of test, and I think Emacs > already uses it. It's trivial. You should include the jpeg test too. Index: configure.in =================================================================== RCS file: /cvs/emacs/configure.in,v retrieving revision 1.267.4.7 diff -u -p -c -r1.267.4.7 configure.in cvs server: conflicting specifications of output style *** configure.in 28 Jan 2002 16:37:30 -0000 1.267.4.7 --- configure.in 28 Feb 2002 21:20:54 -0000 *************** if test "${HAVE_X11}" = "yes"; then *** 1851,1856 **** --- 1851,1866 ---- if test "${HAVE_JPEG}" = "yes"; then AC_DEFINE(HAVE_JPEG) + AC_EGREP_CPP( + changequote({, })dnl avoid leadingspace on the next line + {version= *(6[2-9]|[7-9][0-9])}, + changequote([, ])dnl + [#include + version=JPEG_LIB_VERSION + ], + AC_DEFINE(HAVE_JPEG), + [AC_MSG_WARN([libjpeg found, but not version 6b or later]) + HAVE_JPEG=no]) fi fi *************** HAVE_GIF=no *** 1888,1894 **** if test "${HAVE_X11}" = "yes"; then if test "${with_gif}" != "no"; then AC_CHECK_HEADER(gif_lib.h, ! AC_CHECK_LIB(ungif, DGifOpen, HAVE_GIF=yes)) fi if test "${HAVE_GIF}" = "yes"; then --- 1898,1906 ---- if test "${HAVE_X11}" = "yes"; then if test "${with_gif}" != "no"; then AC_CHECK_HEADER(gif_lib.h, ! # EGifPutExtensionLast only exists from version libungif-4.1.0b1. ! # Earlier versions can crash Emacs. ! AC_CHECK_LIB(ungif, EGifPutExtensionLast, HAVE_GIF=yes)) fi if test "${HAVE_GIF}" = "yes"; then _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel