add an error message for --with-magickpackage
it was causing some cufusion, see eg. https://github.com/libvips/libvips/discussions/2449
This commit is contained in:
parent
5397fe5a4f
commit
6e9a23524f
16
configure.ac
16
configure.ac
@ -549,12 +549,17 @@ AS_IF([test x"$with_magick" = x"module"],
|
|||||||
[with_magick_module=no])
|
[with_magick_module=no])
|
||||||
|
|
||||||
AC_ARG_WITH([magickpackage],
|
AC_ARG_WITH([magickpackage],
|
||||||
AS_HELP_STRING([--with-magickpackage],
|
AS_HELP_STRING([--with-magickpackage=PACKAGE],
|
||||||
[magickpackage to use (default: MagickCore; try GraphicsMagick to build against gm instead)]))
|
[use magick PACKAGE (default: MagickCore; try GraphicsMagick to build against gm instead)]))
|
||||||
|
|
||||||
# set the default magick package ... very old imagemagicks called it
|
if test x"$with_magickpackage" = x"yes"; then
|
||||||
# ImageMagick
|
AC_MSG_WARN([--with-magickpackage needs an argument, ignoring])
|
||||||
if test x"$with_magickpackage" = x""; then
|
with_magick=no
|
||||||
|
with_magick_module=no
|
||||||
|
else
|
||||||
|
if test x"$with_magickpackage" = x""; then
|
||||||
|
# set the default magick package ... very old imagemagicks called it
|
||||||
|
# ImageMagick
|
||||||
PKG_CHECK_MODULES(MAGICK_WAND, MagickCore,
|
PKG_CHECK_MODULES(MAGICK_WAND, MagickCore,
|
||||||
[with_magickpackage=MagickCore
|
[with_magickpackage=MagickCore
|
||||||
],
|
],
|
||||||
@ -568,6 +573,7 @@ if test x"$with_magickpackage" = x""; then
|
|||||||
)
|
)
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# we have a separate loader for magick7 with fewer ifdef
|
# we have a separate loader for magick7 with fewer ifdef
|
||||||
|
Loading…
Reference in New Issue
Block a user