File: build-test

package info (click to toggle)
xawtv 3.107-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,204 kB
  • sloc: ansic: 46,254; perl: 749; sh: 422; cpp: 184; makefile: 126; xml: 74
file content (82 lines) | stat: -rw-r--r-- 1,471 bytes parent folder | download | duplicates (9)
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
#!/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
rm -rf autom4te.cache

set -x

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

# parallel builds
./configure && nice 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 xft
./configure --disable-xft && 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

set +x


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

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