Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4023)

Side by Side Diff: src/contrib/wscript

Issue 2173042: NS-3: New and accurate physical layer for IEEE 802.11 OFDM called PhySim-WiFi
Patch Set: Created 13 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/contrib/physim-wifi/wscript ('k') | src/wscript » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- 1 ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2 2
3 def configure(conf): 3 def configure(conf):
4 have_gtk = conf.pkg_check_modules('GTK_CONFIG_STORE', 'gtk+-2.0 >= 2.12', ma ndatory=False) 4 have_gtk = conf.pkg_check_modules('GTK_CONFIG_STORE', 'gtk+-2.0 >= 2.12', ma ndatory=False)
5 conf.env['ENABLE_GTK_CONFIG_STORE'] = have_gtk 5 conf.env['ENABLE_GTK_CONFIG_STORE'] = have_gtk
6 conf.report_optional_feature("GtkConfigStore", "GtkConfigStore", 6 conf.report_optional_feature("GtkConfigStore", "GtkConfigStore",
7 conf.env['ENABLE_GTK_CONFIG_STORE'], 7 conf.env['ENABLE_GTK_CONFIG_STORE'],
8 "library 'gtk+-2.0 >= 2.12' not found") 8 "library 'gtk+-2.0 >= 2.12' not found")
9 have_libxml2 = conf.pkg_check_modules('LIBXML2', 'libxml-2.0 >= 2.6', mandat ory=False) 9 have_libxml2 = conf.pkg_check_modules('LIBXML2', 'libxml-2.0 >= 2.6', mandat ory=False)
10 if have_libxml2: 10 if have_libxml2:
11 conf.define('HAVE_LIBXML2', 1) 11 conf.define('HAVE_LIBXML2', 1)
12 12
13 conf.env['ENABLE_LIBXML2'] = have_libxml2 13 conf.env['ENABLE_LIBXML2'] = have_libxml2
14 conf.report_optional_feature("XmlIo", "XmlIo", 14 conf.report_optional_feature("XmlIo", "XmlIo",
15 conf.env['ENABLE_LIBXML2'], 15 conf.env['ENABLE_LIBXML2'],
16 "library 'libxml-2.0 >= 2.7' not found") 16 "library 'libxml-2.0 >= 2.7' not found")
17 conf.write_config_header('ns3/contrib-config.h', top=True) 17 conf.write_config_header('ns3/contrib-config.h', top=True)
18 18
19 conf.sub_config('stats') 19 conf.sub_config('stats')
20 conf.sub_config('physim-wifi')
20 21
21 22
22 def build(bld): 23 def build(bld):
23 module = bld.create_ns3_module('contrib', ['simulator', 'common']) 24 module = bld.create_ns3_module('contrib', ['simulator', 'common'])
24 module.source = [ 25 module.source = [
25 'event-garbage-collector.cc', 26 'event-garbage-collector.cc',
26 'gnuplot.cc', 27 'gnuplot.cc',
27 'delay-jitter-estimation.cc', 28 'delay-jitter-estimation.cc',
28 'attribute-iterator.cc', 29 'attribute-iterator.cc',
29 'config-store.cc', 30 'config-store.cc',
(...skipping 23 matching lines...) Expand all
53 'display-functions.cc', 54 'display-functions.cc',
54 ]) 55 ])
55 module.uselib = 'GTK_CONFIG_STORE' 56 module.uselib = 'GTK_CONFIG_STORE'
56 57
57 if bld.env['ENABLE_LIBXML2']: 58 if bld.env['ENABLE_LIBXML2']:
58 module.source.append ('xml-config.cc') 59 module.source.append ('xml-config.cc')
59 if bld.env['ENABLE_GTK_CONFIG_STORE']: 60 if bld.env['ENABLE_GTK_CONFIG_STORE']:
60 module.uselib = module.uselib + ' LIBXML2' 61 module.uselib = module.uselib + ' LIBXML2'
61 else: 62 else:
62 module.uselib = 'LIBXML2' 63 module.uselib = 'LIBXML2'
OLDNEW
« no previous file with comments | « src/contrib/physim-wifi/wscript ('k') | src/wscript » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b