Commit 87840b34 authored by Evan Hunt's avatar Evan Hunt
Browse files

enable threads by default on openbsd 6.2 and higher

(cherry picked from commit 95fff953)
parent 3bd0ed80
......@@ -39,10 +39,12 @@ case $host in
use_threads=false ;;
*-netbsd*)
use_threads=true ;;
*-openbsd*)
# OpenBSD users have reported that named dumps core on
[*-openbsd[12345].*]|[*-openbsd6.[01]])
# OpenBSD users reported that named dumps core on
# startup when built with threads.
use_threads=false ;;
*-openbsd*)
use_threads=true ;;
[*-freebsd[1234567].*])
# Threads are broken at least up to FreeBSD 4.11.
# FreeBSD 5, 6 and 7 we have never officially supported threads
......
#! /bin/sh
# Copyright (C) 1996-2018 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1996-2019 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
......@@ -972,6 +972,7 @@ infodir
docdir
oldincludedir
includedir
runstatedir
localstatedir
sharedstatedir
sysconfdir
......@@ -1139,6 +1140,7 @@ datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
runstatedir='${localstatedir}/run'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
......@@ -1391,6 +1393,15 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
 
-runstatedir | --runstatedir | --runstatedi | --runstated \
| --runstate | --runstat | --runsta | --runst | --runs \
| --run | --ru | --r)
ac_prev=runstatedir ;;
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
| --run=* | --ru=* | --r=*)
runstatedir=$ac_optarg ;;
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
......@@ -1528,7 +1539,7 @@ fi
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
libdir localedir mandir
libdir localedir mandir runstatedir
do
eval ac_val=\$$ac_var
# Remove trailing slashes.
......@@ -1681,6 +1692,7 @@ Fine tuning of the installation directories:
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
......@@ -15455,10 +15467,12 @@ case $host in
use_threads=false ;;
*-netbsd*)
use_threads=true ;;
*-openbsd*)
# OpenBSD users have reported that named dumps core on
*-openbsd[12345].*|*-openbsd6.[01])
# OpenBSD users reported that named dumps core on
# startup when built with threads.
use_threads=false ;;
*-openbsd*)
use_threads=true ;;
*-freebsd[1234567].*)
# Threads are broken at least up to FreeBSD 4.11.
# FreeBSD 5, 6 and 7 we have never officially supported threads
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment