bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Румен Петров
Subject: [sr #111007] autoconf 2.72 warning: file 'version.m4' included several times
Date: Sat, 13 Jan 2024 03:26:07 -0500 (EST)

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]