--- lib/replace/wscript.orig	2013-09-06 09:39:57.000000000 +0000
+++ lib/replace/wscript	2013-10-15 15:11:25.307472084 +0000
@@ -398,8 +398,6 @@
                            'it with --with-gettext=</path/to/gettext> or ' +
                            '--without-gettext to build without''')
 
-    conf.CHECK_FUNCS_IN('pthread_create', 'pthread', checklibc=True, headers='pthread.h')
-
     conf.CHECK_FUNCS_IN('crypt', 'crypt', checklibc=True)
 
     conf.CHECK_VARIABLE('rl_event_hook', define='HAVE_DECL_RL_EVENT_HOOK', always=True,
