commit:     fd7f102d09631ce489d3f1f10d410d6d82bdd877
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 15 14:11:29 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 15 14:11:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=fd7f102d

scripts/bootstrap-prefix.sh: fix m4 version detection

Allow 1.4.2*.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 7a08086e20..b6822dff42 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1720,7 +1720,7 @@ bootstrap_stage1() {
                || [[ $(patch --version 2>&1) == *"patch 2."[6-9]*GNU* ]] \
                || (bootstrap_patch) || return 1
        [[ -x ${ROOT}/tmp/usr/bin/m4 ]] \
-               || [[ $(m4 --version 2>&1) == *GNU*1.4.1?* ]] \
+               || [[ $(m4 --version 2>&1) == *GNU*1.4.@(2|1)?* ]] \
                || (bootstrap_m4) || return 1
        [[ -x ${ROOT}/tmp/usr/bin/bison ]] \
                || [[ $(bison --version 2>&1) == *"GNU Bison) "2.[3-7]* ]] \

Reply via email to