Hello,
There is a bit of a problem in CVS Automake (Today's) when
--disable-dependency-tracking is specified to configure.
If dependency tracking rules have been added to Makefile.in,
the rules created have @AMDEPBACKSLASH@ at the end of the
lines that tell depcomp the required variables source,
depfile, and depmode. 'depcomp' fails (hence so does the build
if these variables are not specified when it is invoked.
Currently, when --disable-dependency-tracking is specified,
depmode is set to 'none', but then AM_DEP_TRACK removes
the line continuation backslashes from the make rule.
A quick fix is to comment out the test around AMDEPBACKSLASH
#if test "x$enable_dependency_tracking" != xno; then
am_depcomp="$ac_aux_dir/depcomp"
AMDEPBACKSLASH='\'
#fi
This unconditionally adds the backslashes so depcomp doesn't fail.
I'm not sure if the maintainers would prefer a different
solution, so no patch is pending unless you ask.
Thanks!
Robert
from Makefile.in:
.c.o:
source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo'
@AMDEPBACKSLASH@
$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
$(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
from CVS m4/depend.m4:
# AM_DEP_TRACK
# ------------
AC_DEFUN([AM_DEP_TRACK],
[AC_ARG_ENABLE(dependency-tracking,
[ --disable-dependency-tracking Speeds up one-time builds
--enable-dependency-tracking Do not reject slow dependency
extractors])
if test "x$enable_dependency_tracking" != xno; then
am_depcomp="$ac_aux_dir/depcomp"
AMDEPBACKSLASH='\'
fi
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
pushdef([subst], defn([AC_SUBST]))
subst(AMDEPBACKSLASH)
popdef([subst])
])
--
Robert Boehne Software Engineer
Ricardo Software Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email: [EMAIL PROTECTED]