aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-01-05 22:11:33 +0000
committerDave Love2000-01-05 22:11:33 +0000
commit3cc9d384b9507f50769679443b4e06029f7203a4 (patch)
treeb274f96c362d2574db851c4b05acdf3ffccd128f
parent404fa7d6e3ffab57b38f58902a0dcb0f16c150dd (diff)
downloademacs-3cc9d384b9507f50769679443b4e06029f7203a4.tar.gz
emacs-3cc9d384b9507f50769679443b4e06029f7203a4.zip
Check for jerror.h as well as libjpeg.
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index b58e0e7fd2f..ba378ee17cc 100644
--- a/configure.in
+++ b/configure.in
@@ -1708,7 +1708,10 @@ if test "${HAVE_X11}" = "yes"; then
1708 if test "${with_jpeg}" != "no"; then 1708 if test "${with_jpeg}" != "no"; then
1709 old_c_flags="${CFLAGS}" 1709 old_c_flags="${CFLAGS}"
1710 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 1710 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
1711 AC_CHECK_LIB(jpeg, jpeg_destroy_compress, HAVE_JPEG=yes, , -lX11) 1711 dnl Checking for jpeglib.h can lose becsue of a redefinition of
1712 dnl HAVE_STDLIB_H.
1713 AC_CHECK_HEADER(jerror.h,
1714 AC_CHECK_LIB(jpeg, jpeg_destroy_compress, HAVE_JPEG=yes, , -lX11))
1712 CFLAGS="${old_c_flags}" 1715 CFLAGS="${old_c_flags}"
1713 fi 1716 fi
1714 1717