summaryrefslogtreecommitdiff
path: root/m4/depend.m4
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2001-05-18 00:00:33 +0000
committerTom Tromey <tromey@redhat.com>2001-05-18 00:00:33 +0000
commite8fef394d69388330662e335477a2bb7a059e8cb (patch)
treed9b405cf8ad58b569d0e24a80ca07ddd66738d7f /m4/depend.m4
parent9ff26b233b3aecfcf28985472a9b769b4620ec03 (diff)
downloadautomake-e8fef394d69388330662e335477a2bb7a059e8cb.tar.gz
* m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
to no dependency tracking. * tests/Makefile.am (TESTS): Added depcomp2.test. * tests/depcomp2.test: New file. From Pavel Roskin.
Diffstat (limited to 'm4/depend.m4')
-rw-r--r--m4/depend.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/depend.m4 b/m4/depend.m4
index e37b3ead7..11f7cdc5b 100644
--- a/m4/depend.m4
+++ b/m4/depend.m4
@@ -39,7 +39,7 @@ AC_REQUIRE([AM_DEP_TRACK])
AC_CACHE_CHECK([dependency style of $depcc],
[am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE"; then
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; 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