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.

Closes #4099
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
  • Loading branch information...
rindeal authored and danielgustafsson committed Jul 8, 2019
1 parent efc55b8 commit 5fecc4d6267b6dfba023347289ddff66c2521635
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 5fecc4d

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