blob: fb70cc71d3d45247be6dba3fbb425b43c3df397f (
plain)
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
|
#!/bin/sh
#
# Run this to generate all the initial makefiles, etc.
#
PROJECT="PROJ.4"
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo "*** ERROR: GNU Autoconf is required to build $PROJECT."
exit 1
}
(libtool --version) < /dev/null > /dev/null 2>&1 || {
echo "*** ERROR: GNU Libtool is required to build $PROJECT."
exit 1
}
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo "*** ERROR: GNU Automake is required to build $PROJECT."
exit 1
}
(aclocal --version) < /dev/null > /dev/null 2>&1 || {
echo "*** ERROR: aclocal program from GNU Automake package is required to build $PROJECT."
exit 1
}
echo "Running aclocal..."
aclocal
echo "Running libtoolize..."
libtoolize --force --copy
echo "Running automake..."
automake --add-missing --copy
echo "Running autoconf..."
autoconf
echo
echo "Type './configure' to generate Makefile files for $PROJECT."
echo "or './configure --help' to list possible options."
|