CPPPATH = [ sconspath ],
BUNDLEDIR = sconspath,
SENFDIR = sconspath,
+ SENFINCDIR = sconspath,
SENFSYSLAYOUT = False)
try:
env.MergeFlags(file(os.path.join(path,"senf.conf")).read())
print "\nUsing system SENF in '%s/'\n" % sconspath
env.Append(BUNDLEDIR = os.path.join(sconspath,"lib/senf"),
SENFDIR = sconspath,
+ SENFINCDIR = '%s/include' % sconspath,
SENFSYSLAYOUT = True)
break
else:
# Only add senf after all configure checks have run
env.Append(
- CPPPATH = '${NEED_BOOST_EXT and "$SENFDIR/boost_ext" or None}',
+ CPPPATH = '${NEED_BOOST_EXT and "$SENFINCDIR/boost_ext" or None}',
LIBS = [ 'senf', '$BOOSTREGEXLIB', '$BOOSTIOSTREAMSLIB', '$BOOSTSIGNALSLIB',
'$BOOSTFSLIB' ],
)
def Configure(env):
- conf = env.Configure(clean=False, help=False, custom_tests = senfconf.Tests())
+ conf = env.Configure(clean=False,
+ help=False,
+ custom_tests=senfconf.Tests(),
+ config_h="#/senf/autoconf.hh")
env.Replace(
BOOST_VERSION = conf.CheckBoostVersion(),
BOOST_VARIANT = conf.CheckBoostVariants( '', 'mt' ),
NEED_BOOST_EXT = not conf.CheckCXXHeader("boost/bimap.hpp"),
+ HAVE_BOOST_SPIRIT_INCLUDE_CLASSIC_HPP = conf.CheckCXXHeader(
+ "boost/spirit/include/classic.hpp"),
)
conf.Finish()