Tugger the SLUGger!SLUG Mailing List Archives

Re: [chat] portable scripting


On Wed, Jan 29, 2003 at 01:38:00AM +1100, Ken Foskey wrote:
> On Wed, 2003-01-29 at 00:33, Pete Ryland wrote:
> > On Tue, Jan 28, 2003 at 07:37:25PM +1100, Ken Foskey wrote:
> > > On Mon, 2003-01-27 at 22:29, Pete Ryland wrote:
> > > > configure scripts can be passed CC via the command line:
> > > > 
> > > > ./configure CC=/path/to/cc
> > > 
> > > this is :
> > > 
> > > CC=/path/to/cc ./configure
> > 
> > According to the autoconf manual
> 
> Pete,
> 
> I appologise,  thanks for the education...

:) no apology necessary - I only found this (useful) obscurity the other
day, so it was fresh in my mind.  It would make more sense to me to pass CC
via the environment.

BTW, you should probably include some way users can set parameters as well,
like ./autogen.sh scripts do, although at a guess, your script is not
intended to be run manually?

Pete
-- 
Pete Ryland
http://pdr.cx/