1 #! /bin/sh
2
3 if glibtoolize --version > /dev/null 2>&1; then
4 LIBTOOLIZE='glibtoolize'
5 else
6 LIBTOOLIZE='libtoolize'
7 fi
8
9 command -v command >/dev/null 2>&1 || {
10 echo "command is required, but wasn't found on this system"
11 exit 1
12 }
13
14 command -v $LIBTOOLIZE >/dev/null 2>&1 || {
15 echo "libtool is required, but wasn't found on this system"
16 exit 1
17 }
18
19 command -v autoconf >/dev/null 2>&1 || {
20 echo "autoconf is required, but wasn't found on this system"
21 exit 1
22 }
23
24 command -v automake >/dev/null 2>&1 || {
25 echo "automake is required, but wasn't found on this system"
26 exit 1
27 }
28
29 if autoreconf --version > /dev/null 2>&1 ; then
30 exec autoreconf -ivf
31 fi
32
33 $LIBTOOLIZE && \
34 aclocal && \
35 automake --add-missing --force-missing --include-deps && \
36 autoconf
Cache object: f2febf69396fd4b480afc428658e9076
|