2004-07-08 Jan Nieuwenhuizen <janneke@gnu.org>
+ * lily/includable-lexer.cc: Use #if iso #ifdef for HAVE_ tests.
+
* mf/SConscript: Update multiple target rules.
* SConstruct (assert_version): Add.
if env['warnings']:
env.Append (CFLAGS = '-W ')
env.Append (CFLAGS = '-Wall')
+ # what about = ['-W', '-Wall', ...]?
env.Append (CXXFLAGS = '-W')
env.Append (CXXFLAGS = '-Wall')
env.Append (CXXFLAGS = '-Wconversion')
key = 'zHAVE_FLEXLEXER_YY_CURRENT_BUFFER'
-defines[key] = conf.TryCompile("""using namespace std;
+defines[key] = conf.TryCompile ("""using namespace std;
#include <FlexLexer.h>
class yy_flex_lexer: public yyFlexLexer
{
pass
if conf.CheckLib ('kpathsea'):
- defines['KPATHSEA'] = '1'
+ defines['zKPATHSEA'] = '1'
# huh?
if conf.CheckLib ('kpathsea', 'kpse_find_file'):
os.system (sys.executable \
+ ' ./stepmake/bin/make-version.py VERSION > '\
- + os.path.join (build, 'version.hh'))
+ + os.path.join (outdir, 'version.hh'))
if os.path.exists ('parser'):
env.Append (LIBPATH = ['#/flower', '#/lily', '#/parser', '#/gui',],