unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dave Love <d.love@dl.ac.uk>
Cc: eliz@is.elta.co.il,  emacs-devel@gnu.org
Subject: Re: configure tests for graphics libraries
Date: 28 Feb 2002 21:24:23 +0000	[thread overview]
Message-ID: <rzqbse91erc.fsf@djlvig.dl.ac.uk> (raw)
In-Reply-To: <200202262015.g1QKFVV16926@aztec.santafe.edu>

Richard Stallman <rms@gnu.org> 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 <jpeglib.h>
+ 	 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


  parent reply	other threads:[~2002-02-28 21:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <rzqr8nojomi.fsf@djlvig.dl.ac.uk>
     [not found] ` <200202162157.g1GLvIG10113@aztec.santafe.edu>
     [not found]   ` <rzqpu30xfuu.fsf@djlvig.dl.ac.uk>
     [not found]     ` <200202220431.g1M4VbB13843@aztec.santafe.edu>
     [not found]       ` <rzq664omhgf.fsf@djlvig.dl.ac.uk>
2002-02-24 17:58         ` configure tests for graphics libraries Richard Stallman
2002-02-25  6:13           ` Eli Zaretskii
2002-02-26 20:15             ` Richard Stallman
2002-02-27 10:19               ` Eli Zaretskii
2002-02-28 21:24               ` Dave Love [this message]
2002-03-01 21:24                 ` Richard Stallman
2002-03-01 23:24                   ` Pavel Janík
2002-03-03 14:38                     ` Richard Stallman
2002-03-06 19:52                       ` Dave Love
2002-03-08  9:09                         ` Richard Stallman
2002-03-17 18:27                           ` Dave Love
2002-03-18 20:07                             ` Richard Stallman
2002-03-18 20:07                             ` Richard Stallman
2002-03-19  6:25                               ` Eli Zaretskii
2002-03-28 23:52                                 ` Dave Love
2002-03-28 23:43                               ` Dave Love
2002-03-30  3:44                                 ` Richard Stallman
2002-03-30  8:38                                   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rzqbse91erc.fsf@djlvig.dl.ac.uk \
    --to=d.love@dl.ac.uk \
    --cc=eliz@is.elta.co.il \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).