pcp
[Top] [All Lists]

Re: makefile stomps on ./configure options

To: "Andrew D. Fant" <fant@xxxxxxxxx>
Subject: Re: makefile stomps on ./configure options
From: kenmcd@xxxxxxxxxxxxxxxxx
Date: Thu, 30 Jun 2005 06:15:27 +1000 (EST)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <42C022A4.9030107@xxxxxxxxx>
References: <42C022A4.9030107@xxxxxxxxx>
Reply-to: Ken McDonell <kenmcd@xxxxxxxxxxxxxxxxx>
Sender: pcp-bounce@xxxxxxxxxxx

On Mon, 27 Jun 2005, Andrew D. Fant wrote:

In the course of trying to build 2.4.0 on a system here, I noticed some
strange behavior.  After running configure with some options set to
conform to local layout standards, it appears that the first thing the
makefile does is to rerun configure with no variables set at all.  Is
there a reason for this, and if so, is there a recommended workaround
that doesn't require manual repatching of the makefile at each build?

Hmm ... the problem here was that for some platforms, we may have
autoconf in _our_ build environment, but this may be uncommon for
others ... so we opted to ship a configure, but over time the top-level
GNUmakefile has evolved (regressed?) to the point where it unconditionally
tries to remake configure.

It needs some minor tweaking to include configure.default (or similar)
instead of configure in the distribution for a specific platform, and then
use that if autoconf is not available and congigure cannot be regenerated
from configure.in  ... I'll do this when I get a chance (don't hold your
breath), or I'd be glad to accept a patch to this effect.

Thanks for pointing this out.

<Prev in Thread] Current Thread [Next in Thread>