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 1fa1855..8da09ac 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 b922375..57c4f75 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 a056bcb..54dcdbe 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"
                ;;