Browse Source

Refs #210. Disable checking /lib/libpthread.so*.

tags/v0.2.7
Zhang Xianyi 12 years ago
parent
commit
5d96e4f224
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      c_check

+ 5
- 5
c_check View File

@@ -241,13 +241,13 @@ print CONFFILE "#define FUNDERSCORE\t$need_fu\n" if $need_fu ne "";

if ($os eq "LINUX") {
@pthread = split(/\s+/, `nm /lib/libpthread.so* | grep _pthread_create`);
# @pthread = split(/\s+/, `nm /lib/libpthread.so* | grep _pthread_create`);
if ($pthread[2] ne "") {
print CONFFILE "#define PTHREAD_CREATE_FUNC $pthread[2]\n";
} else {
# if ($pthread[2] ne "") {
# print CONFFILE "#define PTHREAD_CREATE_FUNC $pthread[2]\n";
# } else {
print CONFFILE "#define PTHREAD_CREATE_FUNC pthread_create\n";
}
# }
} else {
print CONFFILE "#define PTHREAD_CREATE_FUNC pthread_create\n";
}


Loading…
Cancel
Save