Blame remove-sloppy-m4-detection-from-bundled-autoconf.patch

95774b8
From 2d99a7b076578a3394fb9d5be6eb44f9cfebc681 Mon Sep 17 00:00:00 2001
95774b8
From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= <fzatlouk@redhat.com>
95774b8
Date: Mon, 9 Aug 2021 16:15:37 +0200
95774b8
Subject: [PATCH] Remove sloppy m4 detection from bundled autoconf
95774b8
95774b8
---
95774b8
 build/autoconf/autoconf.sh | 6 ------
95774b8
 1 file changed, 6 deletions(-)
95774b8
95774b8
diff --git a/build/autoconf/autoconf.sh b/build/autoconf/autoconf.sh
95774b8
index ceb8a25..606c74e 100644
95774b8
--- a/build/autoconf/autoconf.sh
95774b8
+++ b/build/autoconf/autoconf.sh
95774b8
@@ -114,12 +114,6 @@ fi
95774b8
 
95774b8
 # Use the frozen version of Autoconf if available.
95774b8
 r= f=
95774b8
-# Some non-GNU m4's don't reject the --help option, so give them /dev/null.
95774b8
-case `$M4 --help < /dev/null 2>&1` in
95774b8
-*reload-state*) test -r $AC_MACRODIR/autoconf.m4f && { r=--reload f=f; } ;;
95774b8
-*traditional*) ;;
95774b8
-*) echo Autoconf requires GNU m4 1.1 or later >&2; rm -f $tmpin; exit 1 ;;
95774b8
-esac
95774b8
 
95774b8
 $M4 -I$AC_MACRODIR $use_localdir $r autoconf.m4$f $infile > $tmpout ||
95774b8
   { rm -f $tmpin $tmpout; exit 2; }
95774b8
-- 
95774b8
2.31.1
95774b8