infra: Add generic check_prog_host function
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Sat, 3 May 2014 22:45:43 +0000 (00:45 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 14 Jun 2014 17:54:26 +0000 (19:54 +0200)
commit8575332f0d32d88135284eb58b6af59f6808d0db
treeb768e025bf7b676bd7616c03de0e0b56523590f4
parente244eb12dfc50bb56167d5fdaef3aac52b0ff6a3
infra: Add generic check_prog_host function

Avoid copy/pasting the same block of code to check if a program is
available on the host machine.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/dependencies/dependencies.sh