autogen.sh: fix passing arguments to configure
authorRafal Krypa <r.krypa@samsung.com>
Tue, 31 Dec 2013 15:03:17 +0000 (16:03 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Tue, 31 Dec 2013 15:03:17 +0000 (16:03 +0100)
Fixing error when arguments to autogen.sh contain white space, i.e.:
./autogen.sh CFLAGS='-Wall -Wextra'

Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
autogen.sh

index 219fb1b..3ee8482 100755 (executable)
@@ -1,4 +1,4 @@
 #!/bin/sh -e
 
 autoreconf --install --symlink
-./configure --prefix="/usr" $@
+./configure --prefix="/usr" "$@"