summaryrefslogtreecommitdiff
path: root/source4/lib/events/libtalloc.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-21 02:32:19 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-21 02:32:19 +0200
commit442d31c7f699628a603ee3bef3831441b43afb69 (patch)
treede39e7e9bcc74f45ec521d663bb4321e19afb1f8 /source4/lib/events/libtalloc.m4
parentf63c83deef52afcbe27c1664031a5eed009f3a44 (diff)
parent0e2928f94651c53d653a3ad83bbda5608b4d4c24 (diff)
downloadsamba-442d31c7f699628a603ee3bef3831441b43afb69.tar.gz
samba-442d31c7f699628a603ee3bef3831441b43afb69.tar.bz2
samba-442d31c7f699628a603ee3bef3831441b43afb69.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejs
Diffstat (limited to 'source4/lib/events/libtalloc.m4')
-rw-r--r--source4/lib/events/libtalloc.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/lib/events/libtalloc.m4 b/source4/lib/events/libtalloc.m4
new file mode 100644
index 0000000000..a4c5b8a9d9
--- /dev/null
+++ b/source4/lib/events/libtalloc.m4
@@ -0,0 +1,7 @@
+AC_SUBST(TALLOC_OBJ)
+AC_SUBST(TALLOC_CFLAGS)
+AC_SUBST(TALLOC_LIBS)
+
+AC_CHECK_HEADER(talloc.h,
+ [AC_CHECK_LIB(talloc, talloc_init, [TALLOC_LIBS="-ltalloc"]) ],
+ [PKG_CHECK_MODULES(TALLOC, talloc)])