diff options
Diffstat (limited to 'meta/packages/webkit/files/autogen.sh')
-rw-r--r-- | meta/packages/webkit/files/autogen.sh | 36 |
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 | |||
11 | DIE=0 | 11 | DIE=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 | |||
29 | LIBTOOLIZE=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 | ||
29 | if test "$DIE" -eq 1; then | 41 | if test "$DIE" -eq 1; then |
30 | exit 1 | 42 | exit 1 |
31 | fi | 43 | fi |
32 | 44 | ||
33 | rm -rf $top_srcdir/autom4te.cache | 45 | rm -rf $top_srcdir/autom4te.cache |
@@ -35,7 +47,7 @@ rm -rf $top_srcdir/autom4te.cache | |||
35 | touch README INSTALL | 47 | touch README INSTALL |
36 | 48 | ||
37 | aclocal || exit $? | 49 | aclocal || exit $? |
38 | libtoolize --force || exit $? | 50 | $LIBTOOLIZE --force || exit $? |
39 | autoheader || exit $? | 51 | autoheader || exit $? |
40 | automake --foreign --add-missing || exit $? | 52 | automake --foreign --add-missing || exit $? |
41 | autoconf || exit $? | 53 | autoconf || exit $? |