1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#!/bin/sh
echo "Please make sure that you use automake 1.11 or later"
echo "Warnings about underquoted definitions are harmless"
if [ `uname -s` = Darwin ]; then
echo "On OSX, install latest libtool, as the OS provided glibtoolize will not work"
fi
echo "Running aclocal"
aclocal -I m4 --install || exit 1
echo "Running libtoolize"
libtoolize --copy --automake --install || exit 1
echo "Running autoheader"
autoheader || exit 1
echo "Running automake"
automake --foreign --add-missing --copy || exit 1
echo "Running autoconf"
autoconf || exit 1
echo "Running bootstrap in ou directory"
(cd ou && ./bootstrap)
if [ -d libccd ]; then
echo "Running bootstrap in libccd directory"
(cd libccd && ./bootstrap)
fi;
echo "Now you are ready to run ./configure"
|