Commit 7e138319 authored by mru's avatar mru

configure: Make check_type handle type names containing spaces

Patch by Martin Storsjö <martin at martin st>

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21139 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b32b3254
...@@ -740,13 +740,13 @@ check_type(){ ...@@ -740,13 +740,13 @@ check_type(){
headers=$1 headers=$1
type=$2 type=$2
shift 2 shift 2
disable $type disable_safe "$type"
incs="" incs=""
for hdr in $headers; do for hdr in $headers; do
incs="$incs incs="$incs
#include <$hdr>" #include <$hdr>"
done done
check_cc "$@" <<EOF && enable $type check_cc "$@" <<EOF && enable_safe "$type"
$incs $incs
$type v; $type v;
EOF EOF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment