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 # on Mac libtoolize is called glibtoolize
13 #if [ `uname -s` = Darwin ]; then
14 # LIBTOOLIZE=glibtoolize
16 echo "Running $LIBTOOLIZE"
17 $LIBTOOLIZE --copy --automake ||
exit 1
18 echo "Running autoheader"
20 echo "Running automake"
21 automake
--foreign --add-missing --copy ||
exit 1
22 echo "Running autoconf"
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
)
33 echo "Now you are ready to run ./configure"