This version of SWIG does not generate gv.php anymore, so
installing it shouldn't be tried. The autotools framework is
already there, so just use a conditional in Makefile.am.
arguably a regression in Graphviz 6.0.1. #2307
- The CMake build system’s interactions with a Zlib installed in a non-system
location has been improved.
+- Do not try to install `gv.php` if using SWIG-4.1.0. Complete #2277, #2303
## [7.0.1] – 2022-11-09
echo "Warning: $(PHP_INSTALL_DIR) is not writable."; \
echo "Skipping system installation of php binding."; \
fi
+if WITH_SWIG_PHP_DATA
-mkdir -p $(DESTDIR)$(PHP_INSTALL_DATADIR);
if test -w $(DESTDIR)$(PHP_INSTALL_DATADIR); then \
(cd $(DESTDIR)$(PHP_INSTALL_DATADIR); \
echo "Skipping system installation of php binding."; \
fi
endif
+endif
if WITH_PYTHON
-mkdir -p $(DESTDIR)$(PYTHON_INSTALL_DIR);
if test -w $(DESTDIR)$(PYTHON_INSTALL_DIR); then \