summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/external/libevents.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-23 04:18:31 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-23 04:18:31 +0100
commitbbc95fb1a866e8aa822b70a7f5cdf74f1446b1f0 (patch)
tree782bc6d0b11d00b4df1a07250d4bee07dea3b988 /source4/lib/ldb/external/libevents.m4
parent998d58819201954a78eb123d6f9d2bc0c6bd579c (diff)
downloadsamba-bbc95fb1a866e8aa822b70a7f5cdf74f1446b1f0.tar.gz
samba-bbc95fb1a866e8aa822b70a7f5cdf74f1446b1f0.tar.bz2
samba-bbc95fb1a866e8aa822b70a7f5cdf74f1446b1f0.zip
ldb: Fix linking against tevent library (rather than events)
replace: Fix copyright for dlfcn.c.
Diffstat (limited to 'source4/lib/ldb/external/libevents.m4')
-rw-r--r--source4/lib/ldb/external/libevents.m412
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/lib/ldb/external/libevents.m4 b/source4/lib/ldb/external/libevents.m4
index 4fd2e71ec2..24534f2c21 100644
--- a/source4/lib/ldb/external/libevents.m4
+++ b/source4/lib/ldb/external/libevents.m4
@@ -1,7 +1,7 @@
-AC_SUBST(EVENTS_OBJ)
-AC_SUBST(EVENTS_CFLAGS)
-AC_SUBST(EVENTS_LIBS)
+AC_SUBST(TEVENT_OBJ)
+AC_SUBST(TEVENT_CFLAGS)
+AC_SUBST(TEVENT_LIBS)
-AC_CHECK_HEADER(events.h,
- [AC_CHECK_LIB(events, event_context_init, [EVENTS_LIBS="-levents"]) ],
- [PKG_CHECK_MODULES(EVENTS, events)])
+AC_CHECK_HEADER(tevent.h,
+ [AC_CHECK_LIB(tevent, event_context_init, [TEVENT_LIBS="-ltevent"]) ],
+ [PKG_CHECK_MODULES(TEVENT, tevent)])