adding syscall(SYS_gettid) check to configure.ac