diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-05 12:23:38 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-05 12:23:48 +0100 |
commit | 1cb3ca2a67fefa097de12fa163a0be42018592af (patch) | |
tree | 90c707251bcf8d3f8d9d0c66e953c78c07083b43 | |
parent | 890b9c5c466cd4026a5b0388f5ac1e89ce1c69dc (diff) | |
parent | 9c7d85b3b45a77742b1e69c48ab33f9c8a2e6f35 (diff) | |
download | ffmpeg-1cb3ca2a67fefa097de12fa163a0be42018592af.tar.gz |
Merge commit '9c7d85b3b45a77742b1e69c48ab33f9c8a2e6f35'
* commit '9c7d85b3b45a77742b1e69c48ab33f9c8a2e6f35':
configure: Add check_builtin convenience function
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-x | configure | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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" |