summaryrefslogtreecommitdiff
path: root/lib/tevent/libtalloc.m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-16 16:10:22 +0100
committerStefan Metzmacher <metze@samba.org>2008-12-17 13:31:28 +0100
commit504f8816e3058b9358a18ef42e442753fe2657ba (patch)
treec2e50faf775bfb44fcb5c9fa923402f5c07c99ad /lib/tevent/libtalloc.m4
parent09e6dfb8e8d1447306951e34e4e2211037edb9be (diff)
downloadsamba-504f8816e3058b9358a18ef42e442753fe2657ba.tar.gz
samba-504f8816e3058b9358a18ef42e442753fe2657ba.tar.bz2
samba-504f8816e3058b9358a18ef42e442753fe2657ba.zip
s4:lib/events: move to toplevel directory as lib/tevent/
This commit will not compile on its own. metze
Diffstat (limited to 'lib/tevent/libtalloc.m4')
-rw-r--r--lib/tevent/libtalloc.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tevent/libtalloc.m4 b/lib/tevent/libtalloc.m4
new file mode 100644
index 0000000000..a4c5b8a9d9
--- /dev/null
+++ b/lib/tevent/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)])