Lines 1-12
Link Here
|
1 |
--- wscript.orig 2010-05-26 12:34:09.000000000 +0200 |
1 |
--- wscript.orig 2011-01-31 02:04:53.000000000 +0100 |
2 |
+++ wscript 2010-05-26 12:35:30.000000000 +0200 |
2 |
+++ wscript 2011-01-31 20:12:21.000000000 +0100 |
3 |
@@ -267,8 +267,7 @@ |
3 |
@@ -261,8 +261,7 @@ |
4 |
if not conf.env['HAVE_UNIQUE']: |
4 |
if not conf.env['HAVE_UNIQUE']: |
5 |
if Options.platform == 'win32': |
5 |
if Options.platform == 'win32': |
6 |
conf.check (lib='ws2_32') |
6 |
conf.check (lib='ws2_32') |
7 |
- check_pkg ('openssl', mandatory=False) |
7 |
- check_pkg ('openssl', mandatory=False) |
8 |
- conf.define ('USE_SSL', [0,1][conf.env['HAVE_OPENSSL'] == 1]) |
8 |
- conf.define ('USE_SSL', [0,1][conf.env['HAVE_OPENSSL'] == 1]) |
9 |
+ conf.define ('HAVE_OPENSSL', [0,1][conf.check (header_name='openssl/opensslv.h')]) |
9 |
+ conf.define ('HAVE_OPENSSL', [0,1][conf.check(header_name='openssl/opensslv.h')]) |
10 |
conf.define ('HAVE_NETDB_H', [0,1][conf.check (header_name='netdb.h')]) |
10 |
conf.define ('HAVE_NETDB_H', [0,1][conf.check (header_name='netdb.h')]) |
11 |
conf.check (header_name='sys/wait.h') |
11 |
conf.check (header_name='sys/wait.h') |
12 |
conf.check (header_name='sys/select.h') |
12 |
conf.check (header_name='sys/select.h') |