build: Downgrade python3-shtab warning to a simple message

This commit is contained in:
Marco Trevisan (Treviño) 2024-04-03 20:42:07 +02:00 committed by Marco Trevisan
parent 4b172671cc
commit 02898fbd44

View file

@ -73,7 +73,7 @@ python3 = python.find_installation('python3')
have_shtab = run_command(
[python3, '-c', 'import shtab'], check: false).returncode() == 0
if not have_shtab
warning('''python3-shtab not found''')
message('''python3-shtab not found, completions won't be generated''')
endif
bashcomp = dependency('bash-completion', required: get_option('bashcomp').disable_auto_if(not have_shtab))