summaryrefslogtreecommitdiff
path: root/libdane
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-12 14:21:04 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-12 14:55:15 +0200
commitac670b2b4c8336c6d2d67322d928ec6b6c576be6 (patch)
tree2e913bc20374a18dbd24b221bfaa01bc2b6b9d0c /libdane
parenta4fd1120e9c9b237047086f798fab8ffc60b759e (diff)
downloadgnutls-ac670b2b4c8336c6d2d67322d928ec6b6c576be6.tar.gz
configure: Add a code coverage option
Configure with: ./configure --enable-code-coverage Show coverage output with: make && make check && make code-coverage-capture
Diffstat (limited to 'libdane')
-rw-r--r--libdane/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdane/Makefile.am b/libdane/Makefile.am
index debf502def..896b537641 100644
--- a/libdane/Makefile.am
+++ b/libdane/Makefile.am
@@ -20,7 +20,8 @@
ACLOCAL_AMFLAGS = -I ../m4 -I ../gl/m4
-AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS)
+include $(top_srcdir)/lib/common.mk
+
AM_CPPFLAGS = \
-I$(srcdir)/../gl \
-I$(builddir)/../gl \
@@ -32,7 +33,7 @@ AM_CPPFLAGS = \
SUBDIRS = includes
-libgnutls_dane_la_LDFLAGS = -no-undefined
+libgnutls_dane_la_LDFLAGS = -no-undefined $(COMMON_LDFLAGS)
lib_LTLIBRARIES = libgnutls-dane.la