projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This is a set of startup code for the DSO support, it's not yet linked into
[openssl.git]
/
config
diff --git
a/config
b/config
index 578d08b9de344150f352470e9b73c299e6d886ef..5337348703d0f0e38d5c5f9a29b09e76a9b514ca 100755
(executable)
--- a/
config
+++ b/
config
@@
-27,6
+27,7
@@
RELEASE=`(uname -r) 2>/dev/null` || RELEASE="unknown"
SYSTEM=`(uname -s) 2>/dev/null` || SYSTEM="unknown"
VERSION=`(uname -v) 2>/dev/null` || VERSION="unknown"
SYSTEM=`(uname -s) 2>/dev/null` || SYSTEM="unknown"
VERSION=`(uname -v) 2>/dev/null` || VERSION="unknown"
+
# Now test for ISC and SCO, since it is has a braindamaged uname.
#
# We need to work around FreeBSD 1.1.5.1
# Now test for ISC and SCO, since it is has a braindamaged uname.
#
# We need to work around FreeBSD 1.1.5.1
@@
-50,6
+51,8
@@
if [ "x$XREL" != "x" ]; then
4.2MP)
if [ "x$VERSION" = "x2.1.1" ]; then
echo "${MACHINE}-whatever-unixware211"; exit 0
4.2MP)
if [ "x$VERSION" = "x2.1.1" ]; then
echo "${MACHINE}-whatever-unixware211"; exit 0
+ elif [ "x$VERSION" = "x2.1.2" ]; then
+ echo "${MACHINE}-whatever-unixware212"; exit 0
else
echo "${MACHINE}-whatever-unixware2"; exit 0
fi
else
echo "${MACHINE}-whatever-unixware2"; exit 0
fi
@@
-57,6
+60,11
@@
if [ "x$XREL" != "x" ]; then
4.2)
echo "whatever-whatever-unixware1"; exit 0
;;
4.2)
echo "whatever-whatever-unixware1"; exit 0
;;
+ 5)
+ if [ "`echo x$VERSION | sed -e 's/\..*//'`" = "x7" ]; then
+ echo "${MACHINE}-sco-unixware7"; exit 0
+ fi
+ ;;
esac
fi
fi
esac
fi
fi
@@
-284,6
+292,8
@@
TEST="false"
for i
do
case "$i" in
for i
do
case "$i" in
+# shared library support (behnke@trustcenter.de)
+-shared) SHARED=true;;
-d*) PREFIX="debug-";;
-t*) TEST="true";;
-h*) TEST="true"; cat <<EOF
-d*) PREFIX="debug-";;
-t*) TEST="true";;
-h*) TEST="true"; cat <<EOF
@@
-399,6
+409,7
@@
case "$GUESSOS" in
;;
mips-*-linux?) OUT="linux-mips" ;;
ppc-*-linux2) OUT="linux-ppc" ;;
;;
mips-*-linux?) OUT="linux-mips" ;;
ppc-*-linux2) OUT="linux-ppc" ;;
+ ia64-*-linux?) OUT="linux-ia64" ;;
ppc-apple-rhapsody) OUT="rhapsody-ppc-cc" ;;
sparc64-*-linux2)
#Before we can uncomment following lines we have to wait at least
ppc-apple-rhapsody) OUT="rhapsody-ppc-cc" ;;
sparc64-*-linux2)
#Before we can uncomment following lines we have to wait at least
@@
-444,8
+455,12
@@
case "$GUESSOS" in
*-*-openbsd) OUT="OpenBSD" ;;
*86*-*-bsdi4) OUT="bsdi-elf-gcc" ;;
*-*-osf) OUT="alpha-cc" ;;
*-*-openbsd) OUT="OpenBSD" ;;
*86*-*-bsdi4) OUT="bsdi-elf-gcc" ;;
*-*-osf) OUT="alpha-cc" ;;
- *-*-unixware*) OUT="unixware-2.0" ;;
- *-*-UnixWare*) OUT="unixware-2.0" ;;
+ *-*-unixware7) OUT="unixware-7" ;;
+ *-*-UnixWare7) OUT="unixware-7" ;;
+ *-*-Unixware7) OUT="unixware-7" ;;
+ *-*-unixware[1-2]*) OUT="unixware-2.0" ;;
+ *-*-UnixWare[1-2]*) OUT="unixware-2.0" ;;
+ *-*-Unixware[1-2]*) OUT="unixware-2.0" ;;
BS2000-siemens-sysv4) OUT="BS2000-OSD" ;;
RM*-siemens-sysv4) OUT="ReliantUNIX" ;;
*-siemens-sysv4) OUT="SINIX" ;;
BS2000-siemens-sysv4) OUT="BS2000-OSD" ;;
RM*-siemens-sysv4) OUT="ReliantUNIX" ;;
*-siemens-sysv4) OUT="SINIX" ;;
@@
-464,6
+479,16
@@
then
options="$options -DATALLA"
fi
options="$options -DATALLA"
fi
+#get some basic shared lib support (behnke@trustcenter.de)
+case "$OUT" in
+ solaris-*-gcc)
+ if [ "$SHARED" = "true" ]
+ then
+ options="$options -DPIC -fPIC"
+ fi
+ ;;
+esac
+
# gcc < 2.8 does not support -mcpu=ultrasparc
if [ "$OUT" = solaris-sparcv9-gcc -a $GCCVER -lt 28 ]
then
# gcc < 2.8 does not support -mcpu=ultrasparc
if [ "$OUT" = solaris-sparcv9-gcc -a $GCCVER -lt 28 ]
then
@@
-535,14
+560,14
@@
fi
# compiler for the platform ... in which case we add it on
# the end ... otherwise we leave it off
# compiler for the platform ... in which case we add it on
# the end ... otherwise we leave it off
-$PERL ./Configure
2>&1
| grep "$OUT-$CC" > /dev/null
+$PERL ./Configure
LIST
| grep "$OUT-$CC" > /dev/null
if [ $? = "0" ]; then
OUT="$OUT-$CC"
fi
OUT="$PREFIX$OUT"
if [ $? = "0" ]; then
OUT="$OUT-$CC"
fi
OUT="$PREFIX$OUT"
-$PERL ./Configure
2>&1
| grep "$OUT" > /dev/null
+$PERL ./Configure
LIST
| grep "$OUT" > /dev/null
if [ $? = "0" ]; then
echo Configuring for $OUT
if [ $? = "0" ]; then
echo Configuring for $OUT