from ~3.8MB to 32MB. #1710
- Reserved stack size on macOS for the `dot` binary when built with CMake has
been increased from 8MB to 32MB. #1710
+- The Autotools build system can now find libANN on Debian-based operating
+ systems, enabling compilation of libmingle and `mingle`. #1835
### Fixed
os_id = _freedesktop_os_release().get("ID")
- # FIXME: Remove skip when
- # https://gitlab.com/graphviz/graphviz/-/issues/1835 is fixed
- if os_id == "ubuntu" and binary == "mingle" and not is_cmake():
- check_that_tool_does_not_exist(binary, os_id)
- pytest.skip(f"mingle is not built for {os_id} (#1835)")
-
# FIXME: Remove skip when
# https://gitlab.com/graphviz/graphviz/-/issues/1834 is fixed
if os_id == "centos" and binary == "smyrna":
AC_SUBST([ANN_CFLAGS])
AC_SUBST([ANN_LIBS])
],[
- use_ann="No (no ann.pc found)"
+ # fall back discovery for the Debian ecosystem which does not ship an ann.pc
+ AC_CHECK_FILE(/usr/include/ANN/ANN.h, [
+ ANN_CFLAGS= # nothing required
+ AC_CHECK_LIB(ann, ann_visit_pts, [
+ ANN_LIBS=-lann
+ use_ann="Yes"
+ ], [
+ use_ann="No (no ann.pc or libANN found)"
+ ])
+ ], [
+ use_ann="No (no ann.pc or ANN.h found)"
+ ])
])
fi
AM_CONDITIONAL(WITH_ANN, [test x"${use_ann%% *}" = "xYes"])