mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 08:38:49 -05:00
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>
This commit is contained in:
parent
efc55b8986
commit
5fecc4d626
@ -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" )
|
||||
|
Loading…
Reference in New Issue
Block a user