diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-04-23 14:58:45 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-04-23 14:58:45 +0200 |
commit | 2edb4206d9e8d21d67ecd9ad038bd2252eff8ee8 (patch) | |
tree | 20eafbfbecc3c068e56e31b11695986140f03425 /configure.ac | |
parent | c1ddb1febeb31a79d8f69634575bcc36f38103d4 (diff) | |
download | fdk-aac-2edb4206d9e8d21d67ecd9ad038bd2252eff8ee8.tar.gz fdk-aac-2edb4206d9e8d21d67ecd9ad038bd2252eff8ee8.tar.bz2 fdk-aac-2edb4206d9e8d21d67ecd9ad038bd2252eff8ee8.zip |
Autodetect ImageMagick availability
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
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 |