external/libpciaccess
修订版 | 42240dcbbce8ec744401d4a464f71c3fbd3fca1b (tree) |
---|---|
时间 | 2015-09-22 21:46:52 |
作者 | Emil Velikov <emil.l.velikov@gmai...> |
Commiter | Adam Jackson |
autogen.sh: 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 <emil.l.velikov@gmail.com>
@@ -6,8 +6,8 @@ test -z "$srcdir" && srcdir=. | ||
6 | 6 | ORIGDIR=`pwd` |
7 | 7 | cd $srcdir |
8 | 8 | |
9 | -autoreconf -v --install || exit 1 | |
10 | -cd $ORIGDIR || exit $? | |
9 | +autoreconf --force --verbose --install || exit 1 | |
10 | +cd "$ORIGDIR" || exit $? | |
11 | 11 | |
12 | 12 | if test -z "$NOCONFIGURE"; then |
13 | 13 | $srcdir/configure "$@" |