diff options
| author | Richard M. Stallman | 2002-03-01 16:24:37 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-03-01 16:24:37 +0000 |
| commit | 4d766b593cc0cfa0e214d747e8172ec0adcce6dd (patch) | |
| tree | 51c1e4d7825fc94d64f23ae3270884bab043c7f1 | |
| parent | 857b864af1baa11116ee722a5acb5d102b39d696 (diff) | |
| download | emacs-4d766b593cc0cfa0e214d747e8172ec0adcce6dd.tar.gz emacs-4d766b593cc0cfa0e214d747e8172ec0adcce6dd.zip | |
(HAVE_JPEG): Turn it off if libjpeg version < 6b.
(HAVE_GIF): Don't use old libungif versions that crash.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.in | 14 |
2 files changed, 18 insertions, 1 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-03-01 Richard M. Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * configure.in (HAVE_JPEG): Turn it off if libjpeg version < 6b. | ||
| 4 | (HAVE_GIF): Don't use old libungif versions that crash. | ||
| 5 | |||
| 1 | 2002-02-26 Richard M. Stallman <rms@gnu.org> | 6 | 2002-02-26 Richard M. Stallman <rms@gnu.org> |
| 2 | 7 | ||
| 3 | * configure.in <making srcdir absolute>: Verify that PWD is correct, | 8 | * configure.in <making srcdir absolute>: Verify that PWD is correct, |
diff --git a/configure.in b/configure.in index 74b953c9e37..c59caae1e5d 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1878,6 +1878,16 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 1878 | 1878 | ||
| 1879 | if test "${HAVE_JPEG}" = "yes"; then | 1879 | if test "${HAVE_JPEG}" = "yes"; then |
| 1880 | AC_DEFINE(HAVE_JPEG) | 1880 | AC_DEFINE(HAVE_JPEG) |
| 1881 | AC_EGREP_CPP( | ||
| 1882 | changequote({, })dnl avoid leadingspace on the next line | ||
| 1883 | {version= *(6[2-9]|[7-9][0-9])}, | ||
| 1884 | changequote([, ])dnl | ||
| 1885 | [#include <jpeglib.h> | ||
| 1886 | version=JPEG_LIB_VERSION | ||
| 1887 | ], | ||
| 1888 | AC_DEFINE(HAVE_JPEG), | ||
| 1889 | [AC_MSG_WARN([libjpeg found, but not version 6b or later]) | ||
| 1890 | HAVE_JPEG=no]) | ||
| 1881 | fi | 1891 | fi |
| 1882 | fi | 1892 | fi |
| 1883 | 1893 | ||
| @@ -1915,7 +1925,9 @@ HAVE_GIF=no | |||
| 1915 | if test "${HAVE_X11}" = "yes"; then | 1925 | if test "${HAVE_X11}" = "yes"; then |
| 1916 | if test "${with_gif}" != "no"; then | 1926 | if test "${with_gif}" != "no"; then |
| 1917 | AC_CHECK_HEADER(gif_lib.h, | 1927 | AC_CHECK_HEADER(gif_lib.h, |
| 1918 | AC_CHECK_LIB(ungif, DGifOpen, HAVE_GIF=yes)) | 1928 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
| 1929 | # Earlier versions can crash Emacs. | ||
| 1930 | AC_CHECK_LIB(ungif, EGifPutExtensionLast, HAVE_GIF=yes)) | ||
| 1919 | fi | 1931 | fi |
| 1920 | 1932 | ||
| 1921 | if test "${HAVE_GIF}" = "yes"; then | 1933 | if test "${HAVE_GIF}" = "yes"; then |