Magellan Linux

Contents of /trunk/autotrace/patches/autotrace-imagemagick.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (show annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years ago) by niro
File size: 962 byte(s)
-import

1 diff -Naur autotrace-0.31.1.orig/configure.in autotrace-0.31.1/configure.in
2 --- autotrace-0.31.1.orig/configure.in 2002-11-08 18:49:23.000000000 +0100
3 +++ autotrace-0.31.1/configure.in 2004-11-07 12:59:31.750331496 +0100
4 @@ -79,11 +79,11 @@
5 | sed -e 's/^[0-9]*.[0-9]*.\([0-9]*\)$/\1/'`
6 changequote([,])dnl
7 MAGICK_MAJOR_VERSION_CHECK=`expr $MAGICK_MAJOR_VERSION \>= 5`
8 - MAGICK_MINOR_VERSION_CHECK=`expr $MAGICK_MINOR_VERSION \>= 2`
9 + MAGICK_MINOR_VERSION_CHECK=`expr $MAGICK_MINOR_VERSION \<= 2`
10 dnl I don't consider ImageMagick 6.x.
11 if test "$MAGICK_VERSION" = "5.2.0" \
12 || test "$MAGICK_MAJOR_VERSION_CHECK" = 0 \
13 - || test "$MAGICK_MINOR_VERSION_CHECK" = 0 ; then
14 + && test "$MAGICK_MINOR_VERSION_CHECK" = 0 ; then
15 AC_MSG_RESULT(no($MAGICK_VERSION))
16 AC_MSG_WARN([*** Version 5.2.1 or higher is required. ***])
17 AC_MSG_WARN([*** ImageMagick input handler is disabled. ***])