diff options
author | Andy Wingo <wingo@pobox.com> | 2011-03-29 13:21:44 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-03-29 13:21:44 +0200 |
commit | 8cf49d836ff41838812cba1fd61bfce3fb877144 (patch) | |
tree | 18122aecc92e42ad9baab53933216210dc770e92 /configure.ac | |
parent | fb6df3ea137eabad25d70219da2c84282883b433 (diff) | |
download | guile-8cf49d836ff41838812cba1fd61bfce3fb877144.tar.gz |
fix compilation with libgc 7.0, 7.1
* configure.ac: Check for GC_pthread_exit and GC_pthread_cancel.
* libguile/gen-scmconfig.c: Write HAVE_GC_PTHREAD_CANCEL and
HAVE_GC_PTHREAD_EXIT into scmconfig.h.
* libguile/pthread-threads.h (scm_i_pthread_exit, scm_i_pthread_cancel):
Only redefine to their GC_pthread_* variants if we have those
functions, which is not the case in libgc < 7.2.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index a254634b5..e5b83798a 100644 --- a/configure.ac +++ b/configure.ac @@ -1238,7 +1238,7 @@ save_LIBS="$LIBS" LIBS="$BDW_GC_LIBS $LIBS" CFLAGS="$BDW_GC_CFLAGS $CFLAGS" -AC_CHECK_FUNCS([GC_do_blocking GC_call_with_gc_active]) +AC_CHECK_FUNCS([GC_do_blocking GC_call_with_gc_active GC_pthread_exit GC_pthread_cancel]) # Though the `GC_do_blocking ()' symbol is present in GC 7.1, it is not # declared, and has a different type (returning void instead of |