automake
[Top][All Lists]
Advanced

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

Re: Dependency setting


From: Tom Tromey
Subject: Re: Dependency setting
Date: 05 Mar 2002 13:55:01 -0700

>>>>> "Wei" == Wei Qin <address@hidden> writes:

Wei> My source code uses a C macro whose value depends on the
Wei> installation prefix. So every time I run configure, I hope that
Wei> the source code will be recompiled. But the default dependencies
Wei> checking by automake does not let this happend. How can I specify
Wei> this dependency relationship without disabling the automatic
Wei> dependency tracking?

The other followup provides one way.
Another way is to put this define into config.h.

`make' doesn't provide a way to track command-line dependencies.  We
could fake it in automake, but I suspect any implementation would be
slow and error-prone.  Unfortunately to some degree automake is
limited by `make'; we just have to live with it.

Tom



reply via email to

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