From 47cfa342e78802ee086921bee76540005bb33674 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 11 Mar 2008 18:15:49 +0000 Subject: [PATCH] Third attempt to get the OpenMP configure test right. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7637 --- configure.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.in b/configure.in index 0629e297a5..dd6c953c9b 100644 --- a/configure.in +++ b/configure.in @@ -552,15 +552,11 @@ fi # does this compiler support -fopenmp, does it have the include file # and does it have libgomp ? -AC_MSG_CHECKING([if gcc supports OpenMP]) safe_CFLAGS=$CFLAGS CFLAGS="-fopenmp" -AC_TRY_COMPILE(, [ -#include -int main () { omp_set_dynamic(0); return 0; } -], +AC_COMPILE_CHECK([OpenMP], [#include ], [ omp_set_dynamic(0); ], [ ac_have_gcc_fopenmp=yes AC_MSG_RESULT([yes]) -- 2.47.3