mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
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:
parent
eebece4641
commit
ae550ce9eb
4
configure
vendored
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…
x
Reference in New Issue
Block a user