autoconf
[Top][All Lists]
Advanced

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

Re: Multiple configurations in single configure script


From: Ralf Wildenhues
Subject: Re: Multiple configurations in single configure script
Date: Fri, 25 Jan 2008 04:34:38 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* Tatu Kilappa wrote on Fri, Jan 25, 2008 at 02:53:33AM CET:
> 
> I solved the problem by calling configure scripts recursively via
> AC_CONFIG_SUBDIRS. It takes rather long to execute configure now, but
> that's not the real problem. Rather, I'm worried about the useless
> duplication of code in the subsequent configure.ac files that mostly do
> exactly the same thing as the parent one.

Well, you can factor common code into a macro file to be m4_included
from both configure.ac files (or use aclocal -I ... to find and include
it).

Cheers,
Ralf




reply via email to

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