Bug #244 » 0020-Fix-MagickWand-detection-failures-due-to-compression.patch
| configure.ac | ||
|---|---|---|
|
*) AC_MSG_ERROR([bad value ${enableval} for --enable-patient-connect]) ;;
|
||
|
esac])
|
||
|
dnl set default values
|
||
|
mapimg_all=auto
|
||
|
mapimg_magickwand=no
|
||
|
dnl map images
|
||
|
dnl all: Autodetect as many as possible [default].
|
||
|
dnl no: No additional toolkits.
|
||
|
dnl magickwand: compile magickwand (imagemagick) support.
|
||
|
dnl comma-separated-list: Detect these or abort.
|
||
|
AC_ARG_ENABLE([mapimg],
|
||
|
AS_HELP_STRING([--enable-mapimg=no/auto/magickwand],
|
||
|
[additional map image toolkits to compile [auto](no, or list)]),
|
||
|
[toolkits=${enableval}],
|
||
|
[enable_mapimg=auto])
|
||
|
for toolkit in $(echo $toolkits | $SED 's/,/ /g') ; do
|
||
|
if test "x$toolkit" = "xauto" ; then
|
||
|
enable_mapimg=auto
|
||
|
elif test "x$toolkit" = "xno" ; then
|
||
|
enable_mapimg=no
|
||
|
else
|
||
|
enable_mapimg=selected
|
||
|
fi
|
||
|
if test "x$toolkit" = "xmagickwand" ; then
|
||
|
mapimg_magickwand=yes
|
||
|
fi
|
||
|
done
|
||
|
dnl checks for MagickWand mapimg support
|
||
|
dnl sets MAPIMG_WAND_CFLAGS, MAPIMG_WAND_LIBS
|
||
|
FC_MAPIMG_MAGICKWAND
|
||
|
dnl Option not available in stable branch
|
||
|
fcweb=false
|
||
| ... | ... | |
|
fi
|
||
|
fi
|
||
|
dnl set default values
|
||
|
mapimg_all=auto
|
||
|
mapimg_magickwand=no
|
||
|
dnl map images
|
||
|
dnl all: Autodetect as many as possible [default].
|
||
|
dnl no: No additional toolkits.
|
||
|
dnl magickwand: compile magickwand (imagemagick) support.
|
||
|
dnl comma-separated-list: Detect these or abort.
|
||
|
AC_ARG_ENABLE([mapimg],
|
||
|
AS_HELP_STRING([--enable-mapimg=no/auto/magickwand],
|
||
|
[additional map image toolkits to compile [auto](no, or list)]),
|
||
|
[toolkits=${enableval}],
|
||
|
[enable_mapimg=auto])
|
||
|
for toolkit in $(echo $toolkits | $SED 's/,/ /g') ; do
|
||
|
if test "x$toolkit" = "xauto" ; then
|
||
|
enable_mapimg=auto
|
||
|
elif test "x$toolkit" = "xno" ; then
|
||
|
enable_mapimg=no
|
||
|
else
|
||
|
enable_mapimg=selected
|
||
|
fi
|
||
|
if test "x$toolkit" = "xmagickwand" ; then
|
||
|
mapimg_magickwand=yes
|
||
|
fi
|
||
|
done
|
||
|
dnl checks for MagickWand mapimg support
|
||
|
dnl sets MAPIMG_WAND_CFLAGS, MAPIMG_WAND_LIBS
|
||
|
dnl Has to be after compression libraries detection
|
||
|
FC_MAPIMG_MAGICKWAND
|
||
|
UTILITY_LIBS="${UTILITY_LIBS} ${LTLIBINTL}"
|
||
|
AC_SUBST([UTILITY_CFLAGS])
|
||
| m4/magickwand.m4 | ||
|---|---|---|
|
ac_save_CFLAGS="$CFLAGS"
|
||
|
ac_save_LIBS="$LIBS"
|
||
|
CFLAGS="$CFLAGS $WAND_CFLAGS"
|
||
|
LIBS="$WAND_LIBS $LIBS"
|
||
|
LIBS="$WAND_LIBS $UTILITY_LIBS $LIBS"
|
||
|
AC_MSG_CHECKING([for all development tools needed for MagickWand])
|
||
|
dnl First look for MagickWand-7
|
||
- « Previous
- 1
- 2
- Next »