mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
- Remove unnecessary libgcov entry (the gcc options handle it)
This commit is contained in:
parent
e091d62311
commit
3925e60223
@ -608,6 +608,7 @@ if test "$PHP_GCOV" = "yes"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Check if ccache is being used
|
dnl Check if ccache is being used
|
||||||
|
dnl FIXME: Need a check for ccache usage, the one below does not work!
|
||||||
PHP_CHECK_GCC_ARG([--ccache-skip], [gcc_ccache=yes])
|
PHP_CHECK_GCC_ARG([--ccache-skip], [gcc_ccache=yes])
|
||||||
|
|
||||||
if test "$gcc_ccache" = "yes"; then
|
if test "$gcc_ccache" = "yes"; then
|
||||||
@ -621,6 +622,8 @@ if test "$PHP_GCOV" = "yes"; then
|
|||||||
|
|
||||||
AC_CHECK_PROG(LTP, lcov, lcov)
|
AC_CHECK_PROG(LTP, lcov, lcov)
|
||||||
AC_CHECK_PROG(LTP_GENHTML, genhtml, genhtml)
|
AC_CHECK_PROG(LTP_GENHTML, genhtml, genhtml)
|
||||||
|
PHP_SUBST(LTP)
|
||||||
|
PHP_SUBST(LTP_GENHTML)
|
||||||
|
|
||||||
if test "$LTP"; then
|
if test "$LTP"; then
|
||||||
AC_CACHE_CHECK([for ltp version], php_cv_ltp_version, [
|
AC_CACHE_CHECK([for ltp version], php_cv_ltp_version, [
|
||||||
@ -649,10 +652,6 @@ if test "$PHP_GCOV" = "yes"; then
|
|||||||
AC_MSG_ERROR([Could not find genhtml from the LTP package])
|
AC_MSG_ERROR([Could not find genhtml from the LTP package])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PHP_SUBST(LTP)
|
|
||||||
PHP_SUBST(LTP_GENHTML)
|
|
||||||
|
|
||||||
PHP_ADD_LIBRARY(gcov)
|
|
||||||
AC_DEFINE(HAVE_GCOV, 1, [Whether you have gcov])
|
AC_DEFINE(HAVE_GCOV, 1, [Whether you have gcov])
|
||||||
PHP_ADD_MAKEFILE_FRAGMENT($abs_srcdir/Makefile.gcov, $abs_srcdir)
|
PHP_ADD_MAKEFILE_FRAGMENT($abs_srcdir/Makefile.gcov, $abs_srcdir)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user