configure: Make check_type handle type names containing spaces

Patch by Martin Storsjö <martin at martin st>

Originally committed as revision 21139 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Martin Storsjö 15 years ago committed by Måns Rullgård
parent eebece4641
commit ae550ce9eb
  1. 4
      configure

4
configure vendored

@ -740,13 +740,13 @@ check_type(){
headers=$1
type=$2
shift 2
disable $type
disable_safe "$type"
incs=""
for hdr in $headers; do
incs="$incs
#include <$hdr>"
done
check_cc "$@" <<EOF && enable $type
check_cc "$@" <<EOF && enable_safe "$type"
$incs
$type v;
EOF

Loading…
Cancel
Save