summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOneric <oneric@oneric.stub>2021-01-29 00:05:31 +0000
committerOneric <oneric@oneric.stub>2021-02-22 15:22:30 +0100
commit2880bd0ba416b179e427c1ab6d3d556a8bf26593 (patch)
treee65aa3af9c3ae912a07c5460dee0c2cb08e56127
parent3855299b0721acfeb5391a140cd6df65ce2b73d2 (diff)
downloadlibass-2880bd0ba416b179e427c1ab6d3d556a8bf26593.tar.bz2
libass-2880bd0ba416b179e427c1ab6d3d556a8bf26593.tar.xz
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.
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 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.