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.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/packages/webkit/files/autogen.sh b/meta/packages/webkit/files/autogen.sh
index b7f7d37b2f..1c0fc61156 100644
--- a/meta/packages/webkit/files/autogen.sh
+++ b/meta/packages/webkit/files/autogen.sh
@@ -1,8 +1,11 @@
1#! /bin/sh 1#! /bin/sh
2 2
3# Allow invocation from a separate build directory; in that case, we change
4# to the source directory to run the auto*, then change back before running configure
3srcdir=`dirname $0` 5srcdir=`dirname $0`
4test -z "$srcdir" && srcdir=. 6test -z "$srcdir" && srcdir=.
5 7
8ORIGDIR=`pwd`
6cd $srcdir 9cd $srcdir
7 10
8DIE=0 11DIE=0
@@ -37,4 +40,6 @@ autoheader || exit $?
37automake --foreign --add-missing || exit $? 40automake --foreign --add-missing || exit $?
38autoconf || exit $? 41autoconf || exit $?
39 42
40./configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $? 43cd $ORIGDIR || exit 1
44
45$srcdir/configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?