From: Emil Velikov Date: Mon, 9 Mar 2015 11:46:07 +0000 (+0000) Subject: autogen.sh: pass --force to autoreconf, quote ORIGDIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30916a5ef008a84e53d9821ccc11a0dee50fe77b;p=mesa.git 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 Reviewed-by: Matt Turner --- 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 "$@"