aboutsummaryrefslogblamecommitdiff
path: root/autogen.sh
blob: 12bfba8083c9c210a01732a2505cc35565690249 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                      
#!/bin/sh

rm -rf autom4te.cache
rm -f aclocal.m4

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" -a $? -eq 0 ]; then
	./configure "$@"
fi