Hi -
> [...]
> To facilitate this I recommend using AC_DEFINE(ENABLE_PROGRAMS, 1,
> ...) when building the programs. Then in test scripts return 77 when
> config.h contains "#define ENABLE_PROGRAMS 1". [...]
> check_enable_programs()
> {
> ENABLE_PROGRAMS=$(grep '^#define ENABLE_PROGRAM' \
> ${abs_builddir}/../config.h | awk '{print $3}')
> [...]
(Does that work for the "distcheck" case?)
By the way, how much space/time does this hypothetical
!ENABLE_PROGRAMS alternative save? Just trying to see if it's
worthwhile, considering the broad impact on the testsuite and
elsewhere.
- FChE