From 58829581f8287f1590889b0e59a78f9615ffa2af Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 5 Sep 2008 18:54:58 +0000 Subject: Check for gcov and lcov only when coverage testing is enabled. --- configure.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 97c220c5c18..8e9abdcd3a2 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $PostgreSQL: pgsql/configure.in,v 1.566 2008/09/05 12:11:18 petere Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.567 2008/09/05 18:54:58 petere Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -207,8 +207,8 @@ AC_SUBST(enable_profiling) # --enable-coverage enables generation of code coverage metrics with gcov # PGAC_ARG_BOOL(enable, coverage, no, - [ --enable-coverage build with coverage testing instrumentation]) -AC_CHECK_PROGS(GCOV, gcov) + [ --enable-coverage build with coverage testing instrumentation], +[AC_CHECK_PROGS(GCOV, gcov) if test -z "$GCOV"; then AC_MSG_ERROR([gcov not found]) fi @@ -219,7 +219,7 @@ fi AC_CHECK_PROGS(GENHTML, genhtml) if test -z "$GENHTML"; then AC_MSG_ERROR([genhtml not found]) -fi +fi]) AC_SUBST(enable_coverage) # -- cgit v1.2.3