~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to Configure

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2006-05-15 16:00:58 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20060515160058-pg6lnbkkpkwpdj2e
Tags: upstream-0.9.8b
ImportĀ upstreamĀ versionĀ 0.9.8b

Show diffs side-by-side

added added

removed removed

Lines of Context:
404
404
#### IBM's AIX.
405
405
"aix3-cc",  "cc:-O -DB_ENDIAN -qmaxmem=16384::(unknown):AIX::BN_LLONG RC4_CHAR:::",
406
406
"aix-gcc",  "gcc:-O -DB_ENDIAN::-D_THREAD_SAFE:AIX::BN_LLONG RC4_CHAR::aix_ppc32.o::::::::::dlfcn:",
 
407
"aix64-gcc","gcc:-O -DB_ENDIAN::-D_THREAD_SAFE:AIX::SIXTY_FOUR_BIT_LONG RC4_CHAR::aix_ppc64.o::::::::::dlfcn::::::-X64",
407
408
# Below targets assume AIX 5. Idea is to effectively disregard $OBJECT_MODE
408
409
# at build time. $OBJECT_MODE is respected at ./config stage!
409
410
"aix-cc",   "cc:-q32 -O -DB_ENDIAN -qmaxmem=16384::-qthreaded:AIX::BN_LLONG RC4_CHAR::aix_ppc32.o::::::::::dlfcn:aix-shared::-q32:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::-X 32",
499
500
 
500
501
##### MacOS X (a.k.a. Rhapsody or Darwin) setup
501
502
"rhapsody-ppc-cc","cc:-O3 -DB_ENDIAN::(unknown):MACOSX_RHAPSODY::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}::",
502
 
"darwin-ppc-cc","cc:-O3 -DB_ENDIAN::-D_REENTRANT:MACOSX:-Wl,-search_paths_first:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::osx_ppc32.o:::::::::::darwin-shared:-fPIC -fno-common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
503
 
"darwin-i386-cc","cc:-O3 -fomit-frame-pointer -fno-common -DB_ENDIAN::-D_REENTRANT:MACOSX::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}::darwin-shared:-fPIC:-dunamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
504
 
"debug-darwin-ppc-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DB_ENDIAN -g -Wall -O::-D_REENTRANT:MACOSX::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::osx_ppc32.o:::::::::::darwin-shared:-fPIC:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
 
503
"darwin-ppc-cc","cc:-O3 -DB_ENDIAN::-D_REENTRANT:MACOSX:-Wl,-search_paths_first:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::osx_ppc32.o::::::::::dlfcn:darwin-shared:-fPIC -fno-common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
 
504
"darwin-i386-cc","cc:-O3 -fomit-frame-pointer -fno-common::-D_REENTRANT:MACOSX::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
 
505
"debug-darwin-ppc-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DB_ENDIAN -g -Wall -O::-D_REENTRANT:MACOSX::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::osx_ppc32.o::::::::::dlfcn:darwin-shared:-fPIC -fno-common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
505
506
 
506
507
##### A/UX
507
508
"aux3-gcc","gcc:-O2 -DTERMIO::(unknown):AUX:-lbsd:RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:::",
696
697
                                {
697
698
                                while (<IN>)
698
699
                                        {
699
 
                                        chop;
 
700
                                        chomp;
700
701
                                        if (/^CONFIGURE_ARGS=(.*)/)
701
702
                                                {
702
703
                                                $argvstring=$1;
747
748
                                {
748
749
                                $withargs{"krb5-".$1}=$2;
749
750
                                }
 
751
                        elsif (/^--with-zlib-lib=(.*)$/)
 
752
                                {
 
753
                                $withargs{"zlib-lib"}=$1;
 
754
                                }
 
755
                        elsif (/^--with-zlib-include=(.*)$/)
 
756
                                {
 
757
                                $withargs{"zlib-include"}="-I$1";
 
758
                                }
750
759
                        else
751
760
                                {
752
761
                                print STDERR $usage;
865
874
                { $no_shared = 1; }
866
875
        elsif (/^zlib$/)
867
876
                { $zlib = 0; }
 
877
        elsif (/^static-engine$/)
 
878
                { }
868
879
        elsif (/^zlib-dynamic$/)
869
880
                { }
870
881
        elsif (/^symlinks$/)
1123
1134
                }
1124
1135
        }
1125
1136
 
1126
 
if ($no_shared)
1127
 
        {
1128
 
        $openssl_other_defines.="#define OPENSSL_NO_DYNAMIC_ENGINE\n";
1129
 
        }
1130
 
else
1131
 
        {
1132
 
        $openssl_other_defines.="#define OPENSSL_NO_STATIC_ENGINE\n";
 
1137
if (!$IsMK1MF)
 
1138
        {
 
1139
        if ($no_shared)
 
1140
                {
 
1141
                $openssl_other_defines.="#define OPENSSL_NO_DYNAMIC_ENGINE\n";
 
1142
                }
 
1143
        else
 
1144
                {
 
1145
                $openssl_other_defines.="#define OPENSSL_NO_STATIC_ENGINE\n";
 
1146
                }
1133
1147
        }
1134
1148
 
1135
1149
$cpuid_obj.=" uplink.o uplink-cof.o" if ($cflags =~ /\-DOPENSSL_USE_APPLINK/);
1250
1264
my $sdirs=0;
1251
1265
while (<IN>)
1252
1266
        {
1253
 
        chop;
 
1267
        chomp;
1254
1268
        $sdirs = 1 if /^SDIRS=/;
1255
1269
        if ($sdirs) {
1256
1270
                my $dir;
1296
1310
        s/^PERL=.*/PERL= $perl/;
1297
1311
        s/^KRB5_INCLUDES=.*/KRB5_INCLUDES=$withargs{"krb5-include"}/;
1298
1312
        s/^LIBKRB5=.*/LIBKRB5=$withargs{"krb5-lib"}/;
 
1313
        s/^LIBZLIB=.*/LIBZLIB=$withargs{"zlib-lib"}/;
 
1314
        s/^ZLIB_INCLUDE=.*/ZLIB_INCLUDE=$withargs{"zlib-include"}/;
1299
1315
        s/^SHLIB_TARGET=.*/SHLIB_TARGET=$shared_target/;
1300
1316
        s/^SHLIB_MARK=.*/SHLIB_MARK=$shared_mark/;
1301
1317
        s/^SHARED_LIBS=.*/SHARED_LIBS=\$(SHARED_CRYPTO) \$(SHARED_SSL)/ if (!$no_shared);