Skip to content
Permalink
Browse files

configure: fix --disable-code-coverage

This fixes the case when `--disable-code-coverage` supplied to `./configure`
would result in `coverage="yes"` being set.
  • Loading branch information...
rindeal committed Jul 8, 2019
1 parent efc55b8 commit 37517bbcbd3be55034fe07c565f9e17162f63a1d
Showing with 1 addition and 2 deletions.
  1. +1 −2 m4/curl-functions.m4
@@ -7313,8 +7313,7 @@ AC_DEFUN([CURL_COVERAGE],[
dnl check if enabled by argument
AC_ARG_ENABLE(code-coverage,
AC_HELP_STRING([--enable-code-coverage], [Provide code coverage]),
coverage="yes",
coverage="no")
coverage=$enableval)

dnl if not gcc switch off again
AS_IF([ test "$GCC" != "yes" ], coverage="no" )

0 comments on commit 37517bb

Please sign in to comment.
You can’t perform that action at this time.