From ff9d43df09ee3817eefe76134fb96d6d3a4d5543 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com> Date: Sat, 30 Dec 2023 12:45:41 +0100 Subject: [PATCH] Revert eeac2728 AM_PROG_CC_C_O is obsolescent starting with Automake 1.14. CentOS 7 ships Automake 1.13.4. Keep AM_PROG_CC_C_O as long as we need to support CentOS 7, to avoid this warning: src/Makefile.am:170: warning: compiling 'ccan/hash/hash.c' in subdir requires 'AM_PROG_CC_C_O' in 'configure.ac' Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com> --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index ed36fc17..6ff4d14c 100644 --- a/configure.ac +++ b/configure.ac @@ -10,6 +10,7 @@ AC_CONFIG_HEADERS([config.h]) AC_USE_SYSTEM_EXTENSIONS AC_PROG_CC +AM_PROG_CC_C_O # Automake 1.13.4 on CentOS 7 AC_PROG_RANLIB AM_PROG_AR AC_PROG_SED