source: titan/libdreamdvd/autogen.sh @ 14963

Last change on this file since 14963 was 14963, checked in by nit, 9 years ago

[titan] change to unix format

File size: 1.3 KB
Line 
1#!/bin/sh
2
3package="libdreamdvd"
4
5srcdir=`dirname $0`
6test -z "$srcdir" && srcdir=.
7
8cd "$srcdir"
9DIE=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
38if test "$DIE" -eq 1; then
39        exit 1
40fi
41
42echo "Generating configuration files for $package, please wait...."
43
44echo "  aclocal $ACLOCAL_FLAGS"
45aclocal $ACLOCAL_FLAGS
46echo "  libtoolize --automake"
47libtoolize --automake
48echo "  autoconf"
49autoconf
50echo "  automake --add-missing"
51automake --add-missing
Note: See TracBrowser for help on using the repository browser.