httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: More guessing?
Date Sat, 21 Sep 1996 11:43:00 GMT
Jim Jagielski wrote:
> 
> Ben Laurie wrote:
> > 
> > If Configure could also guess the C compiler, the average user would have to do
> > no more than run it. The following script does the job, I think ... all those
> > in favour?
> > 
> > #!/bin/sh
> > # Attempt to guess which C compiler we should use...
> > 
> > for path in `echo $PATH | sed "s/:/ /g"`
> > do
> > 	if [ -x $path/gcc ]; then echo gcc; exit; fi
> > done
> > for path in `echo $PATH | sed "s/:/ /g"`
> > do
> > 	if [ -x $path/cc ]; then echo cc; exit; fi
> > done
> > 
> 
> As long as there's a way to override this, either in Configuration
> or in the OS specific portion of Configure, looks fine to me.

My intention was to only use it when CC was not set.

Cheers,

Ben.

> 
> -- 
> Jim Jagielski  << jim@jaguNET.com >>   |   "If we took the bones out
>   **  jaguNET Access Services  **      |    then it wouldn't be crunchy"
>       Email: info@jaguNET.com          |            Whizzo Crunchy Frog
> ++    http://www.jaguNET.com/         +++      Voice/Fax: 410-931-3157       ++

-- 
Ben Laurie                  Phone: +44 (181) 994 6435
Freelance Consultant and    Fax:   +44 (181) 994 6472
Technical Director          Email: ben@algroup.co.uk
A.L. Digital Ltd,           URL: http://www.algroup.co.uk
London, England.            Apache Group member (http://www.apache.org)

Mime
View raw message