> appro> As result of added support for Unixware 7 ./config believes that even
> appro> Solaris is Unixware 7. Well, as a matter of fact ./config will recognize
> appro> *any* system which implements 'uname -X' and has 5 in release number as
> appro> Unixware. In order to fix the problem I'd really love to figure out what
> appro> does 'uname -m', 'uname -r', 'uname -s', 'uname -v' and 'uname -X'
> appro> return on SCO (and ISC) or in other words what does "# Now test for ISC
> appro> and SCO, since it is has a braindamaged uname" comment in ./config
> appro> really mean.
>
> Hmm... Could something like this solve the problem?
>
> MACHINE=`(uname -X >/dev/null 2>&1 && ( uname -X 2>/dev/null | grep Machine | awk
>'{print $3;}' ) || uname -m) 2>/dev/null` || MACHINE="unknown"
well, it's a way to automatically select between -X and others.
> RELEASE=`(uname -X >/dev/null 2>&1 && ( uname -X 2>/dev/null | grep Release | awk
>'{print $3;}' ) || uname -r) 2>/dev/null` || RELEASE="unknown"
> SYSTEM=`(uname -X >/dev/null 2>&1 && ( uname -X 2>/dev/null | grep System | awk
>'{print $3;}' ) || uname -s) 2>/dev/null` || SYSTEM="unknown"
> VERSION=`(uname -X >/dev/null 2>&1 && ( uname -X 2>/dev/null | grep KernelID | awk
>'{print $3;}' ) || uname -v) 2>/dev/null` || VERSION="unknown"
>
Well, it's a way to automatically select between -X and others (and
there is shorter way, e.g. `(uname -X | awk '/Machine/{print $3;exit 1}'
&& uname -m) 2>/dev/null`:-). 100$ question is what happens then??? At
the very least we have to know what does 'uname -s' or 'uname -X | awk
'/System/{print$2}' return on UnixWare.
> Please note that I'm very unsure about the last one. KernelID is the
> field that Solaris returns un 'uname -v', but I've no idea if it's the
> same name on other SysV systems.
>
> And yes, I'm aware of the uglyness,
There're uglier things in ./config, e.g.:
*:4.0:3.0:3[34]?? | *:4.0:3.0:3[34]??,*)
Without looking into ./config can anybody tell what's this?
Andy.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]