]> granicus.if.org Git - php/commitdiff
- Remove unnecessary libgcov entry (the gcc options handle it)
authorfoobar <sniper@php.net>
Tue, 29 Nov 2005 22:38:32 +0000 (22:38 +0000)
committerfoobar <sniper@php.net>
Tue, 29 Nov 2005 22:38:32 +0000 (22:38 +0000)
configure.in

index e6fd50fc5c103cadb154899af47692773b81bc3f..c944290187b5e9f47dcc80b0a88108d01a3f645b 100644 (file)
@@ -608,6 +608,7 @@ if test "$PHP_GCOV" = "yes"; then
   fi
   
   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])
   
   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_GENHTML, genhtml, genhtml)
+  PHP_SUBST(LTP)
+  PHP_SUBST(LTP_GENHTML)
 
   if test "$LTP"; then
     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])
   fi
 
-  PHP_SUBST(LTP)
-  PHP_SUBST(LTP_GENHTML)
-
-  PHP_ADD_LIBRARY(gcov)
   AC_DEFINE(HAVE_GCOV, 1, [Whether you have gcov])
   PHP_ADD_MAKEFILE_FRAGMENT($abs_srcdir/Makefile.gcov, $abs_srcdir)