Include openssl/e_os.h so OPENSSL_SYSNAME_ULTRASPARC and other configuration
[openssl.git] / Configure
index 616a9c170e54cabbd552a3966daa420f287a3797..b829d66322025b5f1ca59bd1cbb9f6482c6ab1b1 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -218,7 +218,7 @@ my %table=(
 # './Configure irix-[g]cc' manually.
 # -mips4 flag is added by ./config when appropriate.
 "irix-mips3-gcc","gcc:-mabi=n32 -mmips-as -O3 -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE:::MD2_CHAR RC4_INDEX RC4_CHAR RC4_CHUNK_LL DES_UNROLL DES_RISC2 DES_PTR BF_PTR SIXTY_FOUR_BIT:${mips3_irix_asm}:dlfcn:irix-shared:::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
-"irix-mips3-cc", "cc:-n32 -O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE:::DES_PTR RC4_CHAR RC4_CHUNK_LL DES_RISC2 DES_UNROLL BF_PTR SIXTY_FOUR_BIT:${mips3_irix_asm}:dlfcn:irix-shared:::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+"irix-mips3-cc", "cc:-n32 -mips3 -O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE:::DES_PTR RC4_CHAR RC4_CHUNK_LL DES_RISC2 DES_UNROLL BF_PTR SIXTY_FOUR_BIT:${mips3_irix_asm}:dlfcn:irix-shared:::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
 # N64 ABI builds.
 "irix64-mips4-gcc","gcc:-mabi=64 -mips4 -mmips-as -O3 -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE:::RC4_CHAR RC4_CHUNK DES_RISC2 DES_UNROLL SIXTY_FOUR_BIT_LONG:${mips3_irix_asm}:dlfcn:irix-shared:::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
 "irix64-mips4-cc", "cc:-64 -mips4 -O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE:::RC4_CHAR RC4_CHUNK DES_RISC2 DES_UNROLL SIXTY_FOUR_BIT_LONG:${mips3_irix_asm}:dlfcn:irix-shared:::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
@@ -688,7 +688,7 @@ PROCESS_ARGS:
                elsif (/^no-asm$/)
                        {
                        $no_asm=1;
-                       $flags .= "-DOPENSSL_NO_ASM ";
+                       #$flags .= "-DOPENSSL_NO_ASM ";
                        $openssl_other_defines .= "#define OPENSSL_NO_ASM\n";
                        }
                elsif (/^no-err$/)
@@ -700,12 +700,12 @@ PROCESS_ARGS:
                        {
                        my $hw=$1;
                        $hw =~ tr/[a-z]/[A-Z]/;
-                       $flags .= "-DOPENSSL_NO_HW_$hw ";
+                       #$flags .= "-DOPENSSL_NO_HW_$hw ";
                        $openssl_other_defines .= "#define OPENSSL_NO_HW_$hw\n";
                        }
                elsif (/^no-hw$/)
                        {
-                       $flags .= "-DOPENSSL_NO_HW ";
+                       #$flags .= "-DOPENSSL_NO_HW ";
                        $openssl_other_defines .= "#define OPENSSL_NO_HW\n";
                        }
                elsif (/^no-dso$/)
@@ -741,22 +741,22 @@ PROCESS_ARGS:
                        my $algo=$1;
                        push @skip,$algo;
                        $algo =~ tr/[a-z]/[A-Z]/;
-                       $flags .= "-DOPENSSL_NO_$algo ";
-                       $depflags .= "-DOPENSSL_NO_$algo ";
+                       #$flags .= "-DOPENSSL_NO_$algo ";
+                       #$depflags .= "-DOPENSSL_NO_$algo ";
                        $openssl_algorithm_defines .= "#define OPENSSL_NO_$algo\n";
                        if ($algo eq "RIJNDAEL")
                                {
                                push @skip, "aes";
-                               $flags .= "-DOPENSSL_NO_AES ";
-                               $depflags .= "-DOPENSSL_NO_AES ";
+                               #$flags .= "-DOPENSSL_NO_AES ";
+                               #$depflags .= "-DOPENSSL_NO_AES ";
                                $openssl_algorithm_defines .= "#define OPENSSL_NO_AES\n";
                                }
                        if ($algo eq "DES")
                                {
                                push @skip, "mdc2";
                                $options .= " no-mdc2";
-                               $flags .= "-DOPENSSL_NO_MDC2 ";
-                               $depflags .= "-DOPENSSL_NO_MDC2 ";
+                               #$flags .= "-DOPENSSL_NO_MDC2 ";
+                               #$depflags .= "-DOPENSSL_NO_MDC2 ";
                                $openssl_algorithm_defines .= "#define OPENSSL_NO_MDC2\n";
                                }
                        if ($algo eq "EC")
@@ -892,24 +892,24 @@ $no_tls1=1 if ($no_dh);
 if ($no_ssl2)
        {
        push @skip,"SSL2";
-       $flags .= "-DOPENSSL_NO_SSL2 ";
-       $depflags .= "-DOPENSSL_NO_SSL2 ";
+       #$flags .= "-DOPENSSL_NO_SSL2 ";
+       #$depflags .= "-DOPENSSL_NO_SSL2 ";
        $openssl_algorithm_defines .= "#define OPENSSL_NO_SSL2\n";
        }
 
 if ($no_ssl3)
        {
        push @skip,"SSL3";
-       $flags .= "-DOPENSSL_NO_SSL3 ";
-       $depflags .= "-DOPENSSL_NO_SSL3 ";
+       #$flags .= "-DOPENSSL_NO_SSL3 ";
+       #$depflags .= "-DOPENSSL_NO_SSL3 ";
        $openssl_algorithm_defines .= "#define OPENSSL_NO_SSL3\n";
        }
 
 if ($no_tls1)
        {
        push @skip,"TLS1";
-       $flags .= "-DOPENSSL_NO_TLS1 ";
-       $depflags .= "-DOPENSSL_NO_TLS1 ";
+       #$flags .= "-DOPENSSL_NO_TLS1 ";
+       #$depflags .= "-DOPENSSL_NO_TLS1 ";
        $openssl_algorithm_defines .= "#define OPENSSL_NO_TLS1\n";
        }
 
@@ -987,7 +987,7 @@ if ($no_krb5
        || !defined($withargs{"krb5-flavor"})
        || $withargs{"krb5-flavor"} eq "")
        {
-       $cflags="-DOPENSSL_NO_KRB5 $cflags";
+       #$cflags="-DOPENSSL_NO_KRB5 $cflags";
        $options.=" no-krb5" unless $no_krb5;
        $openssl_algorithm_defines .= "#define OPENSSL_NO_KRB5\n";
        }
@@ -1113,7 +1113,7 @@ if (!$no_shared)
 
 if ($threads)
        {
-       $cflags=$thread_cflags;
+       #$cflags=$thread_cflags;
        $openssl_thread_defines .= $thread_defines;
        }
 
@@ -1141,18 +1141,18 @@ if (!$no_shared)
 
 if ($no_shared)
        {
-       $cflags="-DOPENSSL_NO_DYNAMIC_ENGINE $cflags";
+       #$cflags="-DOPENSSL_NO_DYNAMIC_ENGINE $cflags";
        $openssl_other_defines.="#define OPENSSL_NO_DYNAMIC_ENGINE\n";
        }
 else
        {
-       $cflags="-DOPENSSL_NO_STATIC_ENGINE $cflags";
+       #$cflags="-DOPENSSL_NO_STATIC_ENGINE $cflags";
        $openssl_other_defines.="#define OPENSSL_NO_STATIC_ENGINE\n";
        }
 
 if ($sys_id ne "")
        {
-       $cflags="-DOPENSSL_SYSNAME_$sys_id $cflags";
+       #$cflags="-DOPENSSL_SYSNAME_$sys_id $cflags";
        $openssl_sys_defines="#define OPENSSL_SYSNAME_$sys_id\n";
        }