From 3883d99b05a845e4b40fc25c43ca83db70f4f20f Mon Sep 17 00:00:00 2001 From: bradh352 Date: Tue, 17 Aug 2021 15:11:32 -0400 Subject: [PATCH] autotools: dont use newer AC_CHECK_INCLUDES_DEFAULT, don't quote AC_ERROR_MSG --- configure.ac | 9 ++------- m4/ax_code_coverage.m4 | 4 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index eef34db2..d1e74b9e 100644 --- a/configure.ac +++ b/configure.ac @@ -488,13 +488,8 @@ dnl Back to "normal" configuring dnl ********************************************************************** dnl Checks for header files. -m4_warn([obsolete], -[The preprocessor macro `STDC_HEADERS' is obsolete. - Except in unusual embedded environments, you can safely include all - ISO C90 headers unconditionally.])dnl -# Autoupdate added the next two lines to ensure that your configure -# script's behavior did not change. They are probably safe to remove. -AC_CHECK_INCLUDES_DEFAULT +STDC_HEADERS + AC_PROG_EGREP diff --git a/m4/ax_code_coverage.m4 b/m4/ax_code_coverage.m4 index 352165b4..ad406330 100644 --- a/m4/ax_code_coverage.m4 +++ b/m4/ax_code_coverage.m4 @@ -206,14 +206,14 @@ code-coverage-capture-hook: ]) AC_DEFUN([_AX_CODE_COVERAGE_ENABLED],[ - AX_CHECK_GNU_MAKE([],[AC_MSG_ERROR([not using GNU make that is needed for coverage])]) + AX_CHECK_GNU_MAKE([],AC_MSG_ERROR([not using GNU make that is needed for coverage])) AC_REQUIRE([AX_ADD_AM_MACRO_STATIC]) # check for gcov AC_CHECK_TOOL([GCOV], [$_AX_CODE_COVERAGE_GCOV_PROG_WITH], [:]) AS_IF([test "X$GCOV" = "X:"], - [AC_MSG_ERROR([gcov is needed to do coverage])]) + AC_MSG_ERROR([gcov is needed to do coverage])) AC_SUBST([GCOV]) dnl Check if gcc is being used