[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
guile/guile-core configure.in
From: |
Marius Vollmer |
Subject: |
guile/guile-core configure.in |
Date: |
Wed, 01 Aug 2001 14:28:30 -0700 |
CVSROOT: /cvs
Module name: guile
Changes by: Marius Vollmer <address@hidden> 01/08/01 14:28:29
Modified files:
guile-core : configure.in
Log message:
Added `--disable-linuxthreads' option and do not define
GUILE_PTHREAD_COMPAT nor link with -lpthread when it is given. Thanks
to Cris Cramer!
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/configure.in.diff?cvsroot=OldCVS&tr1=1.160&tr2=1.161&r1=text&r2=text
Patches:
Index: guile/guile-core/configure.in
diff -u guile/guile-core/configure.in:1.160 guile/guile-core/configure.in:1.161
--- guile/guile-core/configure.in:1.160 Sun Jul 22 11:28:21 2001
+++ guile/guile-core/configure.in Wed Aug 1 14:28:29 2001
@@ -558,8 +558,12 @@
AC_DEFINE(GUILE_ISELECT, 1)
fi
- ## Workaround for linuxthreads (currently disabled)
- if test $host_os = linux-gnu; then
+ AC_ARG_ENABLE(linuxthreads,
+ [ --disable-linuxthreads disable linuxthreads workaround],,
+ enable_linuxthreads=yes)
+
+ ## Workaround for linuxthreads (optionally disabled)
+ if test $host_os = linux-gnu -a "$enable_linuxthreads" = yes; then
AC_DEFINE(GUILE_PTHREAD_COMPAT, 1)
AC_CHECK_LIB(pthread, main)
fi