Manually detect OpenSSL as submit config
authorTodd Lyons <tlyons@exim.org>
Wed, 23 Oct 2013 12:21:30 +0000 (05:21 -0700)
committerTodd Lyons <tlyons@exim.org>
Wed, 23 Oct 2013 12:21:30 +0000 (05:21 -0700)
run_build.pl

index 3ceb33114828ddb362b763eab384a77785d0bf05..fae95ba1cc965bfcae206bcfefae83f890e494dd 100755 (executable)
@@ -1138,6 +1138,9 @@ sub configure
                           @tmp;
         push @config_opts, grep s/^(?:EXIM_)(PERL|PYTHON)=.*/$1/,
                            @tmp;
                           @tmp;
         push @config_opts, grep s/^(?:EXIM_)(PERL|PYTHON)=.*/$1/,
                            @tmp;
+        # OpenSSL doesn't have a specific USE flag
+        push @config_opts, grep s/^(TLS_LIBS.*-l(ssl|crypto)).*/OPENSSL/,
+                           @tmp;
         $EximBuild::conf{config_opts} = \@config_opts;
         
         # Does not matter what the Exim version is, as long as it is valid.
         $EximBuild::conf{config_opts} = \@config_opts;
         
         # Does not matter what the Exim version is, as long as it is valid.