blob: 1266b3e2c236f9007da6a68cf556463c3ce1553a [file] [log] [blame]
#!/bin/sh
# Start from one level above the build directory
if [ -f version ]; then
cd ..
fi
if [ \! -f build/version ]; then
echo "Can't find source directory"
exit 1
fi
set -xe
aclocal
autoheader
autoconf
case `uname` in
Darwin) glibtoolize --automake -c;;
*) libtoolize --automake -c;;
esac
automake -a -c