wscript
changeset 4773 904c1803d5dc
parent 4770 d21013536be3
child 5201 c831e91e57f9
equal deleted inserted replaced
4772:7b6ae6bf0055 4773:904c1803d5dc
   356             conf.report_optional_feature("static", "Static build", False,
   356             conf.report_optional_feature("static", "Static build", False,
   357                                          "Unsupported platform")
   357                                          "Unsupported platform")
   358     else:
   358     else:
   359         conf.report_optional_feature("static", "Static build", False,
   359         conf.report_optional_feature("static", "Static build", False,
   360                                      "option --enable-static not selected")
   360                                      "option --enable-static not selected")
   361 
   361     have_gsl = conf.pkg_check_modules('GSL', 'gsl', mandatory=False)
   362 
   362     conf.env['ENABLE_GSL'] = have_gsl
       
   363 
       
   364     conf.report_optional_feature("GSL", "GNU Scientific Library (GSL)",
       
   365                                  conf.env['ENABLE_GSL'],
       
   366                                  "GSL not found")
       
   367     if have_gsl:
       
   368         conf.env.append_value('CXXDEFINES', "ENABLE_GSL")
       
   369         conf.env.append_value('CCDEFINES', "ENABLE_GSL")
   363 
   370 
   364     # Write a summary of optional features status
   371     # Write a summary of optional features status
   365     print "---- Summary of optional NS-3 features:"
   372     print "---- Summary of optional NS-3 features:"
   366     for (name, caption, was_enabled, reason_not_enabled) in conf.env['NS3_OPTIONAL_FEATURES']:
   373     for (name, caption, was_enabled, reason_not_enabled) in conf.env['NS3_OPTIONAL_FEATURES']:
   367         if was_enabled:
   374         if was_enabled: