Consistently use 'void *' for SSL read, peek and write functions.
[openssl.git] / config
diff --git a/config b/config
index 1b44dc6ba306df0ac5af25b0cec46be3fd4d2feb..2d363d80efe993140628398b70f539988e730f97 100755 (executable)
--- 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:-(
@@ -548,7 +557,7 @@ case "$GUESSOS" in
   i386-*) options="$options 386" ;;
 esac
 
-for i in bf cast des dh dsa hmac md2 md5 mdc2 rc2 rc4 rc5 ripemd rsa sha
+for i in bf cast des dh dsa ec hmac md2 md5 mdc2 rc2 rc4 rc5 ripemd rsa sha
 do
   if [ ! -d crypto/$i ]
   then