aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-20 05:50:02 +0000
committerlloyd <[email protected]>2009-11-20 05:50:02 +0000
commit68500fd6d481ebbb2474ca20d233cae80ec1a8eb (patch)
tree47278bdac715029b5c985c53d2c7b98655147f74 /configure.py
parentbab01ef1514266e6f23d9163e503c115147ab993 (diff)
parent461e0b52e176ec7e4ebb5d0eaa0e0c53742066c9 (diff)
propagate from branch 'net.randombit.botan' (head b431f4bc404f3ed4a5332b69100ff903fbbb1d6a)
to branch 'net.randombit.botan.c++0x' (head a5eb5edada5e025f7c85c096dc59a467cae4aba6)
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/configure.py b/configure.py
index e7e8dbcea..956fdb333 100755
--- a/configure.py
+++ b/configure.py
@@ -39,7 +39,7 @@ class BuildConfigurationInformation(object):
version_minor = 9
version_patch = 3
version_so_patch = 3
- version_suffix = '-dev'
+ version_suffix = ''
version_string = '%d.%d.%d%s' % (
version_major, version_minor, version_patch, version_suffix)
@@ -523,7 +523,6 @@ class CompilerInfo(object):
'lang_flags': '',
'warning_flags': '',
'dll_import_flags': '',
- 'dll_export_flags': '',
'ar_command': None,
'makefile_style': ''
})
@@ -598,7 +597,9 @@ class CompilerInfo(object):
def so_link_command_for(self, osname):
if osname in self.so_link_flags:
return self.so_link_flags[osname]
- return self.so_link_flags['default']
+ if 'default' in self.so_link_flags:
+ return self.so_link_flags['default']
+ return ''
"""
Return defines for build.h
@@ -807,7 +808,7 @@ def create_template_vars(build_config, options, modules, cc, arch, osinfo):
'lang_flags': cc.lang_flags + options.extra_flags,
'warn_flags': cc.warning_flags,
'shared_flags': cc.shared_flags,
- 'dll_export_flags': cc.dll_export_flags,
+ 'dll_import_flags': cc.dll_import_flags,
'so_link': cc.so_link_command_for(osinfo.basename),
@@ -1076,7 +1077,8 @@ def setup_build(build_config, options, template_vars):
for (template, sink) in [('buildh.in', 'build.h'),
('botan-config.in', 'botan-config'),
('botan.pc.in', build_config.pkg_config_file()),
- ('botan.doxy.in', 'botan.doxy')]:
+ ('botan.doxy.in', 'botan.doxy'),
+ ('innosetup.in', 'botan.iss')]:
templates_to_proc[os.path.join(options.build_data, template)] = \
os.path.join(build_config.build_dir, sink)