[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tue, 24 Jul 2007 16:31:43 -0400
On 7/24/07, Ralf Wildenhues <address@hidden> wrote:
* Eric Polino wrote on Tue, Jul 24, 2007 at 06:00:44AM CEST:
> Here lies the problem. If I run toplevel/ag.sh it creates
> finch/libgnt/Makefile.in, as it always has and should. Within there
> it generates a variable called DIST_COMMON which doesn't reference the
> automake scripts such as 'install-sh'. If I then run
> finch/libgnt/ag.sh it will regenerate f/l/Makefile.in to where
> DIST_COMMON now contains 'install-sh' but it references the one in
> toplevel/ instead of one located in libgnt/.
> DIST_COMMON="..... ../../install-sh ...."
> On the other hand if I run finch/libgnt/ag.sh first, it generates
> Makefile.in with DIST_COMMON having 'install-sh' located in libgnt/
> DIST_COMMON="...... install.sh ...."
> The latter behavior is what I want to get. Is there a way I can get
> the latter outcome by doing the former procedure while still
> preserving the latter procedure/outcome pair?
Put `AC_CONFIG_AUX_DIR([.])' in finch/libgnt/configure.ac. Put either
`AC_CONFIG_AUX_DIR([.])' or `AC_CONFIG_AUX_DIR([finch/libgnt])' in the
toplevel configure.ac (depending on whether you would prefer to have two
copies or only one of the auxiliary scripts in the combined tree.
I'm sort of confused on my options, is this correct?
1. AC_CONFIG_AUX_DIR([.]) in finch/libgnt/configure.ac &&
AC_CONFIG_AUX_DIR([.]) in configure.ac
2. AC_CONFIG_AUX_DIR([.]) in finch/libgnt/configure.ac &&
AC_CONFIG_AUX_DIR([finch/libgnt]) in configure.ac
I should note that the latter setup may cause you to stumble over a
bug with Automake releases older than 1.10, so be sure to use at least
After reading what that macro does, I think the former setup is
optimal for our situation. Thank you for you help, we appreciate it!
"...indexable arrays, which may be thought of as functions whose
domains are isomorphic to contiguous subsets of the integers."
--Haskell 98 Library Report