exherbo-config/hooks/ebuild_configure_pre/autoreconf.bash
2016-08-14 13:47:34 +02:00

11 lines
190 B
Bash

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