Commit 42240dcb authored by Emil Velikov's avatar Emil Velikov Committed by Adam Jackson
Browse files pass --force to autoreconf, quote string variables

By passing --force autoreconf will update all the aux files, which would
otherwise be ignored if one updates autoconf/automake.

Quote the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when
it contains space.

v2: Also handle $srcdir and $0.
Signed-off-by: Emil Velikov's avatarEmil Velikov <>
parent e99c005d
......@@ -6,8 +6,8 @@ test -z "$srcdir" && srcdir=.
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 "$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment