Navigation Menu

Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Fix #3465 Add ./configure --no-ifaddrs flag
Browse files Browse the repository at this point in the history
For Old Solaris.
  • Loading branch information
isaacs committed Jun 18, 2012
1 parent d0111aa commit 0ef6cfd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions configure
Expand Up @@ -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()


Expand Down Expand Up @@ -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']

Expand Down

0 comments on commit 0ef6cfd

Please sign in to comment.