no-dependencies option is set.
* m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
no-dependencies option is set. Don't call AM_DEP_TRACK or
AM_SET_DEPDIR.
+2002-01-22 Tom Tromey <tromey@redhat.com>
+
+ * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
+ no-dependencies option is set.
+ * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
+ no-dependencies option is set. Don't call AM_DEP_TRACK or
+ AM_SET_DEPDIR.
+
2002-01-22 Pavel Roskin <proski@gnu.org>
* tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
GCJFLAGS="-g -O2"
fi
AC_SUBST(GCJFLAGS)
-_AM_DEPENDENCIES(GCJ)
+_AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES(GCJ)])
])
# some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_PROVIDE_IFELSE([AC_PROG_][CC],
+
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_][CC],
[_AM_DEPENDENCIES(CC)],
[define([AC_PROG_][CC],
defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
[define([AC_PROG_][CXX],
defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
])
+])