Graphviz incorporates a lot of packages for its functionality. On the Mac, Graphviz gains much this functionality with the Quartz plugin. However, the Quartz plugin is not enabled by default.
For macOS autotools builds, can --with-quartz default to “on”? I see in configure the check for Application Services, but one must set --with-quartz explicitly for the check. Can configure recognize that it is running on macOS and set the default to “on”? (the CMake build on macOS does discover and enable Quartz).
Here is a proposal to set --with-quartz=yes for macOS. This mirrors the behavior of the CMAKE builds
if test "${host_os::6}" = "darwin"; then
AC_ARG_WITH(quartz,
[AS_HELP_STRING([--with-quartz=yes],[Quartz framework (Mac OS X)])],
[],[with_quartz=yes])
if test "$with_quartz" != "yes"; then
use_quartz="No (disabled)"
else
if test -d "/System/Library/Frameworks/ApplicationServices.framework"; then
use_quartz="Yes"
QUARTZ_CFLAGS=''
QUARTZ_LIBS='-framework ApplicationServices'
AC_SUBST([QUARTZ_CFLAGS])
AC_SUBST([QUARTZ_LIBS])
else
use_quartz="No (missing ApplicationServices.framework)"
fi
fi
else
with_quartz=no
use_quartz="No (disabled by default - Mac only)"
fi
AM_CONDITIONAL(WITH_QUARTZ, [test "$use_quartz" = "Yes"])