[sr #110331] autoreconf aborts if AC_CONFIG_SUBDIRS() has no arguments

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

                 Summary: autoreconf aborts if AC_CONFIG_SUBDIRS() has no
arguments
                 Project: Autoconf
            Submitted by: rossburton
            Submitted on: Tue 13 Oct 2020 06:53:53 PM UTC
                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:

For inexplicable reasons, popt 1.18 does this:

AC_CONFIG_SUBDIRS()

With autoconf 2.68 this isn't a problem with autoconf 2.69c breaks:

Use of uninitialized value $args[0] in split at /usr/bin/autoreconf line 452,
<GEN2> line 8.

I patch autoreconf slightly, but that is this line:

    452       push @subdir, split (' ', $args[0])
    453                                     if $macro eq "AC_CONFIG_SUBDIRS"
&& $recursive;





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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.