#!/bin/sh -e

sed 's/pthread-stubs //' configure >_
cat _ > configure; rm -f _

./configure \
    --prefix=/usr

make
make DESTDIR="$1" install