[Mesa-dev] [PATCH] automake: Add AM_PROG_AR before LT_INIT to silence a lot of warnings.

Eric Anholt eric at anholt.net
Mon Jun 4 23:08:41 CEST 2012


On Wed, 30 May 2012 21:54:21 -0700, Kenneth Graunke <kenneth at whitecape.org> wrote:
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  configure.ac |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/configure.ac b/configure.ac
> index 9fb8149..9d22451 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -27,6 +27,8 @@ echo \#buildapi-variable-no-builddir >/dev/null
>  # to make
>  m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
>  
> +AM_PROG_AR
> +
>  LT_PREREQ([2.2])
>  LT_INIT([disable-static])

The stuff I found on the web suggested that you want an m4_ifdef like
the previous line for compatibility.  But I don't get warnings before or
after, so I'm not sure what's up.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120604/37fb2100/attachment.pgp>


More information about the mesa-dev mailing list