diff options
author | Richard Levitte <levitte@openssl.org> | 2001-11-15 11:15:05 +0300 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-11-15 11:15:05 +0300 |
commit | 8d5c834b34703018890c7b11fd7dc1995039f9fd (patch) | |
tree | 085dab84d73e493a889e168eb96a92912e41a951 /config | |
parent | b0eda65f1cf5db967664b6d05515b03ebb9a2d23 (diff) |
Merg in latest changes from 0.9.6-stable.
Diffstat (limited to 'config')
-rwxr-xr-x | config | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -239,6 +239,10 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in echo "ppc-apple-rhapsody"; exit 0 ;; + Darwin:*) + echo "ppc-apple-darwin"; exit 0 + ;; + SunOS:5.*) echo "${MACHINE}-whatever-solaris2"; exit 0 ;; @@ -455,11 +459,27 @@ case "$GUESSOS" in esac fi ;; - mips-*-linux?) OUT="linux-mips" ;; + mips-*-linux?) + cat >dummy.c <<EOF +#include <stdio.h> /* for printf() prototype */ + int main (argc, argv) int argc; char *argv[]; { +#ifdef __MIPSEB__ + printf ("linux-%s\n", argv[1]); +#endif +#ifdef __MIPSEL__ + printf ("linux-%sel\n", argv[1]); +#endif + return 0; +} +EOF + ${CC} -o dummy dummy.c && OUT=`./dummy ${MACHINE}` + rm dummy dummy.c + ;; ppc-*-linux2) OUT="linux-ppc" ;; m68k-*-linux*) OUT="linux-m68k" ;; ia64-*-linux?) OUT="linux-ia64" ;; ppc-apple-rhapsody) OUT="rhapsody-ppc-cc" ;; + ppc-apple-darwin) OUT="darwin-ppc-cc" ;; sparc64-*-linux2) #Before we can uncomment following lines we have to wait at least #till 64-bit glibc for SPARC is operational:-( |