File: bootstrap

package info (click to toggle)
ode 2%3A0.16.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,004 kB
  • sloc: cpp: 90,025; ansic: 14,677; sh: 4,346; makefile: 762; python: 330
file content (28 lines) | stat: -rwxr-xr-x 774 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh

echo "Please make sure that you use automake 1.11 or later"
    echo "Warnings about underquoted definitions are harmless"
if [ `uname -s` = Darwin ]; then
    echo "On OSX, install latest libtool, as the OS provided glibtoolize will not work"
fi
 
echo "Running aclocal"
aclocal -I m4 --install || exit 1
echo "Running libtoolize"
libtoolize --copy --automake --install || exit 1
echo "Running autoheader"
autoheader || exit 1
echo "Running automake"
automake --foreign --add-missing --copy || exit 1
echo "Running autoconf"
autoconf || exit 1

echo "Running bootstrap in ou directory"
(cd ou && ./bootstrap)

if [ -d libccd ]; then
    echo "Running bootstrap in libccd directory"
    (cd libccd && ./bootstrap)
fi;

echo "Now you are ready to run ./configure"