OSDN Git Service

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 19e5b55..c76bf8b 100755 (executable)
@@ -11,6 +11,8 @@ if test "x$SRCDIR" != "x$ORIGDIR"; then
        exit 1
 fi
 
+MAKEFLAGS=""
+
 autoreconf -v --install || exit 1
 
 "$srcdir"/configure "$@"