summaryrefslogtreecommitdiff
path: root/ecore/autogen.sh
blob: 952505ae5ea98408aab600b98570c9ffd30106ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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