[VDPAU] [PATCH 4/4] autogen.sh: update/copy over from mesa
Aaron Plattner
aplattner at nvidia.com
Mon May 11 12:57:52 PDT 2015
Sorry for dropping the ball on this for so long. I dropped patch 1 since
there was some contention about it, but I pushed changes 2 through 4:
To git at github.com:/aaronp24/libvdpau.git
0962da95cdf1..77e9c3456ab0 master -> master
On 03/18/2015 04:50 PM, Emil Velikov wrote:
> This commit addresses three concerns:
> - Places quotes around variables. Otherwise things will fail badly if
> either one of then contains space.
> - Adds --force to autoreconf, which will ensure that the build is
> regenerated, if one updates autotools.
> - Honours the NOCONFIGURE variable, which is set by gnome-continuous
> (iirc).
>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
> autogen.sh | 12 +++++++-----
> 1 file changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/autogen.sh b/autogen.sh
> index 354f254..c896097 100755
> --- a/autogen.sh
> +++ b/autogen.sh
> @@ -1,12 +1,14 @@
> #! /bin/sh
>
> -srcdir=`dirname $0`
> +srcdir=`dirname "$0"`
> test -z "$srcdir" && srcdir=.
>
> ORIGDIR=`pwd`
> -cd $srcdir
> +cd "$srcdir"
>
> -autoreconf -v --install || exit 1
> -cd $ORIGDIR || exit $?
> +autoreconf --force --verbose --install || exit 1
> +cd "$ORIGDIR" || exit $?
>
> -$srcdir/configure "$@"
> +if test -z "$NOCONFIGURE"; then
> + "$srcdir"/configure "$@"
> +fi
>
--
Aaron
More information about the VDPAU
mailing list