Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | package="libdreamdvd"
|
---|
4 |
|
---|
5 | srcdir=`dirname $0`
|
---|
6 | test -z "$srcdir" && srcdir=.
|
---|
7 |
|
---|
8 | cd "$srcdir"
|
---|
9 | DIE=0
|
---|
10 |
|
---|
11 | (autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
---|
12 | echo
|
---|
13 | echo "You must have autoconf installed to compile $package."
|
---|
14 | echo "Download the appropriate package for your system,"
|
---|
15 | echo "or get the source from one of the GNU ftp sites"
|
---|
16 | echo "listed in http://www.gnu.org/order/ftp.html"
|
---|
17 | DIE=1
|
---|
18 | }
|
---|
19 |
|
---|
20 | (automake --version) < /dev/null > /dev/null 2>&1 || {
|
---|
21 | echo
|
---|
22 | echo "You must have automake installed to compile $package."
|
---|
23 | echo "Download the appropriate package for your system,"
|
---|
24 | echo "or get the source from one of the GNU ftp sites"
|
---|
25 | echo "listed in http://www.gnu.org/order/ftp.html"
|
---|
26 | DIE=1
|
---|
27 | }
|
---|
28 |
|
---|
29 | (libtool --version) < /dev/null > /dev/null 2>&1 || {
|
---|
30 | echo
|
---|
31 | echo "You must have libtool installed to compile $package."
|
---|
32 | echo "Download the appropriate package for your system,"
|
---|
33 | echo "or get the source from one of the GNU ftp sites"
|
---|
34 | echo "listed in http://www.gnu.org/order/ftp.html"
|
---|
35 | DIE=1
|
---|
36 | }
|
---|
37 |
|
---|
38 | if test "$DIE" -eq 1; then
|
---|
39 | exit 1
|
---|
40 | fi
|
---|
41 |
|
---|
42 | echo "Generating configuration files for $package, please wait...."
|
---|
43 |
|
---|
44 | echo " aclocal $ACLOCAL_FLAGS"
|
---|
45 | aclocal $ACLOCAL_FLAGS
|
---|
46 | echo " libtoolize --automake"
|
---|
47 | libtoolize --automake
|
---|
48 | echo " autoconf"
|
---|
49 | autoconf
|
---|
50 | echo " automake --add-missing"
|
---|
51 | automake --add-missing
|
---|
Note: See
TracBrowser
for help on using the repository browser.