httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: More guessing?
Date Sat, 21 Sep 1996 12:20:41 GMT
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.

-- 
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       ++

Mime
View raw message