[sr #110325] autoupdate introduces a second invocation of AC_OUTPUT

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

                 Summary: autoupdate introduces a second invocation of
AC_OUTPUT
                 Project: Autoconf
            Submitted by: haible
            Submitted on: Mon 05 Oct 2020 12:57:35 AM CEST
                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: None

    _______________________________________________________

Details:

In the attached example configure.ac, there is a line

dnl AC_OUTPUT([Makefile])

and autoupdate 2.69c transforms it to

dnl AC_CONFIG_FILES([Makefile])
AC_OUTPUT


Since there is already an AC_OUTPUT invocation in the configure.ac file, now
there are two AC_OUTPUT invocations!

IMO, either autoupdate should leave comment lines untouched, or should add a
'dnl ' prefix to all continuation lines of the expansion.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 05 Oct 2020 12:57:35 AM CEST  Name: configure.ac  Size: 32KiB   By:
haible

<http://savannah.gnu.org/support/download.php?file_id=49922>
-------------------------------------------------------
Date: Mon 05 Oct 2020 12:57:35 AM CEST  Name: configure.ac.diff  Size: 1KiB  
By: haible

<http://savannah.gnu.org/support/download.php?file_id=49923>

    _______________________________________________________

Reply to this item at:

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

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