aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-01-11 14:22:29 +0000
committerMåns Rullgård <mans@mansr.com>2010-01-11 14:22:29 +0000
commitae550ce9ebfcfd1f9bfdb3a61ac5ddb9f0389899 (patch)
tree42e1ee5d5b38912d55e5281ff5845c78acad65a9 /configure
parenteebece4641f224c8e1b7f9b764364237daf7b088 (diff)
downloadffmpeg-ae550ce9ebfcfd1f9bfdb3a61ac5ddb9f0389899.tar.gz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index b595496d3a..eb31d8d6da 100755
--- a/configure
+++ b/configure
@@ -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