[sr #111007] autoconf 2.72 warning: file 'version.m4' included several times

Румен Петров <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/support/?111007>

                 Summary: autoconf 2.72 warning: file 'version.m4' included
several times
                   Group: Autoconf
               Submitter: rpetrov
               Submitted: Sat 13 Jan 2024 08:26:06 AM UTC
                Priority: 5 - Unprioritized
                Severity: 2 - Minor
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sat 13 Jan 2024 08:26:06 AM UTC By: Румен Петров <rpetrov>
Sample version:
$ cat > version.m4 <<EOF
m4_define([FOO_VERSION], [0.0.1])
EOF

Sample configuration:
$ cat > configure.ac <<EOF
AC_PREREQ([2.59])
m4_include([version.m4])

AC_INIT([foo],[FOO_VERSION])

#AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([build-aux])

AC_OUTPUT
EOF

autoconf 2.72 is first release that prints warning:
configure.ac:2: warning: file 'version.m4' included several times








    _______________________________________________________

Reply to this item at:

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

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