summaryrefslogtreecommitdiff
path: root/gsmsp/resources/tools/chk_bootstrap_prg.sh
blob: ba6a6bf989e2953c8284123eb11106fa1fbd024b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/sh

DIE=0
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
    echo
        echo "You must have autoconf installed."
	DIE=1
}

# libtool --version check not done...
(libtoolize --version) < /dev/null > /dev/null 2>&1 || {
    echo
        echo "You must have libtool installed."
        DIE=1
}

(automake --version) < /dev/null > /dev/null 2>&1 || {
    echo
        echo "You must have automake installed."
        DIE=1
}

if test "$DIE" -eq 1; then
    exit 1
fi

personal git repositories of Harald Welte. Your mileage may vary