aboutsummaryrefslogtreecommitdiff
path: root/extra/distcc/build
blob: 596108ee3e74877c046a5069a4941cc0f12e342a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -e

# Running distcc as a server instead of a client
# requires python to be installed.
kiss l python >/dev/null 2>&1 || pump=disable

export CFLAGS="$CFLAGS -fcommon"

./configure \
    --prefix=/usr \
    --sbindir=/usr/bin \
    --sysconfdir=/etc \
    --without-libiberty \
    --without-avahi \
    --with-included-popt \
    "--${pump:-enable}-pump-mode"

make
make DESTDIR="$1" install