Merged: oleh_derevenko#1928: Fixed: Fixed issue with "findex==-1" constraints being...
[ode.git] / bootstrap
blob9d1af7f2f885e1c9c4b683811248e04c6acec883
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 # on Mac libtoolize is called glibtoolize
12 LIBTOOLIZE=libtoolize
13 #if [ `uname -s` = Darwin ]; then
14 # LIBTOOLIZE=glibtoolize
15 #fi
16 echo "Running $LIBTOOLIZE"
17 $LIBTOOLIZE --copy --automake || exit 1
18 echo "Running autoheader"
19 autoheader || exit 1
20 echo "Running automake"
21 automake --foreign --add-missing --copy || exit 1
22 echo "Running autoconf"
23 autoconf || exit 1
25 echo "Running bootstrap in ou directory"
26 (cd ou && ./bootstrap)
28 if [ -d libccd ]; then
29 echo "Running bootstrap in libccd directory"
30 (cd libccd && ./bootstrap)
31 fi;
33 echo "Now you are ready to run ./configure"