26
|
1 |
diff --git a/ns3waf/__init__.py b/ns3waf/__init__.py
|
|
2 |
--- a/ns3waf/__init__.py
|
|
3 |
+++ b/ns3waf/__init__.py
|
|
4 |
@@ -149,8 +149,23 @@
|
|
5 |
args='--cflags --libs', mandatory=mandatory,
|
|
6 |
msg="Checking for ns3-%s" % module.lower(),
|
|
7 |
uselib_store='NS3_%s' % module.upper())
|
|
8 |
+
|
|
9 |
if not retval is None:
|
|
10 |
found.append(module)
|
|
11 |
+ # else:
|
|
12 |
+ # import glob
|
|
13 |
+ # retry_found = False
|
|
14 |
+ # conf.start_msg(" Rechecking for ns3-%s" % module.lower())
|
|
15 |
+ # for lib in glob.glob(conf.env['NS3_DIR'] + '/libns3-dev-%s-%s.so' % (module.lower() , conf.env['LIB_SUFFIX'])):
|
|
16 |
+ # conf.end_msg("found")
|
|
17 |
+ # found.append(module)
|
|
18 |
+ # retry_found = True
|
|
19 |
+
|
|
20 |
+ # if retry_found is False:
|
|
21 |
+ # conf.end_msg("not found")
|
|
22 |
+ # if mandatory:
|
|
23 |
+ # conf.fatal('The configuration failed')
|
|
24 |
+
|
|
25 |
import copy
|
|
26 |
if not 'NS3_MODULES_FOUND' in conf.env:
|
|
27 |
conf.env['NS3_MODULES_FOUND'] = []
|