diff options
author | Benjamin Close <Benjamin.Close@clearchain.com> | 2009-02-10 11:54:27 +1030 |
---|---|---|
committer | Benjamin Close <Benjamin.Close@clearchain.com> | 2009-02-10 11:58:11 +1030 |
commit | 17fe4780851951f24db7bde71f1175c7dd2ddbe9 (patch) | |
tree | bab37625ec759c8c7fd5e032bbd91bc9f90be4dc | |
parent | aad3f546a046fe40b771e5d5f965b29189821d51 (diff) |
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
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh index 19e5b55fcfa6..c76bf8b07bd0 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 "$@" |