You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dirk-Willem van Gulik <Di...@jrc.it> on 1997/11/14 23:01:36 UTC

Solaris Recognition

Hmm, from a fresh apache-1.2.4 from hyperreal/src/support/GuessOS
it seems that:
 
>     SunOS:5.*)
> 	echo "${MACHINE}-sun-solaris2"; exit 0
> 	;;

So there are no differences between Solaris 2.4,
2.5.1 and 2.6 (or SunOs 5.4, 5.5.1 etc).

Perhaps this should be patched into something like

     SunOS:5.*)
	SUBREL=`echo $RELEASE | awk -F\. '{ print $2 }'`
	echo "${MACHINE}-sun-solaris2.${SUBREL}"
	exit 0
	;;

?? Is anyone religious about this one. Likewise for
FreeBSD I would not mind going in subreleases as well
as I found that one does not always want to mix 2.2-stable
with 3.0 compiled/linked code. Same for the dreaded
solaris 2.6.

Any ideas, experiences ?

DW