1
1
- configure: do not build OpenMP support if CFLAGS contains a compiler flag for disabling handling OpenMP directives (e.g. -fno-openmp, -nomp, -hnoomp)
	  Fixes trac:3117

This commit was SVN r27282.

The following Trac tickets were found above:
  Ticket 3117 --> https://svn.open-mpi.org/trac/ompi/ticket/3117
Этот коммит содержится в:
Matthias Jurenz 2012-09-10 14:29:47 +00:00
родитель ef0e8f859a
Коммит f5ffb4783c

Просмотреть файл

@ -50,7 +50,7 @@ fi
for ax_openmp_flag in $ax_openmp_flags; do
case $ax_openmp_flag in
none) []_AC_LANG_PREFIX[]FLAGS="$save[]_AC_LANG_PREFIX[]FLAGS" ;;
*) []_AC_LANG_PREFIX[]FLAGS="$save[]_AC_LANG_PREFIX[]FLAGS $ax_openmp_flag" ;;
*) []_AC_LANG_PREFIX[]FLAGS="$ax_openmp_flag $save[]_AC_LANG_PREFIX[]FLAGS" ;;
esac
AC_TRY_COMPILE([], [
#ifndef _OPENMP