Skip to content

Commit

Permalink
scons: Warn user and fail if cannot find libcrypto.
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Greear <greearb@candelatech.com>
  • Loading branch information
greearb committed Jun 3, 2010
1 parent ceb3166 commit 9090862
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion xorp/site_scons/config/allconfig.py
Expand Up @@ -728,6 +728,11 @@ def DoAllConfig(env, conf, host_os):
sys.exit(1)

has_libcrypto = conf.CheckLib('crypto')
if not has_libcrypto:
print "\nERROR: Cannot find required crypto library."
print " clear the configure cache before re-building."
sys.exit(1)

has_md5_init = conf.CheckFunc('MD5_Init')

##########
Expand Down Expand Up @@ -756,7 +761,7 @@ def DoAllConfig(env, conf, host_os):
print "\nWARNING: PCAP-BPF is not supported on this system,"
print " socket filtering will not work."
print " This is not a real problem, just a small performance"
print " loss when using.multiple virtual routers on the same system."
print " loss when using multiple virtual routers on the same system.\n"

##########
# curses for cli/libtecla
Expand Down

0 comments on commit 9090862

Please sign in to comment.