setup-hooks/autoreconf: support structuredAttrs

Tested db with and without __structuredAttrs.
This commit is contained in:
Wolfgang Walther 2024-06-11 21:48:29 +02:00
parent 34a2b7ae9f
commit d7c257035d
No known key found for this signature in database
GPG Key ID: B39893FA5F65CAE1

View File

@ -2,6 +2,11 @@ preConfigurePhases="${preConfigurePhases:-} autoreconfPhase"
autoreconfPhase() {
runHook preAutoreconf
autoreconf ${autoreconfFlags:---install --force --verbose}
local flagsArray=()
: "${autoreconfFlags:=--install --force --verbose}"
concatTo flagsArray autoreconfFlags
autoreconf "${flagsArray[@]}"
runHook postAutoreconf
}