From c58e004f004ad73ccd312f4a57be5dd9b7058085 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 3 Feb 2026 11:54:07 +0100 Subject: build: Introduce autogen.rc variable autogen_use_force -- For some projects it is required to use the --force options. The new variable allows to force force using autogen.rc. --- autogen.rc | 1 + autogen.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/autogen.rc b/autogen.rc index 4606ccd..3f2d15d 100644 --- a/autogen.rc +++ b/autogen.rc @@ -2,6 +2,7 @@ display_name="Libgpg-error" patches_to="gnupg-devel@gnupg.org" +#autogen_use_force=no case "$myhost:$myhostsub" in w32:ce) diff --git a/autogen.sh b/autogen.sh index f9b9f33..14bf6b6 100755 --- a/autogen.sh +++ b/autogen.sh @@ -15,7 +15,7 @@ # configure it for the respective package. It is maintained as part of # GnuPG and source copied by other packages. # -# Version: 2025-09-23 +# Version: 2026-02-03 configure_ac="configure.ac" @@ -214,6 +214,7 @@ fi # Source our configuration if [ -f "${tsdir}/autogen.rc" ]; then . "${tsdir}/autogen.rc" + [ "$autogen_use_force" = yes ] && FORCE=" --force" fi # Source optional site specific configuration -- cgit