diff options
author | isaacs <i@izs.me> | 2012-06-18 10:18:49 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-06-18 14:52:12 -0700 |
commit | 0ef6cfd39beb4620989e77e84ecb0aefdc2d4302 (patch) | |
tree | e90f215836a9a52b4af76b529b75c5dc38e38e5a /configure | |
parent | d0111aa0c45d2735080d7a177470839af767f7f2 (diff) | |
download | node-new-0ef6cfd39beb4620989e77e84ecb0aefdc2d4302.tar.gz |
Fix #3465 Add ./configure --no-ifaddrs flag
For Old Solaris.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -136,6 +136,11 @@ parser.add_option("--dest-cpu", dest="dest_cpu", help="CPU architecture to build for. Valid values are: arm, ia32, x64") +parser.add_option("--no-ifaddrs", + action="store_true", + dest="no_ifaddrs", + help="Use on deprecated SunOS systems that do not support ifaddrs.h") + (options, args) = parser.parse_args() @@ -328,6 +333,9 @@ def configure_openssl(o): if options.without_ssl: return + if options.no_ifaddrs: + o['defines'] += ['SUNOS_NO_IFADDRS'] + if options.no_ssl2: o['defines'] += ['OPENSSL_NO_SSL2=1'] |