File: //usr/local/rvm/src/ruby-2.7.4/ext/io/nonblock/mkmf.log
have_macro: checking for O_NONBLOCK in fcntl.h... -------------------- yes
"gcc -I../../../.ext/include/x86_64-linux -I../../.././include -I../../.././ext/io/nonblock -g -O2 -fPIC -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <fcntl.h>
4: /*top*/
5: #ifndef O_NONBLOCK
6: # error
7: |:/ === O_NONBLOCK undefined === /:|
8: #endif
/* end */
--------------------
have_macro: checking for F_GETFL in fcntl.h... -------------------- yes
"gcc -I../../../.ext/include/x86_64-linux -I../../.././include -I../../.././ext/io/nonblock -g -O2 -fPIC -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <fcntl.h>
4: /*top*/
5: #ifndef F_GETFL
6: # error
7: |:/ === F_GETFL undefined === /:|
8: #endif
/* end */
--------------------
extconf.h is:
/* begin */
1: #ifndef EXTCONF_H
2: #define EXTCONF_H
3: #endif
/* end */