aboutsummaryrefslogtreecommitdiffstats
path: root/build-test
blob: 7f1509fe9bdb453bd663032d046aff3d7b61e9b6 (plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#!/bin/bash

# signal when done
function beep { echo -en "\007"; }
trap beep EXIT


##########################################################################
# xawtv

# cleanup first
make distclean

# make sure autoconf stuff is up-to-date
autoconf							|| exit 1
autoheader							|| exit 1

set -x

# normal
./configure && make -j2						|| exit 1
make distclean

# parallel builds
./configure && make -j						|| exit 1
make distclean

# no lirc
./configure --disable-lirc && make				|| exit 1
make distclean

# no xfree extentions
./configure --disable-xfree-ext && make				|| exit 1
make distclean

# no xvideo extention
./configure --disable-xvideo && make				|| exit 1
make distclean

# no aalib
./configure --disable-aa && make				|| exit 1
make distclean

# no motif
./configure --disable-motif && make				|| exit 1
make distclean

# no alsa
./configure --disable-alsa && make				|| exit 1
make distclean

# no zvbi
./configure --disable-zvbi && make				|| exit 1
make distclean

# no opengl
./configure --disable-gl && make				|| exit 1
make distclean

# no X11
./configure --without-x && make					|| exit 1
make distclean

# library link order
#CFLAGS="-static" ./configure && make 				|| exit 1
#make distclean

# 2.2.x kernel headers
kernel=`ls -d /work/kernel/2.2.* | head -1`
./configure && make CC="gcc -I$kernel/include"			|| exit 1
make distclean

# 2.4.x kernel headers
kernel=`ls -d /work/kernel/2.4.* | head -1`
./configure && make CC="gcc -I$kernel/include"			|| exit 1
make distclean

# 2.5.x kernel headers
kernel=`ls -d /work/kernel/2.5.* | head -1`
./configure && make CC="gcc -I$kernel/include"			|| exit 1
make distclean

set +x


##########################################################################
# done

echo
echo "*** cool, compile test passed ***"
echo
exit 0

Privacy Policy