Merge "custom eail widget implementation" into tizen
[platform/core/uifw/eail.git] / autogen.sh
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
3
4 test -n "$srcdir" || srcdir=`dirname "$0"`
5 test -n "$srcdir" || srcdir=.
6
7 olddir=`pwd`
8 cd "$srcdir"
9
10 AUTORECONF="/usr/bin/autoreconf"
11 if test -z $AUTORECONF; then
12         echo "*** No autoreconf found, please install it ***"
13         exit 1
14 fi
15
16 # README and INSTALL are required by automake
17 if test -z README; then
18     touch README 
19 fi
20 if test -z INSTALL; then
21     touch INSTALL
22 fi
23
24 autoreconf --force --install --verbose || exit $?
25
26 cd "$olddir"
27 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"