📄 configure
字号:
##### VxWorks for various targets"vxworks-ppc405","ccppc:-g -msoft-float -mlongcall -DCPU=PPC405 -I\$(WIND_BASE)/target/h:::VXWORKS:-r:::::","vxworks-ppc750","ccppc:-ansi -nostdinc -DPPC750 -D_REENTRANT -fvolatile -fno-builtin -fno-for-scope -fsigned-char -Wall -msoft-float -mlongcall -DCPU=PPC604 -I\$(WIND_BASE)/target/h \$(DEBUG_FLAG):::VXWORKS:-r:::::","vxworks-ppc750-debug","ccppc:-ansi -nostdinc -DPPC750 -D_REENTRANT -fvolatile -fno-builtin -fno-for-scope -fsigned-char -Wall -msoft-float -mlongcall -DCPU=PPC604 -I\$(WIND_BASE)/target/h -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DDEBUG -g:::VXWORKS:-r:::::","vxworks-ppc860","ccppc:-nostdinc -msoft-float -DCPU=PPC860 -DNO_STRINGS_H -I\$(WIND_BASE)/target/h:::VXWORKS:-r:::::","vxworks-mipsle","ccmips:-B\$(WIND_BASE)/host/\$(WIND_HOST_TYPE)/lib/gcc-lib/ -DL_ENDIAN -EL -Wl,-EL -mips2 -mno-branch-likely -G 0 -fno-builtin -msoft-float -DCPU=MIPS32 -DMIPSEL -DNO_STRINGS_H -I\$(WIND_BASE)/target/h:::VXWORKS:-r::${no_asm}::::::ranlibmips:",##### Compaq Non-Stop Kernel (Tandem)"tandem-c89","c89:-Ww -D__TANDEM -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_TANDEM_SOURCE -DB_ENDIAN::(unknown):::THIRTY_TWO_BIT:::",);my @MK1MF_Builds=qw(VC-WIN64I VC-WIN64A VC-NT VC-CE VC-WIN32 BC-32 OS2-EMX netware-clib netware-libc netware-libc-bsdsock);my $idx = 0;my $idx_cc = $idx++;my $idx_cflags = $idx++;my $idx_unistd = $idx++;my $idx_thread_cflag = $idx++;my $idx_sys_id = $idx++;my $idx_lflags = $idx++;my $idx_bn_ops = $idx++;my $idx_cpuid_obj = $idx++;my $idx_bn_obj = $idx++;my $idx_des_obj = $idx++;my $idx_aes_obj = $idx++;my $idx_bf_obj = $idx++;my $idx_md5_obj = $idx++;my $idx_sha1_obj = $idx++;my $idx_cast_obj = $idx++;my $idx_rc4_obj = $idx++;my $idx_rmd160_obj = $idx++;my $idx_rc5_obj = $idx++;my $idx_dso_scheme = $idx++;my $idx_shared_target = $idx++;my $idx_shared_cflag = $idx++;my $idx_shared_ldflag = $idx++;my $idx_shared_extension = $idx++;my $idx_ranlib = $idx++;my $idx_arflags = $idx++;my $prefix="";my $openssldir="";my $exe_ext="";my $install_prefix="";my $no_threads=0;my $threads=0;my $no_shared=0; # but "no-shared" is defaultmy $zlib=1; # but "no-zlib" is defaultmy $no_krb5=0; # but "no-krb5" is implied unless "--with-krb5-..." is usedmy $no_asm=0;my $no_dso=0;my $no_gmp=0;my @skip=();my $Makefile="Makefile";my $des_locl="crypto/des/des_locl.h";my $des ="crypto/des/des.h";my $bn ="crypto/bn/bn.h";my $md2 ="crypto/md2/md2.h";my $rc4 ="crypto/rc4/rc4.h";my $rc4_locl="crypto/rc4/rc4_locl.h";my $idea ="crypto/idea/idea.h";my $rc2 ="crypto/rc2/rc2.h";my $bf ="crypto/bf/bf_locl.h";my $bn_asm ="bn_asm.o";my $des_enc="des_enc.o fcrypt_b.o";my $aes_enc="aes_core.o aes_cbc.o";my $bf_enc ="bf_enc.o";my $cast_enc="c_enc.o";my $rc4_enc="rc4_enc.o";my $rc5_enc="rc5_enc.o";my $md5_obj="";my $sha1_obj="";my $rmd160_obj="";my $processor="";my $default_ranlib;my $perl;# All of the following is disabled by default (RC5 was enabled before 0.9.8):my %disabled = ( # "what" => "comment" "gmp" => "default", "mdc2" => "default", "rc5" => "default", "shared" => "default", "zlib" => "default", "zlib-dynamic" => "default" );# Additional "no-..." options will be collected in %disabled.# To remove something from %disabled, use e.g. "enable-rc5".# For symmetry, "disable-..." is a synonym for "no-...".# This is what $depflags will look like with the above default:my $default_depflags = "-DOPENSSL_NO_GMP -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 ";my $no_sse2=0;&usage if ($#ARGV < 0);my $flags;my $depflags;my $openssl_algorithm_defines;my $openssl_thread_defines;my $openssl_sys_defines="";my $openssl_other_defines;my $libs;my $libkrb5="";my $target;my $options;my $symlink;my $make_depend=0;my %withargs=();my @argvcopy=@ARGV;my $argvstring="";my $argv_unprocessed=1;while($argv_unprocessed) { $flags=""; $depflags=""; $openssl_algorithm_defines=""; $openssl_thread_defines=""; $openssl_sys_defines=""; $openssl_other_defines=""; $libs=""; $target=""; $options=""; $symlink=1; $argv_unprocessed=0; $argvstring=join(' ',@argvcopy);PROCESS_ARGS: foreach (@argvcopy) { s /^-no-/no-/; # some people just can't read the instructions # rewrite some options in "enable-..." form s /^-?-?shared$/enable-shared/; s /^threads$/enable-threads/; s /^zlib$/enable-zlib/; s /^zlib-dynamic$/enable-zlib-dynamic/; if (/^no-(.+)$/ || /^disable-(.+)$/) { if ($1 eq "ssl") { $disabled{"ssl2"} = "option(ssl)"; $disabled{"ssl3"} = "option(ssl)"; } elsif ($1 eq "tls") { $disabled{"tls1"} = "option(tls)" } else { $disabled{$1} = "option"; } } elsif (/^enable-(.+)$/) { delete $disabled{$1}; $threads = 1 if ($1 eq "threads"); } elsif (/^--test-sanity$/) { exit(&test_sanity()); } elsif (/^reconfigure/ || /^reconf/) { if (open(IN,"<$Makefile")) { while (<IN>) { chop; if (/^CONFIGURE_ARGS=(.*)/) { $argvstring=$1; @argvcopy=split(' ',$argvstring); die "Incorrect data to reconfigure, please do a normal configuration\n" if (grep(/^reconf/,@argvcopy)); print "Reconfiguring with: $argvstring\n"; $argv_unprocessed=1; close(IN); last PROCESS_ARGS; } } close(IN); } die "Insufficient data to reconfigure, please do a normal configuration\n"; } elsif (/^386$/) { $processor=386; } elsif (/^rsaref$/) { # No RSAref support any more since it's not needed. # The check for the option is there so scripts aren't # broken } elsif (/^[-+]/) { if (/^-[lL](.*)$/) { $libs.=$_." "; } elsif (/^-[^-]/ or /^\+/) { $flags.=$_." "; } elsif (/^--prefix=(.*)$/) { $prefix=$1; } elsif (/^--openssldir=(.*)$/) { $openssldir=$1; } elsif (/^--install.prefix=(.*)$/) { $install_prefix=$1; } elsif (/^--with-krb5-(dir|lib|include|flavor)=(.*)$/) { $withargs{"krb5-".$1}=$2; } else { print STDERR $usage; exit(1); } } elsif ($_ =~ /^([^:]+):(.+)$/) { eval "\$table{\$1} = \"$2\""; # allow $xxx constructs in the string $target=$1; } else { die "target already defined - $target (offending arg: $_)\n" if ($target ne ""); $target=$_; } unless ($_ eq $target || /^no-/ || /^disable-/) { # "no-..." follows later after implied disactivations # have been derived. (Don't take this too seroiusly, # we really only write OPTIONS to the Makefile out of # nostalgia.) if ($options eq "")
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -