mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
Merge commit '9c7d85b3b45a77742b1e69c48ab33f9c8a2e6f35'
* commit '9c7d85b3b45a77742b1e69c48ab33f9c8a2e6f35': configure: Add check_builtin convenience function Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
1cb3ca2a67
10
configure
vendored
10
configure
vendored
@ -1034,6 +1034,16 @@ check_struct(){
|
||||
enable_safe "${struct}_${member}"
|
||||
}
|
||||
|
||||
check_builtin(){
|
||||
log check_builtin "$@"
|
||||
name=$1
|
||||
headers=$2
|
||||
builtin=$3
|
||||
shift 3
|
||||
disable "$name"
|
||||
check_code ld "$headers" "$builtin" "$@" && enable "$name"
|
||||
}
|
||||
|
||||
require(){
|
||||
name="$1"
|
||||
header="$2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user