Commit ae550ce9 authored by Martin Storsjö's avatar Martin Storsjö Committed by Måns Rullgård
Browse files

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
parent eebece46
......@@ -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
......
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