summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2016-09-29 15:25:56 +0200
committerGitHub <noreply@github.com>2016-09-29 15:25:56 +0200
commit4cf317a3bdb9ebd521213364432a6f572cb19f3c (patch)
tree39137a65bb0de7640c3d487dad4cb26debc8b6cc
parent498565eb307516460b56e4eac742e85c573617bd (diff)
parent79faac8a16841490a729fd22e7711696435ec6f8 (diff)
downloadautoconf-archive-4cf317a3bdb9ebd521213364432a6f572cb19f3c.tar.gz
Merge pull request #93 from ptomato/patch-1
AX_CODE_COVERAGE: Define CODE_COVERAGE_LIBS
-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])