Skip to content

Commit

Permalink
scons: Fix openssl/md5.h detection on Fedora core 5.
Browse files Browse the repository at this point in the history
Signed-off-by: greearb <greearb@file-server.candelatech.com>
  • Loading branch information
greearb committed Jun 3, 2010
1 parent 9e7035b commit f7c23de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xorp/site_scons/config/allconfig.py
Expand Up @@ -719,7 +719,10 @@ def DoAllConfig(env, conf, host_os):
##########
# openssl for md5
# XXX Check for MD5_Init()
has_openssl_md5_h = conf.CheckHeader('openssl/md5.h')
prereq_md5 = []
if has_sys_types_h:
prereq_md5.append('sys/types.h')
has_openssl_md5_h = conf.CheckHeader(prereq_md5 + ['openssl/md5.h'])
if not has_openssl_md5_h:
print "\nERROR: Cannot find required openssl/md5.h."
print " On Fedora/RedHat: yum install openssl-devel"
Expand Down

0 comments on commit f7c23de

Please sign in to comment.