forked from scanmem/scanmem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
autogen.sh
executable file
·44 lines (42 loc) · 897 Bytes
/
autogen.sh
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
36
37
38
39
40
41
42
43
44
#!/bin/sh
LIBTOOLIZE=libtoolize
if [ "$(uname -s)" = "Darwin" ]; then
LIBTOOLIZE=glibtoolize # install via brew
fi
echo "+ running $LIBTOOLIZE ..."
$LIBTOOLIZE -c || {
echo
echo "$LIBTOOLIZE failed - check that it is present on system"
exit 1
}
echo "+ running aclocal ..."
aclocal -I m4 || {
echo
echo "aclocal failed - check that all needed development files"\
"are present on system"
exit 1
}
echo "+ running autoheader ... "
autoheader || {
echo
echo "autoheader failed"
exit 1
}
echo "+ running autoconf ... "
autoconf || {
echo
echo "autoconf failed"
exit 1
}
echo "+ running intltoolize ..."
intltoolize -f -c --automake || {
echo
echo "intltoolize failed - check that it is present on system"
exit 1
}
echo "+ running automake ... "
automake -c --add-missing || {
echo
echo "automake failed"
exit 1
}