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
This commit is contained in:
Benjamin Close
2009-02-10 11:54:27 +10:30
parent aad3f546a0
commit 17fe478085

View File

@@ -11,6 +11,8 @@ if test "x$SRCDIR" != "x$ORIGDIR"; then
exit 1
fi
MAKEFLAGS=""
autoreconf -v --install || exit 1
"$srcdir"/configure "$@"