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"
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"
16 echo "Running automake"
17 automake
--foreign --add-missing --copy ||
exit 1
18 echo "Running autoconf"
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
)
29 echo "Now you are ready to run ./configure"