else:
use_vc = False
-# lyx will be built to $build/build_dir so it is possible
-# to build multiple build_dirs using the same source
-# $mode can be debug or release
if env.has_key('build_dir') and env['build_dir'] is not None:
- # create the directory if needed
- if not os.path.isdir(env['build_dir']):
- try:
- os.makedirs(env['build_dir'])
- except:
- pass
- if not os.path.isdir(env['build_dir']):
- print 'Can not create directory', env['build_dir']
- Exit(3)
env['BUILDDIR'] = env['build_dir']
else:
# Determine the name of the build $mode
#
utils.createConfigFile(conf,
config_file = boost_config_h,
- config_pre = '''/* boost/config.h. Generated by SCons. */
+ config_pre = r'''/* boost/config.h. Generated by SCons. */
/* -*- C++ -*- */
/*
# create config.h
result = utils.createConfigFile(conf,
config_file = config_h,
- config_pre = '''/* config.h. Generated by SCons. */
+ config_pre = r'''/* config.h. Generated by SCons. */
/* -*- C++ -*- */
/*
# create intl/config.h
result = utils.createConfigFile(conf,
config_file = intl_config_h,
- config_pre = '''/* intl/config.h. Generated by SCons. */
+ config_pre = r'''/* intl/config.h. Generated by SCons. */
/* -*- C++ -*- */
/*
* during the compilation.
*/
-#ifndef _CONFIG_H
-#define _CONFIG_H
+#ifndef _INTL_CONFIG_H
+#define _INTL_CONFIG_H
''',
headers = [
('unistd.h', 'HAVE_UNISTD_H', 'c'),