aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 39f3f9f5f2f..4cb3c354da5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3186,7 +3186,6 @@ fi
3186AC_SUBST(LIBXPM) 3186AC_SUBST(LIBXPM)
3187 3187
3188### Use -ljpeg if available, unless `--with-jpeg=no'. 3188### Use -ljpeg if available, unless `--with-jpeg=no'.
3189### mingw32 doesn't use -ljpeg, since it loads the library dynamically.
3190HAVE_JPEG=no 3189HAVE_JPEG=no
3191LIBJPEG= 3190LIBJPEG=
3192if test "${with_jpeg}" != "no"; then 3191if test "${with_jpeg}" != "no"; then
@@ -3222,7 +3221,11 @@ if test "${with_jpeg}" != "no"; then
3222 HAVE_JPEG=yes 3221 HAVE_JPEG=yes
3223 AC_DEFINE([HAVE_JPEG], 1, 3222 AC_DEFINE([HAVE_JPEG], 1,
3224 [Define to 1 if you have the jpeg library (typically -ljpeg).]) 3223 [Define to 1 if you have the jpeg library (typically -ljpeg).])
3225 test "$emacs_cv_jpeglib" != yes && LIBJPEG=$emacs_cv_jpeglib 3224 ### mingw32 doesn't use -ljpeg, since it loads the library
3225 ### dynamically when needed, and doesn't want a run-time
3226 ### dependency on the jpeglib DLL.
3227 test "$emacs_cv_jpeglib" != yes && test "${opsys}" != "mingw32" \
3228 && LIBJPEG=$emacs_cv_jpeglib
3226 fi 3229 fi
3227fi 3230fi
3228AC_SUBST(LIBJPEG) 3231AC_SUBST(LIBJPEG)