From 2edb4206d9e8d21d67ecd9ad038bd2252eff8ee8 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 23 Apr 2015 14:58:45 +0200 Subject: Autodetect ImageMagick availability --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 878ed5d..50a6e70 100644 --- a/configure.ac +++ b/configure.ac @@ -58,9 +58,12 @@ if pkg-config MagickWand; then AC_SUBST(MAGICKWAND_CFLAGS) AC_SUBST(MAGICKWAND_LDADD) else - AC_MSG_ERROR(MagickWand not found) + AC_MSG_WARN(MagickWand not found) fi +AS_IF([ pkg-config MagickWand ], + AC_DEFINE(HAVE_MAGICKWAND, [1], [Define if MagickWand is available])) + dnl soname version to use dnl goes by ‘current[:revision[:age]]’ with the soname ending up as -- cgit v1.2.3