summaryrefslogtreecommitdiff
path: root/m4/ax_code_coverage.m4
diff options
context:
space:
mode:
authorP. F. Chimento <philip.chimento@gmail.com>2016-09-26 23:35:44 -0700
committerPhilip Chimento <philip.chimento@gmail.com>2016-09-26 23:38:36 -0700
commit79faac8a16841490a729fd22e7711696435ec6f8 (patch)
tree39137a65bb0de7640c3d487dad4cb26debc8b6cc /m4/ax_code_coverage.m4
parent498565eb307516460b56e4eac742e85c573617bd (diff)
downloadautoconf-archive-79faac8a16841490a729fd22e7711696435ec6f8.tar.gz
AX_CODE_COVERAGE: Define CODE_COVERAGE_LIBS
The previous change seems to have defined LDFLAGS twice rather than LIBS and LDFLAGS.
Diffstat (limited to 'm4/ax_code_coverage.m4')
-rw-r--r--m4/ax_code_coverage.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_code_coverage.m4 b/m4/ax_code_coverage.m4
index 67470f5..c146cdc 100644
--- a/m4/ax_code_coverage.m4
+++ b/m4/ax_code_coverage.m4
@@ -75,7 +75,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#serial 17
+#serial 18
AC_DEFUN([AX_CODE_COVERAGE],[
dnl Check for --enable-code-coverage
@@ -149,7 +149,7 @@ AC_DEFUN([AX_CODE_COVERAGE],[
CODE_COVERAGE_CPPFLAGS="-DNDEBUG"
CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
- CODE_COVERAGE_LDFLAGS="-lgcov"
+ CODE_COVERAGE_LIBS="-lgcov"
CODE_COVERAGE_LDFLAGS="$CODE_COVERAGE_LIBS"
AC_SUBST([CODE_COVERAGE_CPPFLAGS])