diff options
| -rw-r--r-- | configure.ac | 7 |
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 | |||
| 3186 | AC_SUBST(LIBXPM) | 3186 | AC_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. | ||
| 3190 | HAVE_JPEG=no | 3189 | HAVE_JPEG=no |
| 3191 | LIBJPEG= | 3190 | LIBJPEG= |
| 3192 | if test "${with_jpeg}" != "no"; then | 3191 | if 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 |
| 3227 | fi | 3230 | fi |
| 3228 | AC_SUBST(LIBJPEG) | 3231 | AC_SUBST(LIBJPEG) |