summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/Makefile.in
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-05-01 09:04:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:25 -0500
commitdfaa7a3baeafa401c5ee3490ef11f23870f65cf1 (patch)
tree15bfac4f383b5fe52919668df306292d2a95c1de /source4/lib/ldb/Makefile.in
parentcf476b09b53f26a185de13bb573b33d06c176820 (diff)
downloadsamba-dfaa7a3baeafa401c5ee3490ef11f23870f65cf1.tar.gz
samba-dfaa7a3baeafa401c5ee3490ef11f23870f65cf1.tar.bz2
samba-dfaa7a3baeafa401c5ee3490ef11f23870f65cf1.zip
r6546: Fix ldb standalone build
Add autoconf to tdb (This used to be commit 95fed657f458a856feec2fb256edd642e4179979)
Diffstat (limited to 'source4/lib/ldb/Makefile.in')
-rw-r--r--source4/lib/ldb/Makefile.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in
index 8b5e66fd75..eedab96ef2 100644
--- a/source4/lib/ldb/Makefile.in
+++ b/source4/lib/ldb/Makefile.in
@@ -6,6 +6,7 @@ exec_prefix = @exec_prefix@
includedir = @includedir@
libdir = @libdir@
bindir = @bindir@
+WITH_GCOV = @WITH_GCOV@
ifeq ($(WITH_LDAP),1)
OPENLDAP_PREFIX=/usr
@@ -22,8 +23,10 @@ CFLAGS1=-Wall -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
-I$(TDBDIR)/include -I$(TALLOCDIR) -DUSE_MMAP=1 $(LDAP_FLAGS)
# enable the following two lines to build with gcov code coverage support
-#GCOV_FLAGS = -ftest-coverage -fprofile-arcs
-#GCOV_LIBS = -lgcov
+ifeq ($(WITH_GCOV),1)
+GCOV_FLAGS = -ftest-coverage -fprofile-arcs
+GCOV_LIBS = -lgcov
+endif
CFLAGS = $(CFLAGS1) $(GCOV_FLAGS) @CFLAGS@