[sr #110398] autoconf 2.70 breaks coreutils-8.32

Bruce Dubbs <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/support/?110398>

                 Summary: autoconf 2.70 breaks coreutils-8.32
                 Project: Autoconf
            Submitted by: bdubbs
            Submitted on: Wed 09 Dec 2020 11:46:05 AM CST
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Running 'autoreconf -fiv' on coreutils creates a configure script that fails:

/configure: line 6425: syntax error near unexpected token
`ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89'
./configure: line 6425: `            ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89'

I could not find any reference to this in configure.ac, but the offending part
of configure is:

for ac_arg in '' ac_prog_cc_stdc=c89
             ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
do
  CC="$ac_save_CC $ac_arg"
  if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_prog_cc_c89=$ac_arg
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam
  test "x$ac_cv_prog_cc_c89" != "xno" && break
done
-------
I can fix this manually by changing to:

ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
for ac_arg in '' ac_cv_prog_cc_stdc
do
...

but that is not a good solution.

More info is available upon request.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110398>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.