summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libX11/configure4
-rw-r--r--lib/libX11/configure.ac4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libX11/configure b/lib/libX11/configure
index 087fb34a2..0a8930b34 100644
--- a/lib/libX11/configure
+++ b/lib/libX11/configure
@@ -24511,7 +24511,7 @@ fi
# XXX incomplete, please fill this in
if test x$xthreads = xyes ; then
case $host_os in
- linux*|openbsd*|gnu*|k*bsd*-gnu)
+ linux*|gnu*|k*bsd*-gnu)
XTHREADLIB=-lpthread ;;
netbsd*)
XTHREAD_CFLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS"
@@ -24519,7 +24519,7 @@ if test x$xthreads = xyes ; then
freebsd*)
XTHREAD_CFLAGS="-D_THREAD_SAFE"
XTHREADLIB="-pthread" ;;
- dragonfly*)
+ dragonfly*|openbsd*)
XTHREADLIB="-pthread" ;;
solaris*)
XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;;
diff --git a/lib/libX11/configure.ac b/lib/libX11/configure.ac
index ce86c9313..7da2ae4e8 100644
--- a/lib/libX11/configure.ac
+++ b/lib/libX11/configure.ac
@@ -287,7 +287,7 @@ AM_CONDITIONAL(THRSTUBS, test x$thrstubs = xyes)
# XXX incomplete, please fill this in
if test x$xthreads = xyes ; then
case $host_os in
- linux*|openbsd*|gnu*|k*bsd*-gnu)
+ linux*|gnu*|k*bsd*-gnu)
XTHREADLIB=-lpthread ;;
netbsd*)
XTHREAD_CFLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS"
@@ -295,7 +295,7 @@ if test x$xthreads = xyes ; then
freebsd*)
XTHREAD_CFLAGS="-D_THREAD_SAFE"
XTHREADLIB="-pthread" ;;
- dragonfly*)
+ dragonfly*|openbsd*)
XTHREADLIB="-pthread" ;;
solaris*)
XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;;