]> git.eshelyaron.com Git - emacs.git/commitdiff
Add support for Jpeglib
authorYuuki Harano <masm+github@masm11.me>
Sat, 11 Jan 2020 16:29:39 +0000 (01:29 +0900)
committerJeff Walsh <fejfighter@gmail.com>
Sun, 22 Nov 2020 03:46:56 +0000 (14:46 +1100)
configure.ac: enable jpeglib support for pgtk

jpeglib を使えるようにした。

imagemagick がうまく機能してるので気付かなかった…

configure.ac

index 6f5ad44295cd4c602f1f1338df2fca1f69271c43..16f7ef0e7bed04e1a64c229a75a6f7577ebe0868 100644 (file)
@@ -3655,7 +3655,7 @@ AC_SUBST(LIBXPM)
 ### Use -ljpeg if available, unless '--with-jpeg=no'.
 HAVE_JPEG=no
 LIBJPEG=
-if test "${HAVE_X11}" = "yes" || test "${HAVE_W32}" = "yes" \
+if test "${HAVE_X11}" = "yes" || test "$window_system" = "pgtk" || test "${HAVE_W32}" = "yes" \
    || test "${HAVE_NS}" = "yes"; then
   if test "${with_jpeg}" != "no"; then
     AC_CACHE_CHECK([for jpeglib 6b or later],