From: openocd-gerrit <ope...@us...> - 2025-06-13 16:32:01
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 9a7c85b163d409ff48e9d445afe4cefbc6c28394 (commit) from 8046f2a38f8af0048c0d2d0842b8a708b79c0c57 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9a7c85b163d409ff48e9d445afe4cefbc6c28394 Author: R. Diez <rdi...@rd...> 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 <rdi...@rd...> Reviewed-on: https://review.openocd.org/c/openocd/+/8942 Reviewed-by: Antonio Borneo <bor...@gm...> Tested-by: jenkins diff --git a/Makefile.am b/Makefile.am index b2b6cef00..845543721 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 0bac37e5d..b13af86d8 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, ----------------------------------------------------------------------- Summary of changes: Makefile.am | 4 +--- configure.ac | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) hooks/post-receive -- Main OpenOCD repository |