* src/Configuration.cc (registerAlgorithm): Do not complain about
a missing path for disabled algorithms.
This commit is contained in:
Alexandre Duret-Lutz 2009-11-25 18:07:55 +01:00
parent 1e19aa3a5f
commit c95eb21ecf
2 changed files with 18 additions and 13 deletions

View file

@ -1,3 +1,8 @@
2009-11-25 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* src/Configuration.cc (registerAlgorithm): Do not complain about
a missing path for disabled algorithms.
2009-06-12 Guillaume Sadegh <sadegh@lrde.epita.fr>
Adjust to support the Intel compiler (icpc).

View file

@ -1659,7 +1659,7 @@ void Configuration::registerAlgorithm
!= algorithm_names.end())
error = "multiple definitions for implementation `"
+ algorithm_information.name + "'";
else if (path.empty())
else if (path.empty() && enabled)
error = "missing path to executable for implementation `"
+ algorithm_information.name + "'";