summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorivmai <ivmai>2009-10-16 08:25:28 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:50 +0200
commitd41c7ebc39446fea84ab9690f888559a384cba0d (patch)
treed06639f896b46cd1a4ab38375340f57a3a6abdd8 /configure.ac
parent1c25e391ed3573e7acdb46ad680b771c70286ed0 (diff)
2009-10-16 Ivan Maidanski <ivmai@mail.ru> (really Petter Urkedal)
* configure.ac: Add threads support for OpenBSD case (threads may not work correctly for it). * configure: Regenerate.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9f440e1..a816355 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@ AC_CONFIG_SRCDIR(gcj_mlc.c)
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_TARGET
AC_PREREQ(2.53)
-AC_REVISION($Revision: 1.54 $)
+AC_REVISION($Revision: 1.55 $)
GC_SET_VERSION
AM_INIT_AUTOMAKE([foreign dist-bzip2 nostdinc])
AM_CONFIG_HEADER([include/private/config.h])
@@ -144,6 +144,11 @@ case "$THREADS" in
AC_DEFINE(GC_FREEBSD_THREADS)
INCLUDES="$INCLUDES -pthread"
;;
+ *-*-openbsd*)
+ AC_MSG_WARN([OpenBSD does not yet fully support threads with Boehm GC.])
+ AC_DEFINE([GC_FREEBSD_THREADS])
+ INCLUDES="$INCLUDES -pthread"
+ ;;
*-*-kfreebsd*-gnu)
AC_DEFINE(GC_FREEBSD_THREADS)
INCLUDES="$INCLUDES -pthread"