-# - In a shell function, redirections on : are not correctly handled
-# by Solaris /bin/sh. See the following Autoconf patch for details:
+# https://lists.gnu.org/archive/html/autoconf-patches/2021-03/msg00000.html
+m4_define([AT_INIT],
+ m4_bpatsubst(m4_dquote(m4_defn([AT_INIT])),
+ [^\( *\)\(: >"\$at_stdout".*$\)], [\1eval '\2']))
+
+# Parsing of command-line options with arguments is busted in the two-argument
+# form if the option name contains a hyphen. Apply a fix for this bug. See
+# the following Autoconf patch description for further details: