Commit b34ace55 authored by Pavel Vainerman's avatar Pavel Vainerman

Подправил ошибочку в configure.ac

parent 06f86247
...@@ -203,6 +203,7 @@ COV_LIBS= ...@@ -203,6 +203,7 @@ COV_LIBS=
COV_CFLAGS= COV_CFLAGS=
AC_MSG_CHECKING([tests support]) AC_MSG_CHECKING([tests support])
buildtests=true buildtests=true
buildgcov=true
AC_ARG_ENABLE(tests, AC_HELP_STRING([--disable-tests], [disable tests build]), AC_ARG_ENABLE(tests, AC_HELP_STRING([--disable-tests], [disable tests build]),
[ if test $enableval = yes; then buildtests=true; else buildtests=false; fi],[ buildtests=true; ]) [ if test $enableval = yes; then buildtests=true; else buildtests=false; fi],[ buildtests=true; ])
...@@ -224,7 +225,6 @@ if test ${buildtests} = true; then ...@@ -224,7 +225,6 @@ if test ${buildtests} = true; then
#check gcov #check gcov
AC_MSG_CHECKING([test coverage]) AC_MSG_CHECKING([test coverage])
buildgcov=true
AC_ARG_ENABLE(coverage, AC_HELP_STRING([--disable-coverage], [disable gcov support]), AC_ARG_ENABLE(coverage, AC_HELP_STRING([--disable-coverage], [disable gcov support]),
[ if test $enableval = yes; then buildgcov=true; else buildgcov=false; fi],[ buildgcov=true; ]) [ if test $enableval = yes; then buildgcov=true; else buildgcov=false; fi],[ buildgcov=true; ])
if test ${buildgcov} = true; then if test ${buildgcov} = true; then
...@@ -241,11 +241,11 @@ if test ${buildtests} = true; then ...@@ -241,11 +241,11 @@ if test ${buildtests} = true; then
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
fi fi
AM_CONDITIONAL(HAVE_COVERAGE, test ${buildgcov} = true)
else else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
fi fi
AM_CONDITIONAL(HAVE_COVERAGE, test ${buildgcov} = true)
AM_CONDITIONAL(HAVE_TESTS, test ${buildtests} = true) AM_CONDITIONAL(HAVE_TESTS, test ${buildtests} = true)
# export # export
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment