summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2015-05-22 12:18:31 +1000
committerChris Johns <chrisj@rtems.org>2015-05-22 12:18:31 +1000
commit84288f4279113fd0f99527274c32c9532913a8ce (patch)
tree505a37dd820172e4bfe158269dce8023616c2319 /wscript
parentwaf: Add install support. (diff)
downloadrtems-libbsd-84288f4279113fd0f99527274c32c9532913a8ce.tar.bz2
waf: Check for dlfcn.h header is availavble.
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/wscript b/wscript
index c943123f..d1438ee6 100644
--- a/wscript
+++ b/wscript
@@ -35,6 +35,9 @@ def options(opt):
dest = "net_config",
help = "Network test configuration.")
+def bsp_configure(conf, arch_bsp):
+ conf.check(header_name = "dlfcn.h", features = "c")
+
def configure(conf):
if conf.options.auto_regen:
conf.find_program("lex", mandatory = True)
@@ -43,7 +46,7 @@ def configure(conf):
conf.env.AUTO_REGEN = conf.options.auto_regen
conf.env.WARNINGS = conf.options.warnings
conf.env.NET_CONFIG = conf.options.net_config
- rtems.configure(conf)
+ rtems.configure(conf, bsp_configure)
if rtems.check_networking(conf):
conf.fatal("RTEMS kernel contains the old network support; configure RTEMS with --disable-networking")