emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 9a82195: Make --with-imagemagick bug out if there's


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 9a82195: Make --with-imagemagick bug out if there's no support for it
Date: Tue, 24 Sep 2019 13:01:57 -0400 (EDT)

branch: master
commit 9a82195cfcafd3003fc971b71ab401b37ecc0930
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Make --with-imagemagick bug out if there's no support for it
    
    * configure.ac (HAVE_IMAGEMAGICK): Stop configuration if the user
    has said --with-imagemagick, but there's no support for it
    (bug#24455).
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index e822b0b..7435f2e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2638,6 +2638,9 @@ if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = 
"yes" || test "${HAVE_W32}"
     if test $HAVE_IMAGEMAGICK = yes; then
       AC_DEFINE([HAVE_IMAGEMAGICK], 1, [Define to 1 if using ImageMagick.])
     else
+      if test "${with_imagemagick}" != "no"; then
+        AC_MSG_ERROR([ImageMagick wanted, but it does not compile.  Maybe some 
library files are missing?]);
+      fi
       IMAGEMAGICK_CFLAGS=
       IMAGEMAGICK_LIBS=
     fi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]