Whenever I start the ./configure script for emacs at the end of it I get the following message:
configure: WARNING: This configuration uses the Cairo graphics library,
but not the HarfBuzz font shaping library (minimum version 0.9.42).
We recommend the use of HarfBuzz when using Cairo, please install
appropriate HarfBuzz development packages.
I compiled and installed harfbuzz 2.7.2 in my ~/opt/harfbuzz-2.7.2 directory. In my .profile I put:
export CPPFLAGS="-I/home/myuser/opt/harfbuzz-2.7.2/include/ $CPPFLAGS"
export LDFLAGS="-L/home/myuser/opt/harfbuzz-2.7.2/lib/ $LDFLAGS"
But emacs configure doesn't pick it up. I guess it only finds my system harfbuzz-dev (debian 8, not recent enough).
What do I need to do to make configure understand where harfbuzz is? Do I need to recompile Cairo?