This repository has been archived by the owner on May 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
autogen.sh
67 lines (54 loc) · 1.51 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
#!/bin/sh
# Run this to generate the configure script.
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "Error: You must have 'autoconf' installed on your system in order"
echo " to generate a configure script."
echo
exit 1
}
(autoheader --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "Error: You must have 'autoheader' installed on your system in"
echo " order to generate a configure script."
echo " (Note that 'autoheader' is part of the 'autoconf' package)"
echo
exit 1
}
(libtool --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "Error: You must have 'libtool' installed on your system in order"
echo " to generate a configure script."
echo
exit 1
}
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "Error: You must have 'automake' installed on your system in order"
echo " to generate a configure script."
echo
exit 1
}
(aclocal --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "Error: You must have 'aclocal' installed on your system in order"
echo " to generate a configure script."
echo " (Note that 'aclocal' is part of the 'automake' package)"
echo
exit 1
}
srcdir=`dirname $0`
echo "Running libtoolize..."
libtoolize --copy --force --automake
echo "Running aclocal..."
aclocal -I/e/MinGW/share/aclocal
echo "Running autoheader..."
autoheader
echo "Running automake..."
automake --add-missing --gnu --include-deps
echo "Running autoconf..."
autoconf
echo
echo "Done!"
echo "Now run $srcdir/configure in order to create Makefiles."
echo