This is an automated email from Gerrit.

Antonio Borneo ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/6007

-- gerrit

commit 515b4a69be6c016a6ea37983a17985f716e0e551
Author: Antonio Borneo <[email protected]>
Date:   Fri Jan 8 12:46:29 2021 +0100

    bootstrap: silent warnings with autoconf 2.70 (2020-12-08)
    
    The new autoconf 2.70 reports two warnings:
    
        configure.ac:28: warning: The macro `AC_PROG_CC_C99' is obsolete.
        configure.ac:28: You should run autoupdate.
        ./lib/autoconf/c.m4:1621: AC_PROG_CC_C99 is expanded from...
        configure.ac:28: the top level
    
        configure.ac:83: warning: The macro `AC_HEADER_TIME' is obsolete.
        configure.ac:83: You should run autoupdate.
        ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
        configure.ac:83: the top level
    
    While the macro AC_PROG_CC_C99 can probably be dropped, as today's
    gcc supports C99 extensions without the flag '-std=c99', dropping
    the macro AC_HEADER_TIME requires extra rework that should be
    addressed after v0.11.0.
    
    As a trivial fix, just silent autoconf warnings for obsoleted
    macros.
    
    Change-Id: Ib7ab37423650e263d153767bf224d89b7cf58907
    Signed-off-by: Antonio Borneo <[email protected]>

diff --git a/bootstrap b/bootstrap
index e81ba4d..7c5ab01 100755
--- a/bootstrap
+++ b/bootstrap
@@ -27,7 +27,8 @@ set -x
 aclocal --warnings=all
 # Apparently, not all versions of libtoolize support option --warnings=all .
 ${libtoolize} --automake --copy
-autoconf --warnings=all
+# autoconf 2.70 triggers warnings on obsolete macros
+autoconf --warnings=all,no-obsolete
 autoheader --warnings=all
 automake --warnings=all --gnu --add-missing --copy
 )

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to