emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/configure.in


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/configure.in
Date: Fri, 01 Mar 2002 11:24:31 -0500

Index: emacs/configure.in
diff -c emacs/configure.in:1.285 emacs/configure.in:1.286
*** emacs/configure.in:1.285    Tue Feb 26 22:53:03 2002
--- emacs/configure.in  Fri Mar  1 11:24:31 2002
***************
*** 1878,1883 ****
--- 1878,1893 ----
  
    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
    
***************
*** 1915,1921 ****
  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
--- 1925,1933 ----
  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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]