Support for QNX (wrat@jump.net (the wharf rat)).
authorLutz Jänicke <jaenicke@openssl.org>
Fri, 30 Nov 2001 09:38:57 +0000 (09:38 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Fri, 30 Nov 2001 09:38:57 +0000 (09:38 +0000)
Configure
TABLE
config

index 1fa185576128d078b37b482b24e01346edc80eb7..8da09ac778747f92b1313644e01d6107b7c21ed0 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -388,6 +388,9 @@ my %table=(
 # QNX 4
 "qnx4",        "cc:-DL_ENDIAN -DTERMIO::(unknown):::${x86_gcc_des} ${x86_gcc_opts}:",
 
+# QNX 6
+"qnx6",        "cc:-DL_ENDIAN -DTERMIOS::(unknown)::-lsocket:${x86_gcc_des} ${x86_gcc_opts}:",
+
 # Linux on ARM
 "linux-elf-arm","gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT:::BN_LLONG::::::::::dlfcn:linux-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
 
diff --git a/TABLE b/TABLE
index b922375ad8218b632e0a5b1970eaa4d7b7a4705e..57c4f756e92a416ef2f2bac37ae56698745e40fe 100644 (file)
--- a/TABLE
+++ b/TABLE
@@ -1,4 +1,3 @@
-Output of `Configure TABLE':
 
 *** BC-16
 $cc           = bcc
@@ -2714,6 +2713,29 @@ $shared_cflag =
 $shared_extension = 
 $ranlib       = 
 
+*** qnx6
+$cc           = cc
+$cflags       = -DL_ENDIAN -DTERMIOS
+$unistd       = 
+$thread_cflag = (unknown)
+$sys_id       = 
+$lflags       = -lsocket
+$bn_ops       = DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT
+$bn_obj       = 
+$des_obj      = 
+$bf_obj       = 
+$md5_obj      = 
+$sha1_obj     = 
+$cast_obj     = 
+$rc4_obj      = 
+$rmd160_obj   = 
+$rc5_obj      = 
+$dso_scheme   = 
+$shared_target= 
+$shared_cflag = 
+$shared_extension = 
+$ranlib       = 
+
 *** rhapsody-ppc-cc
 $cc           = cc
 $cflags       = -O3 -DB_ENDIAN
diff --git a/config b/config
index a056bcb22b6c391a54cae2c645861ea3b65a2ece..54dcdbe72b238c49b0c70f828c35e0e7d3ad8881 100755 (executable)
--- a/config
+++ b/config
@@ -246,10 +246,13 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
        ;;
 
     QNX:*)
-       case "$VERSION" in
+       case "$RELEASE" in
            4*)
                echo "${MACHINE}-whatever-qnx4"
                ;;
+           6*)
+               echo "${MACHINE}-whatever-qnx6"
+               ;;
            *)
                echo "${MACHINE}-whatever-qnx"
                ;;