Header file was wrong, suncc gives warning about missing open prototype, causing configurator to fail.
{ "HAVE_PROC_SELF_MAPS", DEFINES_EVERYTHING|EXECUTE, NULL,
"#include <sys/types.h>\n"
"#include <sys/stat.h>\n"
{ "HAVE_PROC_SELF_MAPS", DEFINES_EVERYTHING|EXECUTE, NULL,
"#include <sys/types.h>\n"
"#include <sys/stat.h>\n"
- "#include <sys/fcntl.h>\n"
"int main(void) {\n"
" return open(\"/proc/self/maps\", O_RDONLY) != -1 ? 0 : 1;\n"
"}\n" },
"int main(void) {\n"
" return open(\"/proc/self/maps\", O_RDONLY) != -1 ? 0 : 1;\n"
"}\n" },