aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJonas Witschel <diabonas@gmx.de>2019-01-07 22:15:06 +0100
committerTadeusz Struk <tadeusz.struk@intel.com>2019-01-24 08:56:28 -0800
commit648fa841fa2f2bb6f8fdda02c36ac0abb45f5329 (patch)
treeca8d513539a1a1727100df16840d95e0b2362008 /configure.ac
parentfe0f053586f58df67dc6be0d5b9042fe5bd34d34 (diff)
downloadtpm2-tss-648fa841fa2f2bb6f8fdda02c36ac0abb45f5329.tar.gz
build: update for ax_code_coverage.m4 version 2019.01.06
@CODE_COVERAGE_RULES@ doesn't exist any more and needs to be replaced. Also includes a compatibility switch for older versions of the file. Signed-off-by: Jonas Witschel <diabonas@gmx.de>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c0e3917e..8673b4aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -312,6 +312,9 @@ AS_IF([test "x$enable_doxygen_doc" != xno],
[ERROR_IF_NO_PROG([doxygen])])
AX_CODE_COVERAGE
+m4_ifdef([_AX_CODE_COVERAGE_RULES],
+ [AM_CONDITIONAL(AUTOCONF_CODE_COVERAGE_2019_01_06, [true])],
+ [AM_CONDITIONAL(AUTOCONF_CODE_COVERAGE_2019_01_06, [false])])
AC_OUTPUT