1 # Check for Freeciv MagickWand support used to create images of the map
3 # Called without any parameters.
5 AC_DEFUN([FC_MAPIMG_MAGICKWAND],
7 if test "x$enable_mapimg" = "xauto" || test "x$mapimg_magickwand" = "xyes" ; then
11 MAPIMG_WAND_CFLAGS="$WAND_CFLAGS"
12 MAPIMG_WAND_LIBS="$WAND_LIBS"
14 MAPIMG_WAND_CFLAGS=$(echo $MAPIMG_WAND_CFLAGS | $SED -e 's/\-fopenmp//g')
16 AC_SUBST(MAPIMG_WAND_CFLAGS)
17 AC_SUBST(MAPIMG_WAND_LIBS)
19 AC_DEFINE([HAVE_MAPIMG_MAGICKWAND], [1], [Have magicwand mapimg toolkit])
23 if test "x$mapimg_magickwand" = "xyes" ; then
24 AC_MSG_ERROR([mapimg toolkit magickwandclient not available])
27 feature_magickwand=missing