forked from vpython/visual
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautogen.sh
105 lines (88 loc) · 2.11 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#!/bin/sh
#
# autogen.sh
#
# Requires: automake, autoconf, libtool
aclocal
libtoolize
automake --foreign --add-missing
autoconf
# Verify that everything was generated correctly. Note that some of these
# may just be symlinks, which is OK.
if [ -e Makefile.in ] ; then
echo "ok Makefile.in"
else
echo "Makefile.in not generated"
fi
if [ -e aclocal.m4 ] ; then
echo "ok aclocal.m4"
else
echo "aclocal.m4n not generated"
fi
if [ -e config.guess ] ; then
echo "ok config.guess"
else
echo "config.guess not generated"
fi
if [ -e config.sub ] ; then
echo "ok config.sub"
else
echo "config.sub not generated"
fi
if [ -e configure ] ; then
echo "ok configure"
else
echo "configure not generated"
fi
if [ -e install-sh ] ; then
echo "ok install-sh"
else
echo "install-sh not generated"
fi
if [ -e ltmain.sh ] ; then
echo "ok ltmain.sh"
else
echo "ltmain.sh not generated"
fi
if [ -e missing ] ; then
echo "ok missing"
else
echo "missing not generated"
fi
if [ -e py-compile ] ; then
echo "ok py-compile"
else
echo "py-compile not generated"
fi
if [ -e site-packages/visual/Makefile.in ] ; then
echo "ok site-packages/visual/Makefile.in"
else
echo "site-packages/visual/Makefile.in not generated"
fi
if [ -e site-packages/vis/Makefile.in ] ; then
echo "ok site-packages/vis/Makefile.in"
else
echo "site-packages/vis/Makefile.in not generated"
fi
if [ -e examples/Makefile.in ] ; then
echo "ok examples/Makefile.in"
else
echo "examples/Makefile.in not generated"
fi
if [ -e docs/Makefile.in ] ; then
echo "ok docs/Makefile.in"
else
echo "docs/Makefile.in not generated"
fi
if [ -e Makefile.in ] && [ -e aclocal.m4 ] && [ -e config.guess ] \
&& [ -e config.sub ] && [ -e configure ] && [ -e install-sh ] \
&& [ -e ltmain.sh ] && [ -e missing ] && [ -e py-compile ] \
&& [ -e site-packages/visual/Makefile.in ] \
&& [ -e site-packages/vis/Makefile.in ] \
&& [ -e examples/Makefile.in ] && [ -e docs/Makefile.in ] ; then
echo "Completed successfully"
else
echo "One or more generated files was not created properly."
exit 1
fi
exit 0