blob: d068627ef7bbfeb3f5b6b3132c091f6a6b3bc6e1 (
plain) (
blame)
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
|
if [ "$SYNC" == "y" ]; then
MYCONF="--disable-syncd " &&
message "${MESSAGE_COLOR}Disabled lvs syncd${DEFAULT_COLOR}"
fi &&
if [ "$LVS" == "y" ];
then
MYCONF="$MYCONF --disable-lvs " &&
message "${MESSAGE_COLOR}Disable lvs framework ${DEFAULT_COLOR}"
fi &&
if [ "$VRRP" == "y" ];
then
MYCONF="$MYCONF --disable-vrrp "
message "${MESSAGE_COLOR}Not using VRRP ${DEFAULT_COLOR}"
fi &&
if [ "$KDEBUG" == "y" ];
then
MYCONF="$MYCONF --enable-debug "
message "${MESSAGE_COLOR}Enabling debug ${DEFAULT_COLOR}"
fi &&
if [ "$PROF" == "y" ];
then
MYCONF="$MYCONF --enable-profile "
message "${MESSAGE_COLOR}Using profiling ${DEFAULT_COLOR}"
fi &&
./configure \
--prefix=${INSTALL_ROOT}/usr \
--bindir=${INSTALL_ROOT}/usr/bin \
--sbindir=${INSTALL_ROOT}/usr/sbin \
--datadir=${INSTALL_ROOT}/usr/share \
--sysconfdir=${INSTALL_ROOT}/etc \
--libdir=${INSTALL_ROOT}/usr/lib \
--includedir=${INSTALL_ROOT}/usr/include \
--infodir=${INSTALL_ROOT}/usr/info \
--mandir=${INSTALL_ROOT}/usr/share/man \
--libexecdir=${INSTALL_ROOT}/usr/libexec \
--datadir=${INSTALL_ROOT}/usr/share \
--localstatedir=${INSTALL_ROOT}/var/lib/keepalived \
--sharedstatedir=${INSTALL_ROOT}/usr/share/keepalived \
$OPTS \
$MYCONF &&
make
|