Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment