summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorClément Bœsch <cboesch@gopro.com>2017-09-05 18:06:29 +0200
committerClément Bœsch <u@pkh.me>2017-09-08 18:55:19 +0200
commitb476e7720c067d75cd72190db7d36e72c3ff6abb (patch)
tree43d9771a2a9b383c0ed80cdb03fcaf3dfa6de6d6 /configure
parentf61379cbd45a91b26c7a1ddd3f16417466c435cd (diff)
downloadffmpeg-streaming-b476e7720c067d75cd72190db7d36e72c3ff6abb.zip
ffmpeg-streaming-b476e7720c067d75cd72190db7d36e72c3ff6abb.tar.gz
build: fix objcc header check
$headers is a variable set in the context of other functions (we don't use the "local" keyword in our scripts, so those variables are global). Currently, when checking for AVFoundation/AVFoundation.h, the actual enabled header is math.h. Similarly, when testing for QuartzCore/CoreImage.h, the actual enabled header is CoreGraphics/CoreGraphics.h. This is completely broken and may be the reason why these checks are made in random places.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index a2aad67..334b597 100755
--- a/configure
+++ b/configure
@@ -1118,7 +1118,7 @@ check_header_objcc(){
{
echo "#include <$header>"
echo "int main(void) { return 0; }"
- } | check_objcc && check_stat "$TMPO" && enable_safe $headers
+ } | check_objcc && check_stat "$TMPO" && enable_safe $header
}
check_func(){
OpenPOWER on IntegriCloud