summaryrefslogtreecommitdiff
path: root/ecore/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ecore/autogen.sh')
-rw-r--r--ecore/autogen.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/ecore/autogen.sh b/ecore/autogen.sh
new file mode 100644
index 0000000..952505a
--- /dev/null
+++ b/ecore/autogen.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+rm -rf autom4te.cache
+rm -f aclocal.m4
+
+touch README
+
+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
+
+if [ -z "$NOCONFIGURE" ]; then
+ ./configure "$@"
+fi