From: Benjamin Close Date: Tue, 10 Feb 2009 01:24:27 +0000 (+1030) Subject: autogen: Make sure MAKEFLAGS is not set before running autoreconf X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=17fe4780851951f24db7bde71f1175c7dd2ddbe9;p=mesa.git autogen: Make sure MAKEFLAGS is not set before running autoreconf Without this the "w" flag may be set which causes the version to be incorrectly to be obtains in configure.ac causing configure to fail miserably --- diff --git a/autogen.sh b/autogen.sh index 19e5b55fcfa..c76bf8b07bd 100755 --- a/autogen.sh +++ b/autogen.sh @@ -11,6 +11,8 @@ if test "x$SRCDIR" != "x$ORIGDIR"; then exit 1 fi +MAKEFLAGS="" + autoreconf -v --install || exit 1 "$srcdir"/configure "$@"