Mesa (master): autogen.sh: pass --force to autoreconf, quote ORIGDIR

Emil Velikov evelikov at kemper.freedesktop.org
Wed Mar 11 23:25:28 UTC 2015


Module: Mesa
Branch: master
Commit: 30916a5ef008a84e53d9821ccc11a0dee50fe77b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=30916a5ef008a84e53d9821ccc11a0dee50fe77b

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Mon Mar  9 11:46:07 2015 +0000

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 at gmail.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>

---

 autogen.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 626d213..c896097 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 "$@"




More information about the mesa-commit mailing list