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:
Родитель
efc55b8986
Коммит
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" )
|
||||
|
|
Загрузка…
Ссылка в новой задаче