summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-06-28 15:22:27 +0200
committerUoti Urpala <uau@mplayer2.org>2011-06-28 19:04:22 +0300
commit017c173d7400a8070cb23a0ead812220037f74be (patch)
tree271c83de837d05d9b7c2426b172604050f4b31ad /configure
parentfd01bee8f7ad057e79202a6ce2aaa65875862794 (diff)
downloadmpv-017c173d7400a8070cb23a0ead812220037f74be.tar.bz2
mpv-017c173d7400a8070cb23a0ead812220037f74be.tar.xz
configure: Remove checks for default inline asm features
Remove checks for compiler support of >= 10 assembler operands and named assembler arguments. Just assume the features are always available. These features were only missing from obsolete GCC versions which are not supported any more.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure29
1 files changed, 0 insertions, 29 deletions
diff --git a/configure b/configure
index 4fe5f6805e..20ebcd384b 100755
--- a/configure
+++ b/configure
@@ -2283,17 +2283,6 @@ echocheck "assembler support of -pipe option"
cflag_check -pipe -I. && _pipe="-pipe" && echores "yes" || echores "no"
-echocheck "compiler support of named assembler arguments"
-_named_asm_args=yes
-def_named_asm_args="#define NAMED_ASM_ARGS 1"
-if test "$cc_vendor" = "gnu" && test "$_cc_major" -lt 3 \
- -o "$_cc_major" -eq 3 -a "$_cc_minor" = 0 ; then
- _named_asm_args=no
- def_named_asm_args="#undef NAMED_ASM_ARGS"
-fi
-echores $_named_asm_args
-
-
if darwin && test "$cc_vendor" = "gnu" ; then
echocheck "GCC support of -mstackrealign"
# GCC 4.2 and some earlier Apple versions support this flag on x86. Since
@@ -2450,22 +2439,6 @@ fi
echores $_asmalign_pot
-echocheck "10 assembler operands"
-ten_operands=no
-def_ten_operands='#define HAVE_TEN_OPERANDS 0'
-cat > $TMPC << EOF
-int main(void) {
- int x=0;
- __asm__ volatile(
- ""
- :"+&rm"(x), "+&rm"(x), "+&rm"(x), "+&rm"(x), "+&rm"(x), "+&rm"(x)
- );
- return 0;
-}
-EOF
-cc_check && ten_operands=yes && def_ten_operands='#define HAVE_TEN_OPERANDS 1'
-echores $ten_operands
-
echocheck "ebx availability"
ebx_available=no
def_ebx_available='#define HAVE_EBX_AVAILABLE 0'
@@ -6975,7 +6948,6 @@ $def_iconv
$def_kstat
$def_macosx_bundle
$def_macosx_finder
-$def_named_asm_args
$def_priority
$def_quicktime
$def_restrict_keyword
@@ -7213,7 +7185,6 @@ $def_posix_memalign
$def_pthreads
$def_round
$def_roundf
-$def_ten_operands
$def_threads
$def_truncf
$def_xform_asm