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>
This commit is contained in:
parent
a385d18598
commit
30916a5ef0
|
@ -6,8 +6,8 @@ test -z "$srcdir" && srcdir=.
|
||||||
ORIGDIR=`pwd`
|
ORIGDIR=`pwd`
|
||||||
cd "$srcdir"
|
cd "$srcdir"
|
||||||
|
|
||||||
autoreconf -v --install || exit 1
|
autoreconf --force --verbose --install || exit 1
|
||||||
cd $ORIGDIR || exit $?
|
cd "$ORIGDIR" || exit $?
|
||||||
|
|
||||||
if test -z "$NOCONFIGURE"; then
|
if test -z "$NOCONFIGURE"; then
|
||||||
"$srcdir"/configure "$@"
|
"$srcdir"/configure "$@"
|
||||||
|
|
Loading…
Reference in New Issue