blob: 6170918858b45ea9aa1621f9368a43b7e3b65707 [file] [log] [blame]
#! /bin/sh
cd `dirname $0`
# on some platforms, you have "g" versions of some of these tools instead,
# ie glibtoolize instead of libtoolize..
find_tool() {
which $1 2> /dev/null || which g$1 2> /dev/null
}
aclocal=`find_tool aclocal`
libtoolize=`find_tool libtoolize`
automake=`find_tool automake`
autoconf=`find_tool autoconf`
autoheader=`find_tool autoheader`
mkdir -p config && $autoheader && $aclocal && $libtoolize --copy --force && $automake --copy --add-missing --foreign && $autoconf