Here is a patch to correct the way in which POSIX threads
are linked on OpenBSD.


diff --git a/configure.ac b/configure.ac
index 53f1330..e177c54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,7 +80,11 @@ THREAD_IMPL=${with_thread}
 AC_SUBST(THREAD_IMPL)
 
 if test "x${with_thread}" = "xpthread" ; then
-  case "$host_os" in 
+  case "$host_os" in
+    openbsd*)
+      PTHREAD_CFLAGS=
+      PTHREAD_LIBS=-pthread
+      ;;
     *)
       PTHREAD_CFLAGS=
       PTHREAD_LIBS=-lpthread

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Schrodinger-devel mailing list
Schrodinger-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/schrodinger-devel

Reply via email to