From 2a7ab2dfaa7d5eeceb2d449230857bfcf6bfc9d6 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 4 Mar 2013 23:02:02 +0100 Subject: [PATCH] configure: Use check_builtin() where appropriate --- configure | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure b/configure index f4c04a34ae..7525e2299f 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