not AMDEP.
* m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
Correctly look at AMDEP_TRUE, not AMDEP.
2001-05-13 Tom Tromey <tromey@redhat.com>
+ * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
+ not AMDEP.
+ * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
+ Correctly look at AMDEP_TRUE, not AMDEP.
+
Report from Robert Boehne:
* tests/Makefile.am (TESTS): Added depend2.test.
* tests/depend2.test: New file.
depcpp=""])
AC_REQUIRE([AM_MAKE_INCLUDE])
+AC_REQUIRE([AM_DEP_TRACK])
AC_CACHE_CHECK([dependency style of $depcc],
[am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP"; then
+[if test -z "$AMDEP_TRUE"; then
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
# need in order to bootstrap the dependency handling code.
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[
AC_OUTPUT_COMMANDS([
-test x"$AMDEP" != x"" ||
+test x"$AMDEP_TRUE" != x"" ||
for mf in $CONFIG_FILES; do
case "$mf" in
Makefile) dirpart=.;;
echo '# dummy' > "$dirpart/$file"
done
done
-], [AMDEP="$AMDEP"
+], [AMDEP_TRUE="$AMDEP_TRUE"
ac_aux_dir="$ac_aux_dir"])])