git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix build with external talloc.
[ira/wip.git]
/
source3
/
samba4.m4
diff --git
a/source3/samba4.m4
b/source3/samba4.m4
index 6b7c140bc1913dd93daf26bda5dbd5321e842986..0d7834fc260a06105daf7bd9b0002acae89e6cbd 100644
(file)
--- a/
source3/samba4.m4
+++ b/
source3/samba4.m4
@@
-75,6
+75,10
@@
SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= TALLOC_MIN_VERSION,
SMB_INCLUDE_MK(../lib/talloc/config.mk)
]
)
+# Tallocdir isn't always set by the Samba3 c
+tallocdir=../lib/talloc
+AC_SUBST(tallocdir)
+CFLAGS="$CFLAGS -I../lib/talloc"
SMB_EXT_LIB_FROM_PKGCONFIG(LIBTDB, tdb >= TDB_MIN_VERSION,
[],