[FFmpeg-cvslog] configure: Use check_builtin() where appropriate

Diego Biurrun git at videolan.org
Tue Mar 5 12:44:48 CET 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Mar  4 23:02:02 2013 +0100| [2a7ab2dfaa7d5eeceb2d449230857bfcf6bfc9d6] | committer: Diego Biurrun

configure: Use check_builtin() where appropriate

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2a7ab2dfaa7d5eeceb2d449230857bfcf6bfc9d6
---

 configure |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index f4c04a3..7525e22 100755
--- a/configure
+++ b/configure
@@ -3317,9 +3317,8 @@ elif enabled sparc; then
 
 elif enabled x86; then
 
-    check_code ld intrin.h "__rdtsc()" && enable rdtsc
-
-    check_code ld mmintrin.h "_mm_empty()" && enable mm_empty
+    check_builtin rdtsc    intrin.h   "__rdtsc()"
+    check_builtin mm_empty mmintrin.h "_mm_empty()"
 
     enable local_aligned_8 local_aligned_16
 



More information about the ffmpeg-cvslog mailing list