Merge commit '66a1ccd7467ab1913cd8877114c6d4c2588bb12f'

* commit '66a1ccd7467ab1913cd8877114c6d4c2588bb12f':
  configure: simplify argument handling in check_ld

Conflicts:
	configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-10-16 13:27:19 +02:00
commit d15be9108e
1 changed files with 2 additions and 5 deletions

7
configure vendored
View File

@ -763,11 +763,8 @@ check_ld(){
log check_ld "$@"
type=$1
shift 1
flags=''
libs=''
for f; do
test "${f}" = "${f#-l}" && flags="$flags $f" || libs="$libs $f"
done
flags=$(filter_out '-l*' "$@")
libs=$(filter '-l*' "$@")
check_$type $($cflags_filter $flags) || return
flags=$($ldflags_filter $flags)
libs=$($ldflags_filter $libs)