Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix #3465 Add ./configure --no-ifaddrs flag

For Old Solaris.
  • Loading branch information
isaacs committed Jun 18, 2012
1 parent d0111aa commit 0ef6cfd39beb4620989e77e84ecb0aefdc2d4302
Showing with 8 additions and 0 deletions.
  1. +8 −0 configure
@@ -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']

0 comments on commit 0ef6cfd

Please sign in to comment.
You can’t perform that action at this time.