e_input: move logic to enable keyboard
[platform/upstream/enlightenment.git] / autogen.sh
index 4e9360b..69a0b2f 100755 (executable)
@@ -1,27 +1,17 @@
 #!/bin/sh
 
-rm -rf autom4te.cache
-rm -f aclocal.m4
+test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=.
+(
+  cd "$srcdir" &&
+  (
+    rm -rf autom4te.cache
+    rm -f aclocal.m4 ltmain.sh config.cache
 
-echo "Running aclocal..."; aclocal $ACLOCAL_FLAGS -I m4 \
-&& echo "Running autoheader..."; autoheader \
-&& echo "Running autoconf..."; autoconf \
-&& echo "Running libtoolize..."; ( libtoolize --automake || glibtoolize --automake ) \
-&& echo "Running automake..."; automake --add-missing --copy --gnu \
-&& echo "Generating gettext enlightenment.pot template"; \
-xgettext \
--s \
--n \
--C \
--d enlightenment \
--p po \
---copyright-holder="Enlightenment development team" \
---foreign-user \
---msgid-bugs-address="enlightenment-devel@lists.sourceforge.net" \
--k -k_ -kd_ \
---from-code=UTF-8 \
--o enlightenment.pot \
-`find . -name "*.[ch]" -print` 
+    autoreconf --symlink --install || exit 1
+  )
+)
 
-###  If you want this, uncomment it.
-./configure "$@"
+test -n "$NOCONFIGURE" || exec $srcdir/configure -C "$@"
+
+exit 0