summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 68d20b0..6222520 100644
--- a/configure.ac
+++ b/configure.ac
@@ -318,17 +318,17 @@ if test "x$enable_thumbnailer" != "xno"; then
CPPFLAGS_save="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $MAGICK_CFLAGS"
- AC_CHECK_HEADER([wand/MagickWand.h],
- [have_im6="yes"],
- [AC_CHECK_HEADER([MagickWand/MagickWand.h], [have_im7="yes"])])
+ AC_CHECK_HEADER([MagickWand/MagickWand.h],
+ [have_im7="yes"],
+ [AC_CHECK_HEADER([wand/MagickWand.h], [have_im6="yes"])])
CPPFLAGS="$CPPFLAGS_save"
- if test "x$have_im6" = "xyes"; then
- AC_DEFINE(HAVE_IMAGEMAGICK6,1, [Have ImageMagick 6])
- fi
if test "x$have_im7" = "xyes"; then
AC_DEFINE(HAVE_IMAGEMAGICK7,1, [Have ImageMagick 7])
fi
+ if test "x$have_im6" = "xyes"; then
+ AC_DEFINE(HAVE_IMAGEMAGICK6,1, [Have ImageMagick 6])
+ fi
THUMBNAILER_CFLAGS="$CFLAGS $GLIB_CFLAGS $GIO_CFLAGS $MAGICK_CFLAGS"
AC_SUBST(THUMBNAILER_CFLAGS)