[PATCH mesa] Include search for non pkg-config libtalloc.

Trevor Woerner twoerner at gmail.com
Wed Sep 8 21:22:38 PDT 2010


From: Trevor Woerner <twoerner at gmail.com>

Signed-off-by: Trevor Woerner <twoerner at gmail.com>
---
 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index a7ee0f5..f4202e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -486,7 +486,9 @@ xxlib|xdri|xosmesa)
     ;;
 esac
 
-PKG_CHECK_MODULES([TALLOC], [talloc])
+PKG_CHECK_MODULES([TALLOC], [talloc], [],
+    [AC_SEARCH_LIBS([talloc_version_major],[talloc],[TALLOC_LIBS="-ltalloc" TALLOC_CFLAGS=""],
+	[AC_MSG_ERROR([Can't find TALLOC])])])
 AC_SUBST([TALLOC_LIBS])
 AC_SUBST([TALLOC_CFLAGS])
 
-- 
1.7.1



More information about the xorg-devel mailing list