autotools: dont use newer AC_CHECK_INCLUDES_DEFAULT, don't quote AC_ERROR_MSG

pull/421/head
bradh352 3 years ago
parent 8afaa9c1b2
commit 3883d99b05
  1. 9
      configure.ac
  2. 4
      m4/ax_code_coverage.m4

@ -488,13 +488,8 @@ dnl Back to "normal" configuring
dnl ********************************************************************** dnl **********************************************************************
dnl Checks for header files. dnl Checks for header files.
m4_warn([obsolete], STDC_HEADERS
[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
AC_PROG_EGREP AC_PROG_EGREP

@ -206,14 +206,14 @@ code-coverage-capture-hook:
]) ])
AC_DEFUN([_AX_CODE_COVERAGE_ENABLED],[ 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]) AC_REQUIRE([AX_ADD_AM_MACRO_STATIC])
# check for gcov # check for gcov
AC_CHECK_TOOL([GCOV], AC_CHECK_TOOL([GCOV],
[$_AX_CODE_COVERAGE_GCOV_PROG_WITH], [$_AX_CODE_COVERAGE_GCOV_PROG_WITH],
[:]) [:])
AS_IF([test "X$GCOV" = "X:"], 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]) AC_SUBST([GCOV])
dnl Check if gcc is being used dnl Check if gcc is being used

Loading…
Cancel
Save