Hi,
here is a patch for preliminary support of the Hurd OS.
There is certainly some more tweaking possible, but unfortunately
I don't have the time to learn the inner workings of openssl configure
to find the best options. However, if you have some straightforward
suggestions I can try it out and report back.
GNU Hurd is currently a ix86 only OS, so my patch only deals with that.
uname -m returns "i386-AT386", which lead to the *i386* glob.
I could not figure out how thread support is determined. Currently, we are
lacking good thread support, so one has to disable it with no-thread. I
don't know why Configure things that we support threads. This should be
fixed properly of course.
I am happy to provide you with the config output and a transcript of make
test: All tests passed! (But let me first fix up the Hurd support with your
advice to make a final run).
Thanks,
Marcus
diff -ru openssl-0.9.4.orig/Configure openssl-0.9.4/Configure
--- openssl-0.9.4.orig/Configure Sun Aug 8 13:56:29 1999
+++ openssl-0.9.4/Configure Tue Jan 18 18:46:59 2000
@@ -220,6 +220,9 @@
# NCR MP-RAS UNIX ver 02.03.01
"ncr-scde","cc:-O6 -Xa -Hoff=BEHAVED -686 -Hwide -Hiw::(unknown):-lsocket
-lnsl:$x86_gcc_des ${x86_gcc_opts}:::",
+# The GNU/Hurd
+"gnu", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -m486 -Wall::-D_REENTRANT::BN_LLONG
+$x86_gcc_des $x86_gcc_opts:",
+
# UnixWare 2.0
"unixware-2.0","cc:-O -DFILIO_H::(unknown):-lsocket -lnsl:$x86_gcc_des
${x86_gcc_opts}:::",
"unixware-2.0-pentium","cc:-O -DFILIO_H -Kpentium -Kthread::(unknown):-lsocket
-lnsl:MD2_CHAR RC4_INDEX ${x86_gcc_des}::",
diff -ru openssl-0.9.4.orig/config openssl-0.9.4/config
--- openssl-0.9.4.orig/config Mon Aug 9 12:16:51 1999
+++ openssl-0.9.4/config Tue Jan 18 18:45:02 2000
@@ -75,6 +75,10 @@
echo "${MACHINE}-dg-dgux"; exit 0
;;
+ GNU:*:*:*i386*)
+ echo "i386-whatever-gnu"; exit 0
+ ;;
+
HI-UX:*)
echo "${MACHINE}-hi-hiux"; exit 0
;;
@@ -417,6 +421,7 @@
BS2000-siemens-sysv4) OUT="BS2000-OSD" ;;
RM*-siemens-sysv4) OUT="ReliantUNIX" ;;
*-siemens-sysv4) OUT="SINIX" ;;
+ i386-gnu) OUT="i386-gnu" ;;
# these are all covered by the catchall below
# *-hpux*) OUT="hpux-$CC" ;;
# *-aix) OUT="aix-$CC" ;;
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]