build: check for libkvm and libexecinfo on all the BSDs

pull/5370/head
Ben Noordhuis 2011-12-07 14:33:17 +01:00
parent 7547c7df1a
commit eef5d3257d
1 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,7 @@ def configure(conf):
conf.env.append_value("CCFLAGS", "-rdynamic")
conf.env.append_value("LINKFLAGS_DL", "-rdynamic")
if sys.platform.startswith("freebsd") or sys.platform.startswith("openbsd"):
if 'bsd' in sys.platform:
conf.check(lib='kvm', uselib_store='KVM')
#if Options.options.debug:
@ -309,7 +309,7 @@ def configure(conf):
if Options.options.efence:
conf.check(lib='efence', libpath=['/usr/lib', '/usr/local/lib'], uselib_store='EFENCE')
if sys.platform.startswith("freebsd"):
if 'bsd' in sys.platform:
if not conf.check(lib="execinfo",
includes=['/usr/include', '/usr/local/include'],
libpath=['/usr/lib', '/usr/local/lib'],