summaryrefslogtreecommitdiffstats
path: root/www/midori/files/patch-wscript
blob: dba5d97896217af7d2e5930ef1be4869c192ae60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- wscript.orig    2011-03-13 23:03:35.000000000 +0100
+++ wscript 2011-03-14 06:45:15.000000000 +0100
@@ -248,8 +248,7 @@
     if not conf.env['HAVE_UNIQUE']:
         if Options.platform == 'win32':
             conf.check (lib='ws2_32')
-        check_pkg ('openssl', mandatory=False)
-        conf.define ('USE_SSL', [0,1][conf.env['HAVE_OPENSSL'] == 1])
+        conf.define ('HAVE_OPENSSL', [0,1][conf.check (header_name='openssl/opensslv.h')])
         conf.define ('HAVE_NETDB_H', [0,1][conf.check (header_name='netdb.h')])
         conf.check (header_name='sys/wait.h')
         conf.check (header_name='sys/select.h')