percona/percona-server
configure.cmake
:319
CHECK_C_SOURCE_RUNS("
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sched.h>
int main()
{
(void)setns(0, 0);
return 0;
}" HAVE_SETNS)
CHECK_C_SOURCE_RUNS("
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sched.h>
int main()
{
(void)setns(0, 0);
return 0;
}" HAVE_SETNS)
CHECK_C_SOURCE_RUNS("
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sched.h>
int main()
{
(void)setns(0, 0);
return 0;
}" HAVE_SETNS)
CHECK_C_SOURCE_RUNS("
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sched.h>
int main()
{
(void)setns(0, 0);
return 0;
}" HAVE_SETNS)
CHECK_C_SOURCE_RUNS("
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sched.h>
int main()
{
(void)setns(0, 0);
return 0;
}" HAVE_SETNS)
CHECK_C_SOURCE_RUNS("
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sched.h>
int main()
{
(void)setns(0, 0);
return 0;
}" HAVE_SETNS)
CHECK_C_SOURCE_RUNS("
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sched.h>
int main()
{
(void)setns(0, 0);
return 0;
}" HAVE_SETNS)
CHECK_C_SOURCE_RUNS("
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sched.h>
int main()
{
(void)setns(0, 0);
return 0;
}" HAVE_SETNS)
check_c_source_compiles("
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sched.h>
int main() {
setns(0, 0); return 0;
}
" HAVE_SETNS)
CHECK_C_SOURCE_RUNS("
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sched.h>
int main()
{
(void)setns(0, 0);
return 0;
}" HAVE_SETNS)