From 2880bd0ba416b179e427c1ab6d3d556a8bf26593 Mon Sep 17 00:00:00 2001 From: Oneric Date: Fri, 29 Jan 2021 00:05:31 +0000 Subject: configure: Replace obsolete macros AC_CONFIG_HEADER has been replaced with AC_CONFIG_HEADERS for a long time and recent version of autotools started complaining about it. AC_HEADER_STDC has been deemed "obsolescent" and unneeded for "new programs" since at least autotools 2.60, which was released 2006. On top of it we're not even using its output variable anywhere to check if the system headers do in fact conform to the C standard, so remove this superfluous test. AC_HEADER_STDBOOL is not obsolecent, but simalarly to AC_HEADER_STDC we never use its output anywhere, so it can be removed as well. --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 3092567..46775bf 100644 --- a/configure.ac +++ b/configure.ac @@ -5,15 +5,13 @@ AC_CONFIG_MACRO_DIR([m4]) define([AC_LIBTOOL_LANG_F77_CONFIG], [:]) LT_INIT AC_CONFIG_SRCDIR([libass/ass.c]) -AC_CONFIG_HEADER([config.h]) +AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CC AM_PROG_CC_C_O # Checks for header files. -AC_HEADER_STDC -AC_HEADER_STDBOOL AC_CHECK_HEADERS_ONCE([iconv.h]) # Checks for library functions. -- cgit v1.2.3