repo.or.cz
/
ppcg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gpu: add functions for traversing the tree branch that is mapped to blocks
[ppcg.git]
/
m4
/
ax_check_openmp.m4
blob
509861ea60602edc64a0cba147f5edabe1f2eccc
1
# Check if $CC supports openmp.
2
AC_DEFUN([AX_CHECK_OPENMP], [
3
AC_SUBST(HAVE_OPENMP)
4
HAVE_OPENMP=no
5
AC_MSG_CHECKING([for OpenMP support by $CC])
6
echo | $CC -x c - -fsyntax-only -fopenmp -Werror >/dev/null 2>/dev/null
7
if test $? -eq 0; then
8
HAVE_OPENMP=yes
9
fi
10
])