We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca6e66f commit 26dd34fCopy full SHA for 26dd34f
ompi/mca/sharedfp/sm/configure.m4
@@ -27,10 +27,16 @@ AC_DEFUN([MCA_ompi_sharedfp_sm_CONFIG],[
27
28
sharedfp_sm_happy=no
29
AC_CHECK_HEADER([semaphore.h],
30
- [AC_CHECK_FUNCS([sem_open],[sharedfp_sm_happy=yes],[])])
+ [dnl requires potentially pthread library
31
+ OPAL_SEARCH_LIBS_COMPONENT([sharedfp_sm],
32
+ [sem_open], [pthread],
33
+ [sharedfp_sm_happy="yes"])])
34
35
- [AC_CHECK_FUNCS([sem_init],[sharedfp_sm_happy=yes],[])])
36
37
38
+ [sem_init], [pthread],
39
40
41
AS_IF([test "$sharedfp_sm_happy" = "yes"],
42
[$1],
0 commit comments