Skip to content

Commit bd4e1df

Browse files
committed
templates/10-autotools.sh: allow disabling ./bootstrap as RECONF via ABNOBOOTSTRAP
1 parent d180cc6 commit bd4e1df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/10-autotools.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ build_autotools_regenerate() {
2323
abinfo "Re-generating Autotools scripts ..."
2424
[ -x "$SRCDIR"/bootstrap ] && ! [ -e "$SRCDIR"/autogen.sh ] \
2525
&& ln -sv "$SRCDIR"/bootstrap "$SRCDIR"/autogen.sh
26-
if [[ -x "$SRCDIR"/bootstrap && ! -d "$SRCDIR"/bootstrap ]]; then
26+
if ! bool "$ABNOBOOTSTRAP" && \
27+
[[ -x "$SRCDIR"/bootstrap && ! -d "$SRCDIR"/bootstrap ]]; then
2728
"$SRCDIR/bootstrap" \
2829
|| abdie "Reconfiguration failed: $?."
2930
elif ! bool "$ABNOAUTOGEN" && \

0 commit comments

Comments
 (0)