./configure script says:
Does Emacs use imagemagick? no [...] Does Emacs use -lm17n-flt? no
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
After crawling the
configure script, I think I have found your missing packet:
libmagickwand-dev. On my machine, after installing this packet,
./configure finally says:
Does Emacs use imagemagick? yes
NB1: as with other features (eg
libxml2-dev for eww), I do not get the purpose of
configurewill enable the feature even if you do not explicitly ask
--with-featureand exit with status 0.
NB2: This has been tested on Ubuntu 14.04; libmagickwand-dev seems to exist in Debian too.
NB3: A general "methodology" to figure out the necessary packages from the
find these snippets:
IMAGEMAGICK_MODULE="Wand >= 6.3.5 Wand != 6.8.2" ... if "$PKG_CONFIG" --exists "$IMAGEMAGICK_MODULE"...
apt-cache search Wand
libmagickwand-dev - image manipulation library - development files
To avoid having to track down the packages that are required to build Emacs, use apt-get to install them for you.
apt-get build-dep emacs
Actually this may not be enough, as this just installs the libraries the Debian maintainer has chosen to link Emacs against. I think you need:
apt-get install libm17n-dev libmagickcore-dev
However after this I still got
use -lm17n-flt? no even when I explicitly used
--with-m17n-flt. And I did not actually install libmagickcore-dev` because it resulted in a conflict.
As the existing answer leaves out how to compile with
m17n support, I add this to answer that. In my system
m17n is not used and
otf is also not used. To build with
m17n support, install libraries needed for
m17n and also for
otf. Then Emacs will be compiled with both of them.
I don't know why compiling with
otf but this works :)