Use glibtoolize on OS X.
[platform/upstream/enlightenment.git] / autogen.sh
1 #!/bin/sh
2
3 rm -rf autom4te.cache
4 rm -f aclocal.m4
5
6 echo "Running aclocal..."; aclocal $ACLOCAL_FLAGS -I m4 \
7 && echo "Running autoheader..."; autoheader \
8 && echo "Running autoconf..."; autoconf \
9 && echo "Running libtoolize..."; ( libtoolize --automake || glibtoolize --automake ) \
10 && echo "Running automake..."; automake --add-missing --copy --gnu
11
12 ###  If you want this, uncomment it.
13 ./configure "$@"