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).
This commit is contained in:
parent
873cd63ff2
commit
9a82195cfc
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue