summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-11-12 15:01:10 +1000
committerDave Airlie <airlied@redhat.com>2014-11-12 15:01:10 +1000
commit9058c301e6d0af04b73cf0df3b3be553560f3f7c (patch)
tree49c4a463ee0ff9530f32992eda9a8e3d915075c0
parent3b2cbabfe6f69165fc96682ffd05368217b47328 (diff)
wsfb: sync autogen.sh with everyone else
fixes inability to configure due to missing m4 Signed-off-by: Dave Airlie <airlied@redhat.com>
-rwxr-xr-xautogen.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 904cd67..303c550 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -5,8 +5,11 @@ test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
+test -d m4 || mkdir m4
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?
-$srcdir/configure --enable-maintainer-mode "$@"
+if test -z "$NOCONFIGURE"; then
+ $srcdir/configure "$@"
+fi