blob: 214b2946cf4553021e39785aed9484533f087ab5 (
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
27
28
29
30
31
32
33
34
35
|
#! /bin/sh
LIBTOOLIZE=libtoolize
AUTOMAKE=automake
ACLOCAL=aclocal
AUTOCONF=autoconf
AUTOHEADER=autoheader
# Check for binaries
[ "x$(which ${LIBTOOLIZE})x" = "xx" ] && {
echo "${LIBTOOLIZE} not found. Please install it."
exit 1
}
[ "x$(which ${AUTOMAKE})x" = "xx" ] && {
echo "${AUTOMAKE} not found. Please install it."
exit 1
}
[ "x$(which ${ACLOCAL})x" = "xx" ] && {
echo "${ACLOCAL} not found. Please install it."
exit 1
}
[ "x$(which ${AUTOCONF})x" = "xx" ] && {
echo "${AUTOCONF} not found. Please install it."
exit 1
}
"${ACLOCAL}" \
&& "${LIBTOOLIZE}" --force \
&& "${AUTOHEADER}" \
&& "${AUTOCONF}" \
&& "${AUTOMAKE}" --add-missing
|