Mesa (master): automake: Add AM_PROG_AR before LT_INIT to silence a lot of warnings.

Kenneth Graunke kwg at kemper.freedesktop.org
Mon Jun 11 20:37:27 UTC 2012


Module: Mesa
Branch: master
Commit: 4a5d020ee39576660f72283714822192294323b8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a5d020ee39576660f72283714822192294323b8

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed May 30 21:54:21 2012 -0700

automake: Add AM_PROG_AR before LT_INIT to silence a lot of warnings.

The warnings appear to occur with newer automake (probably 1.12).

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 bin/.gitignore |    1 +
 configure.ac   |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/bin/.gitignore b/bin/.gitignore
index 2ee67a6..dfaa6d3 100644
--- a/bin/.gitignore
+++ b/bin/.gitignore
@@ -5,3 +5,4 @@ install-sh
 /missing
 ylwrap
 compile
+ar-lib
diff --git a/configure.ac b/configure.ac
index 88a2df6..29ee87b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,6 +21,8 @@ echo \#buildapi-variable-no-builddir >/dev/null
 # to make
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
+
 LT_PREREQ([2.2])
 LT_INIT([disable-static])
 




More information about the mesa-commit mailing list