Browse Source

Merge remote-tracking branch 'qatar/master'

* qatar/master:
  configure: Use check_builtin() where appropriate

Conflicts:
	configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 13 years ago
parent
commit
1567095acf
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      configure

+ 3
- 4
configure View File

@@ -1041,7 +1041,7 @@ check_builtin(){
builtin=$3
shift 3
disable "$name"
check_code ld "$headers" "$builtin" "$@" && enable "$name"
check_code ld "$headers" "$builtin" "cc" "$@" && enable "$name"
}

require(){
@@ -3654,9 +3654,8 @@ elif enabled sparc; then

elif enabled x86; then

check_code ld intrin.h "__rdtsc()" "cc" && enable rdtsc

check_code ld mmintrin.h "_mm_empty()" "cc" && enable mm_empty
check_builtin rdtsc intrin.h "__rdtsc()"
check_builtin mm_empty mmintrin.h "_mm_empty()"

enable local_aligned_8 local_aligned_16



Loading…
Cancel
Save