percona/percona-server
configure.cmake
:305
CHECK_CXX_SOURCE_COMPILES(
"#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
int main() {
long long int foo = O_TMPFILE;
}" HAVE_O_TMPFILE)