Recent versions of IBM XL compilers on AIX support GCC inline assembly format
This commit was SVN r24340.
Этот коммит содержится в:
родитель
3a8d251daa
Коммит
ab2f738b0b
@ -585,13 +585,6 @@ AC_DEFUN([OMPI_CHECK_INLINE_C_GCC],[
|
||||
# Disable for now.
|
||||
asm_result="no (Portland Group)"
|
||||
else
|
||||
case $host in
|
||||
*-aix*)
|
||||
# the AIX compilers and linkers really don't do gcc
|
||||
# inline assembly right - disable for now.
|
||||
asm_result="no (AIX)"
|
||||
;;
|
||||
*)
|
||||
if test ! "$assembly" = "" ; then
|
||||
AC_RUN_IFELSE([AC_LANG_PROGRAM([
|
||||
AC_INCLUDES_DEFAULT],
|
||||
@ -604,8 +597,6 @@ return ret;]])],
|
||||
else
|
||||
assembly="test skipped - assuming no"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# if we're cross compiling, just try to compile and figure good enough
|
||||
if test "$asm_result" = "unknown" ; then
|
||||
@ -641,13 +632,6 @@ AC_DEFUN([OMPI_CHECK_INLINE_CXX_GCC],[
|
||||
AC_LANG_PUSH([C++])
|
||||
AC_MSG_CHECKING([if $CXX supports GCC inline assembly])
|
||||
|
||||
case $host in
|
||||
*-aix*)
|
||||
# the AIX compilers and linkers really don't do gcc
|
||||
# inline assembly right - disable for now.
|
||||
asm_result="no (AIX)"
|
||||
;;
|
||||
*)
|
||||
if test ! "$assembly" = "" ; then
|
||||
AC_RUN_IFELSE([AC_LANG_PROGRAM([
|
||||
AC_INCLUDES_DEFAULT],
|
||||
@ -660,8 +644,6 @@ return ret;]])],
|
||||
else
|
||||
assembly="test skipped - assuming no"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
# if we're cross compiling, just try to compile and figure good enough
|
||||
if test "$asm_result" = "unknown" ; then
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user