exherbo-config/hooks/ebuild_unpack_post/autoreconf.bash

12 lines
206 B
Bash

#!/bin/bash
if [[ ${_HOOK_AUTORECONF_UNPACK_POST} == 1 ]] ; then
cd "${S}" || die
if declare -f eautoreconf >/dev/null ; then
eautoreconf
else
einfo "Running autoreconf -fi"
autoreconf -fi
fi
fi