We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cae1406 commit 13336c3Copy full SHA for 13336c3
config.m4
@@ -124,11 +124,13 @@ AC_DEFUN([AC_SWOOLE_CPU_AFFINITY],
124
[
125
AC_MSG_CHECKING([for cpu affinity])
126
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
127
+ #define _GNU_SOURCE 1
128
#ifdef __FreeBSD__
129
#include <sys/types.h>
130
#include <sys/cpuset.h>
131
typedef cpuset_t cpu_set_t;
132
#else
133
134
#include <sched.h>
135
#endif
136
]], [[
@@ -324,8 +326,7 @@ AC_COMPILE_IFELSE([
324
326
)
325
327
AC_MSG_RESULT([$CLANG])
328
-AC_PROG_CC
-CFLAGS="$CFLAGS -std=c99"
329
+m4_version_prereq([2.70], [], [AC_PROG_CC_C99])
330
331
AC_CANONICAL_HOST
332
0 commit comments