summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-10-17 15:52:11 -0300
committerMichael Niedermayer <michaelni@gmx.at>2012-10-17 23:28:50 +0200
commit916352f282855e3e4e86a39df9452fead2aa0771 (patch)
tree9668cdb9bc8a4490aa5fe235759a90718bf27eb7 /configure
parent35daf3ca8173f80f200860e06a410ced31a8b360 (diff)
configure: do not quote arguments passed to filter{,_out} in check_ld.
This fixes the following error: ./configure: eval: line 417: syntax error near unexpected token `-lcdio_cdda' [...] Broken by 66a1ccd74 when doing, e.g., ./configure --enable-gpl --enable-libcdio. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 0a63aaf54a..70f3b8e788 100755
--- a/configure
+++ b/configure
@@ -769,8 +769,8 @@ check_ld(){
log check_ld "$@"
type=$1
shift 1
- flags=$(filter_out '-l*' "$@")
- libs=$(filter '-l*' "$@")
+ flags=$(filter_out '-l*' $@)
+ libs=$(filter '-l*' $@)
check_$type $($cflags_filter $flags) || return
flags=$($ldflags_filter $flags)
libs=$($ldflags_filter $libs)