Apply the following change from the main trunk:
authorRichard Levitte <levitte@openssl.org>
Wed, 14 Nov 2001 08:18:07 +0000 (08:18 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 14 Nov 2001 08:18:07 +0000 (08:18 +0000)
2000-12-01 02:11  levitte

* Configure (1.243), config (1.71): Recognise Darwin as well.  For
now, have it do exactly the same thing as for Rhapsody

Configure
config

index 806369d23cbca46fa20d029af1ddeae36d86bfe8..c2431d275656887dcaf1030dcf5523a704f2ba6b 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -461,8 +461,9 @@ my %table=(
 "OpenBSD",      "gcc:-DTERMIOS -O3 -fomit-frame-pointer::(unknown)::BN_LLONG RC2_CHAR RC4_INDEX DES_UNROLL::::::::::dlfcn:bsd-gcc-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
 "OpenBSD-mips","gcc:-O2 -DL_ENDIAN::(unknown):BN_LLONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC2 DES_PTR BF_PTR:::::::::::dlfcn:bsd-gcc-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
 
-##### MacOS X (a.k.a. Rhapsody) setup
+##### MacOS X (a.k.a. Rhapsody or Darwin) setup
 "rhapsody-ppc-cc","cc:-O3 -DB_ENDIAN::(unknown)::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:::",
+"darwin-ppc-cc","cc:-O3 -DB_ENDIAN::(unknown)::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:::",
 
 ##### Sony NEWS-OS 4.x
 "newsos4-gcc","gcc:-O -DB_ENDIAN -DNEWS4::(unknown):-lmld -liberty:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR::::",
diff --git a/config b/config
index f94cc3e58c0d6377823cd43bd21a5268335a948c..62776f9e6ccd356b79b7267060dafcbc6460458f 100755 (executable)
--- a/config
+++ b/config
@@ -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
        ;;
@@ -475,6 +479,7 @@ 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" ;;
   sparc64-*-linux2)
        #Before we can uncomment following lines we have to wait at least
        #till 64-bit glibc for SPARC is operational:-(