When I run configure, it can't find the healpix library (or rather, it can't create a proper test executable).
This appears to be because it links with heapix, not chealpix.
When I change -lhealpix to -lchealpix, then run bootstrap and configure again, I have no problems: config.h happily sets HAVE_HEALPIX to 1. With -lhealpix instead, this macro in config.h remains unset.
I'm a bit surprised, because the Healpix installation documentation suggests this has been the case since version 3.12 (and probably since version 3, if not longer), so I would have expected this to pop up much earlier. Perhaps it's my unfamiliarity with Healpix , and I missed a flag? Or does something like pkg-config overrule this? (My, manual, installation of healpix shows chealpix.pc, no healpix.pc, so that couldn't be the case.) I'm just setting the HEALPIX env-var, nothing else, to let configure find Healpix.