17110c98ef
Tested by sthen@ and espie@
26 lines
791 B
Plaintext
26 lines
791 B
Plaintext
$OpenBSD: patch-configure_ac,v 1.2 2012/02/22 12:31:42 kurt Exp $
|
|
--- configure.ac.orig Sat Jun 30 11:40:15 2007
|
|
+++ configure.ac Sun Feb 19 12:57:00 2012
|
|
@@ -113,6 +113,11 @@ case "$THREADS" in
|
|
*-*-hpux10*)
|
|
AC_MSG_WARN("Only HP-UX 11 POSIX threads are supported.")
|
|
;;
|
|
+ *-*-openbsd*)
|
|
+ AC_DEFINE(GC_OPENBSD_THREADS)
|
|
+ THREADDLLIBS=-pthread
|
|
+ INCLUDES="$INCLUDES -pthread"
|
|
+ ;;
|
|
*-*-freebsd*)
|
|
AC_MSG_WARN("FreeBSD does not yet fully support threads with Boehm GC.")
|
|
AC_DEFINE(GC_FREEBSD_THREADS)
|
|
@@ -394,6 +399,9 @@ case "$host" in
|
|
;;
|
|
sparc-*-netbsd*)
|
|
machdep="mach_dep.lo sparc_netbsd_mach_dep.lo"
|
|
+ ;;
|
|
+ sparc*-*-openbsd*)
|
|
+ machdep="mach_dep.lo sparc_mach_dep.lo"
|
|
;;
|
|
sparc-sun-solaris2.3)
|
|
machdep="mach_dep.lo sparc_mach_dep.lo"
|