[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / autogen.sh
1 #! /bin/sh
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
5 srcdir=`dirname $0`
6 test -z "$srcdir" && srcdir=.
7
8 # Make a build directory
9 BUILDDIR=build-obj
10
11 ORIGDIR=`pwd`/$BUILDDIR
12 cd $srcdir
13
14 rm -f $top_srcdir/autom4te.cache
15
16 touch README INSTALL
17
18 if test -z `which autoreconf`; then
19     echo "Error: autoreconf not found, please install it."
20     exit 1
21 fi
22 autoreconf --verbose --install -I Source/autotools $ACLOCAL_FLAGS|| exit $?
23
24 cd $ORIGDIR || exit 1
25
26 if test -z "$NOCONFIGURE"; then
27     ../$srcdir/configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?
28 fi