1479134daf
main diff from jsg@ with some tweaks from me
14 lines
516 B
Plaintext
14 lines
516 B
Plaintext
$OpenBSD: patch-configure_ac,v 1.2 2005/07/31 19:07:11 jolan Exp $
|
|
--- configure.ac.orig Sat Jun 25 23:43:16 2005
|
|
+++ configure.ac Sun Jul 10 11:29:35 2005
|
|
@@ -543,6 +543,9 @@ if test "${SYS}" != "mingw32" -a "${SYS}
|
|
dnl Check for pthreads - borrowed from XMMS
|
|
THREAD_LIB=error
|
|
if test "${THREAD_LIB}" = "error"; then
|
|
+ AC_CHECK_LIB(pthread,main,THREAD_LIB="-pthread")
|
|
+fi
|
|
+if test "${THREAD_LIB}" = "error"; then
|
|
AC_CHECK_LIB(pthread,main,THREAD_LIB="-lpthread")
|
|
fi
|
|
if test "${THREAD_LIB}" = "error"; then
|