summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-07-21 10:38:32 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-08-03 13:50:28 -0400
commit8f7d6fac40cc2150e66701b00cba32d7dbe59a38 (patch)
treea87bf4b7bb36b58887dc1483d17dce3aa5fa64c6 /src
parent8c02b001383aa9d9060076ac170d1b97761d7b60 (diff)
downloadsssd-8f7d6fac40cc2150e66701b00cba32d7dbe59a38.tar.gz
sssd-8f7d6fac40cc2150e66701b00cba32d7dbe59a38.tar.xz
sssd-8f7d6fac40cc2150e66701b00cba32d7dbe59a38.zip
Require -ltalloc for tevent configure check
Diffstat (limited to 'src')
-rw-r--r--src/external/libtevent.m410
1 files changed, 8 insertions, 2 deletions
diff --git a/src/external/libtevent.m4 b/src/external/libtevent.m4
index 6a0e36af8..f19f27bf2 100644
--- a/src/external/libtevent.m4
+++ b/src/external/libtevent.m4
@@ -3,5 +3,11 @@ AC_SUBST(TEVENT_CFLAGS)
AC_SUBST(TEVENT_LIBS)
AC_CHECK_HEADER(tevent.h,
- [AC_CHECK_LIB(tevent, tevent_context_init, [TEVENT_LIBS="-ltevent"]) ],
- [PKG_CHECK_MODULES(TEVENT, tevent)])
+ [AC_CHECK_LIB(
+ tevent,
+ tevent_context_init,
+ [TEVENT_LIBS="-ltevent -ltalloc"],
+ [AC_MSG_ERROR([libtevent missing tevent_context_init])],
+ [-ltalloc]) ],
+ [PKG_CHECK_MODULES(TEVENT, tevent)],
+ )