Thanks for the tip and it does look useful, though that doesn't affect
whether or not all compilations are run through depcomp does it? Our
non-CVS source distributions are easily treated as static sources that
won't change much beyond simple build tweaking and minor bug fixing.
So the extra include dependency checking (from my perhaps limited
understanding and observations) pretty much just slows down the build
on those non-CVS source compilations. On several of the older
supported systems, a significant compile-time boost is gained by
disabling the dependency checking. Any other ideas for conditionally
disabling dependency checking? Thanks again..
Cheers!
Sean
On Jun 28, 2005, at 1:50 PM, Simon Richter wrote:
Hi,
AC_MSG_CHECKING([whether dependency tracking should be enabled])
if test -d $srcdir/CVS ; then
AC_MSG_RESULT(it should)
AM_INIT_AUTOMAKE
else
AC_MSG_RESULT(it should not)
AM_INIT_AUTOMAKE([no-dependencies])
fi
You probably want AM_MAINTAINER_MODE.
Simon