aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/configtool.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/dependencies/configtool.py')
-rw-r--r--mesonbuild/dependencies/configtool.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/mesonbuild/dependencies/configtool.py b/mesonbuild/dependencies/configtool.py
index 623affb..7dccee4 100644
--- a/mesonbuild/dependencies/configtool.py
+++ b/mesonbuild/dependencies/configtool.py
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-from .base import ExternalDependency, DependencyException, DependencyMethods, DependencyTypeName
+from .base import ExternalDependency, DependencyException, DependencyTypeName
from ..mesonlib import listify, Popen_safe, split_args, version_compare, version_compare_many
from ..programs import find_external_program
from .. import mlog
@@ -138,10 +138,6 @@ class ConfigToolDependency(ExternalDependency):
return []
return split_args(out)
- @staticmethod
- def get_methods() -> T.List[DependencyMethods]:
- return [DependencyMethods.AUTO, DependencyMethods.CONFIG_TOOL]
-
def get_configtool_variable(self, variable_name: str) -> str:
p, out, _ = Popen_safe(self.config + [f'--{variable_name}'])
if p.returncode != 0: