automake
[Top][All Lists]
Advanced

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

Re: Circular dependencies and test programs


From: Ben Pfaff
Subject: Re: Circular dependencies and test programs
Date: Sat, 20 Oct 2007 17:43:40 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

"Michael B Allen" <address@hidden> writes:

> But here's the problem: liba uses libtool / automake and builds a
> number of test programs not just by configure but by liba's test suite
> and the linker *does* try to resolve depenencies in that case.
> Meaning, if I try to build an executable with liba it says it needs
> libb but libb needs liba.
>
> So what do I do?
>
> Is there a way to tell configure "don't build executables"?

If the test programs are listed on check_PROGRAMS, instead of on
some other target, then they will be built only for "make check",
not for "make all" or "make install".
-- 
Ben Pfaff 
http://benpfaff.org





reply via email to

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