Fix ImageMagick support, disable GraphicsMagick support
[colorize.git] / configure.ac
index ec3960d..1ebefcc 100644 (file)
@@ -47,20 +47,21 @@ AM_CONDITIONAL(ENABLE_GUI, test x"$enable_gui" = x"yes")
 
 somethingmagick=no
 
-AC_ARG_ENABLE(graphicsmagick,
-       [AS_HELP_STRING(
-               [--disable-graphicsmagick],
-               [Disable building graphicsmagick]
-       )],
-       [enable_graphicsmagick=$enableval], [enable_graphicsmagick="yes"])
-if test x"$enable_graphicsmagick" = x"yes"
-then
-       PKG_CHECK_MODULES(GRAPHICSMAGICK, GraphicsMagick >= 1.3.16, , enable_graphicsmagick=no)
-fi
-if test x"$enable_graphicsmagick" = x"yes"
-then
-       somethingmagick=yes
-fi
+# disabled due to problems with api compatibilty with imagemagick
+#AC_ARG_ENABLE(graphicsmagick,
+#      [AS_HELP_STRING(
+#              [--disable-graphicsmagick],
+#              [Disable building graphicsmagick]
+#      )],
+#      [enable_graphicsmagick=$enableval], [enable_graphicsmagick="yes"])
+#if test x"$enable_graphicsmagick" = x"yes"
+#then
+#      PKG_CHECK_MODULES(GRAPHICSMAGICK, GraphicsMagick >= 1.3.16, , enable_graphicsmagick=no)
+#fi
+#if test x"$enable_graphicsmagick" = x"yes"
+#then
+#      somethingmagick=yes
+#fi
 
 AC_ARG_ENABLE(imagemagick,
        [AS_HELP_STRING(
@@ -101,26 +102,26 @@ AC_OUTPUT(
 
 AS_IF([test "x$have_windows" == xno],[AC_MSG_NOTICE( Compiling for Unix )],[AC_MSG_NOTICE([ Compiling for Windows ])])
 
-AS_IF([test "x$enable_gui" == xyes],[AC_MSG_NOTICE( Compiled with GTK (GUI) )],[AC_MSG_NOTICE([
+AS_IF([test "x$enable_gui" == xyes],[AC_MSG_NOTICE( Compiling with GTK (GUI) )],[AC_MSG_NOTICE([
 
-** Not compiled with GTK (GUI) support **
+** Not compiling with GTK (GUI) support **
 
 In order to use GUI, GTK+ 2.0 or higher must be installed.
 
 ])])
-AS_IF([test "x$somethingmagick" == xyes],[AC_MSG_NOTICE( Compiled with ImageMagick or GraphicsMagick )],[AC_MSG_NOTICE([
+AS_IF([test "x$somethingmagick" == xyes],[AC_MSG_NOTICE( Compiling with ImageMagick )],[AC_MSG_NOTICE([
 
-** Not compiled with GraphicsMagick and ImageMagick support **
+** Not compiling with ImageMagick support **
 
 Only PPM image files can be loaded and saved.
 
 ])])
-AS_IF([test "x$enable_opencv" == xyes],[AC_MSG_NOTICE( Compiled with OpenCV )],[AC_MSG_NOTICE([
+AS_IF([test "x$enable_opencv" == xyes],[AC_MSG_NOTICE( Compiling with OpenCV )],[AC_MSG_NOTICE([
 
-** Not compiled with OpenCV support **
+** Not compiling with OpenCV support **
 
 It will not be possible to calculate motion flow vectors to improve colorization of moving objects.
 
 ])])
-AS_IF([test "x$with_debug_algo" == xyes],[AC_MSG_NOTICE( Compiled with debugging )],[])
+AS_IF([test "x$with_debug_algo" == xyes],[AC_MSG_NOTICE( Compiling with debugging )],[])