-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This configure check doesn't work when --as-needed is passed as a
configure flag to LDFLAGS. We need to explicitly include -ltalloc here.

- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkxYMZIACgkQeiVVYja6o6O+AQCgk3NogK55mQLV/AuVML9MeC8q
xUUAoKuEcrkpZbj1s3gijXhZy/ggSl7H
=4Ro7
-----END PGP SIGNATURE-----
From 86c25b38ccdd43910721ce19c7cd6d333614fc3a Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgall...@redhat.com>
Date: Wed, 21 Jul 2010 10:38:32 -0400
Subject: [PATCH] Require -ltalloc for tevent configure check

---
 src/external/libtevent.m4 |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/external/libtevent.m4 b/src/external/libtevent.m4
index 6a0e36af8b21b17ae6b21b8576c0421e86aed1d8..f19f27bf2e70e71065a7d4d96b4b2714869bd039 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)],
+   )
-- 
1.7.1.1

Attachment: 0001-Require-ltalloc-for-tevent-configure-check.patch.sig
Description: PGP signature

_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to