automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch: (query): no-dependencies option


From: Alexandre Duret-Lutz
Subject: Re: Patch: (query): no-dependencies option
Date: Tue, 22 Jan 2002 17:25:40 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-debian-linux-gnu)

>>> "Tom" == Tom Tromey <address@hidden> writes:

[...]
 Tom> --- m4/init.m4 2002/01/18 21:12:55 1.42
 Tom> +++ m4/init.m4 2002/01/22 00:43:25
 Tom> @@ -87,7 +87,9 @@
 Tom> AC_REQUIRE([AC_PROG_MAKE_SET])dnl
 Tom> AC_REQUIRE([AM_DEP_TRACK])dnl
 Tom> AC_REQUIRE([AM_SET_DEPDIR])dnl
 Tom> -AC_PROVIDE_IFELSE([AC_PROG_][CC],
 Tom> +
 Tom> +_AM_IF_OPTION([no-dependencies],,
 Tom> +[AC_PROVIDE_IFELSE([AC_PROG_][CC],
 Tom> [_AM_DEPENDENCIES(CC)],
 Tom> [define([AC_PROG_][CC],
 Tom> defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
[...]

I don't really understand all the dependency tracking machinery,
so I might ask something stupid:

Why can't AM_DEP_TRACK and AM_SET_DEPDIR be moved inside the
conditional block?

Or, more precisely, are these two lines needed at all?  (I see that
_AM_DEPENDENCIES already AC_REQUIREs these macros.)
-- 
Alexandre Duret-Lutz




reply via email to

[Prev in Thread] Current Thread [Next in Thread]