Changed: CMake 'uninstall' target has been added (by Rocco Martino and Markus Rickert)
[ode.git] / bootstrap
blob24e91f06f9980611cb46cd6229b85deb5a0f48e9
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 libtoolize --copy --automake --install || exit 1
13 echo "Running autoheader"
14 autoheader || exit 1
15 echo "Running automake"
16 automake --foreign --add-missing --copy || exit 1
17 echo "Running autoconf"
18 autoconf || exit 1
20 echo "Running bootstrap in ou directory"
21 (cd ou && ./bootstrap)
23 if [ -d libccd ]; then
24 echo "Running bootstrap in libccd directory"
25 (cd libccd && ./bootstrap)
26 fi;
28 echo "Now you are ready to run ./configure"