source: titan/plugins/autogen.sh @ 43368

Last change on this file since 43368 was 20390, checked in by obi, 7 years ago

fix

  • Property svn:executable set to *
File size: 1.8 KB
Line 
1#!/bin/sh
2
3package="tuxbox-titan-plugins"
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
38#(gettext --version) < /dev/null > /dev/null 2>&1 || {
39#       echo
40#       echo "You must have gettext installed to compile $package."
41#       echo "Download the appropriate package for your system,"
42#       echo "or get the source from one of the GNU ftp sites"
43#       echo "listed in http://www.gnu.org/order/ftp.html"
44#       DIE=1
45#}
46
47if test "$DIE" -eq 1; then
48        exit 1
49fi
50
51if [ ! -e acinclude.m4 ]; then
52        for i in .. ../.. ../../..; do
53                if [ -e `pwd`/$i/acinclude.m4 ]; then
54                        ln -s `pwd`/$i/acinclude.m4 .
55                fi
56        done
57fi
58
59echo "Generating configuration files for $package, please wait...."
60
61echo "  aclocal $ACLOCAL_FLAGS"
62aclocal $ACLOCAL_FLAGS
63echo "  libtoolize --automake -f -c"
64libtoolize --automake -f -c
65#echo "  gettextize"
66#gettextize
67echo "  autoconf"
68autoconf
69echo "  autoheader"
70autoheader
71echo "  automake --add-missing"
72automake --add-missing
Note: See TracBrowser for help on using the repository browser.