[FFmpeg-cvslog] configure: Add check_builtin convenience function
Diego Biurrun
git at videolan.org
Tue Mar 5 12:28:11 CET 2013
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Mar 4 22:59:41 2013 +0100| [9c7d85b3b45a77742b1e69c48ab33f9c8a2e6f35] | committer: Diego Biurrun
configure: Add check_builtin convenience function
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9c7d85b3b45a77742b1e69c48ab33f9c8a2e6f35
---
configure | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/configure b/configure
index 157517f..f4c04a3 100755
--- a/configure
+++ b/configure
@@ -937,6 +937,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"
More information about the ffmpeg-cvslog
mailing list