diff options
author | Richard Levitte <levitte@openssl.org> | 2001-03-07 11:04:00 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-03-07 11:04:00 +0100 |
commit | 70d70a3c81c7affbda6b626ff49097aa1714298c (patch) | |
tree | b9bdbed59aab51d6455fd89f6fb95f8ceee8c355 /config | |
parent | ..._init functions are method-specific too (diff) | |
download | openssl-70d70a3c81c7affbda6b626ff49097aa1714298c.tar.xz openssl-70d70a3c81c7affbda6b626ff49097aa1714298c.zip |
Code for better build under Darwin (MacOS X).
Submitted by Brad Dominy <jdominy@darwinuser.org>
Diffstat (limited to 'config')
-rwxr-xr-x | config | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -233,7 +233,15 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in ;; Darwin:*) - echo "ppc-apple-darwin"; exit 0 + case "$MACHINE" in + Power*) + echo "ppc-apple-darwin${VERSION}" + ;; + *) + echo "i386-apple-darwin${VERSION}" + ;; + esac + exit 0 ;; SunOS:5.*) @@ -449,7 +457,8 @@ EOF m68k-*-linux*) OUT="linux-m68k" ;; ia64-*-linux?) OUT="linux-ia64" ;; ppc-apple-rhapsody) OUT="rhapsody-ppc-cc" ;; - ppc-apple-darwin) OUT="darwin-ppc-cc" ;; + ppc-apple-darwin*) OUT="darwin-ppc-cc" ;; + i386-apple-darwin*) OUT="darwin-i386-cc" ;; sparc64-*-linux2) #Before we can uncomment following lines we have to wait at least #till 64-bit glibc for SPARC is operational:-( |