1878 |
|
|
1879 |
if test "${HAVE_JPEG}" = "yes"; then |
if test "${HAVE_JPEG}" = "yes"; then |
1880 |
AC_DEFINE(HAVE_JPEG) |
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]) |
1891 |
fi |
fi |
1892 |
fi |
fi |
1893 |
|
|
1925 |
if test "${HAVE_X11}" = "yes"; then |
if test "${HAVE_X11}" = "yes"; then |
1926 |
if test "${with_gif}" != "no"; then |
if test "${with_gif}" != "no"; then |
1927 |
AC_CHECK_HEADER(gif_lib.h, |
AC_CHECK_HEADER(gif_lib.h, |
1928 |
AC_CHECK_LIB(ungif, DGifOpen, HAVE_GIF=yes)) |
# EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
1929 |
|
# Earlier versions can crash Emacs. |
1930 |
|
AC_CHECK_LIB(ungif, EGifPutExtensionLast, HAVE_GIF=yes)) |
1931 |
fi |
fi |
1932 |
|
|
1933 |
if test "${HAVE_GIF}" = "yes"; then |
if test "${HAVE_GIF}" = "yes"; then |