summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit/files/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato/webkit/files/autogen.sh')
-rwxr-xr-xmeta/recipes-sato/webkit/files/autogen.sh51
1 files changed, 6 insertions, 45 deletions
diff --git a/meta/recipes-sato/webkit/files/autogen.sh b/meta/recipes-sato/webkit/files/autogen.sh
index 60b163d550..23639e897f 100755
--- a/meta/recipes-sato/webkit/files/autogen.sh
+++ b/meta/recipes-sato/webkit/files/autogen.sh
@@ -8,55 +8,16 @@ test -z "$srcdir" && srcdir=.
8ORIGDIR=`pwd` 8ORIGDIR=`pwd`
9cd $srcdir 9cd $srcdir
10 10
11GTKDOCIZE_FLAGS="--copy" 11rm -f $top_srcdir/autom4te.cache
12LIBTOOLIZE_FLAGS="--force --automake"
13ACLOCAL_FLAGS="-I autotools $ACLOCAL_FLAGS"
14AUTOMAKE_FLAGS="--foreign --add-missing"
15 12
16DIE=0 13touch README INSTALL
17
18(autoconf --version) < /dev/null > /dev/null 2>&1 || {
19 echo
20 echo "You must have autoconf 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/autoconf/"
23 DIE=1
24}
25
26(automake --version) < /dev/null > /dev/null 2>&1 || {
27 echo
28 echo "You must have automake installed to compile $PROJECT."
29 echo "Install the appropriate package for your distribution,"
30 echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
31 DIE=1
32}
33
34LIBTOOLIZE=libtoolize
35($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 || {
36 LIBTOOLIZE=glibtoolize
37 ($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 || {
38 echo
39 echo "You must have libtool installed to compile $PROJECT."
40 echo "Install the appropriate package for your distribution,"
41 echo "or get the source tarball at http://ftp.gnu.org/gnu/libtool/"
42 DIE=1
43 }
44}
45 14
46if test "$DIE" -eq 1; then 15gtkdocize --copy > /dev/null 2>&1 || echo "Warning: not running gtk-docize."
16if test -z `which autoreconf`; then
17 echo "Error: autoreconf not found, please install it."
47 exit 1 18 exit 1
48fi 19fi
49 20autoreconf --verbose --install -I Source/autotools $ACLOCAL_FLAGS|| exit $?
50rm -rf $top_srcdir/autom4te.cache
51
52touch README INSTALL
53
54gtkdocize $GTKDOCIZE_FLAGS > /dev/null 2>&1 || echo "Warning: not running gtk-docize."
55aclocal $ACLOCAL_FLAGS || exit $?
56$LIBTOOLIZE $LIBTOOLIZE_FLAGS || exit $?
57autoheader || exit $?
58automake $AUTOMAKE_FLAGS || exit $?
59autoconf || exit $?
60 21
61cd $ORIGDIR || exit 1 22cd $ORIGDIR || exit 1
62 23