pcp
[Top] [All Lists]

Re: build issue with AC_PROG_AWK

To: Max Matveev <makc@xxxxxxx>
Subject: Re: build issue with AC_PROG_AWK
From: Mark Goodwin <markgw@xxxxxxx>
Date: Tue, 25 Mar 2008 16:59:35 +1100
Cc: nscott@xxxxxxxxxx, James Peach <jamespeach@xxxxxxx>, pcp@xxxxxxxxxxx
In-reply-to: <18408.37725.85447.784561@xxxxxxxxxxxxxxxxxxxxxx>
Organization: SGI Engineering
References: <FC71FBC1-38F6-4CA8-A82C-7FFE102A06BF@xxxxxxx> <1206423840.29868.340.camel@xxxxxxxxxxxxxxxxx> <18408.37725.85447.784561@xxxxxxxxxxxxxxxxxxxxxx>
Reply-to: markgw@xxxxxxx
Sender: pcp-bounce@xxxxxxxxxxx
User-agent: Thunderbird 1.5.0.14 (Windows/20071210)


Max Matveev wrote:
On Tue, 25 Mar 2008 16:44:00 +1100, Nathan Scott wrote:

 nscott> One issue with that approach is that it only handles AWK,
 nscott> whereas there are a number of programs configure is trying
 nscott> to find.  It also doesn't use the existing mechanism in
 nscott> PCP for handling this, which is the /etc/pcp.env path list
 nscott> I mentioned earlier.

IIRC the idea was to use configure to populate pcp.conf and with it
pcp.env, we didn't want to use pcp.env during configure runs to avoid
circular dependencies and to deal with possible relocation of "bits"
between releases.

Yes that's pretty much the explanation, thanks Max. Nowdays I think
we could probably nuke the search for awk in configure and just
statically define it as PCP_AWK_PROG=awk in pcp.conf.in. That assumes
awk will be found in the default path on all required distros .. is
that true?

Cheers
--

 Mark Goodwin                                  markgw@xxxxxxx
 Engineering Manager for XFS and PCP    Phone: +61-3-99631937
 SGI Australian Software Group           Cell: +61-4-18969583
-------------------------------------------------------------


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