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