autogen: Make sure MAKEFLAGS is not set before running autoreconf
authorBenjamin Close <Benjamin.Close@clearchain.com>
Tue, 10 Feb 2009 01:24:27 +0000 (11:54 +1030)
committerBenjamin Close <Benjamin.Close@clearchain.com>
Tue, 10 Feb 2009 01:28:11 +0000 (11:58 +1030)
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

autogen.sh

index 19e5b55fcfa67dfd31ce6a7ec23e6ac0ce23ebb3..c76bf8b07bd001c641babb4f129f426036d513c4 100755 (executable)
@@ -11,6 +11,8 @@ if test "x$SRCDIR" != "x$ORIGDIR"; then
        exit 1
 fi
 
+MAKEFLAGS=""
+
 autoreconf -v --install || exit 1
 
 "$srcdir"/configure "$@"