On Tue, Mar 31, 2026 at 12:53:32AM +0200, Patrice Dumas wrote: > Hello, > > It seems to me that the following configure flags are not really useful, > abiding to the detected value without a possibility of control seems to > me to be ok: > --enable-t2a-tests > --enable-refcounts-checks > --enable-pod-simple-texinfo-tests > --enable-perl-api-texi-build > > Does anybody think that some could be useful? > > Conversly, I think that being able to control XS build with > --enable-perl-xs is useful.
At least --enable-t2a-tests is useful because running the test suite takes a lot of time and this is useful for testing changes to build system files (Makefile.am or configure.ac) without running through all the tests multiple times. I wrote the following in README-hacking: "make distcheck" is the standard check that the build system is working correctly. You can make it run quicker by disabling some of the texi2any tests: "make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-t2a-tests". I haven't used the other flags: --enable-perl-api-texi-build The include files seem to build quite quickly if needed but often they don't need to be rebuilt, so it's probably ok to keep this on without an option. --enable-refcounts-checks I don't have Devel::Refcount installed on my system so don't know if there is a downside to running the tests, such as if they take a long time to run. --enable-pod-simple-texinfo-tests These tests run very quickly so no harm in having them on by default.
