aboutsummaryrefslogtreecommitdiff
path: root/extra/distcc/build
blob: cbb722bf8cb99376f3964509bf2b987b53965eb6 (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.
cpt-list 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