diff options
Diffstat (limited to 'meta/packages/webkit/files/autogen.sh')
-rw-r--r-- | meta/packages/webkit/files/autogen.sh | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/packages/webkit/files/autogen.sh b/meta/packages/webkit/files/autogen.sh new file mode 100644 index 0000000000..b7f7d37b2f --- /dev/null +++ b/meta/packages/webkit/files/autogen.sh | |||
@@ -0,0 +1,40 @@ | |||
1 | #! /bin/sh | ||
2 | |||
3 | srcdir=`dirname $0` | ||
4 | test -z "$srcdir" && srcdir=. | ||
5 | |||
6 | cd $srcdir | ||
7 | |||
8 | DIE=0 | ||
9 | |||
10 | (autoconf --version) < /dev/null > /dev/null 2>&1 || { | ||
11 | echo | ||
12 | echo "You must have autoconf installed to compile $PROJECT." | ||
13 | echo "Install the appropriate package for your distribution," | ||
14 | echo "or get the source tarball at http://ftp.gnu.org/gnu/autoconf/" | ||
15 | DIE=1 | ||
16 | } | ||
17 | |||
18 | (automake --version) < /dev/null > /dev/null 2>&1 || { | ||
19 | echo | ||
20 | echo "You must have automake installed to compile $PROJECT." | ||
21 | echo "Install the appropriate package for your distribution," | ||
22 | echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/" | ||
23 | DIE=1 | ||
24 | } | ||
25 | |||
26 | if test "$DIE" -eq 1; then | ||
27 | exit 1 | ||
28 | fi | ||
29 | |||
30 | rm -rf $top_srcdir/autom4te.cache | ||
31 | |||
32 | touch README INSTALL | ||
33 | |||
34 | aclocal || exit $? | ||
35 | libtoolize --force || exit $? | ||
36 | autoheader || exit $? | ||
37 | automake --foreign --add-missing || exit $? | ||
38 | autoconf || exit $? | ||
39 | |||
40 | ./configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $? | ||