-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathautogen.sh
72 lines (59 loc) · 1.04 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#! /bin/sh
echo PyFlag autogen.sh
echo
res=`type libtoolize`
if [ $0 = 0 ]; then
echo please install libtoolize
exit 1
else
echo starting libtoolize
libtoolize
echo finished libtoolize
fi
echo
res=`type aclocal`
if [ $0 = 0 ]; then
echo please install aclocal
exit 1
else
echo starting aclocal
aclocal -I config
echo finished aclocal
fi
echo
res=`type autoheader`
if [ $0 = 0 ]; then
echo please install autoheader
exit 1
else
echo starting autoheader
autoheader
echo finished autoheader
fi
echo
res=`type automake`
if [ $0 = 0 ]; then
echo please install automake
exit 1
else
echo starting automake
automake --add-missing --copy
echo finished automake
fi
echo
res=`type autoconf`
if [ $0 = 0 ]; then
echo please install autoconf
exit 1
else
echo starting autoconf
autoconf
echo finished autoconf
fi
echo
## Fix up permissions of some files:
chmod +x tests/pyflag tests/pyflash debian/rules
chmod +x utilities/*.py
echo everything done...
echo
echo next steps are running configure, make, make install