#!/bin/sh set -e autoreconf -vif autoreconf -vif lib/cpluff # order matters with libdvd and friends [ -d lib/libdvd/libdvdcss ] && \ autoreconf -vif lib/libdvd/libdvdcss autoreconf -vif lib/libdvd/libdvdread autoreconf -vif lib/libdvd/libdvdnav # Clean the generated files find . -depth -type d -name "autom4te.cache" -exec rm -rf {} \; echo "Please (re)run configure..."