aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2010-07-12 09:36:59 +0200
committerJaroslav Kysela <perex@perex.cz>2010-07-12 09:36:59 +0200
commit56c4575a0948bacdd9e3c5e355086367f2de0161 (patch)
tree32a10286b576b085fade5b8478acf73b9dc99f35
parentc123d36b356aee135a45065537a1b271312fb566 (diff)
downloadalsa-driver-build-unstable-56c4575a0948bacdd9e3c5e355086367f2de0161.tar.gz
alsa-compile.sh: add check for make package
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rwxr-xr-xutils/alsa-compile.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/alsa-compile.sh b/utils/alsa-compile.sh
index 8fccdf407..76c1aad58 100755
--- a/utils/alsa-compile.sh
+++ b/utils/alsa-compile.sh
@@ -464,6 +464,13 @@ check_compilation_environment() {
else
echo "Program diff found."
fi
+ local a=$(make --version | head -1 | cut -d ' ' -f 1)
+ local b=$(make --version | head -1 | cut -d ' ' -f 2)
+ if test "$a" != "make" -a test "$b" != "make"; then
+ install_package diffutils
+ else
+ echo "Program make found."
+ fi
if test "$protocol" = "git"; then
local a=$(git --version | head -1 | cut -d ' ' -f 1)
if test "$a" != "git"; then