projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get rid of some unnecessary casts and add a necessary one.
[oweals/openssl.git]
/
config
diff --git
a/config
b/config
index eec90a34567b649bd47711d978789453b7b894c3..e8cde735ddc6343d6dea32abfcb7909ebec44dc4 100755
(executable)
--- a/
config
+++ b/
config
@@
-283,6
+283,14
@@
if [ $? = "0" ]; then
CC=gcc
else
CC=cc
CC=gcc
else
CC=cc
+ if [ "$SYSTEM" = "SunOS" ]
+ then
+ case `cc -V 2>&1` in
+ *4*) CC=sc4;;
+ *5*) CC=sc5;;
+ *) CC=cc;;
+ esac
+ fi
fi
# read the output of the embedded GuessOS
fi
# read the output of the embedded GuessOS
@@
-298,6
+306,7
@@
case "$GUESSOS" in
ppc-*-linux2) OUT="linux-ppc" ;;
*-*-linux2) OUT="linux-elf" ;;
*-*-linux1) OUT="linux-aout" ;;
ppc-*-linux2) OUT="linux-ppc" ;;
*-*-linux2) OUT="linux-elf" ;;
*-*-linux1) OUT="linux-aout" ;;
+ sun4u-sun-solaris2) OUT="solaris-usparc-$CC" ;;
sun4*-sun-solaris2) OUT="solaris-sparc-$CC" ;;
*86*-sun-solaris2) OUT="solaris-x86-$CC" ;;
*-*-sunos4) OUT="sunos-$CC" ;;
sun4*-sun-solaris2) OUT="solaris-sparc-$CC" ;;
*86*-sun-solaris2) OUT="solaris-x86-$CC" ;;
*-*-sunos4) OUT="sunos-$CC" ;;
@@
-374,6
+383,6
@@
if [ $? = "0" ]; then
$PERL ./Configure $OUT $options
fi
else
$PERL ./Configure $OUT $options
fi
else
- echo "This system is not supported. See file INSTALL for details."
+ echo "This system
($OUT)
is not supported. See file INSTALL for details."
fi
)
fi
)