summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-03-09 11:46:07 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-03-11 23:28:26 +0000
commit30916a5ef008a84e53d9821ccc11a0dee50fe77b (patch)
treea897a3cdb5dc565efe547f91e223e8360c0e1559 /autogen.sh
parenta385d18598b28bf935e4460b86ce3f9e095a8015 (diff)
downloadmesa-30916a5ef008a84e53d9821ccc11a0dee50fe77b.tar.gz
mesa-30916a5ef008a84e53d9821ccc11a0dee50fe77b.tar.bz2
mesa-30916a5ef008a84e53d9821ccc11a0dee50fe77b.zip
autogen.sh: pass --force to autoreconf, quote ORIGDIR
By passing --force autoreconf will update all the aux files, which would otherwise be ignored if one updates autoconf/automake. Quote the ORIGDIR variable to prevent fall-outs, when its name contains space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 626d2133499..c8960971d24 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -6,8 +6,8 @@ test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd "$srcdir"
-autoreconf -v --install || exit 1
-cd $ORIGDIR || exit $?
+autoreconf --force --verbose --install || exit 1
+cd "$ORIGDIR" || exit $?
if test -z "$NOCONFIGURE"; then
"$srcdir"/configure "$@"