This is an automated email from Gerrit.

"R. Diez <rdiez-2...@rd10.de>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/8942

-- gerrit

commit b2184622abab4a5af5490ee0290202b90b61dd57
Author: R. Diez <rdiez-2...@rd10.de>
Date:   Sun Jun 8 11:22:39 2025 +0200

    configure.ac: remove usage of obsolete Automake macro AM_PROG_CC_C_O
    
    Macro AM_PROG_CC_C_O has been obsolete since Automake 1.14,
    released in June 2013 (12 years ago).
    
    It used to check whether the C compiler supports the -c and -o options,
    but that is now included in AC_PROG_CC.
    
    Increase the minimum required Automake version to 1.14 accordingly.
    
    Also remove the "not a GNU package" comment,
    which does not really make sense.
    
    Change-Id: I987ba8686721c7f36fba81e100f1c3ddf77f636d
    Signed-off-by: R. Diez <rdiez-2...@rd10.de>

diff --git a/Makefile.am b/Makefile.am
index b2b6cef006..845543721d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-or-later
 
-# not a GNU package. You can remove this line, if
-# have all needed files, that a GNU package needs
-AUTOMAKE_OPTIONS = gnu 1.6
+AUTOMAKE_OPTIONS = gnu 1.14
 
 .DELETE_ON_ERROR:
 
diff --git a/configure.ac b/configure.ac
index 3e1d9a2baa..27d6309a49 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,7 +24,6 @@ AC_LANG([C])
 AC_PROG_CC
 # autoconf 2.70 obsoletes AC_PROG_CC_C99 and includes it in AC_PROG_CC
 m4_version_prereq([2.70],[],[AC_PROG_CC_C99])
-AM_PROG_CC_C_O
 AC_PROG_RANLIB
 
 # If macro PKG_PROG_PKG_CONFIG is not available, Autoconf generates a 
misleading error message,

-- 

Reply via email to