Browse Source

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
tags/v0.6
Martin Storsjö Måns Rullgård 16 years ago
parent
commit
ae550ce9eb
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      configure

+ 2
- 2
configure 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


Loading…
Cancel
Save