File: autogen-all-variants.sh

package info (click to toggle)
ipv6calc 0.93.1-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,020 kB
  • sloc: ansic: 36,079; perl: 2,175; sh: 1,322; makefile: 557; xml: 424
file content (62 lines) | stat: -rwxr-xr-x 1,288 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/sh
#
# Project    : ipv6calc
# File       : autogen-all-variants.sh
# Version    : $Id: autogen-all-variants.sh,v 1.5 2011/10/09 07:17:09 peter Exp $
# Copyright  : 2011-2011 by Peter Bieringer <pb (at) bieringer.de>
#
# Information: run autogen.sh with all supported variants

./autogen.sh
if [ $? -ne 0 ]; then
	echo "ERROR : 'autogen.sh' reports an error"
	exit 1
fi


./autogen.sh -i -d
if [ $? -ne 0 ]; then
	echo "ERROR : 'autogen.sh -i' reports an error"
	exit 1
fi

./autogen.sh -g -d
if [ $? -ne 0 ]; then
	echo "ERROR : 'autogen.sh -g' reports an error"
	exit 1
fi

./autogen.sh -g -d --geoip-ipv6-compat
if [ $? -ne 0 ]; then
	echo "ERROR : 'autogen.sh -g --geoip-ipv6-compat' reports an error"
	exit 1
fi

./autogen.sh -a -d
if [ $? -ne 0 ]; then
	echo "ERROR : 'autogen.sh -a' reports an error"
	exit 1
fi

./autogen.sh --disable-db-ieee
if [ $? -ne 0 ]; then
	echo "ERROR : 'autogen.sh -disabe-db-ieee' reports an error"
	exit 1
fi

./autogen.sh --disable-db-ipv4
if [ $? -ne 0 ]; then
	echo "ERROR : 'autogen.sh -disabe-db-ipv4' reports an error"
	exit 1
fi

./autogen.sh --disable-db-ipv6
if [ $? -ne 0 ]; then
	echo "ERROR : 'autogen.sh -disabe-db-ipv6' reports an error"
	exit 1
fi

make distclean

echo "INFO  : congratulations, all variants built successful!"