check for GC_allow_register_threads
authorMichael Gran <spk121@yahoo.com>
Wed, 30 Mar 2011 04:25:04 +0000 (21:25 -0700)
committerAndy Wingo <wingo@pobox.com>
Wed, 30 Mar 2011 07:21:09 +0000 (09:21 +0200)
commit4000d0641f8a2282a9c52eea33ad91c76625d906
tree08be2aeadb46218d662e1da1dcf3ff43e99b27fe
parent443f25dcff49f0a920d4149e29bcb3ae9f64ee02
check for GC_allow_register_threads

This is not present in earlier versions of BDW-GC

* configure.ac: check for GC_allow_register_threads
* libguile/threads.c (scm_i_init_thread_for_guile): Only call
  GC_allow_register_threads if it is present.
configure.ac
libguile/threads.c