autogen.sh: allow spaces in configure arguments

Using "$@" (rather than #@) quotes any arguments if required. This is
useful if you want to run ./autogen.sh CFLAGS="-ggdb -O0".

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Stephen Warren 2013-08-23 11:58:23 -06:00
parent 14574161a6
commit 902a58b463
1 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,4 @@
#!/bin/sh -e
autoreconf --install --symlink
./configure $@
./configure "$@"