File: bootstrap

package info (click to toggle)
rtai 3.1.0-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 23,560 kB
  • ctags: 19,698
  • sloc: ansic: 88,861; cpp: 31,340; tcl: 14,684; sh: 10,652; xml: 760; yacc: 575; lex: 537; makefile: 394; asm: 310; php: 300; perl: 108
file content (42 lines) | stat: -rwxr-xr-x 738 bytes parent folder | download
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/sh

die() {
	echo
	echo "error: $1";
	echo
	exit -1;
}

echo

echo -n "running autoheader..."
autoheader
if [ "$?" != "0" ]; then die "running autoheader"; fi
echo "done"

echo -n "running libtoolize..."
libtoolize -c --automake
if [ "$?" != "0" ]; then die "running libtoolize"; fi
echo "done"

echo -n "running aclocal..."
if test -r acinclude.m4; then
   touch acinclude.m4
   aclocal-1.7
else
   aclocal-1.7 -I rtai-core/config/autoconf
fi
if [ "$?" != "0" ]; then die "running aclocal"; fi
echo "done"

echo -n "running autoconf..."
autoconf
if [ "$?" != "0" ]; then die "running autoconf"; fi
echo "done"

echo -n "running automake..."
automake-1.7 -a -c
if [ "$?" != "0" ]; then die "running automake"; fi
echo "done"

echo