summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2015-07-02 18:28:45 (GMT)
committerStefan Krah <skrah@bytereef.org>2015-07-02 18:28:45 (GMT)
commit0c8ccff3251829ebcc85294a61d53cf342093403 (patch)
tree8f31c592f1314bc82119819feef7c7e6929b40bb /configure.ac
parent60eaba04cdfe47eeac1163f40f750a6586714da9 (diff)
parente31db2a8214e338be8873a92f7c40c94a56c7078 (diff)
downloadcpython-0c8ccff3251829ebcc85294a61d53cf342093403.zip
cpython-0c8ccff3251829ebcc85294a61d53cf342093403.tar.gz
cpython-0c8ccff3251829ebcc85294a61d53cf342093403.tar.bz2
Merge from 3.5 (#24543).
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 3e9d31a..668234d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3910,7 +3910,7 @@ fi],
# **************************************
AC_MSG_CHECKING(for x64 gcc inline assembler)
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
+AC_LINK_IFELSE( [AC_LANG_PROGRAM([[]], [[
__asm__ __volatile__ ("movq %rcx, %rax");
]])],[have_gcc_asm_for_x64=yes],[have_gcc_asm_for_x64=no])
AC_MSG_RESULT($have_gcc_asm_for_x64)
@@ -4008,7 +4008,7 @@ fi
# so we try it on all platforms.
AC_MSG_CHECKING(whether we can use gcc inline assembler to get and set x87 control word)
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
+AC_LINK_IFELSE( [AC_LANG_PROGRAM([[]], [[
unsigned short cw;
__asm__ __volatile__ ("fnstcw %0" : "=m" (cw));
__asm__ __volatile__ ("fldcw %0" : : "m" (cw));
@@ -4021,7 +4021,7 @@ then
fi
AC_MSG_CHECKING(whether we can use gcc inline assembler to get and set mc68881 fpcr)
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
+AC_LINK_IFELSE( [AC_LANG_PROGRAM([[]], [[
unsigned int fpcr;
__asm__ __volatile__ ("fmove.l %%fpcr,%0" : "=g" (fpcr));
__asm__ __volatile__ ("fmove.l %0,%%fpcr" : : "g" (fpcr));