summaryrefslogtreecommitdiffstats
path: root/meta/packages/webkit/files/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/webkit/files/autogen.sh')
-rw-r--r--meta/packages/webkit/files/autogen.sh36
1 files changed, 24 insertions, 12 deletions
diff --git a/meta/packages/webkit/files/autogen.sh b/meta/packages/webkit/files/autogen.sh
index 1c0fc61156..a929538d20 100644
--- a/meta/packages/webkit/files/autogen.sh
+++ b/meta/packages/webkit/files/autogen.sh
@@ -11,23 +11,35 @@ cd $srcdir
11DIE=0 11DIE=0
12 12
13(autoconf --version) < /dev/null > /dev/null 2>&1 || { 13(autoconf --version) < /dev/null > /dev/null 2>&1 || {
14 echo 14 echo
15 echo "You must have autoconf installed to compile $PROJECT." 15 echo "You must have autoconf installed to compile $PROJECT."
16 echo "Install the appropriate package for your distribution," 16 echo "Install the appropriate package for your distribution,"
17 echo "or get the source tarball at http://ftp.gnu.org/gnu/autoconf/" 17 echo "or get the source tarball at http://ftp.gnu.org/gnu/autoconf/"
18 DIE=1 18 DIE=1
19} 19}
20 20
21(automake --version) < /dev/null > /dev/null 2>&1 || { 21(automake --version) < /dev/null > /dev/null 2>&1 || {
22 echo 22 echo
23 echo "You must have automake installed to compile $PROJECT." 23 echo "You must have automake installed to compile $PROJECT."
24 echo "Install the appropriate package for your distribution," 24 echo "Install the appropriate package for your distribution,"
25 echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/" 25 echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
26 DIE=1 26 DIE=1
27}
28
29LIBTOOLIZE=libtoolize
30($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 || {
31 LIBTOOLIZE=glibtoolize
32 ($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 || {
33 echo
34 echo "You must have libtool installed to compile $PROJECT."
35 echo "Install the appropriate package for your distribution,"
36 echo "or get the source tarball at http://ftp.gnu.org/gnu/libtool/"
37 DIE=1
38 }
27} 39}
28 40
29if test "$DIE" -eq 1; then 41if test "$DIE" -eq 1; then
30 exit 1 42 exit 1
31fi 43fi
32 44
33rm -rf $top_srcdir/autom4te.cache 45rm -rf $top_srcdir/autom4te.cache
@@ -35,7 +47,7 @@ rm -rf $top_srcdir/autom4te.cache
35touch README INSTALL 47touch README INSTALL
36 48
37aclocal || exit $? 49aclocal || exit $?
38libtoolize --force || exit $? 50$LIBTOOLIZE --force || exit $?
39autoheader || exit $? 51autoheader || exit $?
40automake --foreign --add-missing || exit $? 52automake --foreign --add-missing || exit $?
41autoconf || exit $? 53autoconf || exit $?