We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffed8e0 commit 90f71b5Copy full SHA for 90f71b5
config/hwloc_internal.m4
@@ -342,15 +342,15 @@ EOF
342
hwloc_have_ptrace=1
343
AC_CHECK_HEADERS([sys/ptrace.h],, [hwloc_have_ptrace=0])
344
AC_CHECK_FUNCS([ptrace],, [hwloc_have_ptrace=0])
345
- AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
346
#include "sys/ptrace.h"
347
int main(void){
348
return ptrace(PTRACE_SEIZE,
349
-1,
350
0,
351
(void*)(PTRACE_O_TRACECLONE|PTRACE_O_TRACEFORK));
352
}
353
- ]])],, [hwloc_have_ptrace=0])
+ ]])],, [hwloc_have_ptrace=0])
354
AM_CONDITIONAL([HWLOC_HAVE_PTRACE],[test $hwloc_have_ptrace -eq 1])
355
AC_DEFINE_UNQUOTED([HWLOC_HAVE_PTRACE], [$hwloc_have_ptrace], [Whether ptrace is present and supports PTRACE_SEIZE or not])
356
0 commit comments