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
This commit is contained in:
Martin Storsjö 2010-01-11 14:22:29 +00:00 committed by Måns Rullgård
parent eebece4641
commit ae550ce9eb
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

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