Merge commit '66a1ccd7467ab1913cd8877114c6d4c2588bb12f'

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

Conflicts:
	configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
pull/6/head
Michael Niedermayer 12 years ago
commit d15be9108e
  1. 7
      configure

7
configure vendored

@ -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)

Loading…
Cancel
Save