Skip to content

Commit

Permalink
Merge pull request #5191 from benmenadue/master
Browse files Browse the repository at this point in the history
configure: use AC_LINK_IFELSE instead of AC_COMPILE_IFELSE for C11 tests
  • Loading branch information
jsquyres authored May 23, 2018
2 parents 8231706 + 53fda14 commit 36cde21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/opal_setup_cc.m4
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ AC_DEFUN([OPAL_CC_HELPER],[

opal_prog_cc_c11_helper_tmp=0

AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$3],[$4])],[
$2=yes
opal_prog_cc_c11_helper_tmp=1], [$2=no])
AC_LINK_IFELSE([AC_LANG_PROGRAM([$3],[$4])],[
$2=yes
opal_prog_cc_c11_helper_tmp=1], [$2=no])

AC_DEFINE_UNQUOTED([$5], [$opal_prog_cc_c11_helper_tmp], [$6])

Expand Down

0 comments on commit 36cde21

Please sign in to comment.