diff options
| author | Peter Eisentraut | 2008-09-05 18:54:58 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2008-09-05 18:54:58 +0000 |
| commit | 58829581f8287f1590889b0e59a78f9615ffa2af (patch) | |
| tree | 1390aec13ccb727ea844df43d5d21cdce12dfdbd /configure.in | |
| parent | 5bc561a16a8515736d4ed59f5871dc78d1a75f75 (diff) | |
Check for gcov and lcov only when coverage testing is enabled.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 8 |
1 files changed, 4 insertions, 4 deletions
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) # |
