Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
a2c6a99b
Commit
a2c6a99b
authored
Apr 05, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Fix testing of objective-c headers for qtkit
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b6850e13
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
configure
configure
+11
-1
No files found.
configure
View file @
a2c6a99b
...
@@ -943,6 +943,16 @@ int x;
...
@@ -943,6 +943,16 @@ int x;
EOF
EOF
}
}
check_header_oc
(){
log check_header_oc
"
$@
"
header
=
$1
shift
{
echo
"#include <
$header
>"
echo
"int main(void) { return 0; }"
}
| check_cc
"-x"
"objective-c"
"
$@
"
&&
enable_safe
$headers
}
check_func
(){
check_func
(){
log check_func
"
$@
"
log check_func
"
$@
"
func
=
$1
func
=
$1
...
@@ -4649,7 +4659,7 @@ enabled openssl && { check_lib openssl/ssl.h SSL_library_init -lssl -l
...
@@ -4649,7 +4659,7 @@ enabled openssl && { check_lib openssl/ssl.h SSL_library_init -lssl -l
check_lib openssl/ssl.h SSL_library_init
-lssl32
-leay32
||
check_lib openssl/ssl.h SSL_library_init
-lssl32
-leay32
||
check_lib openssl/ssl.h SSL_library_init
-lssl
-lcrypto
-lws2_32
-lgdi32
||
check_lib openssl/ssl.h SSL_library_init
-lssl
-lcrypto
-lws2_32
-lgdi32
||
die
"ERROR: openssl not found"
;
}
die
"ERROR: openssl not found"
;
}
enabled qtkit_indev
&&
{
check_header QTKit/QTKit.h
||
disable qtkit_indev
;
}
enabled qtkit_indev
&&
{
check_header
_oc
QTKit/QTKit.h
||
disable qtkit_indev
;
}
if
enabled gnutls
;
then
if
enabled gnutls
;
then
{
check_lib nettle/bignum.h nettle_mpz_get_str_256
-lnettle
-lhogweed
-lgmp
&&
enable
nettle
;
}
||
{
check_lib nettle/bignum.h nettle_mpz_get_str_256
-lnettle
-lhogweed
-lgmp
&&
enable
nettle
;
}
||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment