[build] Don't fail when passed --disable-lcov and lcov isn't available

This commit is contained in:
fanquake 2017-11-05 14:10:33 +08:00
parent 2f959a5874
commit 223a4aabd3
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -162,7 +162,7 @@ AC_ARG_ENABLE([ccache],
AC_ARG_ENABLE([lcov], AC_ARG_ENABLE([lcov],
[AS_HELP_STRING([--enable-lcov], [AS_HELP_STRING([--enable-lcov],
[enable lcov testing (default is no)])], [enable lcov testing (default is no)])],
[use_lcov=yes], [use_lcov=$enableval],
[use_lcov=no]) [use_lcov=no])
AC_ARG_ENABLE([lcov-branch-coverage], AC_ARG_ENABLE([lcov-branch-coverage],