depot/pkgs/build-support/setup-hooks/autoreconf.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
331 B
Bash
Raw Normal View History

appendToVar preConfigurePhases autoreconfPhase
autoreconfPhase() {
runHook preAutoreconf
local flagsArray=()
if [[ -v autoreconfFlags ]]; then
concatTo flagsArray autoreconfFlags
else
flagsArray+=(--install --force --verbose)
fi
autoreconf "${flagsArray[@]}"
runHook postAutoreconf
}