#!/bin/sh -e export CFLAGS="$CFLAGS -fPIC" for patch in *.patch; do patch -p1 < "$patch" done ./configure \ --prefix=/usr make make install