aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMads Kiilerich <mads@kiilerich.com>2010-03-23 01:19:45 +0100
committerJaroslav Kysela <perex@perex.cz>2010-03-24 08:54:26 +0100
commit24b4fcfda22debf631d7f765be564f8c4e13c413 (patch)
tree974755d9ab8d210f2e6386458932b9af8ae7ac72
parent6ae76552536e3a7733efbddd8e1a3d1835223e99 (diff)
downloadalsa-driver-build-unstable-24b4fcfda22debf631d7f765be564f8c4e13c413.tar.gz
alsa-compile.sh: Check for aclocal and install if missing
Signed-off-by: Mads Kiilerich <mads@kiilerich.com>
-rwxr-xr-xutils/alsa-compile.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/alsa-compile.sh b/utils/alsa-compile.sh
index 68141a27f..88d8f2c4f 100755
--- a/utils/alsa-compile.sh
+++ b/utils/alsa-compile.sh
@@ -438,6 +438,12 @@ check_compilation_environment() {
else
echo "Program autoconf found."
fi
+ local a=$(aclocal --version | head -1 | cut -d ' ' -f 1)
+ if test "$a" != "aclocal"; then
+ install_package automake
+ else
+ echo "Program aclocal found."
+ fi
local a=$(gcc --version | head -1 | cut -d ' ' -f 1)
if test "$a" != "gcc" ; then
install_package gcc