diff --git a/configure b/configure index abafd6ef93c55c657ace102e62562129500f416a..0acbdedc88a5c130b676d68538fd4342f9edee82 100755 --- a/configure +++ b/configure @@ -2948,8 +2948,6 @@ check_cc <<EOF && enable inline_asm void foo(void) { __asm__ volatile ("" ::); } EOF -check_code cc intrin.h "__rdtsc()" && enable rdtsc - _restrict= for restrict_keyword in restrict __restrict__ __restrict; do check_cc <<EOF && _restrict=$restrict_keyword && break @@ -3057,6 +3055,8 @@ elif enabled sparc; then elif enabled x86; then + check_code ld intrin.h "__rdtsc()" "cc" && enable rdtsc + enable local_aligned_8 local_aligned_16 # check whether EBP is available on x86