diff --git a/opal/config/opal_config_asm.m4 b/opal/config/opal_config_asm.m4 index 8be194f1b0..300837c368 100644 --- a/opal/config/opal_config_asm.m4 +++ b/opal/config/opal_config_asm.m4 @@ -585,27 +585,18 @@ 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([ + if test ! "$assembly" = "" ; then + AC_RUN_IFELSE([AC_LANG_PROGRAM([ AC_INCLUDES_DEFAULT], [[int ret = 1; int negone = -1; __asm__ __volatile__ ($assembly); return ret;]])], - [asm_result="yes"], [asm_result="no"], - [asm_result="unknown"]) - else - assembly="test skipped - assuming no" - fi - ;; - esac + [asm_result="yes"], [asm_result="no"], + [asm_result="unknown"]) + else + assembly="test skipped - assuming no" + fi # if we're cross compiling, just try to compile and figure good enough if test "$asm_result" = "unknown" ; then @@ -641,27 +632,18 @@ 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 + if test ! "$assembly" = "" ; then AC_RUN_IFELSE([AC_LANG_PROGRAM([ AC_INCLUDES_DEFAULT], [[int ret = 1; int negone = -1; __asm__ __volatile__ ($assembly); return ret;]])], - [asm_result="yes"], [asm_result="no"], - [asm_result="unknown"]) - else - assembly="test skipped - assuming no" - fi - ;; - esac + [asm_result="yes"], [asm_result="no"], + [asm_result="unknown"]) + else + assembly="test skipped - assuming no" + fi # 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([