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

Mikhail Gusarov dottedmag at dottedmag.net
Wed Sep 8 21:52:39 PDT 2010


Twas brillig at 00:22:38 09.09.2010 UTC-04 when twoerner at gmail.com did gyre and gimble:

 TW> From: Trevor Woerner <twoerner at gmail.com>

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

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

Reviewed-by: Mikhail Gusarov <dottedmag at dottedmag.net.>

-- 
  http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100909/48adc5fc/attachment.pgp>


More information about the xorg-devel mailing list