summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-03-07 11:04:00 +0100
committerRichard Levitte <levitte@openssl.org>2001-03-07 11:04:00 +0100
commit70d70a3c81c7affbda6b626ff49097aa1714298c (patch)
treeb9bdbed59aab51d6455fd89f6fb95f8ceee8c355 /config
parent..._init functions are method-specific too (diff)
downloadopenssl-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-xconfig13
1 files changed, 11 insertions, 2 deletions
diff --git a/config b/config
index 1b44dc6ba3..a6411528af 100755
--- a/config
+++ b/config
@@ -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:-(