From 5d96e4f2249dd3109b509ee0d0b418376c2439fa Mon Sep 17 00:00:00 2001 From: Zhang Xianyi Date: Sat, 27 Apr 2013 15:02:04 +0800 Subject: [PATCH] Refs #210. Disable checking /lib/libpthread.so*. --- c_check | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/c_check b/c_check index 4d82237d4..566311487 100644 --- a/c_check +++ b/c_check @@ -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"; }