X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=autogen.sh;h=626d21334992a160241c02a78b0cb4dc7d5fceff;hb=d7c66ff59ef07abe85a2867f82326376f94386e3;hp=904cd6746c8734b2c33e3f80773d4759715d2f6e;hpb=d59673c9de9f14e6aefcdb0b06751d935385c4aa;p=mesa.git diff --git a/autogen.sh b/autogen.sh index 904cd6746c8..626d2133499 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,12 +1,14 @@ #! /bin/sh -srcdir=`dirname $0` +srcdir=`dirname "$0"` test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` -cd $srcdir +cd "$srcdir" autoreconf -v --install || exit 1 cd $ORIGDIR || exit $? -$srcdir/configure --enable-maintainer-mode "$@" +if test -z "$NOCONFIGURE"; then + "$srcdir"/configure "$@" +fi