Commit 1cb3ca2a authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '9c7d85b3'

* commit '9c7d85b3':
  configure: Add check_builtin convenience function
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 890b9c5c 9c7d85b3
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment