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.sh40
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
3srcdir=`dirname $0`
4test -z "$srcdir" && srcdir=.
5
6cd $srcdir
7
8DIE=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
26if test "$DIE" -eq 1; then
27 exit 1
28fi
29
30rm -rf $top_srcdir/autom4te.cache
31
32touch README INSTALL
33
34aclocal || exit $?
35libtoolize --force || exit $?
36autoheader || exit $?
37automake --foreign --add-missing || exit $?
38autoconf || exit $?
39
40./configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?